![]() |
Qt 6.x
The Qt SDK
|
#include <qquickstyleoption.h>
Inheritance diagram for QQC2::QStyleOptionToolBar:
Collaboration diagram for QQC2::QStyleOptionToolBar:Public Types | |
| enum | StyleOptionType { Type = SO_ToolBar } |
| enum | StyleOptionVersion { Version = 1 } |
| enum | ToolBarPosition { Beginning , Middle , End , OnlyOne } |
| enum | ToolBarFeature { None = 0x0 , Movable = 0x1 } |
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 | |
| QStyleOptionToolBar () | |
| Constructs a QStyleOptionToolBar, initializing the members variables to their default values. | |
| QStyleOptionToolBar (const QStyleOptionToolBar &other) | |
| Constructs a copy of the other style option. | |
| QStyleOptionToolBar & | operator= (const QStyleOptionToolBar &)=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 | |
| ToolBarPosition | positionOfLine |
| ToolBarPosition | positionWithinLine |
| Qt::ToolBarArea | toolBarArea |
| ToolBarFeatures | features |
| int | lineWidth |
| int | midLineWidth |
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 | |
| QStyleOptionToolBar (int version) | |
Definition at line 278 of file qquickstyleoption.h.
| Enumerator | |
|---|---|
| Type | |
Definition at line 281 of file qquickstyleoption.h.
| Enumerator | |
|---|---|
| Version | |
Definition at line 282 of file qquickstyleoption.h.
| Enumerator | |
|---|---|
| None | |
| Movable | |
Definition at line 284 of file qquickstyleoption.h.
| Enumerator | |
|---|---|
| Beginning | |
| Middle | |
| End | |
| OnlyOne | |
Definition at line 283 of file qquickstyleoption.h.
| QQC2::QStyleOptionToolBar::QStyleOptionToolBar | ( | ) |
Constructs a QStyleOptionToolBar, initializing the members variables to their default values.
Definition at line 155 of file qquickstyleoption.cpp.
|
inline |
Constructs a copy of the other style option.
Definition at line 295 of file qquickstyleoption.h.
References other().
Here is the call graph for this function:
|
protected |
Definition at line 166 of file qquickstyleoption.cpp.
|
default |
| ToolBarFeatures QQC2::QStyleOptionToolBar::features |
Definition at line 290 of file qquickstyleoption.h.
| int QQC2::QStyleOptionToolBar::lineWidth |
Definition at line 291 of file qquickstyleoption.h.
| int QQC2::QStyleOptionToolBar::midLineWidth |
Definition at line 292 of file qquickstyleoption.h.
| ToolBarPosition QQC2::QStyleOptionToolBar::positionOfLine |
Definition at line 287 of file qquickstyleoption.h.
| ToolBarPosition QQC2::QStyleOptionToolBar::positionWithinLine |
Definition at line 288 of file qquickstyleoption.h.
| Qt::ToolBarArea QQC2::QStyleOptionToolBar::toolBarArea |
Definition at line 289 of file qquickstyleoption.h.