Commit 82d928d1 authored by Riitta-Leena Miettinen's avatar Riitta-Leena Miettinen
Browse files

Doc: Describe Move Component Into Separate File dialog



This refactoring action can now be performed from the Form Editor
of Qt Quick Designer. It opens a dialog for specifying which
properties should be set in the original component and which in the
new one.

Change-Id: Ic076ddc2748a5da38c746b64eac943ec5adbbbf5
Reviewed-by: Thomas Hartmann's avatarThomas Hartmann <thomas.hartmann@qt.io>
Reviewed-by: Tim Jenssen's avatarTim Jenssen <tim.jenssen@qt.io>
parent f412a9b2
......@@ -2473,8 +2473,14 @@
\row
\li Move Component into Separate File
\li Moves a QML type into a separate file
\li QML type name
\li Moves a QML type into a separate file. Give the new component a
name and select whether properties are set for the new component
or for the original one.
\image qtcreator-move-component-into-separate-file.png
\li QML type name. This action is also available in the
\uicontrol {Form Editor} in \QMLD.
\row
\li Split Initializer
\li Reformats a one-line type into a multi-line type. For example,
......
......@@ -123,12 +123,11 @@
\list 1
\li Select \uicontrol {Text Editor} to open Page1Form.ui.qml in the
text editor tab.
\li Right-click \uicontrol Image and select \uicontrol Refactoring >
\li Right-click the image and select
\uicontrol {Move Component into Separate File}.
\image qtcreator-move-component-into-separate-file.png
\li In the \uicontrol {Component name} field, enter \e Bubble.
\li Deselect the \uicontrol x, \uicontrol y, and
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment