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::Core
CMake target:
qul_add_target(app)
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
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 | |
A font configuration | |
A 4-row and 4-column matrix | |
Value with x and y attributes | |
Value with x, y, width and height attributes |
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 | |
Draws a sprite animation | |
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 | |
Enables connecting a QML signal to a handler | |
Provides a surface that can be "flicked" | |
Defines a gradient fill | |
Defines the color at a position in a Gradient | |
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 | |
Allows dynamic loading of a subtree from a URL or Component | |
Provides a 4x4 matrix to transform an Item | |
Enables simple touch handling | |
Provides information about a touch event | |
Animates changes in qreal-type values | |
Enables animations to be run in parallel | |
Defines a path for use by Shape | |
Defines an arc with the given radius | |
Defines a cubic Bezier curve with two control points | |
The base path type | |
Defines a straight line | |
Moves the Path's position | |
Defines a quadratic Bezier curve with a control point | |
Defines a path using an SVG path data string | |
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 | |
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 | |
Displays an editable text paragraph | |
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.