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 class is used for drawing QToolButton.
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::Menu | The tool button has a menu. |
QStyleOptionToolButton::PopupDelay | There is a delay to showing the menu. |
The ToolButtonFeatures typedef can store a combination of ToolButtonFeature values.
See also features, QToolButton::toolButtonStyle(), QToolButton::popupMode(), and QToolButton::iconSize().
This property holds the direction of the arrow for the tool button.
This value is only used if features includes Arrow.
This property holds the features of the tool button.
This variable is a bitwise OR describing the features of the button.
See also ToolButtonFeature.
This property holds the font that is used for the text.
This value is only used if features includes TextLabel.
This property holds the icon for the tool button.
This property holds the size of the tool button icon.
See also QToolButton::iconSize().
This property holds the position of the tool button.
This property holds the text of the tool button.
This value is only used if features includes TextLabel.
This property holds used to describe the appearance of a tool button.
See also QToolButton::toolButtonStyle().
Constructs a QStyleOptionToolButton. The members variables are initialized to default values.
Copyright © 2004 Trolltech | Trademarks | Qt 4.0.0-b1 |