Qt 4.8
|
The QStyleHintReturnMask class provides style hints that return a QRegion. More...
#include <qstyleoption.h>
Public Types | |
enum | StyleOptionType { Type = SH_Mask } |
This enum is used to hold information about the type of the style option, and is defined for each QStyleHintReturn subclass. More... | |
enum | StyleOptionVersion { Version = 1 } |
This enum is used to hold information about the version of the style option, and is defined for each QStyleHintReturn subclass. More... | |
Public Types inherited from QStyleHintReturn | |
enum | HintReturnType { SH_Default =0xf000, SH_Mask, SH_Variant } |
enum | StyleOptionType { Type = SH_Default } |
This enum is used to hold information about the type of the style option, and is defined for each QStyleHintReturn subclass. More... | |
enum | StyleOptionVersion { Version = 1 } |
This enum is used to hold information about the version of the style option, and is defined for each QStyleHintReturn subclass. More... | |
Public Functions | |
QStyleHintReturnMask () | |
Constructs a QStyleHintReturnMask. More... | |
Public Functions inherited from QStyleHintReturn | |
QStyleHintReturn (int version=QStyleOption::Version, int type=SH_Default) | |
Constructs a QStyleHintReturn with version version and type type. More... | |
~QStyleHintReturn () | |
Public Variables | |
QRegion | region |
the region for style hints that return a QRegion More... | |
Public Variables inherited from QStyleHintReturn | |
int | type |
the type of the style hint container More... | |
int | version |
the version of the style hint return container More... | |
Additional Inherited Members | |
Related Functions inherited from QStyleHintReturn | |
T | qstyleoption_cast (const QStyleHintReturn *hint) |
T | qstyleoption_cast (QStyleHintReturn *hint) |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. More... | |
The QStyleHintReturnMask class provides style hints that return a QRegion.
Definition at line 923 of file qstyleoption.h.
This enum is used to hold information about the type of the style option, and is defined for each QStyleHintReturn subclass.
The type is used internally by QStyleHintReturn, its subclasses, and qstyleoption_cast() to determine the type of style option. In general you do not need to worry about this unless you want to create your own QStyleHintReturn subclass and your own styles.
Enumerator | |
---|---|
Type |
Definition at line 925 of file qstyleoption.h.
This enum is used to hold information about the version of the style option, and is defined for each QStyleHintReturn subclass.
The version is used by QStyleHintReturn subclasses to implement extensions without breaking compatibility. If you use qstyleoption_cast(), you normally do not need to check it.
Enumerator | |
---|---|
Version |
Definition at line 926 of file qstyleoption.h.
QStyleHintReturnMask::QStyleHintReturnMask | ( | ) |
Constructs a QStyleHintReturnMask.
The member variables are initialized to default values.
Definition at line 6267 of file qstyleoption.cpp.
QStyleHintReturnMask::region |
the region for style hints that return a QRegion
Definition at line 930 of file qstyleoption.h.
Referenced by QCommonStyle::drawControl(), QWindowsStyle::drawControl(), QMotifStyle::drawControl(), QMenu::event(), QGraphicsView::paintEvent(), QGraphicsWidget::paintWindowFrame(), QTipLabel::resizeEvent(), QComboBoxPrivateContainer::resizeEvent(), QGraphicsViewPrivate::rubberBandRegion(), QMacStyle::sizeFromContents(), QWindowsXPStyle::styleHint(), QRubberBandPrivate::updateMask(), QMdiSubWindowPrivate::updateMask(), QWorkspaceChild::updateMask(), and QFocusFramePrivate::updateSize().