aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorJohanna Vanhatapio <johanna.vanhatapio@qt.io>2021-04-23 15:38:45 +0300
committerJohanna Vanhatapio <johanna.vanhatapio@qt.io>2021-04-23 13:34:41 +0000
commita4d1beca2d65f2095096ed3bb54356ac479269fa (patch)
treed1285a025b200f1f43995402ecbdb64f9f812313 /doc
parent5c2a95b03536f348da5b0c3a81793d81b946f3a0 (diff)
Doc: Update info about Component
... in Concepts and Terms topic. Also added some links to Creating Components. Task-number: QDS-3407 Change-Id: Iea2314c40ec5edb906ca0e23b9d7dea48cf6c597 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Diffstat (limited to 'doc')
-rw-r--r--doc/qtcreator/src/qtquick/qtquick-components.qdoc6
-rw-r--r--doc/qtdesignstudio/src/qtdesignstudio-terms.qdoc26
2 files changed, 18 insertions, 14 deletions
diff --git a/doc/qtcreator/src/qtquick/qtquick-components.qdoc b/doc/qtcreator/src/qtquick/qtquick-components.qdoc
index cbba247ad0..b17234a1da 100644
--- a/doc/qtcreator/src/qtquick/qtquick-components.qdoc
+++ b/doc/qtcreator/src/qtquick/qtquick-components.qdoc
@@ -83,9 +83,9 @@
\list 1
\li Drag-and-drop components from \uicontrol Library (1) to
- \uicontrol Navigator (2), \uicontrol {Form Editor} (3), or
- \l {3D Editor} (4). This creates instances of the components in the
- current component file.
+ \l Navigator (2), \l {Form Editor} (3), or \l {3D Editor} (4).
+ This creates instances of the components in the current
+ component file.
\li Select component instances in \uicontrol Navigator to edit the
values of their properties in \uicontrol Properties.
\image qmldesigner-properties-view.png "Properties view"
diff --git a/doc/qtdesignstudio/src/qtdesignstudio-terms.qdoc b/doc/qtdesignstudio/src/qtdesignstudio-terms.qdoc
index b4297871ab..82cc0e6905 100644
--- a/doc/qtdesignstudio/src/qtdesignstudio-terms.qdoc
+++ b/doc/qtdesignstudio/src/qtdesignstudio-terms.qdoc
@@ -58,27 +58,31 @@
A \e component is a reusable building block for a UI.
- \QDS comes with \e {preset components} that you can use in your project.
- These are similar to \e Symbols in Sketch or \e Prefab in Unity.
+ \QDS comes with \e {preset components} that you can use in your UI by
+ creating instances of them. These are similar to \e Symbols in Sketch or
+ \e Prefab in Unity.
- Some of the preset components represent simple shapes, text, or images,
- while others represent complex UI controls with full functionality, such
- as spin boxes or sliders.
+ Some of the \l {Component Types}{preset components} represent simple shapes,
+ text, or images, while others represent complex UI controls with full
+ functionality, such as spin boxes or sliders. You can also add instances of
+ preset \l {Using 3D Components}{3D components} to your UIs. You can find all
+ the preset components in \l Library.
- You can modify the \e properties of the preset components and combine them
- to build your own components.
+ To build \l {Creating Component Instances}{your own components}, you can
+ modify the \e properties of the component instances and combine them.
A component is specified within one file (with the file extension
\e ui.qml or \e .qml). For example, a Button component may be defined
in Button.ui.qml. Typically, the visual appearance of a component is
- defined in a \e {UI file}.
+ defined in a \e {UI file}. To create component files, you can use
+ \l{Creating Components from Scratch}{wizard templates}, or
+ \l{Moving Component Instances into Separate Files}
+ {move component instances into separate component files}.
Read more about components:
\list
- \li \l{Creating Components}{Library}
- \li \l{Component Types}{Preset Components}
- \li \l{Creating Component Instances}{My Components}
+ \li \l{Creating Components}
\endlist
\section1 Device