The QStyleOptionButton class is used to describe the parameters for drawing buttons. More...
#include <QStyleOptionButton>
Inherits QStyleOption.
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.ToolButton.
This enum describes the different types of features a push button can have.
The ButtonFeatures type is a typedef for QFlags<ButtonFeature>. It stores an OR combination of ButtonFeature values.
See alsoButton, initializing the members variables to their default values.
Constructs a copy of the other style option.
This variable holds a bitwise OR of the features that describe this button.
See also ButtonFeature.
This variable holds the icon of the button.
The default value is an empty icon, i.e. an icon with neither a pixmap nor a filename.
See also iconSize.
This variable holds the size of the icon for the button.
The default value is QSize(-1, -1), i.e. an invalid size.
This variable holds the text of the button.
The default value is an empty string.