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

qdoc: QML "inheritance" parsing

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Done
    • P2: Important
    • 5.0.0
    • 5.0.0
    • Documentation
    • None

    Description

      We can use the top-level item in a QML file to follow the chain of QML object inheritance.

      In ChildButton.qml:
      CommonButton

      { property childprop }

      In CommonButton.qml:
      SuperParent

      { property commonprop }

      In SuperParent.qml:
      Item

      { property x,y,z }

      So, in the ChildButton docs:
      properties:
      childprop
      commonprop
      x, y, z

      Attachments

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

        Activity

          People

            gbk Martin Smith (Qt)
            jerome.pasion Jerome Pasion
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes