#include <qstyleoption.h>
Definition at line 67 of file qstyleoption.h.
Public Types | |
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 | |
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 | |
int | version |
int | type |
QStyle::State | state |
Qt::LayoutDirection | direction |
QRect | rect |
QFontMetrics | fontMetrics |
QPalette | palette |
enum OptionType |
Definition at line 70 of file qstyleoption.h.
enum StyleOptionType |
Enumerator | |
---|---|
Type |
Definition at line 83 of file qstyleoption.h.
enum StyleOptionVersion |
QStyleOption | ( | int | version = QStyleOption::Version , |
int | type = SO_Default |
||
) |
QStyleOption | ( | const QStyleOption & | other | ) |
~QStyleOption | ( | ) |
Definition at line 99 of file qstyleoption.h.
QStyleOption& operator= | ( | const QStyleOption & | other | ) |
int version |
Definition at line 86 of file qstyleoption.h.
Definition at line 87 of file qstyleoption.h.
QStyle::State state |
Definition at line 88 of file qstyleoption.h.
Qt::LayoutDirection direction |
Definition at line 89 of file qstyleoption.h.
QRect rect |
Definition at line 90 of file qstyleoption.h.
QFontMetrics fontMetrics |
Definition at line 91 of file qstyleoption.h.
QPalette palette |
Definition at line 92 of file qstyleoption.h.