The following table lists the QML elements provided by the QtDeclarative module.
Basic Visual Items | |
---|---|
Basic item element inherited by all visual items in QML | |
Basic visual rectangle element | |
Defines a gradient between two or more colors | |
Defines a color used in a Gradient | |
Allows the use of bitmaps to a scene | |
BorderImage (Item-specific) | Defines an image as a border |
For playing animations stored as a series of frames | |
Allows the use of formatted text in a scene | |
Displays an editable line of text | |
Validator for integer values | |
Validator for non-integer values | |
Validator for string regular expressions | |
Displays multiple lines of editable formatted text | |
Basic Interaction Items | |
Handles mouse interactions | |
For keyboard focus handling | |
Provides a surface that can be "flicked" | |
Provides a surface that produces flipping effects | |
GestureArea (experimental) | Enables simple gesture handling |
States | |
Defines sets of configurations of objects and properties | |
Describes property changes within a state | |
Contains a set of states and state transitions | |
Allows script binding in a state | |
ParentChange (Item-specific) | Re-parent an Item in a state change |
Change the anchors of an item in a state | |
Animation and Transitions | |
Specifies a default animation for property changes | |
Runs animations sequentially | |
Runs animations in parallel | |
Animates property changes | |
Animates properties of type qreal | |
Animates properties of type QVector3d | |
Animates color changes | |
Animates rotations | |
Animates parent changes | |
Animates anchor changes | |
Pauses an animation | |
Allows a property to smoothly track a value | |
Allows a property to track a value in a spring-like motion | |
Sets immediate property changes during animation | |
Runs scripts during an animation | |
Animates transitions during state changes | |
Working with Data | |
Binds any value to any property | |
Defines a list of data | |
Defines a data item in a ListModel | |
Contains items that already defines its own visual delegate | |
Encapsulates a model and a delegate | |
Collection that enables sharing of items within different views | |
Specifies a model using XPath expressions | |
Specifies a role for an XmlListModel | |
Views | |
Provides a list visualization of a model | |
Provides a grid visualization of a model | |
Visualizes a model's contents along a path | |
Defines a path used by PathView | |
Defines a line in Path | |
Defines a quadratic Bezier curve in a Path | |
Defines a cubic Bezier curve in a Path | |
Allows the setting of attributes along a Path | |
Modifies the item distribution along a Path | |
Allows the addition of web content to a canvas | |
Positioners | |
Arranges its children vertically | |
Arranges its children horizontally | |
Positions its children in a grid | |
Positions its children with wrapping support | |
Utility | |
Explicitly connects signals and signal handlers | |
Encapsulate QML items as a component | |
Provides timed triggers | |
Basic element containing only the objectName property | |
The QML global Qt object provides useful enums and functions from Qt. | |
Enables the use of threads in QML | |
Controls the loading of items or components | |
Uses a model to create multiples of components | |
Provides access to the Qt palettes | |
Loads fonts by name or URL | |
Allows declarative UI elements inside Qt's Graphics View layouts | |
Transforms | |
Assigns item scaling behaviors | |
Assigns item rotation behaviors | |
Assigns item translation behaviors | |
Effects | |
Particles (experimental) | Generates and animates particles |
Adds linear motion behavior to Particles | |
Adds gravitational motion to Particles | |
Adds varied motions to Particles |