The QStyleOptionButton class is described the parameters for drawing buttons.
More...
The QStyleOptionButton class is used to describe the parameters for drawing buttons. QStyleOptionButton contains all the information that QStyle functions need to draw graphical elements like QPushButton, QCheckBox, and QRadioButton.
- See also
- QStyleOption, QStyleOptionToolButton
This enum is used to hold information about the type of the style option and is defined for each QStyleOption subclass.
Constant | Value | Description |
QStyleOptionButton::Type | SO_Button | The type of style option provided (SO_Button for this class). |
- See also
- StyleOptionVersion, qstyleoption_cast()
QStyleOptionButton::QStyleOptionButton |
( |
| ) |
|
Constructs an empty QStyleOptionButton.
QStyleOptionButton::QStyleOptionButton |
( |
const QStyleOptionButton & |
other | ) |
|
|
inline |
Copy constructs a new QStyleOptionButton from other.
QStyleOptionButton & QStyleOptionButton::operator= |
( |
const QStyleOptionButton & |
other | ) |
|
|
default |
Copy assigns from other and returns a reference to this object.