Home · All Classes · All Functions · Overviews

QML SystemPalette Element Reference

The SystemPalette item gives access to the Qt palettes. More...

Properties

Detailed Description

Example:

 SystemPalette { id: myPalette; colorGroup: Qt.Active }

 Rectangle {
     width: 640; height: 480
     color: myPalette.window
     Text {
         anchors.fill: parent
         text: "Hello!"; color: myPalette.windowText
     }
 }

See also QPalette.


Property Documentation

read-onlyalternateBase : color

The alternate base color of the current color group.

See also QPalette::ColorRole.


read-onlybase : color

The base color of the current color group.

See also QPalette::ColorRole.


read-onlybutton : color

The button color of the current color group.

See also QPalette::ColorRole.


read-onlybuttonText : color

The button text foreground color of the current color group.

See also QPalette::ColorRole.


colorGroup : QDeclarativeSystemPalette::ColorGroup

The color group of the palette. It can be Active, Inactive or Disabled. Active is the default.

See also QPalette::ColorGroup.


dark : color

The dark color of the current color group.

See also QPalette::ColorRole.


highlight : color

The highlight color of the current color group.

See also QPalette::ColorRole.


highlightedText : color

The highlighted text color of the current color group.

See also QPalette::ColorRole.


read-onlylight : color

The light color of the current color group.

See also QPalette::ColorRole.


mid : color

The mid color of the current color group.

See also QPalette::ColorRole.


midlight : color

The midlight color of the current color group.

See also QPalette::ColorRole.


shadow : color

The shadow color of the current color group.

See also QPalette::ColorRole.


read-onlytext : color

The text color of the current color group.

See also QPalette::ColorRole.


read-onlywindow : color

The window (general background) color of the current color group.

See also QPalette::ColorRole.


read-onlywindowText : color

The window text (general foreground) color of the current color group.

See also QPalette::ColorRole.



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