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:

color

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 typeSupport status
varCurrently supported only in script expressions.
listNot supported
urlNot supported

Object Types

AnchorChanges

Specifies how to change the anchors of an item in a state

Animation

Is the base of all QML animations

Behavior

Defines a default animation for a property change

BorderImage

Paints a border based on an image

ColorAnimation

Animates changes in color values

Column

Positions its children in a column

Component

Encapsulates a QML component definition

Flickable

Provides a surface that can be "flicked"

Image

Displays an image

Item

A basic visual QML type

KeyEvent

Provides information about a key event

Keys

Provides key handling to Items

ListElement

Defines a data item in a ListModel

ListModel

Defines a free-form list data source

ListView

Provides a list view of items provided by a model

MouseArea

Enables simple touch handling

MouseEvent

Provides information about a touch event

NumberAnimation

Animates changes in qreal-type values

ParallelAnimation

Enables animations to be run in parallel

PauseAnimation

Provides a pause for an animation

PropertyAnimation

Animates changes in property values

PropertyChanges

Describes new property bindings or values for a state

Qt

Provides a global object with useful enums and functions from Qt

QtObject

A basic QML type

QulPerf

Holds information about application performance

Rectangle

Paints a filled rectangle with optionally rounded corners

Repeater

Instantiates a number of Item-based components using a provided model

Rotation

Provides a way to rotate an item

RotationAnimation

Animates changes in rotation values

Row

Positions its children in a row

Scale

Provides a way to scale an item

ScriptAction

Defines scripts to be run during an animation

SequentialAnimation

Allows animations to be run sequentially

State

Defines configurations of objects and properties

Text

Specifies how to add text to a scene

Timer

Triggers a handler at a specified interval

Transform

For specifying advanced transformations on Image, Text, and StaticText

Transition

Defines animated transitions that occur on state changes

Translate

Provides a way to move an item without changing its x or y properties

Available under certain Qt licenses.
Find out more.