summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMartin Jones <martin.jones@nokia.com>2010-07-20 01:28:36 (GMT)
committerToby Tomkins <toby.tomkins@nokia.com>2010-07-26 04:09:33 (GMT)
commitf8c618c858bdb8140bcedcb0c70d9ce5a44fedec (patch)
treed44c0d7e548c89d7ee2382abee15f058aef341a4 /src
parent86ee5491b6a6849bd7ed3c398a0d296be9f055b0 (diff)
downloadQt-f8c618c858bdb8140bcedcb0c70d9ce5a44fedec.zip
Qt-f8c618c858bdb8140bcedcb0c70d9ce5a44fedec.tar.gz
Qt-f8c618c858bdb8140bcedcb0c70d9ce5a44fedec.tar.bz2
Improve documentation on setting arbitray transform origin points
transformOriginPoint is undocumented for a reason. It shouldn't be used by Item. Added some docs to assist find the right way, i.e. Scale and Rotation elements. Task-number: QTBUG-12265 (cherry picked from commit 06ef198e0812b514c261ef8f7c82db754450f1fa)
Diffstat (limited to 'src')
-rw-r--r--src/declarative/graphicsitems/qdeclarativeitem.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/declarative/graphicsitems/qdeclarativeitem.cpp b/src/declarative/graphicsitems/qdeclarativeitem.cpp
index e5be74c..44a5a11 100644
--- a/src/declarative/graphicsitems/qdeclarativeitem.cpp
+++ b/src/declarative/graphicsitems/qdeclarativeitem.cpp
@@ -1514,6 +1514,9 @@ QDeclarativeItem::~QDeclarativeItem()
\endqml
The default transform origin is \c Item.Center.
+
+ To set an arbitrary transform origin point use the \l Scale or \l Rotation
+ transform elements.
*/
/*!
@@ -2176,6 +2179,8 @@ void QDeclarativeItem::setBaselineOffset(qreal offset)
}
\endqml
\endtable
+
+ \sa transform, Rotation
*/
/*!
@@ -2212,6 +2217,8 @@ void QDeclarativeItem::setBaselineOffset(qreal offset)
}
\endqml
\endtable
+
+ \sa transform, Scale
*/
/*!