diff options
Diffstat (limited to 'src/templates')
32 files changed, 73 insertions, 73 deletions
diff --git a/src/templates/qquickapplicationwindow.cpp b/src/templates/qquickapplicationwindow.cpp index 55a25249..2ad9cd01 100644 --- a/src/templates/qquickapplicationwindow.cpp +++ b/src/templates/qquickapplicationwindow.cpp @@ -63,7 +63,7 @@ QT_BEGIN_NAMESPACE and run it by using \l QQmlApplicationEngine. In this way you can control the window's properties, appearance and layout from QML. - \image qtlabscontrols-applicationwindow-wireframe.png + \image qtquickcontrols-applicationwindow-wireframe.png \qml import Qt.labs.controls 1.0 diff --git a/src/templates/qquickbusyindicator.cpp b/src/templates/qquickbusyindicator.cpp index 3cfd96cb..a4bfba88 100644 --- a/src/templates/qquickbusyindicator.cpp +++ b/src/templates/qquickbusyindicator.cpp @@ -47,7 +47,7 @@ QT_BEGIN_NAMESPACE \ingroup qtlabscontrols-indicators \brief Indicates activity while content is being loaded. - \image qtlabscontrols-busyindicator.gif + \image qtquickcontrols-busyindicator.gif The busy indicator should be used to indicate activity while content is being loaded or the UI is blocked waiting for a resource to become available. diff --git a/src/templates/qquickbutton.cpp b/src/templates/qquickbutton.cpp index a3a5c0bf..75bffa2c 100644 --- a/src/templates/qquickbutton.cpp +++ b/src/templates/qquickbutton.cpp @@ -49,7 +49,7 @@ QT_BEGIN_NAMESPACE \ingroup qtlabscontrols-buttons \brief A push-button control that can be clicked by the user. - \image qtlabscontrols-button.gif + \image qtquickcontrols-button.gif Button presents a push-button control that can be pushed or clicked by the user. Buttons are normally used to perform an action, or to answer @@ -57,13 +57,13 @@ QT_BEGIN_NAMESPACE \e Yes, \e No, and \e Help. \table - \row \li \image qtlabscontrols-button-normal.png + \row \li \image qtquickcontrols-button-normal.png \li A button in its normal state. - \row \li \image qtlabscontrols-button-pressed.png + \row \li \image qtquickcontrols-button-pressed.png \li A button that is pressed. - \row \li \image qtlabscontrols-button-focused.png + \row \li \image qtquickcontrols-button-focused.png \li A button that has active focus. - \row \li \image qtlabscontrols-button-disabled.png + \row \li \image qtquickcontrols-button-disabled.png \li A button that is disabled. \endtable diff --git a/src/templates/qquickcheckbox.cpp b/src/templates/qquickcheckbox.cpp index aa459cb3..6d2fb3d0 100644 --- a/src/templates/qquickcheckbox.cpp +++ b/src/templates/qquickcheckbox.cpp @@ -63,13 +63,13 @@ QT_BEGIN_NAMESPACE in a treeview, for example. \table - \row \li \image qtlabscontrols-checkbox-normal.png + \row \li \image qtquickcontrols-checkbox-normal.png \li A check box in its normal state. - \row \li \image qtlabscontrols-checkbox-checked.png + \row \li \image qtquickcontrols-checkbox-checked.png \li A check box that is checked. - \row \li \image qtlabscontrols-checkbox-focused.png + \row \li \image qtquickcontrols-checkbox-focused.png \li A check box that has active focus. - \row \li \image qtlabscontrols-checkbox-disabled.png + \row \li \image qtquickcontrols-checkbox-disabled.png \li A check box that is disabled. \endtable diff --git a/src/templates/qquickcombobox.cpp b/src/templates/qquickcombobox.cpp index 103140ad..6a7370ab 100644 --- a/src/templates/qquickcombobox.cpp +++ b/src/templates/qquickcombobox.cpp @@ -56,7 +56,7 @@ QT_BEGIN_NAMESPACE \ingroup qtlabscontrols-input \brief A combined button and popup list taking minimal space. - \image qtlabscontrols-combobox.png + \image qtquickcontrols-combobox.png ComboBox is a combined button and popup list. It provides a means of presenting a list of options to the user in a way that takes up the diff --git a/src/templates/qquickcontrol.cpp b/src/templates/qquickcontrol.cpp index 80af03e1..96036d33 100644 --- a/src/templates/qquickcontrol.cpp +++ b/src/templates/qquickcontrol.cpp @@ -69,7 +69,7 @@ QT_BEGIN_NAMESPACE events from the window system, and paints a representation of itself on the screen. - \image qtlabscontrols-control.png + \image qtquickcontrols-control.png \labs */ diff --git a/src/templates/qquickdrawer.cpp b/src/templates/qquickdrawer.cpp index 9fe2c4d7..7f0ef44c 100644 --- a/src/templates/qquickdrawer.cpp +++ b/src/templates/qquickdrawer.cpp @@ -59,11 +59,11 @@ QT_BEGIN_NAMESPACE \table \row - \li \image qtlabscontrols-drawer-wireframe.png + \li \image qtquickcontrols-drawer-wireframe.png Drawer can be positioned at any of the four edges of the content item. \br In this image, it is against the left edge of the window. - \li \image qtlabscontrols-drawer-expanded-wireframe.png + \li \image qtquickcontrols-drawer-expanded-wireframe.png The drawer is then opened by \e "dragging" it out from the left edge \br of the window. \endtable diff --git a/src/templates/qquickframe.cpp b/src/templates/qquickframe.cpp index a5573c07..3db53300 100644 --- a/src/templates/qquickframe.cpp +++ b/src/templates/qquickframe.cpp @@ -60,9 +60,9 @@ QT_BEGIN_NAMESPACE implicit size of its contained item. This makes it particularly suitable for use together with layouts. - \image qtlabscontrols-frame.png + \image qtquickcontrols-frame.png - \snippet qtlabscontrols-frame.qml 1 + \snippet qtquickcontrols-frame.qml 1 \labs diff --git a/src/templates/qquickgroupbox.cpp b/src/templates/qquickgroupbox.cpp index 75614e8f..b339078c 100644 --- a/src/templates/qquickgroupbox.cpp +++ b/src/templates/qquickgroupbox.cpp @@ -62,22 +62,22 @@ QT_BEGIN_NAMESPACE implicit size of its contained item. This makes it particularly suitable for use together with layouts. - \image qtlabscontrols-groupbox.png + \image qtquickcontrols-groupbox.png - \snippet qtlabscontrols-groupbox.qml 1 + \snippet qtquickcontrols-groupbox.qml 1 \section2 Checkable GroupBox Even though GroupBox has no built-in check box, it is straightforward to create a checkable GroupBox by pairing it with a CheckBox. - \image qtlabscontrols-groupbox-checkable.png + \image qtquickcontrols-groupbox-checkable.png It is a common pattern to enable or disable the groupbox's children when its checkbox is toggled on or off, but it is the application that decides on the behavior of the groupbox. - \snippet qtlabscontrols-groupbox-checkable.qml 1 + \snippet qtquickcontrols-groupbox-checkable.qml 1 \labs diff --git a/src/templates/qquickitemdelegate.cpp b/src/templates/qquickitemdelegate.cpp index ab5e1925..8ae9b535 100644 --- a/src/templates/qquickitemdelegate.cpp +++ b/src/templates/qquickitemdelegate.cpp @@ -55,7 +55,7 @@ QT_BEGIN_NAMESPACE \l {AbstractButton::text}{text}, make items \l {AbstractButton::checkable}{checkable}, and react to \l {AbstractButton::clicked}{clicks} using the AbstractButton API. - \snippet qtlabscontrols-itemdelegate.qml 1 + \snippet qtquickcontrols-itemdelegate.qml 1 \labs diff --git a/src/templates/qquicklabel.cpp b/src/templates/qquicklabel.cpp index 416f8001..86eb9144 100644 --- a/src/templates/qquicklabel.cpp +++ b/src/templates/qquicklabel.cpp @@ -61,9 +61,9 @@ QT_BEGIN_NAMESPACE inheritance. The default colors and font are style specific. Label can also have a visual \l background item. - \image qtlabscontrols-label.png + \image qtquickcontrols-label.png - \snippet qtlabscontrols-label.qml 1 + \snippet qtquickcontrols-label.qml 1 You can use the properties of Text to change the appearance of the text as desired: diff --git a/src/templates/qquickmenu.cpp b/src/templates/qquickmenu.cpp index 5acb015c..8a67dc46 100644 --- a/src/templates/qquickmenu.cpp +++ b/src/templates/qquickmenu.cpp @@ -56,7 +56,7 @@ QT_BEGIN_NAMESPACE \ingroup qtlabscontrols-menus \brief A menu control that can be used as a context menu or popup menu. - \image qtlabscontrols-menu.png + \image qtquickcontrols-menu.png Menu has two main use cases: \list diff --git a/src/templates/qquickpage.cpp b/src/templates/qquickpage.cpp index a4225028..edd10e1b 100644 --- a/src/templates/qquickpage.cpp +++ b/src/templates/qquickpage.cpp @@ -54,7 +54,7 @@ QT_BEGIN_NAMESPACE Page is a container control which makes it convenient to add a \l header and \l footer item to a page. - \image qtlabscontrols-page-wireframe.png + \image qtquickcontrols-page-wireframe.png The following example snippet illustrates how to use a page-specific toolbar header and an application-wide tabbar footer. diff --git a/src/templates/qquickpageindicator.cpp b/src/templates/qquickpageindicator.cpp index 1035085e..df5517ea 100644 --- a/src/templates/qquickpageindicator.cpp +++ b/src/templates/qquickpageindicator.cpp @@ -55,9 +55,9 @@ QT_BEGIN_NAMESPACE in a container of multiple pages. PageIndicator consists of delegate items that present pages. - \image qtlabscontrols-pageindicator.png + \image qtquickcontrols-pageindicator.png - \snippet qtlabscontrols-pageindicator.qml 1 + \snippet qtquickcontrols-pageindicator.qml 1 \labs diff --git a/src/templates/qquickpane.cpp b/src/templates/qquickpane.cpp index ccdbfe9e..5ebf02a7 100644 --- a/src/templates/qquickpane.cpp +++ b/src/templates/qquickpane.cpp @@ -60,9 +60,9 @@ QT_BEGIN_NAMESPACE implicit size of its contained item. This makes it particularly suitable for use together with layouts. - \image qtlabscontrols-pane.png + \image qtquickcontrols-pane.png - \snippet qtlabscontrols-pane.qml 1 + \snippet qtquickcontrols-pane.qml 1 \labs diff --git a/src/templates/qquickpopup.cpp b/src/templates/qquickpopup.cpp index b98a189f..63ebeead 100644 --- a/src/templates/qquickpopup.cpp +++ b/src/templates/qquickpopup.cpp @@ -1465,7 +1465,7 @@ void QQuickPopup::setClosePolicy(ClosePolicy policy) Nine transform origins are available, as shown in the image below. The default transform origin is \c Popup.Center. - \image qtlabscontrols-popup-transformorigin.png + \image qtquickcontrols-popup-transformorigin.png \sa enter, exit, Item::transformOrigin */ diff --git a/src/templates/qquickprogressbar.cpp b/src/templates/qquickprogressbar.cpp index 0e67b041..d9b417af 100644 --- a/src/templates/qquickprogressbar.cpp +++ b/src/templates/qquickprogressbar.cpp @@ -51,9 +51,9 @@ QT_BEGIN_NAMESPACE regularly. The range is defined by \l from and \l to, which both can contain any value. \table - \row \li \image qtlabscontrols-progressbar-normal.png + \row \li \image qtquickcontrols-progressbar-normal.png \li A progress bar in its normal state. - \row \li \image qtlabscontrols-progressbar-disabled.png + \row \li \image qtquickcontrols-progressbar-disabled.png \li A progress bar that is disabled. \endtable @@ -217,7 +217,7 @@ qreal QQuickProgressBar::visualPosition() const doesn't show how much progress has been made. See below for an example: - \image qtlabscontrols-progressbar-indeterminate.png + \image qtquickcontrols-progressbar-indeterminate.png */ bool QQuickProgressBar::isIndeterminate() const diff --git a/src/templates/qquickradiobutton.cpp b/src/templates/qquickradiobutton.cpp index e14427f9..1a8bac5d 100644 --- a/src/templates/qquickradiobutton.cpp +++ b/src/templates/qquickradiobutton.cpp @@ -54,13 +54,13 @@ QT_BEGIN_NAMESPACE from a set of options. \table - \row \li \image qtlabscontrols-radiobutton-normal.png + \row \li \image qtquickcontrols-radiobutton-normal.png \li A radio button in its normal state. - \row \li \image qtlabscontrols-radiobutton-checked.png + \row \li \image qtquickcontrols-radiobutton-checked.png \li A radio button that is checked. - \row \li \image qtlabscontrols-radiobutton-focused.png + \row \li \image qtquickcontrols-radiobutton-focused.png \li A radio button that has active focus. - \row \li \image qtlabscontrols-radiobutton-disabled.png + \row \li \image qtquickcontrols-radiobutton-disabled.png \li A radio button that is disabled. \endtable diff --git a/src/templates/qquickrangeslider.cpp b/src/templates/qquickrangeslider.cpp index 6dcd7fcb..b4bc7b1c 100644 --- a/src/templates/qquickrangeslider.cpp +++ b/src/templates/qquickrangeslider.cpp @@ -50,19 +50,19 @@ QT_BEGIN_NAMESPACE \ingroup qtlabscontrols-input \brief A slider control used to select a range of values. - \image qtlabscontrols-rangeslider.gif + \image qtquickcontrols-rangeslider.gif RangeSlider is used to select a range specified by two values, by sliding each handle along a track. \table - \row \li \image qtlabscontrols-rangeslider-normal.png + \row \li \image qtquickcontrols-rangeslider-normal.png \li A range slider in its normal state. - \row \li \image qtlabscontrols-rangeslider-first-handle-focused.png + \row \li \image qtquickcontrols-rangeslider-first-handle-focused.png \li A range slider whose first handle has active focus. - \row \li \image qtlabscontrols-rangeslider-second-handle-focused.png + \row \li \image qtquickcontrols-rangeslider-second-handle-focused.png \li A range slider whose second handle has active focus. - \row \li \image qtlabscontrols-rangeslider-disabled.png + \row \li \image qtquickcontrols-rangeslider-disabled.png \li A range slider that is disabled. \endtable diff --git a/src/templates/qquickscrollbar.cpp b/src/templates/qquickscrollbar.cpp index edee517e..54541d6a 100644 --- a/src/templates/qquickscrollbar.cpp +++ b/src/templates/qquickscrollbar.cpp @@ -54,7 +54,7 @@ QT_BEGIN_NAMESPACE position. A scroll bar can be either \l vertical or \l horizontal, and can be attached to any \l Flickable, such as \l ListView and \l GridView. - \image qtlabscontrols-scrollbar.png + \image qtquickcontrols-scrollbar.png \code Flickable { diff --git a/src/templates/qquickscrollindicator.cpp b/src/templates/qquickscrollindicator.cpp index 2aba3c89..95eff030 100644 --- a/src/templates/qquickscrollindicator.cpp +++ b/src/templates/qquickscrollindicator.cpp @@ -54,7 +54,7 @@ QT_BEGIN_NAMESPACE position. A scroll indicator can be either \l vertical or \l horizontal, and can be attached to any \l Flickable, such as \l ListView and \l GridView. - \image qtlabscontrols-scrollindicator.png + \image qtquickcontrols-scrollindicator.png \code Flickable { diff --git a/src/templates/qquickslider.cpp b/src/templates/qquickslider.cpp index 395725eb..fab78ad5 100644 --- a/src/templates/qquickslider.cpp +++ b/src/templates/qquickslider.cpp @@ -49,16 +49,16 @@ QT_BEGIN_NAMESPACE \ingroup qtlabscontrols-input \brief Selects a value by sliding a handle along a track. - \image qtlabscontrols-slider.gif + \image qtquickcontrols-slider.gif Slider is used to select a value by sliding a handle along a track. \table - \row \li \image qtlabscontrols-slider-normal.png + \row \li \image qtquickcontrols-slider-normal.png \li A slider in its normal state. - \row \li \image qtlabscontrols-slider-focused.png + \row \li \image qtquickcontrols-slider-focused.png \li A slider that has active focus. - \row \li \image qtlabscontrols-slider-disabled.png + \row \li \image qtquickcontrols-slider-disabled.png \li A slider that is disabled. \endtable diff --git a/src/templates/qquickspinbox.cpp b/src/templates/qquickspinbox.cpp index 0b467413..d4792c67 100644 --- a/src/templates/qquickspinbox.cpp +++ b/src/templates/qquickspinbox.cpp @@ -58,7 +58,7 @@ static const int AUTO_REPEAT_INTERVAL = 100; \ingroup input \brief A spinbox control that allows the user to select from a set of preset values. - \image qtlabscontrols-spinbox.png + \image qtquickcontrols-spinbox.png SpinBox allows the user to choose an integer value by clicking the up or down indicator buttons, or by pressing up or down on the keyboard. @@ -68,18 +68,18 @@ static const int AUTO_REPEAT_INTERVAL = 100; By default, SpinBox provides discrete values in the range of \c [0-99] with a \l stepSize of \c 1. - \snippet qtlabscontrols-spinbox.qml 1 + \snippet qtquickcontrols-spinbox.qml 1 \section2 Custom Values - \image qtlabscontrols-spinbox-textual.png + \image qtquickcontrols-spinbox-textual.png Even though SpinBox works on integer values, it can be customized to accept arbitrary input values. The following snippet demonstrates how \l validator, \l textFromValue and \l valueFromText can be used to customize the default behavior. - \snippet qtlabscontrols-spinbox-textual.qml 1 + \snippet qtquickcontrols-spinbox-textual.qml 1 \labs diff --git a/src/templates/qquickstackview.cpp b/src/templates/qquickstackview.cpp index 2f2937fa..d1016455 100644 --- a/src/templates/qquickstackview.cpp +++ b/src/templates/qquickstackview.cpp @@ -52,7 +52,7 @@ QT_BEGIN_NAMESPACE \ingroup qtlabscontrols-containers \brief Provides a stack-based navigation model. - \image qtlabscontrols-stackview-wireframe.png + \image qtquickcontrols-stackview-wireframe.png StackView can be used with a set of inter-linked information pages. For example, an email application with separate views to list the latest emails, diff --git a/src/templates/qquickswipedelegate.cpp b/src/templates/qquickswipedelegate.cpp index b66c2203..4eae0991 100644 --- a/src/templates/qquickswipedelegate.cpp +++ b/src/templates/qquickswipedelegate.cpp @@ -71,12 +71,12 @@ QT_BEGIN_NAMESPACE any position for \c exposure.left or \c exposure.right, the following will occur: - \image qtlabscontrols-swipedelegate.gif + \image qtquickcontrols-swipedelegate.gif If \c exposure.left and \c exposure.right are anchored to the left and right of the \l background item (respectively), they'll behave like this: - \image qtlabscontrols-swipedelegate-leading-trailing.gif + \image qtquickcontrols-swipedelegate-leading-trailing.gif When using \c exposure.left and \c exposure.right, the control cannot be swiped past the left and right edges. To achieve this type of "wrapping" @@ -85,7 +85,7 @@ QT_BEGIN_NAMESPACE example, in the image below, we set \c exposure.behind and then swipe the control repeatedly in both directions: - \image qtlabscontrols-swipedelegate-behind.gif + \image qtquickcontrols-swipedelegate-behind.gif \labs diff --git a/src/templates/qquickswipeview.cpp b/src/templates/qquickswipeview.cpp index 0e50a4ed..1aed7ffa 100644 --- a/src/templates/qquickswipeview.cpp +++ b/src/templates/qquickswipeview.cpp @@ -52,7 +52,7 @@ QT_BEGIN_NAMESPACE SwipeView provides a swipe-based navigation model. - \image qtlabscontrols-swipeview-wireframe.png + \image qtquickcontrols-swipeview-wireframe.png SwipeView is populated with a set of pages. One page is visible at a time. The user can navigate between the pages by swiping sideways. Notice that @@ -60,7 +60,7 @@ QT_BEGIN_NAMESPACE with PageIndicator, to give the user a visual clue that there are multiple pages. - \snippet qtlabscontrols-swipeview-indicator.qml 1 + \snippet qtquickcontrols-swipeview-indicator.qml 1 As shown above, SwipeView is typically populated with a static set of pages that are defined inline as children of the view. It is also possible diff --git a/src/templates/qquickswitch.cpp b/src/templates/qquickswitch.cpp index 79d9735c..4299877d 100644 --- a/src/templates/qquickswitch.cpp +++ b/src/templates/qquickswitch.cpp @@ -50,19 +50,19 @@ QT_BEGIN_NAMESPACE \ingroup qtlabscontrols-buttons \brief An option button that can be toggled on or off. - \image qtlabscontrols-switch.gif + \image qtquickcontrols-switch.gif Switch is an option button that can be dragged or toggled on (checked) or off (unchecked). Switches are typically used to select between two states. \table - \row \li \image qtlabscontrols-switch-normal.png + \row \li \image qtquickcontrols-switch-normal.png \li A switch in its normal state. - \row \li \image qtlabscontrols-switch-checked.png + \row \li \image qtquickcontrols-switch-checked.png \li A switch that is checked. - \row \li \image qtlabscontrols-switch-focused.png + \row \li \image qtquickcontrols-switch-focused.png \li A switch that has active focus. - \row \li \image qtlabscontrols-switch-disabled.png + \row \li \image qtquickcontrols-switch-disabled.png \li A switch that is disabled. \endtable diff --git a/src/templates/qquicktabbar.cpp b/src/templates/qquicktabbar.cpp index 00567019..54ac20e8 100644 --- a/src/templates/qquicktabbar.cpp +++ b/src/templates/qquicktabbar.cpp @@ -51,13 +51,13 @@ QT_BEGIN_NAMESPACE TabBar provides a tab-based navigation model. - \image qtlabscontrols-tabbar-wireframe.png + \image qtquickcontrols-tabbar-wireframe.png TabBar is populated with TabButton controls, and can be used together with any layout or container control that provides \c currentIndex -property, such as \l StackLayout or \l SwipeView - \snippet qtlabscontrols-tabbar.qml 1 + \snippet qtquickcontrols-tabbar.qml 1 \labs diff --git a/src/templates/qquicktabbutton.cpp b/src/templates/qquicktabbutton.cpp index 58eb9b85..5ded5539 100644 --- a/src/templates/qquicktabbutton.cpp +++ b/src/templates/qquicktabbutton.cpp @@ -49,11 +49,11 @@ QT_BEGIN_NAMESPACE \ingroup qtlabscontrols-navigation \brief A tab button control that can be found on a TabBar. - \image qtlabscontrols-tabbutton.png + \image qtquickcontrols-tabbutton.png TabButton is used in conjunction with a \l TabBar. - \snippet qtlabscontrols-tabbutton.qml 1 + \snippet qtquickcontrols-tabbutton.qml 1 \labs diff --git a/src/templates/qquicktextfield.cpp b/src/templates/qquicktextfield.cpp index 43328e29..b45c34a6 100644 --- a/src/templates/qquicktextfield.cpp +++ b/src/templates/qquicktextfield.cpp @@ -63,11 +63,11 @@ QT_BEGIN_NAMESPACE a \l {placeholderText}{placeholder text} functionality, and adds decoration. \table - \row \li \image qtlabscontrols-textfield-normal.png + \row \li \image qtquickcontrols-textfield-normal.png \li A text field in its normal state. - \row \li \image qtlabscontrols-textfield-focused.png + \row \li \image qtquickcontrols-textfield-focused.png \li A text field that has active focus. - \row \li \image qtlabscontrols-textfield-disabled.png + \row \li \image qtquickcontrols-textfield-disabled.png \li A text field that is disabled. \endtable diff --git a/src/templates/qquicktoolbar.cpp b/src/templates/qquicktoolbar.cpp index 6bc8f4d9..c46e534c 100644 --- a/src/templates/qquicktoolbar.cpp +++ b/src/templates/qquicktoolbar.cpp @@ -58,7 +58,7 @@ QT_BEGIN_NAMESPACE implicit size of its contained item. This makes it particularly suitable for use together with layouts. - \image qtlabscontrols-toolbar.png + \image qtquickcontrols-toolbar.png \code ApplicationWindow { diff --git a/src/templates/qquicktumbler.cpp b/src/templates/qquicktumbler.cpp index 9c1baa5c..de0c1be8 100644 --- a/src/templates/qquicktumbler.cpp +++ b/src/templates/qquicktumbler.cpp @@ -64,7 +64,7 @@ QT_BEGIN_NAMESPACE \snippet tst_tumbler.qml contentItem - \image qtlabscontrols-tumbler-wrap.gif + \image qtquickcontrols-tumbler-wrap.gif \labs |