Qt Quick Extras Overview

Qt Quick Extras provide a set of UI controls to create user interfaces in Qt Quick.

Getting Started

Building

If you are building Qt Quick Extras from source, you can follow the steps used for most Qt modules:


  qmake
  make
  make install

Using the Controls

The QML types can be imported into your application using the following import statement in your .qml file.


  import QtQuick.Extras 1.4

Interactive controls

Non-interactive controls

Picture

An indicator that displays a colorized QPicture icon

Creating a basic example

A basic example of a QML file that makes use of controls is shown here:


  import QtQuick 2.2
  import QtQuick.Extras 1.4

  Rectangle {
      DelayButton {
          anchors.centerIn: parent
      }
  }

For an interactive showcase of the controls provided by Qt Quick Extras, you can look at the Gallery example.