forked from qt-creator/qt-creator
Doc: Describe newly supported Qt Quick Controls 2
Support for several controls has been added to the Library in the Design mode. Change-Id: I9822f7379991eea3b32f47574e3c3548445d538d Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
This commit is contained in:
@@ -116,6 +116,13 @@
|
|||||||
\li \l{ListView}{List View} provides a list vizualization of a model.
|
\li \l{ListView}{List View} provides a list vizualization of a model.
|
||||||
\li \l{PathView}{Path View} visualizes the contents of a model along a
|
\li \l{PathView}{Path View} visualizes the contents of a model along a
|
||||||
path.
|
path.
|
||||||
|
\li \l [QtQuickControls2] {ScrollView}{Scroll View} provides scrolling
|
||||||
|
for user-defined content. It can be used instead of a \l Flickable
|
||||||
|
item.
|
||||||
|
\li \l [QtQuickControls2] {StackView}{Stack View} provides a stack-based
|
||||||
|
navigation model.
|
||||||
|
\li \l[QtQuickControls2] {SwipeView}{Swipe View} enables users to
|
||||||
|
navigate pages by swiping sideways.
|
||||||
\endlist
|
\endlist
|
||||||
|
|
||||||
When you add a \l{GridView}{Grid View}, \l{ListView}{List View}, or
|
When you add a \l{GridView}{Grid View}, \l{ListView}{List View}, or
|
||||||
@@ -124,7 +131,9 @@
|
|||||||
You can edit item properties in the \uicontrol Properties pane or
|
You can edit item properties in the \uicontrol Properties pane or
|
||||||
in the \uicontrol {Text Editor}. You can also replace the default model and
|
in the \uicontrol {Text Editor}. You can also replace the default model and
|
||||||
delegate with other, more complex models and delegates in the
|
delegate with other, more complex models and delegates in the
|
||||||
\uicontrol {Text Editor}.
|
\uicontrol {Text Editor}. \l{ItemDelegate}{Item Delegate} and
|
||||||
|
\l{SwipeDelegate}{Swipe Delegate} delegate components are also available
|
||||||
|
in the \uicontrol Library.
|
||||||
|
|
||||||
\section1 Positioning Items on Screens
|
\section1 Positioning Items on Screens
|
||||||
|
|
||||||
@@ -332,6 +341,8 @@
|
|||||||
logical group of controls together, within a titled visual frame.
|
logical group of controls together, within a titled visual frame.
|
||||||
\li \l [QtQuickControls2]{Label} is a text label with inherited styling
|
\li \l [QtQuickControls2]{Label} is a text label with inherited styling
|
||||||
and font.
|
and font.
|
||||||
|
\li \l [QtQuickControls2]{Page} provides a styled page control with
|
||||||
|
support for a header and footer.
|
||||||
\li \l [QtQuickControls2]{PageIndicator}{Page Indicator} indicates the
|
\li \l [QtQuickControls2]{PageIndicator}{Page Indicator} indicates the
|
||||||
currently active page.
|
currently active page.
|
||||||
\li \l [QtQuickControls2]{Pane} provides a background matching with the
|
\li \l [QtQuickControls2]{Pane} provides a background matching with the
|
||||||
@@ -367,16 +378,20 @@
|
|||||||
item delegate that can be toggled on (checked) or off (unchecked).
|
item delegate that can be toggled on (checked) or off (unchecked).
|
||||||
\li \l [QtQuickControls2]{ComboBox}{Combo Box} is a combined button and
|
\li \l [QtQuickControls2]{ComboBox}{Combo Box} is a combined button and
|
||||||
popup list that is populated by using a data model.
|
popup list that is populated by using a data model.
|
||||||
|
\li \l [QtQuickControls2]{DelayButton}{Delay Button} provides an option
|
||||||
|
button that is triggered when held down long enough.
|
||||||
\li \l [QtQuickControls2]{Dial} is a circular dial that is rotated to
|
\li \l [QtQuickControls2]{Dial} is a circular dial that is rotated to
|
||||||
set a value.
|
set a value.
|
||||||
\li \l [QtQuickControls2]{ItemDelegate}{Item Delegate} is a standard
|
|
||||||
view item that can be used in various views and controls.
|
|
||||||
\li \l [QtQuickControls2]{ProgressBar}{Progress Bar} indicates the
|
\li \l [QtQuickControls2]{ProgressBar}{Progress Bar} indicates the
|
||||||
progress of an operation.
|
progress of an operation.
|
||||||
\li \l [QtQuickControls2]{RadioButton}{Radio Button} provides an option
|
\li \l [QtQuickControls2]{RadioButton}{Radio Button} provides an option
|
||||||
button that can be switched on (checked) or off (unchecked).
|
button that can be switched on (checked) or off (unchecked).
|
||||||
\li \l [QtQuickControls2]{RadioDelegate}{Radio Delegate} presents an
|
\li \l [QtQuickControls2]{RadioDelegate}{Radio Delegate} presents an
|
||||||
item delegate that can be toggled on (checked) or off (unchecked).
|
item delegate that can be toggled on (checked) or off (unchecked).
|
||||||
|
\li \l [QtQuickControls2]{RangeSlider}{Range Slider} enables users to
|
||||||
|
select a range of values by sliding two handles along a track.
|
||||||
|
\li \l [QtQuickControls2]{RoundButton}{Round Button} provides a push
|
||||||
|
button with rounded corners that you can associate with an action.
|
||||||
\li \l [QtQuickControls2]{Slider} selects a value by sliding a handle
|
\li \l [QtQuickControls2]{Slider} selects a value by sliding a handle
|
||||||
along a track.
|
along a track.
|
||||||
\li \l [QtQuickControls2]{SpinBox}{Spin Box} enables the user to specify
|
\li \l [QtQuickControls2]{SpinBox}{Spin Box} enables the user to specify
|
||||||
@@ -384,6 +399,13 @@
|
|||||||
on the keyboard, or by entering a value in the box.
|
on the keyboard, or by entering a value in the box.
|
||||||
\li \l [QtQuickControls2]{Switch} is an option button that can be
|
\li \l [QtQuickControls2]{Switch} is an option button that can be
|
||||||
toggled on or off.
|
toggled on or off.
|
||||||
|
\li \l [QtQuickControls2]{SwitchDelegate}{SwitchDelegate} presents an
|
||||||
|
item delegate with a switch indicator that can be toggled on or off.
|
||||||
|
\li \l [QtQuickControls2] {TabBar}{Tab Bar} enables users to switch
|
||||||
|
between different views or subtasks.
|
||||||
|
\li \l [QtQuickControls2]{TabButton}{Tab Button} is a button
|
||||||
|
that is functionally similar to \uicontrol Button, but provides a
|
||||||
|
look that is more suitable for a \uicontrol {Tab Bar}.
|
||||||
\li \l [QtQuickControls2]{TextArea}{Text Area} displays multiple lines
|
\li \l [QtQuickControls2]{TextArea}{Text Area} displays multiple lines
|
||||||
of editable formatted text.
|
of editable formatted text.
|
||||||
\li \l [QtQuickControls2]{TextField}{Text Field} displays a single line
|
\li \l [QtQuickControls2]{TextField}{Text Field} displays a single line
|
||||||
@@ -394,6 +416,8 @@
|
|||||||
\li \l [QtQuickControls2]{ToolButton}{Tool Button} is a button
|
\li \l [QtQuickControls2]{ToolButton}{Tool Button} is a button
|
||||||
that is functionally similar to \uicontrol Button, but provides a
|
that is functionally similar to \uicontrol Button, but provides a
|
||||||
look that is more suitable for a \uicontrol {Tool Bar}.
|
look that is more suitable for a \uicontrol {Tool Bar}.
|
||||||
|
\li \l [QtQuickControls2]{ToolSeparator}{Tool Separator} separates a
|
||||||
|
group of items from adjacent items on a \uicontrol {Tool Bar}.
|
||||||
\li \l [QtQuickControls2]{Tumbler} is a spinnable wheel of items that
|
\li \l [QtQuickControls2]{Tumbler} is a spinnable wheel of items that
|
||||||
can be selected.
|
can be selected.
|
||||||
\endlist
|
\endlist
|
||||||
|
Reference in New Issue
Block a user