![]() |
Qt 6.x
The Qt SDK
|
#include <qquickstyleoption.h>
Public Types | |
enum | StyleOptionType { Type = SO_RubberBand } |
enum | StyleOptionVersion { Version = 1 } |
enum | Shape { Line , Rectangle } |
![]() | |
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 | |
QStyleOptionRubberBand () | |
Creates a QStyleOptionRubberBand, initializing the members variables to their default values. | |
QStyleOptionRubberBand (const QStyleOptionRubberBand &other) | |
QStyleOptionRubberBand & | operator= (const QStyleOptionRubberBand &)=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 | |
bool | opaque |
Shape | shape |
![]() | |
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 | |
QStyleOptionRubberBand (int version) | |
Definition at line 457 of file qquickstyleoption.h.
Enumerator | |
---|---|
Line | |
Rectangle |
Definition at line 462 of file qquickstyleoption.h.
Enumerator | |
---|---|
Type |
Definition at line 460 of file qquickstyleoption.h.
Enumerator | |
---|---|
Version |
Definition at line 461 of file qquickstyleoption.h.
QQC2::QStyleOptionRubberBand::QStyleOptionRubberBand | ( | ) |
Creates a QStyleOptionRubberBand, initializing the members variables to their default values.
Definition at line 364 of file qquickstyleoption.cpp.
|
inline |
Definition at line 468 of file qquickstyleoption.h.
References other().
|
protected |
Definition at line 369 of file qquickstyleoption.cpp.
|
default |
bool QQC2::QStyleOptionRubberBand::opaque |
Definition at line 464 of file qquickstyleoption.h.
Shape QQC2::QStyleOptionRubberBand::shape |
Definition at line 465 of file qquickstyleoption.h.