Home · All Classes · All Functions · Overviews

Declarative UI (QML)

Qt Declarative UI provides a declarative framework for building highly dynamic, custom user interfaces. Declarative UI helps programmers and designers collaborate to build the animation rich, fluid user interfaces that are becoming common in portable consumer devices, such as mobile phones, media players, set-top boxes and netbooks. The Qt Declarative module provides an engine for interpreting the declarative QML language, and a rich set of QML elements that can be used from QML.

QML is an extension to JavaScript, that provides a mechanism to declaratively build an object tree of QML elements. QML improves the integration between JavaScript and Qt's existing QObject based type system, adds support for automatic property bindings and provides network transparency at the language level.

The QML elements are a sophisticated set of graphical and behavioral building blocks. These different elements are combined together in QML documents to build components ranging in complexity from simple buttons and sliders, to complete internet-enabled applications like a Flickr photo browser.

Qt Declarative builds on Qt's existing strengths. QML can be be used to incrementally extend an existing application or to build completely new applications. QML is fully extensible from C++.

Getting Started:

Core QML Features:

Reference:


Copyright © 2010 Nokia Corporation and/or its subsidiary(-ies) Trademarks
Qt 4.7.0