42 #include "private/qdeclarativesystempalette_p.h" 44 #include <QApplication> 46 #include <private/qobject_p.h> 92 qApp->installEventFilter(
this);
340 if (watched ==
qApp) {
The QColor class provides colors based on RGB, HSV or CMYK values.
#define QT_END_NAMESPACE
This macro expands to.
static void postEvent(QObject *receiver, QEvent *event)
Adds the event event, with the object receiver as the receiver of the event, to an event queue and re...
QColor buttonText() const
~QDeclarativeSystemPalette()
bool eventFilter(QObject *watched, QEvent *event)
Filters events if this object has been installed as an event filter for the watched object...
static QPalette palette()
Returns the application palette.
The QObject class is the base class of all Qt objects.
virtual bool event(QEvent *)
This virtual function receives events to an object and should return true if the event e was recogniz...
void setColorGroup(QDeclarativeSystemPalette::ColorGroup)
#define QT_BEGIN_NAMESPACE
This macro expands to.
QPalette::ColorGroup group
virtual bool eventFilter(QObject *, QEvent *)
Filters events if this object has been installed as an event filter for the watched object...
QDeclarativeSystemPalette::ColorGroup colorGroup() const
QDeclarativeSystemPalette(QObject *parent=0)
bool event(QEvent *event)
This virtual function receives events to an object and should return true if the event e was recogniz...
QColor alternateBase() const
The QEvent class is the base class of all event classes.
QColor windowText() const
Type type() const
Returns the event type.
QColor highlightedText() const
The QPalette class contains color groups for each widget state.