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 <thomas.hartmann@qt.io>
This commit is contained in:
Leena Miettinen
2021-05-19 17:22:11 +02:00
parent 5afbcf0e86
commit 02685c691b
2 changed files with 16 additions and 2 deletions

View File

@@ -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.

View File

@@ -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