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

const QPalette & QWidget::palette [read, write, inherited]

the widget's palette

As long as no special palette has been set, this is either a special palette for the widget class, the parent's palette or (if this widget is a top level widget), the default application palette.

{Note:} The palette's background color will only have an effect on the appearance of the widget if the autoFillBackground property is set.

See also:
QApplication::palette()

Definition at line 146 of file qwidget.h.

Referenced by QMessageBox::aboutQt(), QLabel::changeEvent(), QLineEdit::changeEvent(), QComboBox::changeEvent(), QTextEdit::changeEvent(), Q3IconView::changeEvent(), Q3ListBox::changeEvent(), Q3ListView::changeEvent(), Q3TextEdit::changeEvent(), QWindowsXPStyle::drawComplexControl(), Q3IconView::drawContents(), Q3TextEdit::drawContents(), Q3ListView::drawContentsOffset(), QCommonStyle::drawControl(), Q3DockWindow::drawFrame(), QTreeView::drawRow(), Q3IconView::drawRubber(), QTreeView::drawTree(), Q3Canvas::drawViewArea(), Q3IconView::eventFilter(), Q3TextEdit::eventFilter(), QStyleOption::init(), QPainter::initFrom(), QMenuBar::minimumSizeHint(), QTabWidget::minimumSizeHint(), Q3TextEdit::optimDrawContents(), Q3ListBox::paintCell(), Q3CheckListItem::paintCell(), Q3Table::paintCell(), Q3ListViewItem::paintCell(), QComboBox::paintEvent(), QLineEdit::paintEvent(), QSplitterHandle::paintEvent(), QMenuBar::paintEvent(), QHeaderView::paintEvent(), QStatusBar::paintEvent(), Q3MainWindow::paintEvent(), QLabel::paintEvent(), QMenu::paintEvent(), QGraphicsView::paintEvent(), Q3Header::paintEvent(), Q3Table::paintFocus(), Q3Header::paintSection(), QGLWidget::setContext(), Q3SyntaxHighlighter::setFormat(), Q3ComboBox::setListBox(), QSplashScreen::setPixmap(), Q3TextEdit::setSelectionAttributes(), QMenuBar::sizeHint(), QMenu::sizeHint(), QInputContext::standardFormat(), Q3ListBox::viewportPaintEvent(), and Q3Table::windowActivationChange().


Generated by  Doxygen 1.6.0   Back to index