summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeena Miettinen <riitta-leena.miettinen@qt.io>2017-05-03 16:11:58 +0200
committerLeena Miettinen <riitta-leena.miettinen@qt.io>2017-05-04 06:44:19 +0000
commit3b901b25a86f49ebef9be03ec762ed76422fd91c (patch)
treeca9b26d61371b96778ab22f36abb4728f0e7e2f9
parent66a22bb6088abb87be632cbf9410a716daa8f4fe (diff)
downloadqt-creator-3b901b25a86f49ebef9be03ec762ed76422fd91c.tar.gz
Doc: Describe changing QML type of item in Qt Quick Designer
You can now change the type of an item by double clicking the Type field in the Properties pane. Change-Id: Iacd70a595d693eb83d1b6d9fbfdf38429fd2706b Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
-rw-r--r--doc/src/qtquick/qtquick-designer.qdoc7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/src/qtquick/qtquick-designer.qdoc b/doc/src/qtquick/qtquick-designer.qdoc
index dfccf27f7f..7063351e25 100644
--- a/doc/src/qtquick/qtquick-designer.qdoc
+++ b/doc/src/qtquick/qtquick-designer.qdoc
@@ -219,6 +219,13 @@
\image qmldesigner-element-properties.png
+ To change the item type, double-click the \uicontrol Type field in the
+ \uicontrol Properties pane, and enter the name of another QML type in the
+ field. If you have specified properties for the item that are not supported
+ for the new type, the type cannot be changed and an error message is
+ displayed. Remove the properties in the \uicontrol {Text Editor} and try
+ again.
+
To return an item to its implicit position after moving it, select the
\inlineimage qtcreator-reset-position-icon.png
(\uicontrol {Reset Position}) button on the toolbar. To return it to its