![]() |
Qt 6.x
The Qt SDK
|
#include <qstyleoption.h>
Public Types | |
enum | StyleOptionType { Type = SO_SizeGrip } |
enum | StyleOptionVersion { Version = 1 } |
![]() | |
enum | StyleOptionType { Type = SO_Complex } |
This enum is used to hold information about the type of the style option, and is defined for each QStyleOption subclass. More... | |
enum | StyleOptionVersion { Version = 1 } |
This enum is used to hold information about the version of the style option, and is defined for each QStyleOption subclass. More... | |
![]() | |
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 } |
This enum is used internally by QStyleOption, its subclasses, and qstyleoption_cast() to determine the type of style option. More... | |
enum | StyleOptionType { Type = SO_Default } |
This enum is used to hold information about the type of the style option, and is defined for each QStyleOption subclass. More... | |
enum | StyleOptionVersion { Version = 1 } |
This enum is used to hold information about the version of the style option, and is defined for each QStyleOption subclass. More... | |
Public Member Functions | |
QStyleOptionSizeGrip () | |
QStyleOptionSizeGrip (const QStyleOptionSizeGrip &other) | |
QStyleOptionSizeGrip & | operator= (const QStyleOptionSizeGrip &)=default |
![]() | |
QStyleOptionComplex (int version=QStyleOptionComplex::Version, int type=SO_Complex) | |
Constructs a QStyleOptionComplex of the specified type and version, initializing the member variables to their default values. | |
QStyleOptionComplex (const QStyleOptionComplex &other) | |
Constructs a copy of the other style option. | |
QStyleOptionComplex & | operator= (const QStyleOptionComplex &)=default |
![]() | |
QStyleOption (int version=QStyleOption::Version, int type=SO_Default) | |
Constructs a QStyleOption with the specified version and type. | |
QStyleOption (const QStyleOption &other) | |
Constructs a copy of other. | |
~QStyleOption () | |
Destroys this style option object. | |
void | initFrom (const QWidget *w) |
QStyleOption & | operator= (const QStyleOption &other) |
Assign other to this QStyleOption. | |
Public Attributes | |
Qt::Corner | corner |
![]() | |
QStyle::SubControls | subControls |
QStyle::SubControls | activeSubControls |
![]() | |
int | version |
int | type |
QStyle::State | state |
Qt::LayoutDirection | direction |
QRect | rect |
QFontMetrics | fontMetrics |
QPalette | palette |
QObject * | styleObject |
Protected Member Functions | |
QStyleOptionSizeGrip (int version) | |
Additional Inherited Members | |
![]() | |
template< typename T > T | qstyleoption_cast (const QStyleOption *option) |
\variable QStyleOptionTitleBar::text | |
template< typename T > T | qstyleoption_cast (QStyleOption *option) |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. | |
Definition at line 633 of file qstyleoption.h.
Enumerator | |
---|---|
Type |
Definition at line 636 of file qstyleoption.h.
Enumerator | |
---|---|
Version |
Definition at line 637 of file qstyleoption.h.
QStyleOptionSizeGrip::QStyleOptionSizeGrip | ( | ) |
|
inline |
Definition at line 642 of file qstyleoption.h.
References other().
|
protected |
|
default |
Qt::Corner QStyleOptionSizeGrip::corner |
Definition at line 639 of file qstyleoption.h.