Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-26423

QQuickItem::transformOriginPoint lacks change notification and is read-only

    XMLWordPrintable

Details

    • 484cfd8774638c3787846476b3a1ed7d46331ae2

    Description

      Both in QDeclarativeItem and QQuickItem classes the "transformOriginPoint" property is read-only. However, a setter method already exists, and a notify signal would be trivial to implement. Is there some reason why this property is not writeable from QML and lacks a notify signal?

      In Qt 4.8 it's fairly easy to workaround this by subclassing and reimplementing the itemChange() virtual function to be notified of when the transformation origin point changes, but it seems that QQuickItem::itemChange() method doesn't provide that information anymore.

      So, I would suggest that:

      • the property be made writeable
      • a transformOriginPointChange() signal is emitted when appropriate

      Attachments

        Issue Links

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

          Activity

            People

              srutledg Shawn Rutledge
              mardy Alberto Mardegan
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There is 1 open Gerrit change