![]() |
CopperSpice API
2.0.0
|
Contains parameters used when drawing a focus rectangle with QStyle. More...
Public Types | |
| enum | StyleOptionType |
| enum | StyleOptionVersion |
Public Types inherited from QStyleOption | |
| enum | OptionType |
| enum | StyleOptionType |
| enum | StyleOptionVersion |
Public Methods | |
| QStyleOptionFocusRect () | |
| QStyleOptionFocusRect (const QStyleOptionFocusRect &other) | |
| QStyleOptionFocusRect & | operator= (const QStyleOptionFocusRect &other) = default |
Public Methods inherited from QStyleOption | |
| QStyleOption (const QStyleOption &other) | |
| QStyleOption (int version=QStyleOption::Version, int type=QStyleOption::SO_Default) | |
| ~QStyleOption () | |
| void | initFrom (const QWidget *widget) |
| QStyleOption & | operator= (const QStyleOption &other) |
Additional Inherited Members | |
Public Members inherited from QStyleOption | |
| int | m_styleType |
| int | m_styleVersion |
Related Functions inherited from QStyleOption | |
| T | qstyleoption_cast (const QStyleOption *option) |
| T | qstyleoption_cast (QStyleOption *option) |
The QStyleOptionFocusRect class contains parameters which are used when drawing a focus rectangle with QStyle.
This enum is used to hold information about the type of the style option and is defined for each QStyleOption subclass.
| Constant | Value | Description |
|---|---|---|
QStyleOptionFocusRect::Type | SO_FocusRect | The type of style option provided (SO_FocusRect for this class). |
This enum is used to hold information about the version of the style option and is defined for each QStyleOption subclass.
| Constant | Value | Description |
|---|---|---|
QStyleOptionFocusRect::Version | 1 | 1 |
| QStyleOptionFocusRect::QStyleOptionFocusRect | ( | ) |
Constructs an empty QStyleOptionFocusRect.
|
inline |
Copy constructs a new QStyleOptionFocusRect from other.
|
default |
Copy assigns from other and returns a reference to this object.