Uploaded image for project: 'Qt for Python'
  1. Qt for Python
  2. PYSIDE-355 Complete Pyside 2 support towards generic QML support
  3. PYSIDE-444

Implement dynamic lookup of QML properties declared inside QML code

XMLWordPrintable

    • Icon: Technical task Technical task
    • Resolution: Unresolved
    • Icon: P2: Important P2: Important
    • 6.0
    • PySide

      So given a QML file that has something like

      Item {
      property int aValue: 1
      }
      

      user should be able to access the property from Python like

      item = quickView.rootObject()
      print(item.aValue)
      

      Currently the dynamic lookup works for signals and slots.
      Starting point is in pyside.cpp -> getMetaDataFromQObject

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

            Unassigned Unassigned
            alexandru.croitor Alexandru Croitor
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes