C
Qt Quick Ultralite QML Types
The Qt Quick Ultralite module provides graphical primitive types. These types are only available in a QML document if that document imports the QtQuick
namespace.
To use the QtQuick QML types, link your application to the Qul::QuickUltralite
CMake target:
target_link_libraries(app Qul::QuickUltralite)
And add the following import statement to your .qml
file:
import QtQuick 2.15
For information about QML applications in general, see the Qt documentation on QML Applications and the QML Reference.
Since version 1.3, the QtQuick module offered by Qt Quick Ultralite is source-compatible with Qt's QtQuick module.
Submodules
Qt Quick Ultralite has submodules that offer additional types.
- Controls - provides a set of reusable UI components
- Charts - provides components for creating charts
Basic Types
There are a number of basic types that are supported by default in the QML language.
In addition, the QtQuick
import provides the following basic types:
ARGB color value |
Other basic types
In later Qt Quick Ultralite releases, the QML basic types are planned to be supported as follows:
A QML basic type | Support status |
---|---|
var | Currently supported only in script expressions. |
list | Not supported |
url | Not supported |
Object Types
Specifies how to change the anchors of an item in a state | |
Is the base of all QML animations | |
Defines a default animation for a property change | |
Paints a border based on an image | |
Animates changes in color values | |
Positions its children in a column | |
Encapsulates a QML component definition | |
Provides a surface that can be "flicked" | |
Displays an image | |
A basic visual QML type | |
Provides information about a key event | |
Provides key handling to Items | |
Defines a data item in a ListModel | |
Defines a free-form list data source | |
Provides a list view of items provided by a model | |
Enables simple touch handling | |
Provides information about a touch event | |
Animates changes in qreal-type values | |
Enables animations to be run in parallel | |
Provides a pause for an animation | |
Animates changes in property values | |
Describes new property bindings or values for a state | |
Provides a global object with useful enums and functions from Qt | |
A basic QML type | |
Holds information about application performance | |
Paints a filled rectangle with optionally rounded corners | |
Instantiates a number of Item-based components using a provided model | |
Provides a way to rotate an item | |
Animates changes in rotation values | |
Positions its children in a row | |
Provides a way to scale an item | |
Defines scripts to be run during an animation | |
Allows animations to be run sequentially | |
Defines configurations of objects and properties | |
Specifies how to add text to a scene | |
Triggers a handler at a specified interval | |
For specifying advanced transformations on Image, Text, and StaticText | |
Defines animated transitions that occur on state changes | |
Provides a way to move an item without changing its x or y properties |
Available under certain Qt licenses.
Find out more.