QtBase
v6.3.1
|
The QStyleHintReturnMask class provides style hints that return a QRegion. More...
#include <qstyleoption.h>
Public Types | |
enum | StyleOptionType { Type = SH_Mask } |
enum | StyleOptionVersion { Version = 1 } |
Public Types inherited from QStyleHintReturn | |
enum | HintReturnType { SH_Default =0xf000 , SH_Mask , SH_Variant } |
enum | StyleOptionType { Type = SH_Default } |
enum | StyleOptionVersion { Version = 1 } |
Public Member Functions | |
QStyleHintReturnMask () | |
the region for style hints that return a QRegion More... | |
~QStyleHintReturnMask () | |
Public Member Functions inherited from QStyleHintReturn | |
QStyleHintReturn (int version=QStyleOption::Version, int type=SH_Default) | |
the type of the style hint container More... | |
~QStyleHintReturn () | |
Public Attributes | |
QRegion | region |
Public Attributes inherited from QStyleHintReturn | |
int | version |
int | type |
Additional Inherited Members | |
Related Functions inherited from QStyleHintReturn | |
template< typename T > T | qstyleoption_cast (const QStyleHintReturn *hint) |
template< typename T > T | qstyleoption_cast (QStyleHintReturn *hint) |
The QStyleHintReturnMask class provides style hints that return a QRegion.
\inmodule QtWidgets
Definition at line 740 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.
\value Type The type of style option provided (\l{SH_Mask} for this class).
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 742 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.
\value Version 1
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 743 of file qstyleoption.h.
QStyleHintReturnMask::QStyleHintReturnMask | ( | ) |
the region for style hints that return a QRegion
\variable QStyleHintReturnMask::region
Constructs a QStyleHintReturnMask. The member variables are initialized to default values.
Definition at line 3814 of file qstyleoption.cpp.
QStyleHintReturnMask::~QStyleHintReturnMask | ( | ) |
Destructor.
Definition at line 3821 of file qstyleoption.cpp.
QRegion QStyleHintReturnMask::region |
Definition at line 748 of file qstyleoption.h.