From 02685c691bb46ecbc328c53ea11abbffcedaf3b5 Mon Sep 17 00:00:00 2001 From: Leena Miettinen Date: Wed, 19 May 2021 17:22:11 +0200 Subject: [PATCH] Doc: Add information about Screen01.ui.qml It is a custom component created by project wizard templates to give a starting point to users. Explain that its use is optional and it can be replaced by another main file. Change-Id: Ica94e54ba6e307465d8ad240c5d8a590dec089a2 Reviewed-by: Thomas Hartmann --- doc/qtdesignstudio/examples/doc/loginui1.qdoc | 7 +++++++ doc/qtdesignstudio/src/qtdesignstudio-projects.qdoc | 11 +++++++++-- 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/doc/qtdesignstudio/examples/doc/loginui1.qdoc b/doc/qtdesignstudio/examples/doc/loginui1.qdoc index ec215093c4d..e9585fda00e 100644 --- a/doc/qtdesignstudio/examples/doc/loginui1.qdoc +++ b/doc/qtdesignstudio/examples/doc/loginui1.qdoc @@ -105,6 +105,13 @@ the UI. For the time being, it does not do anything. \li The \e {Screen01.ui.qml} file is a custom component created by the wizard template. For more information, see \l {UI Files}. + + By default, this is the main file in the project, but you can + change that in the .qmlproject file. While the custom component + is a good starting point for new users, you don't have to use it. + Specifically, if you export and import designs using \QB, your main + file is most likely called something else. For more information, + see \l {Exporting from Design Tools}. \li The \e {qtquickcontrols2.conf} file specifies the selected \l {Styling Qt Quick Controls}{UI style} and some style-specific arguments. diff --git a/doc/qtdesignstudio/src/qtdesignstudio-projects.qdoc b/doc/qtdesignstudio/src/qtdesignstudio-projects.qdoc index eda60a979fe..d283ea5d04d 100644 --- a/doc/qtdesignstudio/src/qtdesignstudio-projects.qdoc +++ b/doc/qtdesignstudio/src/qtdesignstudio-projects.qdoc @@ -112,8 +112,15 @@ image files in the project folder belong to the project. Therefore, you do not need to individually list all the files in the project. \li .qml file defines the functionality and appearance of a component. - \li .ui.qml file defines a visual component that you can edit in - \l{Form Editor}. + \li \e Screen01.ui.qml defines a custom component that you can edit in + \l{Form Editor}. For more information, see \l {UI Files}. + + By default, this is the main file in the project, but you can + change that in the .qmlproject file. While the custom component + is a good starting point for new users, you don't have to use it. + Specifically, if you export and import designs using \QB, your main + file is most likely called something else. For more information, + see \l {Exporting from Design Tools}. \li qtquickcontrols2.conf file specifies the preferred style and some style-specific arguments. \li \e fonts folder contains font files that you have added in