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

int QStyle::styleHint ( StyleHint  hint,
const QStyleOption option = 0,
const QWidget widget = 0,
QStyleHintReturn returnData = 0 
) const [pure virtual]

Returns an integer representing the specified style hint for the given widget described by the provided style option.

Note that currently, the returnData and widget parameters are not used; they are provided for future enhancement. In addition, the option parameter is used only in case of the SH_ComboBox_Popup, SH_ComboBox_LayoutDirection, and SH_GroupBox_TextLabelColor style hints.

Implemented in QCleanlooksStyle, QCommonStyle, QMotifStyle, QPlastiqueStyle, QWindowsStyle, QWindowsVistaStyle, and QWindowsXPStyle.

Referenced by QAbstractSpinBox::changeEvent(), QWorkspace::changeEvent(), QToolButton::changeEvent(), QTabBar::changeEvent(), Q3ComboBox::clear(), Q3IconView::drawContents(), Q3Table::drawContents(), Q3ListView::drawContentsOffset(), drawItemText(), QFocusFrame::eventFilter(), QWindowsStyle::eventFilter(), Q3ComboBox::eventFilter(), QFontDialog::eventFilter(), Q3ListView::focusInEvent(), QLineEdit::focusInEvent(), Q3ListView::focusOutEvent(), QMenuBar::heightForWidth(), QGroupBox::initStyleOption(), QAbstractSpinBox::initStyleOption(), Q3ComboBox::internalActivate(), itemTextRect(), QAbstractSpinBox::keyPressEvent(), QMenu::keyPressEvent(), QAbstractSpinBox::keyReleaseEvent(), QMenuBar::minimumSizeHint(), QAbstractItemView::mouseDoubleClickEvent(), QTreeView::mouseDoubleClickEvent(), QScrollBar::mouseMoveEvent(), QTabBar::mousePressEvent(), QScrollBar::mousePressEvent(), QSlider::mousePressEvent(), QTabBar::mouseReleaseEvent(), QTreeView::moveCursor(), Q3ListBox::paintCell(), Q3Table::paintCell(), QTableView::paintEvent(), QLabel::paintEvent(), Q3ComboBox::paintEvent(), Q3Header::paintSectionLabel(), Q3ComboBox::popup(), Q3ComboBox::Q3ComboBox(), QComboBox::showPopup(), QMenuBar::sizeHint(), QFontDialog::updateFamilies(), Q3ScrollView::updateScrollBars(), QFontDialog::updateSizes(), QFontDialog::updateStyles(), and QAbstractItemView::viewOptions().


Generated by  Doxygen 1.6.0   Back to index