![]() |
Qt 6.x
The Qt SDK
|
#include <qquickstyleoption.h>
Inheritance diagram for QQC2::QStyleOptionFrame:
Collaboration diagram for QQC2::QStyleOptionFrame: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 } |
Public Types inherited from QQC2::QStyleOption | |
| 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 |
Public Member Functions inherited from QQC2::QStyleOption | |
| 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 |
Public Attributes inherited from QQC2::QStyleOption | |
| 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().
Here is the call graph for this function:
|
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.