From ae59cb90ce61f2989431b4fd6739fb49bca950ed Mon Sep 17 00:00:00 2001 From: J-P Nurmi <jpnurmi@digia.com> Date: Wed, 18 Dec 2013 17:45:52 +0100 Subject: [PATCH] QtQuick docs: add missing \qmlpropertygroup commands MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit "warning: No QML property group command found; using..." Change-Id: Iafbdbc09cbd76bf81a5baf3a5a4fab843778b5cb Reviewed-by: Topi Reiniö <topi.reinio@digia.com> --- src/quick/items/qquickborderimage.cpp | 1 + src/quick/items/qquickdroparea.cpp | 1 + src/quick/items/qquickflickable.cpp | 1 + src/quick/items/qquickitem.cpp | 2 ++ src/quick/items/qquickitemanimation.cpp | 2 ++ src/quick/items/qquicklistview.cpp | 1 + src/quick/items/qquickmousearea.cpp | 1 + src/quick/items/qquickpincharea.cpp | 1 + src/quick/items/qquickrectangle.cpp | 1 + src/quick/items/qquickstateoperations.cpp | 1 + src/quick/items/qquicktranslate.cpp | 3 +++ src/quick/util/qquickanimation.cpp | 1 + 12 files changed, 16 insertions(+) diff --git a/src/quick/items/qquickborderimage.cpp b/src/quick/items/qquickborderimage.cpp index 0bed5e96a2..8ecf473d85 100644 --- a/src/quick/items/qquickborderimage.cpp +++ b/src/quick/items/qquickborderimage.cpp @@ -350,6 +350,7 @@ void QQuickBorderImage::load() } /*! + \qmlpropertygroup QtQuick::BorderImage::border \qmlproperty int QtQuick::BorderImage::border.left \qmlproperty int QtQuick::BorderImage::border.right \qmlproperty int QtQuick::BorderImage::border.top diff --git a/src/quick/items/qquickdroparea.cpp b/src/quick/items/qquickdroparea.cpp index 405e8f8c90..01166ab121 100644 --- a/src/quick/items/qquickdroparea.cpp +++ b/src/quick/items/qquickdroparea.cpp @@ -193,6 +193,7 @@ QObject *QQuickDropAreaDrag::source() const } /*! + \qmlpropertygroup QtQuick::DropArea::drag \qmlproperty qreal QtQuick::DropArea::drag.x \qmlproperty qreal QtQuick::DropArea::drag.y diff --git a/src/quick/items/qquickflickable.cpp b/src/quick/items/qquickflickable.cpp index fa18d4aa30..3b592004c9 100644 --- a/src/quick/items/qquickflickable.cpp +++ b/src/quick/items/qquickflickable.cpp @@ -646,6 +646,7 @@ is finished. */ /*! + \qmlpropertygroup QtQuick::Flickable::visibleArea \qmlproperty real QtQuick::Flickable::visibleArea.xPosition \qmlproperty real QtQuick::Flickable::visibleArea.widthRatio \qmlproperty real QtQuick::Flickable::visibleArea.yPosition diff --git a/src/quick/items/qquickitem.cpp b/src/quick/items/qquickitem.cpp index f565fba1bb..9ac660d2ac 100644 --- a/src/quick/items/qquickitem.cpp +++ b/src/quick/items/qquickitem.cpp @@ -3050,6 +3050,7 @@ void QQuickItemPrivate::_q_resourceObjectDeleted(QObject *object) } /*! + \qmlpropertygroup QtQuick::Item::anchors \qmlproperty AnchorLine QtQuick::Item::anchors.top \qmlproperty AnchorLine QtQuick::Item::anchors.bottom \qmlproperty AnchorLine QtQuick::Item::anchors.left @@ -3173,6 +3174,7 @@ QQmlListProperty<QObject> QQuickItemPrivate::data() } /*! + \qmlpropertygroup QtQuick::Item::childrenRect \qmlproperty real QtQuick::Item::childrenRect.x \qmlproperty real QtQuick::Item::childrenRect.y \qmlproperty real QtQuick::Item::childrenRect.width diff --git a/src/quick/items/qquickitemanimation.cpp b/src/quick/items/qquickitemanimation.cpp index b840ee421c..1d1ea97925 100644 --- a/src/quick/items/qquickitemanimation.cpp +++ b/src/quick/items/qquickitemanimation.cpp @@ -486,6 +486,7 @@ void QQuickAnchorAnimation::setDuration(int duration) } /*! + \qmlpropertygroup QtQuick::AnchorAnimation::easing \qmlproperty enumeration QtQuick::AnchorAnimation::easing.type \qmlproperty real QtQuick::AnchorAnimation::easing.amplitude \qmlproperty real QtQuick::AnchorAnimation::easing.overshoot @@ -622,6 +623,7 @@ void QQuickPathAnimation::setDuration(int duration) } /*! + \qmlpropertygroup QtQuick::PathAnimation::easing \qmlproperty enumeration QtQuick::PathAnimation::easing.type \qmlproperty real QtQuick::PathAnimation::easing.amplitude \qmlproperty list<real> QtQuick::PathAnimation::easing.bezierCurve diff --git a/src/quick/items/qquicklistview.cpp b/src/quick/items/qquicklistview.cpp index 1b46d79326..77cdbceb8f 100644 --- a/src/quick/items/qquicklistview.cpp +++ b/src/quick/items/qquicklistview.cpp @@ -2149,6 +2149,7 @@ void QQuickListView::setOrientation(QQuickListView::Orientation orientation) /*! + \qmlpropertygroup QtQuick::ListView::section \qmlproperty string QtQuick::ListView::section.property \qmlproperty enumeration QtQuick::ListView::section.criteria \qmlproperty Component QtQuick::ListView::section.delegate diff --git a/src/quick/items/qquickmousearea.cpp b/src/quick/items/qquickmousearea.cpp index 2467d7252a..7a4b359d91 100644 --- a/src/quick/items/qquickmousearea.cpp +++ b/src/quick/items/qquickmousearea.cpp @@ -1184,6 +1184,7 @@ void QQuickMouseArea::setCursorShape(Qt::CursorShape shape) #endif /*! + \qmlpropertygroup QtQuick::MouseArea::drag \qmlproperty Item QtQuick::MouseArea::drag.target \qmlproperty bool QtQuick::MouseArea::drag.active \qmlproperty enumeration QtQuick::MouseArea::drag.axis diff --git a/src/quick/items/qquickpincharea.cpp b/src/quick/items/qquickpincharea.cpp index eadf82f888..419792aaa5 100644 --- a/src/quick/items/qquickpincharea.cpp +++ b/src/quick/items/qquickpincharea.cpp @@ -221,6 +221,7 @@ QQuickPinchAreaPrivate::~QQuickPinchAreaPrivate() /*! + \qmlpropertygroup QtQuick::PinchArea::pinch \qmlproperty Item QtQuick::PinchArea::pinch.target \qmlproperty bool QtQuick::PinchArea::pinch.active \qmlproperty real QtQuick::PinchArea::pinch.minimumScale diff --git a/src/quick/items/qquickrectangle.cpp b/src/quick/items/qquickrectangle.cpp index dd482eddb7..48f79a2192 100644 --- a/src/quick/items/qquickrectangle.cpp +++ b/src/quick/items/qquickrectangle.cpp @@ -321,6 +321,7 @@ void QQuickRectangle::doUpdate() } /*! + \qmlpropertygroup QtQuick::Rectangle::border \qmlproperty int QtQuick::Rectangle::border.width \qmlproperty color QtQuick::Rectangle::border.color diff --git a/src/quick/items/qquickstateoperations.cpp b/src/quick/items/qquickstateoperations.cpp index 00c2103289..a05b4f38ff 100644 --- a/src/quick/items/qquickstateoperations.cpp +++ b/src/quick/items/qquickstateoperations.cpp @@ -954,6 +954,7 @@ void QQuickAnchorChanges::setObject(QQuickItem *target) } /*! + \qmlpropertygroup QtQuick::AnchorChanges::anchors \qmlproperty AnchorLine QtQuick::AnchorChanges::anchors.left \qmlproperty AnchorLine QtQuick::AnchorChanges::anchors.right \qmlproperty AnchorLine QtQuick::AnchorChanges::anchors.horizontalCenter diff --git a/src/quick/items/qquicktranslate.cpp b/src/quick/items/qquicktranslate.cpp index 93104ffa7a..f1b716cf5b 100644 --- a/src/quick/items/qquicktranslate.cpp +++ b/src/quick/items/qquicktranslate.cpp @@ -198,6 +198,7 @@ QQuickScale::~QQuickScale() } /*! + \qmlpropertygroup QtQuick::Scale::origin \qmlproperty real QtQuick::Scale::origin.x \qmlproperty real QtQuick::Scale::origin.y @@ -347,6 +348,7 @@ QQuickRotation::~QQuickRotation() } /*! + \qmlpropertygroup QtQuick::Rotation::origin \qmlproperty real QtQuick::Rotation::origin.x \qmlproperty real QtQuick::Rotation::origin.y @@ -391,6 +393,7 @@ void QQuickRotation::setAngle(qreal angle) } /*! + \qmlpropertygroup QtQuick::Rotation::axis \qmlproperty real QtQuick::Rotation::axis.x \qmlproperty real QtQuick::Rotation::axis.y \qmlproperty real QtQuick::Rotation::axis.z diff --git a/src/quick/util/qquickanimation.cpp b/src/quick/util/qquickanimation.cpp index f743acc249..ad9cf06d5c 100644 --- a/src/quick/util/qquickanimation.cpp +++ b/src/quick/util/qquickanimation.cpp @@ -2083,6 +2083,7 @@ void QQuickPropertyAnimation::setTo(const QVariant &t) } /*! + \qmlpropertygroup QtQuick::PropertyAnimation::easing \qmlproperty enumeration QtQuick::PropertyAnimation::easing.type \qmlproperty real QtQuick::PropertyAnimation::easing.amplitude \qmlproperty real QtQuick::PropertyAnimation::easing.overshoot -- GitLab