diff options
author | Liang Qi <liang.qi@theqtcompany.com> | 2015-06-26 14:03:55 +0200 |
---|---|---|
committer | Liang Qi <liang.qi@theqtcompany.com> | 2015-06-26 14:03:56 +0200 |
commit | 1c1bb3bc4ae3907d9d6d2417b56d90da3c70e4b7 (patch) | |
tree | ea7c3a0dbf98786edf0a2be0f82381e0f25bac61 /src/qml/doc | |
parent | 7ccfa59664b8bdb24c06025d3ffc5c4da7f0bb1e (diff) | |
parent | b1ccb1f8c30d601c55145b65add3846fe5f9bb32 (diff) |
Merge remote-tracking branch 'origin/5.5.0' into 5.5
Change-Id: I4020a1b3c59dea18faf7cbcbb78b90fcfc3680f0
Diffstat (limited to 'src/qml/doc')
-rw-r--r-- | src/qml/doc/src/qmltypereference.qdoc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/qml/doc/src/qmltypereference.qdoc b/src/qml/doc/src/qmltypereference.qdoc index 48f7ba1bae..31133c862f 100644 --- a/src/qml/doc/src/qmltypereference.qdoc +++ b/src/qml/doc/src/qmltypereference.qdoc @@ -208,6 +208,9 @@ Or use the \l{QtQml::Qt::rect()}{Qt.rect()} function: CustomObject { myRectProperty: Qt.rect(50, 50, 100, 100) } \endqml +The \c rect type also exposes read-only \c left, \c right, \c top and \c bottom +attributes. These are the same as their \l {QRectF}{C++ counterparts}. + When integrating with C++, note that any QRect or QRectF value \l{qtqml-cppintegration-data.html}{passed into QML from C++} is automatically converted into a \c rect value, and vice-versa. When a \c rect value is passed to C++, it |