The QStyleHintReturnMask class provides style hints that return a QRegion . 更多...
| 頭: | #include <QStyleHintReturnMask> |
| qmake: | QT += widgets |
| 繼承: | QStyleHintReturn |
| enum | StyleOptionType { Type } |
| enum | StyleOptionVersion { Version } |
| QStyleHintReturnMask () | |
| ~QStyleHintReturnMask () |
| QRegion | region |
The QStyleHintReturnMask class provides style hints that return a QRegion .
This enum is used to hold information about the type of the style option, and is defined for each QStyleHintReturn 子類。
| 常量 | 值 | 描述 |
|---|---|---|
QStyleHintReturnMask::Type
|
SH_Mask
|
提供樣式選項的類型 ( SH_Mask 對於此類)。 |
類型內部使用通過 QStyleHintReturn ,其子類,和 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.
另請參閱 StyleOptionVersion .
This enum is used to hold information about the version of the style option, and is defined for each QStyleHintReturn 子類。
| 常量 | 值 | 描述 |
|---|---|---|
QStyleHintReturnMask::Version
|
1
|
1 |
版本的使用通過 QStyleHintReturn 子類以實現擴展在不破壞兼容性的情況下。若使用 qstyleoption_cast (),通常不需要校驗它。
另請參閱 StyleOptionType .
構造 QStyleHintReturnMask . The member variables are initialized to default values.
析構函數。
This variable holds the region for style hints that return a QRegion