#include <qstyleoption.h>
Definition at line 768 of file qstyleoption.h.
Public Types | |
enum | StyleOptionType { Type = SO_ToolButton } |
enum | StyleOptionVersion { Version = 1 } |
enum | ToolButtonFeature { None = 0x00, Arrow = 0x01, Menu = 0x04, MenuButtonPopup = Menu, PopupDelay = 0x08, HasMenu = 0x10 } |
Public Types inherited from QStyleOptionComplex | |
enum | StyleOptionType { Type = SO_Complex } |
enum | StyleOptionVersion { Version = 1 } |
Public Types inherited from QStyleOption | |
enum | OptionType { SO_Default, SO_FocusRect, SO_Button, SO_Tab, SO_MenuItem, SO_Frame, SO_ProgressBar, SO_ToolBox, SO_Header, SO_Q3DockWindow, SO_DockWidget, SO_Q3ListViewItem, SO_ViewItem, SO_TabWidgetFrame, SO_TabBarBase, SO_RubberBand, SO_ToolBar, SO_GraphicsItem, SO_Complex = 0xf0000, SO_Slider, SO_SpinBox, SO_ToolButton, SO_ComboBox, SO_Q3ListView, SO_TitleBar, SO_GroupBox, SO_SizeGrip, SO_CustomBase = 0xf00, SO_ComplexCustomBase = 0xf000000 } |
enum | StyleOptionType { Type = SO_Default } |
enum | StyleOptionVersion { Version = 1 } |
Public Member Functions | |
QStyleOptionToolButton () | |
QStyleOptionToolButton (const QStyleOptionToolButton &other) | |
Public Member Functions inherited from QStyleOptionComplex | |
QStyleOptionComplex (int version=QStyleOptionComplex::Version, int type=SO_Complex) | |
QStyleOptionComplex (const QStyleOptionComplex &other) | |
Public Member Functions inherited from QStyleOption | |
QStyleOption (int version=QStyleOption::Version, int type=SO_Default) | |
QStyleOption (const QStyleOption &other) | |
~QStyleOption () | |
void | init (const QWidget *w) |
void | initFrom (const QWidget *w) |
QStyleOption & | operator= (const QStyleOption &other) |
Public Attributes | |
ToolButtonFeatures | features |
QIcon | icon |
QSize | iconSize |
QString | text |
Qt::ArrowType | arrowType |
Qt::ToolButtonStyle | toolButtonStyle |
QPoint | pos |
QFont | font |
Public Attributes inherited from QStyleOptionComplex | |
QStyle::SubControls | subControls |
QStyle::SubControls | activeSubControls |
Public Attributes inherited from QStyleOption | |
int | version |
int | type |
QStyle::State | state |
Qt::LayoutDirection | direction |
QRect | rect |
QFontMetrics | fontMetrics |
QPalette | palette |
Protected Member Functions | |
QStyleOptionToolButton (int version) | |
enum StyleOptionType |
Enumerator | |
---|---|
Type |
Definition at line 771 of file qstyleoption.h.
enum StyleOptionVersion |
enum ToolButtonFeature |
Enumerator | |
---|---|
None | |
Arrow | |
Menu | |
MenuButtonPopup | |
PopupDelay | |
HasMenu |
Definition at line 774 of file qstyleoption.h.
|
inline |
Definition at line 788 of file qstyleoption.h.
|
protected |
ToolButtonFeatures features |
Definition at line 778 of file qstyleoption.h.
QIcon icon |
Definition at line 779 of file qstyleoption.h.
QSize iconSize |
Definition at line 780 of file qstyleoption.h.
QString text |
Definition at line 781 of file qstyleoption.h.
Qt::ArrowType arrowType |
Definition at line 782 of file qstyleoption.h.
Qt::ToolButtonStyle toolButtonStyle |
Definition at line 783 of file qstyleoption.h.
QPoint pos |
Definition at line 784 of file qstyleoption.h.
QFont font |
Definition at line 785 of file qstyleoption.h.