Details
-
Task
-
Resolution: Done
-
P2: Important
-
None
-
None
-
5a93528d3396166395ebda66243e6735c6f537d2, 6e8bd8a46010349d57c3637c8e510e65f98d63bd
Description
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
Attachments
For Gerrit Dashboard: QTBUG-32341 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
60820,2 | qdoc: Implement better handling of QML property groups | dev | qt/qtbase | Status: MERGED | -1 | 0 |
65692,2 | qdoc: Documentation for property groups is back | dev | qt/qtbase | Status: MERGED | +2 | 0 |