QStyleOptionTab Class Reference

#include <qstyleoption.h>

Class Description

Definition at line 304 of file qstyleoption.h.

+ Inheritance diagram for QStyleOptionTab:

Public Types

enum  StyleOptionType { Type = SO_Tab }
 
enum  StyleOptionVersion { Version = 1 }
 
enum  TabPosition { Beginning, Middle, End, OnlyOneTab }
 
enum  SelectedPosition { NotAdjacent, NextIsSelected, PreviousIsSelected }
 
enum  CornerWidget { NoCornerWidgets = 0x00, LeftCornerWidget = 0x01, RightCornerWidget = 0x02 }
 
- 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

 QStyleOptionTab ()
 
 QStyleOptionTab (const QStyleOptionTab &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

QTabBar::Shape shape
 
QString text
 
QIcon icon
 
int row
 
TabPosition position
 
SelectedPosition selectedPosition
 
CornerWidgets cornerWidgets
 
- Public Attributes inherited from QStyleOption
int version
 
int type
 
QStyle::State state
 
Qt::LayoutDirection direction
 
QRect rect
 
QFontMetrics fontMetrics
 
QPalette palette
 

Protected Member Functions

 QStyleOptionTab (int version)
 

Member Enumeration Documentation

Enumerator
Type 

Definition at line 307 of file qstyleoption.h.

Enumerator
Version 

Definition at line 308 of file qstyleoption.h.

Enumerator
Beginning 
Middle 
End 
OnlyOneTab 

Definition at line 310 of file qstyleoption.h.

Enumerator
NotAdjacent 
NextIsSelected 
PreviousIsSelected 

Definition at line 311 of file qstyleoption.h.

Enumerator
NoCornerWidgets 
LeftCornerWidget 
RightCornerWidget 

Definition at line 312 of file qstyleoption.h.

Constructor & Destructor Documentation

QStyleOptionTab ( const QStyleOptionTab other)
inline

Definition at line 325 of file qstyleoption.h.

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

Member Data Documentation

Definition at line 316 of file qstyleoption.h.

QString text

Definition at line 317 of file qstyleoption.h.

QIcon icon

Definition at line 318 of file qstyleoption.h.

Definition at line 319 of file qstyleoption.h.

TabPosition position

Definition at line 320 of file qstyleoption.h.

SelectedPosition selectedPosition

Definition at line 321 of file qstyleoption.h.

CornerWidgets cornerWidgets

Definition at line 322 of file qstyleoption.h.


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