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

QtBridges-Python: Add support for QQmlListProperty

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: P2: Important P2: Important
    • None
    • None
    • Qt Bridges

      For supporting nested types, i.e. a QML type having a list of many other user registered QML types, the QQmlListProperty has to be supported with a clever way to handle to static member functions of it. The support for QQmlListProperty corresponds to ListProperty in PySide6. This enables us to write code like:

       
      Box

      { id: testBox Widget \{ text: "A" }

      Widget { text: "B" }
      Widget { text: "C" }
      }
      where Box and Widget are both registered QML types through bridge_type().

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

            shpremna Shyamnath Premnadh
            shpremna Shyamnath Premnadh
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:

                There are 2 open Gerrit changes