diff options
-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 |