forked from qt-creator/qt-creator
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:
@@ -105,6 +105,13 @@
|
|||||||
the UI. For the time being, it does not do anything.
|
the UI. For the time being, it does not do anything.
|
||||||
\li The \e {Screen01.ui.qml} file is a custom component created by
|
\li The \e {Screen01.ui.qml} file is a custom component created by
|
||||||
the wizard template. For more information, see \l {UI Files}.
|
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
|
\li The \e {qtquickcontrols2.conf} file specifies the selected
|
||||||
\l {Styling Qt Quick Controls}{UI style} and some style-specific
|
\l {Styling Qt Quick Controls}{UI style} and some style-specific
|
||||||
arguments.
|
arguments.
|
||||||
|
@@ -112,8 +112,15 @@
|
|||||||
image files in the project folder belong to the project. Therefore,
|
image files in the project folder belong to the project. Therefore,
|
||||||
you do not need to individually list all the files in the project.
|
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 .qml file defines the functionality and appearance of a component.
|
||||||
\li .ui.qml file defines a visual component that you can edit in
|
\li \e Screen01.ui.qml defines a custom component that you can edit in
|
||||||
\l{Form Editor}.
|
\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
|
\li qtquickcontrols2.conf file specifies the preferred style and some
|
||||||
style-specific arguments.
|
style-specific arguments.
|
||||||
\li \e fonts folder contains font files that you have added in
|
\li \e fonts folder contains font files that you have added in
|
||||||
|
Reference in New Issue
Block a user