diff options
author | Leena Miettinen <riitta-leena.miettinen@qt.io> | 2017-05-05 15:43:02 +0200 |
---|---|---|
committer | Leena Miettinen <riitta-leena.miettinen@qt.io> | 2017-05-08 08:16:14 +0000 |
commit | 82d928d1893734cef98805d2ff3b45cfaa23cd04 (patch) | |
tree | e0d4a1516de3f409c70ca995391d58071e9b69f4 | |
parent | f412a9b2e2b01b5917eb6cc91d0f7275a0582e94 (diff) | |
download | qt-creator-82d928d1893734cef98805d2ff3b45cfaa23cd04.tar.gz |
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 <thomas.hartmann@qt.io>
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
-rw-r--r-- | doc/images/qtcreator-move-component-into-separate-file.png | bin | 0 -> 8350 bytes | |||
-rw-r--r-- | doc/src/editors/creator-editors.qdoc | 10 | ||||
-rw-r--r-- | doc/src/qtquick/creator-mobile-app-tutorial.qdoc | 7 |
3 files changed, 11 insertions, 6 deletions
diff --git a/doc/images/qtcreator-move-component-into-separate-file.png b/doc/images/qtcreator-move-component-into-separate-file.png Binary files differnew file mode 100644 index 0000000000..d5bf10192e --- /dev/null +++ b/doc/images/qtcreator-move-component-into-separate-file.png diff --git a/doc/src/editors/creator-editors.qdoc b/doc/src/editors/creator-editors.qdoc index 34ff10542b..c83f75680f 100644 --- a/doc/src/editors/creator-editors.qdoc +++ b/doc/src/editors/creator-editors.qdoc @@ -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, diff --git a/doc/src/qtquick/creator-mobile-app-tutorial.qdoc b/doc/src/qtquick/creator-mobile-app-tutorial.qdoc index e04018d9e0..12ac15c576 100644 --- a/doc/src/qtquick/creator-mobile-app-tutorial.qdoc +++ b/doc/src/qtquick/creator-mobile-app-tutorial.qdoc @@ -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 |