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

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

XMLWordPrintable

    • 484cfd8774638c3787846476b3a1ed7d46331ae2

      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

        For Gerrit Dashboard: QTBUG-26423
        # Subject Branch Project Status CR V

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

              Created:
              Updated:
              Resolved:

                There is 1 open Gerrit change