Home | All Classes | Main Classes | Annotated | Grouped Classes | Functions | ![]() |
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.
The QStyleOptionButton structure is used to draw QPushbuttons, QCheckBoxes, and QRadioButtons. QStyleOptionToolButton is used to draw a QToolButton.
This enum describles the different types of features a push button can have.
QStyleOptionButton::None | Indicates a normal push button. |
QStyleOptionButton::Flat | Indicates a flat push button. |
QStyleOptionButton::HasMenu | Indicates that the button has a drop down menu. |
The ButtonFeatures typedef can store a combination of ButtonFeature values.
See also QStyleOptionButton::features.
This property holds the features for the button.
This variable is a bitwise OR of the features that describe this button.
See also ButtonFeature.
This property holds the iconset of the button (if any).
This property holds the text (if any) of the button.
Constructs a QStyleOptionButton with version version. The rest of the parameters are either zero, null, or empty. It is the developer's responsibilty to populate the structure with the proper parameters.
Copyright © 2004 Trolltech. | Trademarks | Qt 4.0.0-tp1 |