Home · All Classes · Main Classes · Grouped Classes · Modules · Functions

QDecorationFactory Class Reference
[QtGui module]

The QDecorationFactory class creates QDecoration objects. More...

#include <QDecorationFactory>

Static Public Members


Detailed Description

The QDecorationFactory class creates QDecoration objects.

Note that this class is only available in Qtopia Core.

The QDecoration class is used to customize the appearance of top level windows. QDecorationFactory creates a QDecoration object using the create() function and a key identifying the decoration.

The valid keys can be retrieved using the keys() function. The decorations are either built-in or dynamically loaded from a decoration plugin (see QDecorationPlugin).

See also QDecoration and QDecorationPlugin.


Member Function Documentation

QDecoration * QDecorationFactory::create ( const QString & key )   [static]

Creates a QDecoration object for the decoration specified by the given key. The key specifies either a built-in decoration, or a decoration from a decoration plugin. Keys are case-insensitive.

See also keys().

QStringList QDecorationFactory::keys ()   [static]

Returns the list of valid keys, i.e. the keys this factory can create decorations for.

Qtopia Core currently supports the following decorations by default: Default, Styled and Windows.

See also create().


Copyright © 2006 Trolltech Trademarks
Qt 4.1.3