Qt Labs Templates QML Types | Qt Labs Controls 5.6

Qt 5.6 | Qt Labs Controls | Qt Labs Templates QML Types

Qt 5.6.2 Reference Documentation

# Qt Labs Templates QML Types

The Qt Labs Templates module provides a set of non-visual templates that can be used to build user interface controls in QML using Qt Quick.

The QML types can be imported using the following import statement in your `.qml` file:

      import Qt.labs.templates 1.0 as T

Note: Types in the Qt.labs module are not guaranteed to remain compatible in future versions.

For the sake of clarity, there is a one-to-one mapping between the types provided by the `Qt.labs.templates` and `Qt.labs.controls` imports. For every type available in the `Qt.labs.controls` import, a non-visual template type by the same name exists in the `Qt.labs.templates` import.

Note: It is recommended to use a namespace for the templates import to avoid overlap with the types provided by the `Qt.labs.controls` import.

## QML Types

AbstractButton | Base of all button controls
ApplicationWindow | Provides a top-level application window
BusyIndicator | A busy indicator
Button | A button control
ButtonGroup | An exclusive group of checkable controls
CheckBox | A check box control
ComboBox | A combo box control
Container | A container control base type
Control | A user interface control
Dial | A circular dial that is rotated to set a value
Drawer | A side panel control
Frame | A frame control
GroupBox | A group box control
ItemDelegate | An item delegate
Label | A text label
Menu | A menu control
MenuItem | A menu item within a Menu
Page | A page control
PageIndicator | A page indicator control
Pane | A pane control
Popup | A popup control
ProgressBar | A progress bar control
RadioButton | A radio button control
RangeSlider | A slider control used to select a range of values
ScrollBar | An interactive scroll bar control
ScrollIndicator | A non-interactive scroll indicator control
Slider | A slider control
SpinBox | A spinbox control
StackView | Provides a stack-based navigation model
SwipeView | A swipe view control
Switch | A switch control
TabBar | A tab bar control
TabButton | A tab button control
TextArea | A multi line text input control
TextField | A single line text input control
ToolBar | A tool bar control
ToolButton | A tool button control
Tumbler | A spinnable wheel of items that can be selected

## Related Information

- Qt Labs Controls QML Types