forked from qt-creator/qt-creator
Doc: add info about Qt Quick Dialogs and Layouts
Task-number: QTCREATORBUG-12721 Change-Id: Ib6ff3e53806be26f714378d4ffcd3b54a36a6e8f Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com>
This commit is contained in:
@@ -43,14 +43,14 @@
|
|||||||
|
|
||||||
\li \l {Creating Components}
|
\li \l {Creating Components}
|
||||||
|
|
||||||
You can use predefined QML types to create components or use a set
|
You can use basic QML types to create your own components that you
|
||||||
of Qt Quick Controls for creating classic desktop-style user
|
can combine with ready-made Qt Quick Controls and Layouts
|
||||||
interfaces using Qt Quick 2.1 (available since Qt 5.1).
|
(available since Qt 5.1).
|
||||||
\li \l {Creating Screens}
|
\li \l {Creating Screens}
|
||||||
|
|
||||||
You can use predefined QML types, Qt Quick Controls, and your own
|
You can combine basic QML types with ready-made Qt Quick Controls,
|
||||||
components to create screens. You can use states and transitions to
|
Dialogs, and Layouts (available since Qt 5.1) to create screens. You
|
||||||
navigate between screens.
|
can use states and transitions to navigate between screens.
|
||||||
\li \l {Exporting Designs from Graphics Software}
|
\li \l {Exporting Designs from Graphics Software}
|
||||||
|
|
||||||
You can export designs from graphics software, such as Adobe
|
You can export designs from graphics software, such as Adobe
|
||||||
|
|||||||
@@ -71,14 +71,11 @@
|
|||||||
|
|
||||||
\endlist
|
\endlist
|
||||||
|
|
||||||
QML types allow you to write cross-platform applications with custom look
|
You can also use ready-made Qt Quick 1 Components (for Qt 4) to create
|
||||||
and feel. You can also use ready-made Qt Quick Components (for Qt 4) to
|
screens with a native look and feel for a particular target platform.
|
||||||
create screens with a native look and feel for a particular target platform.
|
Since Qt 5.1, Qt Quick Controls, Dialogs, and Layouts are available for
|
||||||
Since Qt 5.1, a set of Qt Quick Controls is available for creating classic
|
creating classic desktop-style user interfaces using Qt Quick 2.1. You can
|
||||||
desktop-style user interfaces using Qt Quick 2.1.
|
use the Qt Quick Controls Styles to customize Qt Quick Controls.
|
||||||
|
|
||||||
Qt Quick 1 Components are a part of Qt 4, whereas Qt Quick Controls were
|
|
||||||
added to Qt 5.1.
|
|
||||||
|
|
||||||
The \QC project wizards create Qt Quick applications that use Qt Quick
|
The \QC project wizards create Qt Quick applications that use Qt Quick
|
||||||
Components or Controls.
|
Components or Controls.
|
||||||
|
|||||||
@@ -68,10 +68,10 @@
|
|||||||
\gui {Qt Quick UI} > \gui Choose.
|
\gui {Qt Quick UI} > \gui Choose.
|
||||||
|
|
||||||
\li In the \gui {Qt Quick component set} field, select the component set
|
\li In the \gui {Qt Quick component set} field, select the component set
|
||||||
to use for the project. The Qt Quick imports enable you to create
|
to use for the project. The Qt Quick imports enable you to use the
|
||||||
cross-platform applications with a custom look and feel, whereas the
|
basic QML types to create user interfaces, whereas the Qt Quick
|
||||||
Qt Quick Controls provide the look and feel for a particular
|
Controls provide a set of ready-made controls that you can customize
|
||||||
platform:
|
by using Qt Quick Controls Styles:
|
||||||
|
|
||||||
\list
|
\list
|
||||||
|
|
||||||
@@ -85,6 +85,10 @@
|
|||||||
|
|
||||||
\endlist
|
\endlist
|
||||||
|
|
||||||
|
You can add imports later to combine Qt Quick basic types with Qt Quick
|
||||||
|
Controls, Qt Quick Dialogs, and Qt Quick Layouts (available since
|
||||||
|
Qt 5.1).
|
||||||
|
|
||||||
\endlist
|
\endlist
|
||||||
|
|
||||||
\QC creates the following files:
|
\QC creates the following files:
|
||||||
|
|||||||
@@ -143,9 +143,9 @@
|
|||||||
components, basic types, layouts, positioner types, and views.
|
components, basic types, layouts, positioner types, and views.
|
||||||
|
|
||||||
Sets of UI components with the look and feel of a particular mobile device
|
Sets of UI components with the look and feel of a particular mobile device
|
||||||
platform have been defined for Qt Quick 1. Since Qt 5.1, a set of Qt Quick
|
platform have been defined for Qt Quick 1. Since Qt 5.1, ready-made Qt
|
||||||
Controls is available for creating classic desktop-style user interfaces
|
Quick Controls, Dialogs, and Layouts are available for creating user
|
||||||
using Qt Quick 2.1. The Qt Quick Components and Controls are based on
|
interfaces using Qt Quick 2.1. The components and controls are based on
|
||||||
standard QML types. To view the components and controls in the
|
standard QML types. To view the components and controls in the
|
||||||
\gui {Library} pane, import the component sets in the \gui Imports pane.
|
\gui {Library} pane, import the component sets in the \gui Imports pane.
|
||||||
|
|
||||||
|
|||||||
@@ -40,9 +40,9 @@
|
|||||||
|
|
||||||
You can also use ready-made Qt Quick 1 Components (for Qt 4) to create
|
You can also use ready-made Qt Quick 1 Components (for Qt 4) to create
|
||||||
screens with a native look and feel for a particular target platform.
|
screens with a native look and feel for a particular target platform.
|
||||||
Since Qt 5.1, a set of Qt Quick Controls is available for creating classic
|
Since Qt 5.1, Qt Quick Controls, Dialogs, and Layouts are available for
|
||||||
desktop-style user interfaces using Qt Quick 2.1. Qt Quick 1 Components are
|
creating classic desktop-style user interfaces using Qt Quick 2.1. You can
|
||||||
a part of Qt 4, whereas Qt Quick Controls were added to Qt 5.1.
|
use the Qt Quick Controls Styles to customize Qt Quick Controls.
|
||||||
|
|
||||||
\section1 Adding Components to Screens
|
\section1 Adding Components to Screens
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user