Qt Reference Documentation

Contents

Qt Declarative Module

The Qt Declarative module provides a declarative framework for building highly dynamic, custom user interfaces. More...

Classes

QDeclarativeComponent

Encapsulates a QML component definition

QDeclarativeContext

Defines a context within a QML engine

QDeclarativeEngine

Environment for instantiating QML components

QDeclarativeError

Encapsulates a QML error

QDeclarativeExpression

Evaluates JavaScript in a QML context

QDeclarativeExtensionPlugin

Abstract base for custom QML extension plugins

QDeclarativeImageProvider

Interface for supporting pixmaps and threaded image requests in QML

QDeclarativeItem

The most basic of all visual items in QML

QDeclarativeListProperty

Allows applications to expose list-like properties to QML

QDeclarativeListReference

Allows the manipulation of QDeclarativeListProperty properties

QDeclarativeNetworkAccessManagerFactory

Creates QNetworkAccessManager instances for a QML engine

QDeclarativeParserStatus

Updates on the QML parser state

QDeclarativeProperty

Abstracts accessing properties on objects created from QML

QDeclarativePropertyMap

Allows you to set key-value pairs that can be used in QML bindings

QDeclarativePropertyValueSource

Interface for property value sources such as animations and bindings

QDeclarativeScriptString

Encapsulates a script and its context

QDeclarativeView

Widget for displaying a Qt Declarative user interface

Detailed Description

To include the definitions of the module's classes, use the following directive:

 #include <QtDeclarative>

To link against the module, add this line to your qmake .pro file:

 QT += declarative

For more information on the Qt Declarative module, see the Qt Quick documentation.