aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/doc
diff options
context:
space:
mode:
authorLiang Qi <liang.qi@theqtcompany.com>2015-06-26 14:03:55 +0200
committerLiang Qi <liang.qi@theqtcompany.com>2015-06-26 14:03:56 +0200
commit1c1bb3bc4ae3907d9d6d2417b56d90da3c70e4b7 (patch)
treeea7c3a0dbf98786edf0a2be0f82381e0f25bac61 /src/qml/doc
parent7ccfa59664b8bdb24c06025d3ffc5c4da7f0bb1e (diff)
parentb1ccb1f8c30d601c55145b65add3846fe5f9bb32 (diff)
Merge remote-tracking branch 'origin/5.5.0' into 5.5
Diffstat (limited to 'src/qml/doc')
-rw-r--r--src/qml/doc/src/qmltypereference.qdoc3
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