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

Implement better handling of QML property groups

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: P2: Important P2: Important
    • 5.2.0
    • None
    • Documentation
    • None
    • 5a93528d3396166395ebda66243e6735c6f537d2, 6e8bd8a46010349d57c3637c8e510e65f98d63bd

      Currently, qdoc does not support a \qmlpropertygroup command, so the handling of grouped QML properties (e.g. anchors in Item) is ad hoc.

      The \qmlpropertygroup command is added, and qdoc is taught to generate better output for it. The format is, e.g.:

      \qmlpropertygroup QtQuick2::Item::anchors
      \qmlproperty AnchorLine QtQuick2::Item::anchors.top
      \qmlproperty AnchorLine QtQuick2::Item::anchors.bottom
      \qmlproperty AnchorLine QtQuick2::Item::anchors.left
      \qmlproperty AnchorLine QtQuick2::Item::anchors.right
      \qmlproperty AnchorLine QtQuick2::Item::anchors.horizontalCenter
      \qmlproperty AnchorLine QtQuick2::Item::anchors.verticalCenter
      \qmlproperty AnchorLine QtQuick2::Item::anchors.baseline
      \qmlproperty Item QtQuick2::Item::anchors.fill
      \qmlproperty Item QtQuick2::Item::anchors.centerIn
      \qmlproperty real QtQuick2::Item::anchors.margins
      \qmlproperty real QtQuick2::Item::anchors.topMargin
      \qmlproperty real QtQuick2::Item::anchors.bottomMargin
      \qmlproperty real QtQuick2::Item::anchors.leftMargin
      \qmlproperty real QtQuick2::Item::anchors.rightMargin
      \qmlproperty real QtQuick2::Item::anchors.horizontalCenterOffset
      \qmlproperty real QtQuick2::Item::anchors.verticalCenterOffset
      \qmlproperty real QtQuick2::Item::anchors.baselineOffset
      \qmlproperty bool QtQuick2::Item::anchors.alignWhenCentered

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

            gbk Martin Smith (Qt)
            gbk Martin Smith (Qt)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes