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

QDesignerPropertyEditorInterface::propertyChanged() not emitted / invalid docs - Signal name now propertyValueChanged ... and QVariant not valid!!!

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P4: Low P4: Low
    • 4.7.0
    • 4.4.0, 4.4.1, 4.4.2, 4.4.3, 4.5.0, 4.5.1, 4.5.2, 4.5.3, 4.6.0, 4.6.1
    • Tools: Designer
    • None
    • fe2611f98fd4167cd4746100f062380cbc72f6bd

      QDesignerPropertyEditorInterface::propertyChanged() is never emitted - it seems from the code that this signal has been changed/renamed to QDesignerPropertyEditorInterface::propertyValueChanged()

      Unfortunatelly, the QVariant parameter does not hold the expected (changed) property but some designer internal reference: qdesigner_internal::PropertySheetEnumValue

      This should be reflected in the docs ... and the (unusable) QVariant should be changed to hold the expected value as explained in the docs (Qt-4.6.1/doc/html/qdesignerpropertyeditorinterface.html @see Detailed Description)

      This is also mentioned in QTBUG-2744, but the topic is misleading

        1. QTBUG-7764.patch
          4 kB
          Friedemann Kleint
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            kleint Friedemann Kleint
            frankhem Frank Hemer
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes