QStyleOptionToolBar Class Reference

#include <qstyleoption.h>

Class Description

Definition at line 369 of file qstyleoption.h.

+ Inheritance diagram for 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 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
}
 
enum  StyleOptionType { Type = SO_Default }
 
enum  StyleOptionVersion { Version = 1 }
 

Public Member Functions

 QStyleOptionToolBar ()
 
 QStyleOptionToolBar (const QStyleOptionToolBar &other)
 
- Public Member Functions inherited from QStyleOption
 QStyleOption (int version=QStyleOption::Version, int type=SO_Default)
 
 QStyleOption (const QStyleOption &other)
 
 ~QStyleOption ()
 
void init (const QWidget *w)
 
void initFrom (const QWidget *w)
 
QStyleOptionoperator= (const QStyleOption &other)
 

Public Attributes

ToolBarPosition positionOfLine
 
ToolBarPosition positionWithinLine
 
Qt::ToolBarArea toolBarArea
 
ToolBarFeatures features
 
int lineWidth
 
int midLineWidth
 
- Public Attributes inherited from QStyleOption
int version
 
int type
 
QStyle::State state
 
Qt::LayoutDirection direction
 
QRect rect
 
QFontMetrics fontMetrics
 
QPalette palette
 

Protected Member Functions

 QStyleOptionToolBar (int version)
 

Member Enumeration Documentation

Enumerator
Type 

Definition at line 372 of file qstyleoption.h.

Enumerator
Version 

Definition at line 373 of file qstyleoption.h.

Enumerator
None 
Movable 

Definition at line 375 of file qstyleoption.h.

Constructor & Destructor Documentation

QStyleOptionToolBar ( const QStyleOptionToolBar other)
inline

Definition at line 384 of file qstyleoption.h.

384 : QStyleOption(Version, Type) { *this = other; }
QStyleOption(int version=QStyleOption::Version, int type=SO_Default)
QStyleOptionToolBar ( int  version)
protected

Member Data Documentation

ToolBarPosition positionOfLine

Definition at line 377 of file qstyleoption.h.

ToolBarPosition positionWithinLine

Definition at line 378 of file qstyleoption.h.

Qt::ToolBarArea toolBarArea

Definition at line 379 of file qstyleoption.h.

ToolBarFeatures features

Definition at line 380 of file qstyleoption.h.

int lineWidth

Definition at line 381 of file qstyleoption.h.

int midLineWidth

Definition at line 382 of file qstyleoption.h.


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