The Qt Quick module provides graphical primitive types. They can be used with the following import
import QtQuick 2.2
For a more detailed listing of types in the QtQuick import, see the Qt Quick QML Types page. For more details about the module itself, see the Qt Quick module page.
Provides a 2D canvas item enabling drawing via JavaScript | |
Provides 2D context for shapes on a Canvas item | |
Provides a Context2D TextMetrics interface | |
Contains image pixel data in RGBA order | |
Provides ordered and indexed access to the components of each pixel in image data | |
Provides an opaque CanvasGradient interface | |
Enables accessibility of QML items | |
Plays animations stored as a series of images | |
Draws a sprite animation | |
Paints a border based on an image | |
For specifying drag and drop events for moved Items | |
For specifying drag and drop handling in an area | |
Provides information about a drag event | |
Provides information about a key event | |
Provides information about a mouse event | |
Provides information about a mouse wheel event | |
Provides a surface that can be "flicked" | |
Provides a surface that can be flipped | |
Explicitly creates a focus scope | |
For specifying a grid view of items provided by a model | |
Displays an image | |
For specifying advanced transformations on Items | |
Supports key navigation by arrow keys | |
Provides key handling to Items | |
Property used to mirror layout behavior | |
A basic visual QML type | |
Animates changes in parent values | |
Animates changes in anchor values | |
Animates an item along a path | |
Specifies items under transition in a view | |
Provides a list view of items provided by a model | |
Allows dynamic loading of a subtree from a URL or Component | |
Enables simple mouse handling | |
Describes a touch point in a MultiPointTouchArea | |
Enables handling of multiple touch points | |
Lays out model-provided items on a path | |
For specifying information about a pinch event | |
Enables simple pinch gesture handling | |
Provides attached properties that contain details on where an item exists in a positioner | |
Positions its children in a column | |
Positions its children in a row | |
Positions its children in grid formation | |
Positions its children side by side, wrapping as necessary | |
Defines the color at a position in a Gradient | |
Defines a gradient fill | |
Paints a filled rectangle with an optional border | |
Instantiates a number of Item-based components using a provided model | |
Applies custom shaders to a rectangle | |
Defines a mesh with vertices arranged in a grid | |
Renders a Qt Quick item into a texture and displays it | |
Specifies sprite animations | |
Draws a sprite animation | |
Specifies how to reparent an Item in a state change | |
Specifies how to change the anchors of an item in a state | |
Specifies how to add formatted text to a scene | |
Displays multiple lines of editable formatted text | |
Displays an editable line of text | |
Defines a validator for integer values | |
Defines a validator for non-integer numbers | |
Provides a string validator | |
Provides a way to move an Item without changing its x or y properties | |
Provides a way to scale an Item | |
Provides a way to rotate an Item | |
Is the base of all QML animations | |
Provides a pause for an animation | |
Animates changes in color values | |
Defines scripts to be run during an animation | |
Specifies immediate property changes during animation | |
Animates changes in qreal-type values | |
Animates changes in QVector3d values | |
Animates changes in rotation values | |
Allows animations to be run sequentially | |
Enables animations to be run in parallel | |
Animates changes in property values | |
Enables manual control of animations | |
Is the base of all QML animators. | |
The XAnimator type animates the x position of an Item. | |
The YAnimator type animates the y position of an Item. | |
The ScaleAnimator type animates the scale factor of an Item. | |
The OpacityAnimator type animates the opacity of an Item. | |
The RotationAnimator type animates the rotation of an Item. | |
The UniformAnimator type animates a uniform of a ShaderEffect. | |
Defines a default animation for a property change | |
Allows fonts to be loaded by name or URL | |
PathElement is the base path type | |
Defines a path for use by PathView | |
Specifies how to set an attribute at a given position in a Path | |
Defines a straight line | |
Defines a quadratic Bezier curve with a control point | |
Defines a cubic Bezier curve with two control points | |
Defines a point on a Catmull-Rom curve | |
Defines an arc with the given radius | |
Defines a path using an SVG path data string | |
Manipulates the way a path is interpreted | |
Specifies how to manually animate along a path | |
Describes new property bindings or values for a state | |
Allows a property to smoothly track a value | |
Allows a property to track a value in a spring-like motion | |
Defines configurations of objects and properties | |
Specifies how to run a script in a state | |
Provides built-in state support for non-Item types | |
Provides access to the Qt palettes | |
Defines animated transitions that occur on state changes |