Qt 4.8
|
#include <qstyleoption.h>
Public Types | |
enum | StyleOptionVersion { Version = 2 } |
Public Types inherited from QStyleOptionDockWidget | |
enum | StyleOptionType { Type = SO_DockWidget } |
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 Types inherited from QStyleOption | |
enum | OptionType { SO_Default, SO_FocusRect, SO_Button, SO_Tab, SO_MenuItem, SO_Frame, SO_ProgressBar, SO_ToolBox, SO_Header, SO_Q3DockWindow, SO_DockWidget, SO_Q3ListViewItem, SO_ViewItem, SO_TabWidgetFrame, SO_TabBarBase, SO_RubberBand, SO_ToolBar, SO_GraphicsItem, SO_Complex = 0xf0000, SO_Slider, SO_SpinBox, SO_ToolButton, SO_ComboBox, SO_Q3ListView, 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 Functions | |
QStyleOptionDockWidgetV2 & | operator= (const QStyleOptionDockWidget &other) |
QStyleOptionDockWidgetV2 () | |
QStyleOptionDockWidgetV2 (const QStyleOptionDockWidgetV2 &other) | |
QStyleOptionDockWidgetV2 (const QStyleOptionDockWidget &other) | |
Public Functions inherited from QStyleOptionDockWidget | |
QStyleOptionDockWidget () | |
Constructs a QStyleOptionDockWidget, initializing the member variables to their default values. More... | |
QStyleOptionDockWidget (const QStyleOptionDockWidget &other) | |
Constructs a copy of the other style option. More... | |
Public Functions inherited from QStyleOption | |
void | init (const QWidget *w) |
Use initFrom(widget) instead. More... | |
void | initFrom (const QWidget *w) |
QStyleOption & | operator= (const QStyleOption &other) |
Assign other to this QStyleOption. More... | |
QStyleOption (int version=QStyleOption::Version, int type=SO_Default) | |
Constructs a QStyleOption with the specified version and type. More... | |
QStyleOption (const QStyleOption &other) | |
Constructs a copy of other. More... | |
~QStyleOption () | |
Destroys this style option object. More... | |
Public Variables | |
bool | verticalTitleBar |
Public Variables inherited from QStyleOptionDockWidget | |
bool | closable |
whether the dock window is closable More... | |
bool | floatable |
whether the dock window is floatable More... | |
bool | movable |
whether the dock window is movable More... | |
QString | title |
the title of the dock window More... | |
Public Variables inherited from QStyleOption | |
Qt::LayoutDirection | direction |
the text layout direction that should be used when drawing text in the control More... | |
QFontMetrics | fontMetrics |
the font metrics that should be used when drawing text in the control More... | |
QPalette | palette |
the palette that should be used when painting the control More... | |
QRect | rect |
the area that should be used for various calculations and painting More... | |
QStyle::State | state |
the style flags that are used when drawing the control More... | |
int | type |
the option type of the style option More... | |
int | version |
the version of the style option More... | |
Protected Functions | |
QStyleOptionDockWidgetV2 (int version) | |
Protected Functions inherited from QStyleOptionDockWidget | |
QStyleOptionDockWidget (int version) | |
Additional Inherited Members | |
Related Functions inherited from QStyleOption | |
T | qstyleoption_cast (const QStyleOption *option) |
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. More... | |
Definition at line 522 of file qstyleoption.h.
QStyleOptionDockWidgetV2::QStyleOptionDockWidgetV2 | ( | ) |
Definition at line 4178 of file qstyleoption.cpp.
|
inline |
Definition at line 530 of file qstyleoption.h.
QStyleOptionDockWidgetV2::QStyleOptionDockWidgetV2 | ( | const QStyleOptionDockWidget & | other | ) |
Definition at line 4183 of file qstyleoption.cpp.
|
protected |
Definition at line 4200 of file qstyleoption.cpp.
QStyleOptionDockWidgetV2 & QStyleOptionDockWidgetV2::operator= | ( | const QStyleOptionDockWidget & | other | ) |
Definition at line 4190 of file qstyleoption.cpp.
bool QStyleOptionDockWidgetV2::verticalTitleBar |
Definition at line 527 of file qstyleoption.h.
Referenced by QCommonStyle::drawControl(), QWindowsVistaStyle::drawControl(), QPlastiqueStyle::drawControl(), QWindowsMobileStyle::drawControl(), QCleanlooksStyle::drawControl(), QWindowsXPStyle::drawControl(), QWindowsStyle::drawControl(), QGtkStyle::drawControl(), QMacStyle::drawControl(), QDockWidget::initStyleOption(), operator=(), QCommonStyle::subElementRect(), QCleanlooksStyle::subElementRect(), QWindowsStyle::subElementRect(), and QMacStyle::subElementRect().