MeeGo 1.2 Harmattan Developer Documentation Develop for the Nokia N9

QML Theme Element

Theme is a class that gives you information about inverted theming and possibility to affect inverted state. More...

This element was introduced in qt-components 4.7.

Properties

Detailed Description

This class provides access to the theme property inverted.

Theme is exposed as a global property called "theme". It is not possible to instantiate a Theme object in QML.

Theme is used in styling to get the information if inverted styling is in use.

To change the theme inverted just set "theme.inverted = true;". As this is binded to Style.qml everything is updated to inverted styling automatically.

Property Documentation

inverted : bool

Theme inverted state (default value is false)