Binding: document that property can be grouped if it's a value type

Change-Id: Ie33410027556857fefb87517ebb336c2714bc6c6
Reviewed-by: Topi Reiniö <topi.reinio@digia.com>
This commit is contained in:
Mitch Curtis 2015-10-22 16:13:02 +02:00
parent bcab320cb9
commit 901b88c6ae
1 changed files with 17 additions and 0 deletions

View File

@ -221,6 +221,23 @@ void QQmlBind::setObject(QObject *obj)
\qmlproperty string QtQml::Binding::property
The property to be updated.
This can be a group property if the expression results in accessing a
property of a \l {QML Basic Types}{value type}. For example:
\qml
Item {
id: item
property rect rectangle: Qt.rect(0, 0, 200, 200)
}
Binding {
target: item
property: "rectangle.x"
value: 100
}
\endqml
*/
QString QQmlBind::property() const
{