Qt Reference Documentation

QML Label Element

This element was introduced in Qt Quick Components 1.1.


Detailed Description

The Label component is used to display textual information throughout the UI. In addition to QML Text features, Label provides platform's default values for text's font and color. Label also provides a property to invert the text color.

Label is a convenient way to provide textual information using platform's default text format, it can be used the same way as QML Text:

 Label {
     text: "This is a Symbian Label"

The following image shows the Label component with default values:

Here's the same label with platformInverted set to true:

Property Documentation

platformInverted : bool

Symbian platform specific property to enable inverting the Label text color.