Doc: Update presets documentation

- Add info about custom presets
- Some cleaning up, naming, etc

Task-number: QDS-6369
Change-Id: I4c8cd1109111231948c26b04f7706d122e94a9b2
Reviewed-by: Samuel Ghinet <samuel.ghinet@qt.io>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
This commit is contained in:
Mats Honkamaa
2022-03-10 10:59:46 +02:00
parent cc51e32b2d
commit 7607f6dc06
4 changed files with 45 additions and 23 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 96 KiB

After

Width:  |  Height:  |  Size: 102 KiB

View File

@@ -34,7 +34,7 @@
development. In this manual, we indicate which components are supported at development. In this manual, we indicate which components are supported at
the time of writing. the time of writing.
To develop for MCUs, \l{Using Project Wizards}{create an MCU project}. Only To develop for MCUs, \l{Creating a Project}{create an MCU project}. Only
the components available on MCUs are displayed in \l Components. Only a the components available on MCUs are displayed in \l Components. Only a
subset of properties is supported for the supported components. The subset of properties is supported for the supported components. The
properties that are not available on MCUs are marked in the \l Properties properties that are not available on MCUs are marked in the \l Properties

View File

@@ -37,35 +37,27 @@
Creating a project enables you to: Creating a project enables you to:
\list \list
\li Group files together \li Group files together.
\li Include \l{UI Files}{UI files} (.ui.qml), component files (.qml), \li Include \l{UI Files}{UI files} (.ui.qml), component files (.qml),
and assets files and assets files.
\li Specify settings for previewing UIs \li Specify settings for previewing UIs.
\endlist \endlist
Setting up a new project in \QDS is aided by a wizard that guides you Setting up a new project in \QDS is aided by a wizard with a set of
step-by-step through the project creation process. The wizard templates presets that you can choose from. You can adjust project settings and save
prompt you to enter the settings needed for a particular type of project custom presets. When you create a project, all necessary files are created.
and create the necessary files for you.
To test how well your designs work, you can preview the The following presets are available:
UIs on the desktop, embedded Linux devices, or Android devices. For more
information, see \l{Validating with Target Hardware}.
\image studio-project-wizards.png "A list of project wizards"
You can export designs from other design tools and import them to projects
or create them from scratch using the following wizard presets:
\table \table
\header \header
\li Category \li Category
\li Wizard Preset \li Preset
\li Purpose \li Purpose
\row \row
\li Recents \li Recents
\li \li
\li Lists the most recent presets that you have used. \li Lists your most recently used presets.
\row \row
\li {1,2} General \li {1,2} General
\li Empty \li Empty
@@ -100,15 +92,30 @@
\li Launcher \li Launcher
\li Creates a project that uses default components such as rectangles, \li Creates a project that uses default components such as rectangles,
images, and text, and defines a launcher application. images, and text, and defines a launcher application.
\row
\li Custom
\li
\li Lists your saved custom presets.
\note This tab is not visible if there are no saved custom presets.
\endtable \endtable
\section1 Using Project Wizards \image studio-project-wizards.png "The Create Project wizard"
To create a new project: To test how well your designs work, you can preview the
UIs on the desktop, embedded Linux devices, or Android devices. For more
information, see \l{Validating with Target Hardware}.
You can export designs from other design tools and import them to projects.
For more information, see \l{Exporting from Design Tools} and
\l{Importing Designs From Other Design Tools}.
\section1 Creating a Project
To create a project:
\list 1 \list 1
\li Select \uicontrol File > \uicontrol {New Project}. \li Select \uicontrol File > \uicontrol {New Project}.
\li In the \uicontrol Presets tab, select a wizard preset. \li In the \uicontrol Presets tab, select a preset.
\li In the \uicontrol Details tab: \li In the \uicontrol Details tab:
\list \list
\li Enter a name for the project. Keep in mind that projects \li Enter a name for the project. Keep in mind that projects
@@ -167,9 +174,24 @@
\uicontrol Assets > \inlineimage icons/plus.png \uicontrol Assets > \inlineimage icons/plus.png
. .
\section1 Using Custom Presets
You can save project settings as custom presets. All saved custom presets
are available on the \uicontrol Custom tab in the
\uicontrol {Create Project} wizard. You cannot modify custom presets once
you have created them.
To create a custom preset:
\list 1
\li In the \uicontrol {Create Project} wizard, set the details and style
that you want to use.
\li Select \uicontrol {Save Custom Preset} and give a name for the custom
preset.
\endlist
\section1 Adding Files to Projects \section1 Adding Files to Projects
You can use wizard templates also to add individual files to projects. You can use wizard templates to add individual files to projects.
The wizard templates in the \uicontrol {Qt Quick Controls} category create The wizard templates in the \uicontrol {Qt Quick Controls} category create
stylable versions of the components in the \uicontrol {Qt Quick Controls} stylable versions of the components in the \uicontrol {Qt Quick Controls}

View File

@@ -130,7 +130,7 @@
\li \l {Textures}{Texture} (four instances) \li \l {Textures}{Texture} (four instances)
\endlist \endlist
We start by creating a \l{Using Project Wizards}{Qt Quick 3D Application} We start by creating a \l{Creating a Project}{Qt Quick 3D Application}
project and adding the assets to it. We then follow the instructions above project and adding the assets to it. We then follow the instructions above
to add the \uicontrol {Particle System} component instance, which provides to add the \uicontrol {Particle System} component instance, which provides
us with our first \uicontrol Emitter, \uicontrol {Sprite Particle}, and us with our first \uicontrol Emitter, \uicontrol {Sprite Particle}, and