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

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

       

          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
                  }
              ]
          } 

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

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

              Created:
              Updated:

                There are no open Gerrit changes