![]() |
Qt 6.x
The Qt SDK
|
#include <qquickstyleoption.h>
Public Types | |
enum | StyleOptionType { Type = SO_Frame } |
enum | StyleOptionVersion { Version = 3 } |
enum | FrameFeature { None = 0x00 , Flat = 0x01 , Rounded = 0x02 } |
enum | Shape { NoFrame = 0 , Box = 0x0001 , Panel = 0x0002 , WinPanel = 0x0003 , HLine = 0x0004 , VLine = 0x0005 , StyledPanel = 0x0006 } |
enum | Shadow { Plain = 0x0010 , Raised = 0x0020 , Sunken = 0x0030 } |
![]() | |
enum | OptionType { SO_Default , SO_FocusRect , SO_Button , SO_Tab , SO_MenuItem , SO_Frame , SO_ProgressBar , SO_ToolBox , SO_Header , SO_DockWidget , SO_ViewItem , SO_TabWidgetFrame , SO_TabBarBase , SO_RubberBand , SO_ToolBar , SO_GraphicsItem , SO_Complex = 0xf0000 , SO_Slider , SO_SpinBox , SO_ToolButton , SO_ComboBox , SO_TitleBar , SO_GroupBox , SO_SizeGrip , SO_CustomBase = 0xf00 , SO_ComplexCustomBase = 0xf000000 } |
enum | StyleOptionType { Type = SO_Default } |
enum | StyleOptionVersion { Version = 1 } |
Public Member Functions | |
QStyleOptionFrame () | |
Constructs a QStyleOptionFrame, initializing the members variables to their default values. | |
QStyleOptionFrame (const QStyleOptionFrame &other) | |
QStyleOptionFrame & | operator= (const QStyleOptionFrame &)=default |
![]() | |
QStyleOption (int version=QStyleOption::Version, int type=SO_Default) | |
QStyleOption (const QStyleOption &other) | |
Constructs a copy of other. | |
~QStyleOption () | |
Destroys this style option object. | |
QStyleOption & | operator= (const QStyleOption &other) |
Assign other to this QStyleOption. | |
Public Attributes | |
int | lineWidth |
int | midLineWidth |
FrameFeatures | features |
Shape | frameShape |
![]() | |
int | version |
int | type |
QStyle::State | state |
Qt::LayoutDirection | direction |
QRect | rect |
QFontMetrics | fontMetrics |
QPalette | palette |
QObject * | styleObject |
QQuickItem * | control |
QWindow * | window |
Protected Member Functions | |
QStyleOptionFrame (int version) | |
Definition at line 80 of file qquickstyleoption.h.
Enumerator | |
---|---|
None | |
Flat | |
Rounded |
Definition at line 85 of file qquickstyleoption.h.
Enumerator | |
---|---|
Plain | |
Raised | |
Sunken |
Definition at line 100 of file qquickstyleoption.h.
Enumerator | |
---|---|
NoFrame | |
Box | |
Panel | |
WinPanel | |
HLine | |
VLine | |
StyledPanel |
Definition at line 91 of file qquickstyleoption.h.
Enumerator | |
---|---|
Type |
Definition at line 83 of file qquickstyleoption.h.
Enumerator | |
---|---|
Version |
Definition at line 84 of file qquickstyleoption.h.
QStyleOptionFrame::QStyleOptionFrame | ( | ) |
Constructs a QStyleOptionFrame, initializing the members variables to their default values.
Definition at line 78 of file qquickstyleoption.cpp.
|
inline |
Definition at line 112 of file qquickstyleoption.h.
References other().
|
protected |
Definition at line 87 of file qquickstyleoption.cpp.
|
default |
FrameFeatures QQC2::QStyleOptionFrame::features |
Definition at line 108 of file qquickstyleoption.h.
Shape QQC2::QStyleOptionFrame::frameShape |
Definition at line 109 of file qquickstyleoption.h.
int QQC2::QStyleOptionFrame::lineWidth |
Definition at line 106 of file qquickstyleoption.h.
int QQC2::QStyleOptionFrame::midLineWidth |
Definition at line 107 of file qquickstyleoption.h.