Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-5727

"Transparent" button doesn't take effect

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • Qt Creator 2.3.0
    • Qt Creator 2.3.0-beta
    • Quick Designer
    • None
    • SDKTestRound17
      Workstation platform: Mac OS X 10.6.7
      Qt Creator 2.2.83 (2.3.0-post-beta)
      Based on Qt 4.7.4 (64 bit)
      Built on Aug 1 2011 at 00:55:06
      From revision e21c7372ab
    • 7e20b217db2d53456dbbcc19344402102cd97dd8

    Description

      Steps:
      1. Open the Qt Creator.
      2. Create Project... -> Qt Quick Project -> Qt Quick Application, select "Qt Quick Components for Symbian". Default to finish.
      3. Modify the code as follows:

      import QtQuick 1.0
      import com.nokia.symbian 1.0
      Page {
      id: mainPage
      // Text

      { // anchors.centerIn: parent // text: qsTr("Hello world!") // color: platformStyle.colorNormalLight // font.pixelSize: 20 // }

      //added begin
      Grid {
      columns: 3
      spacing: 10
      Rectangle

      { color: "red"; width: 50; height: 50 }

      Rectangle

      { color: "green"; width: 20; height: 50 }

      Rectangle

      { color: "blue"; width: 50; height: 20 }

      Rectangle

      { color: "cyan"; width: 50; height: 50 }

      Rectangle

      { color: "magenta"; width: 10; height: 10 }

      }
      Rectangle

      { anchors.centerIn: parent color: "red"; width: 100; height: 100 }

      //added end
      }

      4. run the application.
      5. Go to Design mode.
      6. Highlight the last rectangle, click "Transparent" button in "Properties".

      Actual Result:
      QML designer is different from the run result.
      "Transparent" button doesn't take effect, the rectangle becomes black.
      Please refer to the attachments.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            thohartm Thomas Hartmann
            chennyuu Chen Yu
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes