Qt 4.8
|
The QDecorationFactory class creates window decorations in Qt for Embedded Linux. More...
#include <qdecorationfactory_qws.h>
Static Public Functions | |
static QDecoration * | create (const QString &) |
static QStringList | keys () |
Returns the list of valid keys, i.e., the available decorations. More... | |
The QDecorationFactory class creates window decorations in Qt for Embedded Linux.
Note that this class is only available in Qt for Embedded Linux.
QDecorationFactory is used to detect and instantiate the available decorations, allowing Qt for Embedded Linux to load the preferred decoration into the application at runtime. The create() function returns a QDecoration object representing the decoration identified by a given key. The valid keys (i.e. the supported decorations) can be retrieved using the keys() function.
Qt for Embedded Linux provides three built-in decorations: Default
, Styled
and Windows
. In addition, custom decorations can be added using Qt's How to Create Qt Plugins, i.e. by subclassing the QDecoration class and creating a mouse driver plugin (QDecorationPlugin).
Definition at line 55 of file qdecorationfactory_qws.h.
|
static |
Referenced by QApplication::qwsSetCustomColors().
|
static |
Returns the list of valid keys, i.e., the available decorations.
Definition at line 133 of file qdecorationfactory_qws.cpp.
Referenced by qt_init().