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

Details

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

    Description

      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

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: