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

Documentation of QML elements does not show the complete inheritance

    XMLWordPrintable

Details

    Description

      C++ types in Qt docs show all the subclasses. For instance for QObject https://doc.qt.io/qt-6/qobject.html there's 280 subclassed listed.

      But this is not the case for QML elements; for instance QtObject https://doc.qt.io/qt-6/qml-qtqml-qtobject.html does not show any subclasses. The subclasses instead show that their parent is QtObject, like https://doc.qt.io/qt-6/qml-qtquick-item.html . However that page does not show ALL the Item subclasses.

      (It seems that there's a "modularization" in the QML docs that is not present in the C++ ones. Elements from different modules are not linked together.)

      Attachments

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

        Activity

          People

            docinfrastructure Documentation Infrastructure Team
            peppe Giuseppe D'Angelo
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes