forked from qt-creator/qt-creator
Doc: Remove remaining referrences to Library view
The view was divided into Assets and Components views. Task-number: QDS-6216 Change-Id: I5a73f60e511bb2936a009bbe6f61004f9d85d348 Reviewed-by: Mats Honkamaa <mats.honkamaa@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
**
|
**
|
||||||
** Copyright (C) 2021 The Qt Company Ltd.
|
** Copyright (C) 2022 The Qt Company Ltd.
|
||||||
** Contact: https://www.qt.io/licensing/
|
** Contact: https://www.qt.io/licensing/
|
||||||
**
|
**
|
||||||
** This file is part of the Qt Creator documentation.
|
** This file is part of the Qt Creator documentation.
|
||||||
@@ -35,8 +35,8 @@
|
|||||||
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{Using Project Wizards}{create an MCU project}. Only
|
||||||
the components available on MCUs are displayed in \l Library >
|
the components available on MCUs are displayed in \l Components. Only a
|
||||||
\uicontrol Components. Only a subset of properties is supported for the
|
subset of properties is supported for the
|
||||||
supported components. The properties that are not available on MCUs are
|
supported components. The properties that are not available on MCUs are
|
||||||
marked in the \l Properties view with strikethrough text.
|
marked in the \l Properties view with strikethrough text.
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
**
|
**
|
||||||
** Copyright (C) 2021 The Qt Company Ltd.
|
** Copyright (C) 2022 The Qt Company Ltd.
|
||||||
** Contact: https://www.qt.io/licensing/
|
** Contact: https://www.qt.io/licensing/
|
||||||
**
|
**
|
||||||
** This file is part of the Qt Creator documentation.
|
** This file is part of the Qt Creator documentation.
|
||||||
@@ -48,7 +48,7 @@
|
|||||||
|
|
||||||
To create a QML module
|
To create a QML module
|
||||||
\if defined(qtdesignstudio)
|
\if defined(qtdesignstudio)
|
||||||
and make it appear in the \l Library view:
|
and make it appear in the \l Components view:
|
||||||
\else
|
\else
|
||||||
:
|
:
|
||||||
\endif
|
\endif
|
||||||
@@ -77,8 +77,8 @@
|
|||||||
\li Create a \c .metainfo file for your module and place it in the
|
\li Create a \c .metainfo file for your module and place it in the
|
||||||
\c designer directory.
|
\c designer directory.
|
||||||
\if defined(qtdesignstudio)
|
\if defined(qtdesignstudio)
|
||||||
Meta information is needed to display the
|
Meta information is needed to display the components in
|
||||||
components in the \uicontrol Components tab in \uicontrol Library.
|
\uicontrol Components.
|
||||||
\endif
|
\endif
|
||||||
Use a metainfo file delivered with Qt, such as
|
Use a metainfo file delivered with Qt, such as
|
||||||
\c qtquickcontrols2.metainfo, as an example.
|
\c qtquickcontrols2.metainfo, as an example.
|
||||||
@@ -92,9 +92,9 @@
|
|||||||
For more information, see \l {Running QML Modules in Design Mode}.
|
For more information, see \l {Running QML Modules in Design Mode}.
|
||||||
\endlist
|
\endlist
|
||||||
|
|
||||||
Your module should now appear in the \uicontrol Components tab in
|
Your module should now appear in \uicontrol Components. Your components
|
||||||
\uicontrol Library. Your components should appear in a subsection of
|
should appear in a subsection of \uicontrol Components if a valid
|
||||||
the \uicontrol Components tab if a valid \c .metainfo file is in place.
|
\c .metainfo file is in place.
|
||||||
\endif
|
\endif
|
||||||
|
|
||||||
\if defined(qtcreator)
|
\if defined(qtcreator)
|
||||||
|
|||||||
@@ -182,7 +182,7 @@
|
|||||||
\list 1
|
\list 1
|
||||||
\li Drag-and-drop the background image from \uicontrol Assets to the
|
\li Drag-and-drop the background image from \uicontrol Assets to the
|
||||||
rectangle in \l Navigator.
|
rectangle in \l Navigator.
|
||||||
\image loginui1-library-assets.jpg "Library view Assets tab"
|
\image loginui1-library-assets.jpg "Assets view"
|
||||||
\li \QDS automatically creates an instance of the \l{Images}{Image}
|
\li \QDS automatically creates an instance of the \l{Images}{Image}
|
||||||
component for you with the path to the image file set as the
|
component for you with the path to the image file set as the
|
||||||
value of \l Properties > \uicontrol Image > \uicontrol Source.
|
value of \l Properties > \uicontrol Image > \uicontrol Source.
|
||||||
@@ -409,7 +409,7 @@
|
|||||||
\li Drag-and-drop two instances of the EntryField component from
|
\li Drag-and-drop two instances of the EntryField component from
|
||||||
\uicontrol Components > \uicontrol {My Components} to the rectangle
|
\uicontrol Components > \uicontrol {My Components} to the rectangle
|
||||||
in \uicontrol Navigator.
|
in \uicontrol Navigator.
|
||||||
\image loginui1-library.jpg "My Components tab of Library view"
|
\image loginui1-library.jpg "My Components tab of Components view"
|
||||||
\li Select the first EntryField instance in \uicontrol Navigator
|
\li Select the first EntryField instance in \uicontrol Navigator
|
||||||
to modify its ID and text in \uicontrol Properties.
|
to modify its ID and text in \uicontrol Properties.
|
||||||
\li In \uicontrol Component > \uicontrol ID, enter \e username.
|
\li In \uicontrol Component > \uicontrol ID, enter \e username.
|
||||||
|
|||||||
@@ -62,7 +62,7 @@
|
|||||||
add the relevant modules to your project, as described in
|
add the relevant modules to your project, as described in
|
||||||
\l {Adding and Removing Modules}.
|
\l {Adding and Removing Modules}.
|
||||||
|
|
||||||
\image qtquick-components-tab.png "Components in Library"
|
\image qtquick-components-tab.png "Components"
|
||||||
|
|
||||||
Read more about components:
|
Read more about components:
|
||||||
|
|
||||||
|
|||||||
@@ -35,7 +35,7 @@
|
|||||||
available in \uicontrol Components >
|
available in \uicontrol Components >
|
||||||
\uicontrol {Qt Quick Controls} > \uicontrol Controls.
|
\uicontrol {Qt Quick Controls} > \uicontrol Controls.
|
||||||
|
|
||||||
\image qtquick-designer-qtquickcontrols-types.png "Qt Quick Controls components in Library"
|
\image qtquick-designer-qtquickcontrols-types.png "Qt Quick Controls components"
|
||||||
|
|
||||||
The following types of controls are available for user interaction:
|
The following types of controls are available for user interaction:
|
||||||
|
|
||||||
|
|||||||
@@ -186,7 +186,7 @@
|
|||||||
flow items that you attach the components to are listed under
|
flow items that you attach the components to are listed under
|
||||||
\uicontrol {My Components}.
|
\uicontrol {My Components}.
|
||||||
|
|
||||||
\image studio-flow-item.png "Custom Flow Item in Library"
|
\image studio-flow-item.png "Custom Flow Item in Components"
|
||||||
|
|
||||||
\note You must use the wizard to create the flow items. After you create
|
\note You must use the wizard to create the flow items. After you create
|
||||||
a flow view, the \uicontrol {Flow View} module is added to
|
a flow view, the \uicontrol {Flow View} module is added to
|
||||||
|
|||||||
@@ -65,7 +65,7 @@
|
|||||||
\uicontrol {Files and Classes} > \uicontrol {Qt Quick Controls}.
|
\uicontrol {Files and Classes} > \uicontrol {Qt Quick Controls}.
|
||||||
\li Select the control to create, and then select \uicontrol Choose.
|
\li Select the control to create, and then select \uicontrol Choose.
|
||||||
|
|
||||||
\note Components are listed in \l Library > \uicontrol Components >
|
\note Components are listed in \l Components >
|
||||||
\uicontrol {My Components} only if the filename begins with a
|
\uicontrol {My Components} only if the filename begins with a
|
||||||
capital letter.
|
capital letter.
|
||||||
\li Edit component properties in the \l Properties view.
|
\li Edit component properties in the \l Properties view.
|
||||||
|
|||||||
@@ -52,7 +52,7 @@
|
|||||||
An \e asset is an image, font file, 3D model, or other supported file that
|
An \e asset is an image, font file, 3D model, or other supported file that
|
||||||
you add to your \l{glossary-project}{project}.
|
you add to your \l{glossary-project}{project}.
|
||||||
|
|
||||||
\image qtquick-assets-tab.png "Assets in Library"
|
\image qtquick-assets-tab.png "Assets"
|
||||||
|
|
||||||
Assets are packaged with \l{glossary-component}{components} for delivery
|
Assets are packaged with \l{glossary-component}{components} for delivery
|
||||||
to users.
|
to users.
|
||||||
@@ -100,7 +100,7 @@
|
|||||||
creating instances of them. These are similar to \e Symbols in Sketch or
|
creating instances of them. These are similar to \e Symbols in Sketch or
|
||||||
\e Prefab in Unity.
|
\e Prefab in Unity.
|
||||||
|
|
||||||
\image qtquick-components-tab.png "Preset components in Library"
|
\image qtquick-components-tab.png "Preset components in Components"
|
||||||
|
|
||||||
Some of the \l {Component Types}{preset components} represent simple shapes,
|
Some of the \l {Component Types}{preset components} represent simple shapes,
|
||||||
text, or images, while others represent complex UI controls with full
|
text, or images, while others represent complex UI controls with full
|
||||||
|
|||||||
@@ -179,7 +179,7 @@
|
|||||||
\image exporting-from-qt3ds/11-import.png "Import the file"
|
\image exporting-from-qt3ds/11-import.png "Import the file"
|
||||||
|
|
||||||
\li The 2D assets imported from \Q3DS now appear in > \uicontrol Assets.
|
\li The 2D assets imported from \Q3DS now appear in > \uicontrol Assets.
|
||||||
\image exporting-from-qt3ds/12-imported-image-assets.png "Imported assets in Library"
|
\image exporting-from-qt3ds/12-imported-image-assets.png "Imported assets in Components"
|
||||||
|
|
||||||
\li The QML components generated from the imported \Q3DS project now appear
|
\li The QML components generated from the imported \Q3DS project now appear
|
||||||
as available imports in \uicontrol Components under \uicontrol {QML Types}.
|
as available imports in \uicontrol Components under \uicontrol {QML Types}.
|
||||||
@@ -189,7 +189,7 @@
|
|||||||
|
|
||||||
\li The imported QML types now appear in \uicontrol Components and can be
|
\li The imported QML types now appear in \uicontrol Components and can be
|
||||||
added to the project.
|
added to the project.
|
||||||
\image exporting-from-qt3ds/14-add-myowncluster-to-project.png "MyOwnCluster in Library"
|
\image exporting-from-qt3ds/14-add-myowncluster-to-project.png "MyOwnCluster in Components"
|
||||||
\endlist
|
\endlist
|
||||||
|
|
||||||
\section2 Adding Components to the Project
|
\section2 Adding Components to the Project
|
||||||
|
|||||||
@@ -38,7 +38,7 @@
|
|||||||
scene, it can be used to direct what is displayed in a \l {3D Views}
|
scene, it can be used to direct what is displayed in a \l {3D Views}
|
||||||
{3D view}.
|
{3D view}.
|
||||||
|
|
||||||
\image studio-qtquick-3d-components.png "Qt Quick 3D components in Library"
|
\image studio-qtquick-3d-components.png "Qt Quick 3D components in Components"
|
||||||
|
|
||||||
Add a camera by dragging-and-dropping one of the camera components from
|
Add a camera by dragging-and-dropping one of the camera components from
|
||||||
\uicontrol Components > \uicontrol {Qt Quick 3D} > \uicontrol
|
\uicontrol Components > \uicontrol {Qt Quick 3D} > \uicontrol
|
||||||
|
|||||||
@@ -47,13 +47,13 @@
|
|||||||
of the components can be found in different locations in
|
of the components can be found in different locations in
|
||||||
\uicontrol {Components}.
|
\uicontrol {Components}.
|
||||||
|
|
||||||
\image studio-qtquick-3d-shader-utilities.png "Custom shader utilities in Library"
|
\image studio-qtquick-3d-shader-utilities.png "Custom shader utilities in Components"
|
||||||
|
|
||||||
You can find additional shader utilities, the \uicontrol Effect and
|
You can find additional shader utilities, the \uicontrol Effect and
|
||||||
\uicontrol {Custom Material} components, in
|
\uicontrol {Custom Material} components, in
|
||||||
\uicontrol Components > \uicontrol {Qt Quick3D} > \uicontrol {Qt Quick 3D}.
|
\uicontrol Components > \uicontrol {Qt Quick3D} > \uicontrol {Qt Quick 3D}.
|
||||||
|
|
||||||
\image studio-qtquick-3d-components.png "Effect and Custom Material Components in Library"
|
\image studio-qtquick-3d-components.png "Effect and Custom Material Components in Components"
|
||||||
|
|
||||||
\note In Qt 5 the \uicontrol Effect component is located in
|
\note In Qt 5 the \uicontrol Effect component is located in
|
||||||
\uicontrol {Qt Quick 3D Effects} >
|
\uicontrol {Qt Quick 3D Effects} >
|
||||||
|
|||||||
@@ -48,7 +48,7 @@
|
|||||||
\uicontrol QtQuick3D module to your project, as described in
|
\uicontrol QtQuick3D module to your project, as described in
|
||||||
\l {Adding and Removing Modules}.
|
\l {Adding and Removing Modules}.
|
||||||
|
|
||||||
\image studio-qtquick-3d-components.png "The Qt Quick 3D section in Library"
|
\image studio-qtquick-3d-components.png "The Qt Quick 3D section in Components"
|
||||||
|
|
||||||
\section1 Model Properties
|
\section1 Model Properties
|
||||||
|
|
||||||
|
|||||||
@@ -118,7 +118,7 @@
|
|||||||
\li An image of smoke: \e smoke_01.png
|
\li An image of smoke: \e smoke_01.png
|
||||||
\endlist
|
\endlist
|
||||||
|
|
||||||
\image studio-3d-particles-fire-assets.png "The assets in Library"
|
\image studio-3d-particles-fire-assets.png "The assets in Assets"
|
||||||
|
|
||||||
We will also need instances of the following components:
|
We will also need instances of the following components:
|
||||||
|
|
||||||
|
|||||||
@@ -44,7 +44,7 @@
|
|||||||
\uicontrol {Qt Quick 3D} module to \uicontrol {Components}, as described in
|
\uicontrol {Qt Quick 3D} module to \uicontrol {Components}, as described in
|
||||||
\l {Adding and Removing Modules}.
|
\l {Adding and Removing Modules}.
|
||||||
|
|
||||||
\image studio-qtquick-3d-components.png "Qt Quick 3D components in Library"
|
\image studio-qtquick-3d-components.png "Qt Quick 3D components in Components"
|
||||||
|
|
||||||
You can now drag-and-drop a \uicontrol View3D component to \l Navigator or
|
You can now drag-and-drop a \uicontrol View3D component to \l Navigator or
|
||||||
to \l {Form Editor}.
|
to \l {Form Editor}.
|
||||||
|
|||||||
@@ -35,7 +35,7 @@
|
|||||||
To make this easier, \QDS provides a set of components called
|
To make this easier, \QDS provides a set of components called
|
||||||
\e {logic helpers}.
|
\e {logic helpers}.
|
||||||
|
|
||||||
\image studio-logic-helpers.png "Logic Helper component in Library"
|
\image studio-logic-helpers.png "Logic Helper component in Components"
|
||||||
|
|
||||||
Logic helpers are available for binding property values using the boolean
|
Logic helpers are available for binding property values using the boolean
|
||||||
AND, NOT, and OR operators, as well as for mapping numbers and numerical
|
AND, NOT, and OR operators, as well as for mapping numbers and numerical
|
||||||
|
|||||||
@@ -34,7 +34,7 @@
|
|||||||
dragging-and-dropping them from \uicontrol Components
|
dragging-and-dropping them from \uicontrol Components
|
||||||
> \uicontrol {Qt Quick Studio Effects} to the component in \l Navigator.
|
> \uicontrol {Qt Quick Studio Effects} to the component in \l Navigator.
|
||||||
|
|
||||||
\image studio-2d-effects.png "Effects tab in Library"
|
\image studio-2d-effects.png "Effects tab in Components"
|
||||||
|
|
||||||
\note The availability of effects depends on whether you selected
|
\note The availability of effects depends on whether you selected
|
||||||
\uicontrol {Qt 5} or \uicontrol {Qt 6} when \l{Creating Projects}
|
\uicontrol {Qt 5} or \uicontrol {Qt 6} when \l{Creating Projects}
|
||||||
|
|||||||
@@ -32,7 +32,7 @@
|
|||||||
|
|
||||||
The \uicontrol Component view lists the available components.
|
The \uicontrol Component view lists the available components.
|
||||||
|
|
||||||
\image qtquick-components-tab.png "Library view Components tab"
|
\image qtquick-components-tab.png "Components view"
|
||||||
|
|
||||||
\uicontrol Components displays modules that have been
|
\uicontrol Components displays modules that have been
|
||||||
added to your project. In many modules the components have been further
|
added to your project. In many modules the components have been further
|
||||||
|
|||||||
Reference in New Issue
Block a user