Qt 4.8
Public Types | Public Functions | Public Variables | Protected Functions | List of all members
QStyleOptionDockWidgetV2 Class Reference

#include <qstyleoption.h>

Inheritance diagram for QStyleOptionDockWidgetV2:
QStyleOptionDockWidget QStyleOption

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

QStyleOptionDockWidgetV2operator= (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)
 
QStyleOptionoperator= (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

Detailed Description

Definition at line 522 of file qstyleoption.h.

Enumerations

◆ StyleOptionVersion

Enumerator
Version 

Definition at line 525 of file qstyleoption.h.

Constructors and Destructors

◆ QStyleOptionDockWidgetV2() [1/4]

QStyleOptionDockWidgetV2::QStyleOptionDockWidgetV2 ( )

Definition at line 4178 of file qstyleoption.cpp.

4180 {
4181 }
QStyleOptionDockWidget()
Constructs a QStyleOptionDockWidget, initializing the member variables to their default values...

◆ QStyleOptionDockWidgetV2() [2/4]

QStyleOptionDockWidgetV2::QStyleOptionDockWidgetV2 ( const QStyleOptionDockWidgetV2 other)
inline

Definition at line 530 of file qstyleoption.h.

531  : QStyleOptionDockWidget(Version) { *this = other; }
QStyleOptionDockWidget()
Constructs a QStyleOptionDockWidget, initializing the member variables to their default values...

◆ QStyleOptionDockWidgetV2() [3/4]

QStyleOptionDockWidgetV2::QStyleOptionDockWidgetV2 ( const QStyleOptionDockWidget other)

Definition at line 4183 of file qstyleoption.cpp.

4186 {
4187  (void)QStyleOptionDockWidgetV2::operator=(other);
4188 }
QStyleOptionDockWidget()
Constructs a QStyleOptionDockWidget, initializing the member variables to their default values...

◆ QStyleOptionDockWidgetV2() [4/4]

QStyleOptionDockWidgetV2::QStyleOptionDockWidgetV2 ( int  version)
protected

Definition at line 4200 of file qstyleoption.cpp.

4202 {
4203 }
int version
the version of the style option
Definition: qstyleoption.h:86
QStyleOptionDockWidget()
Constructs a QStyleOptionDockWidget, initializing the member variables to their default values...

Functions

◆ operator=()

QStyleOptionDockWidgetV2 & QStyleOptionDockWidgetV2::operator= ( const QStyleOptionDockWidget other)

Definition at line 4190 of file qstyleoption.cpp.

4192 {
4194  const QStyleOptionDockWidgetV2 *v2
4195  = qstyleoption_cast<const QStyleOptionDockWidgetV2*>(&other);
4196  verticalTitleBar = v2 ? v2->verticalTitleBar : false;
4197  return *this;
4198 }
T qstyleoption_cast(const QStyleOption *option)
Definition: qstyleoption.h:885
QStyleOption & operator=(const QStyleOption &other)
Assign other to this QStyleOption.

Properties

◆ verticalTitleBar

bool QStyleOptionDockWidgetV2::verticalTitleBar

The documentation for this class was generated from the following files: