Uploaded image for project: 'Qt Design Studio'
  1. Qt Design Studio
  2. QDS-10435

It's impossible to assign transform QML types to transform property using Property editor

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • Some future release
    • QDS 4.2
    • Property View
    • None
    • All

    Description

       

          Image {
              id: bg;
              width: implicitWidth
              height: implicitHeight
              anchors.centerIn: parent;
              source: "images/gauge-gauge-frame.png"
      // it's impossible to achieve the code below in GUI way.
      // Users have to manually write code to achieve this.
              transform: [
                  Scale {
                      origin.x: bg.implicitWidth / 2;
                      xScale: left ? 1 : -1;
                  },
                  Scale {
                      origin.x: transformOriginX - bg.x
                      origin.y: 340 - bg.y
                      xScale: root.scale
                      yScale: root.scale
                  }
              ]
          } 

      Attachments

        Issue Links

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

          Activity

            People

              thohartm Thomas Hartmann
              mikio_hirai Mikio Hirai
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes