Home | All Classes | Main Classes | Annotated | Grouped Classes | Functions | ![]() |
The QStyleOptionToolButton class is used to describe the parameters for drawing a tool button. More...
#include <QStyleOptionToolButton>
Inherits QStyleOptionComplex.
|
The QStyleOptionToolButton class is used to describe the parameters for drawing a tool button.
The QStyleOptionToolButton structure is used for drawing QToolButtons
Describes the various features that a tool button can have.
QStyleOptionToolButton::None | A normal tool button. |
QStyleOptionToolButton::Arrow | The tool button is an arrow. |
QStyleOptionToolButton::TextLabel | The tool button has a text label. |
QStyleOptionToolButton::Menu | The tool button has a menu. |
QStyleOptionToolButton::PopupDelay | There is a delay to showing the menu. |
QStyleOptionToolButton::BigPixmap | The tool button uses big pixmaps. |
The ToolButtonFeatures typedef can store a combination of ToolButtonFeature values.
See also features, QToolButton::usesTextLabel(), QToolButton::popupDelay(), and QToolButton::usesBigPixmap().
This property holds the direction of the arrow for the tool button.
Note that this is only used if the Arrow feature is part of the features.
See also ToolButtonFeatures.
This property holds the background role of the tool button.
See also QWidget::backgroundRole().
This property holds the features of the tool button.
This is a bitwise OR describing the features of the button.
See also ToolButtonFeature.
This property holds the font that is used for the text.
Note that this is only used if the TextLabel feature is part of the features.
See also ToolButtonFeatures.
This property holds the iconset (if any) for the tool button.
This property holds the position of the tool button.
This property holds the text (if any) of the tool button.
Note that this is only used if the TextLabel feature is part of the features.
See also ToolButtonFeatures.
This property holds the position of the text in the tool button.
Note that this is only used if the TextLabel feature is part of the features.
See also ToolButtonFeatures.
Construct a QStyleOptionToolButton with version version.
The values of the structure are either zero, empty, or null. It is the responsibility of the developer to set them correctly.
Copyright © 2004 Trolltech. | Trademarks | Qt 4.0.0-tp1 |