Logo Search packages:      
Sourcecode: qt4-x11 version File versions  Download package

QPalette QApplication::palette (  )  [static]

Returns the application palette.

See also:
setPalette(), QWidget::palette()

Definition at line 1479 of file qapplication.cpp.

Referenced by QWidget::event(), palette(), QWindowsStyle::polish(), and QMotifStyle::standardPixmap().

{
    if (!QApplicationPrivate::app_pal)
        QApplicationPrivate::app_pal = new QPalette(Qt::black);
    return *QApplicationPrivate::app_pal;
}


Generated by  Doxygen 1.6.0   Back to index