C
Qt Quick Enterprise Controls Overview
Qt Quick Enterprise Controls provide a set of UI controls to create user interfaces in Qt Quick.
Getting Started
Building
If you are building Qt Quick Enterprise Controls from source, you can follow the steps used for most Qt modules:
qmake make make install
Documentation
To build this documentation, you should use an in-source build of Qt or install Qt from a binary package.
The steps to build the documentation are:
qmake make docs
Using the Controls
The QML types can be imported into your application using the following import statement in your .qml
file.
import QtQuick.Enterprise.Controls 1.3
Interactive controls
A checkable button that triggers an action when held in long enough | |
A circular dial that is rotated to set a value | |
A popup menu that displays several menu items along an arc | |
A push button that toggles between two states | |
A control that can have several spinnable wheels, each with items that can be selected |
Non-interactive controls
A gauge that displays a value within a range along an arc | |
A straight gauge that displays a value within a range | |
An indicator that displays active or inactive states |
Creating a basic example
A basic example of a QML file that makes use of controls is shown here:
import QtQuick 2.2 import QtQuick.Enterprise.Controls 1.3 Rectangle { DelayButton { anchors.centerIn: parent } }
For an interactive showcase of the controls provided by Qt Quick Enterprise Controls, you can look at the Gallery example.
Related information
Available under certain Qt licenses.
Find out more.