#include <qstyleoption.h>
Definition at line 251 of file qstyleoption.h.
Inheritance diagram for QStyleOptionHeader:Public Types | |
| enum | StyleOptionType { Type = SO_Header } |
| enum | StyleOptionVersion { Version = 1 } |
| enum | SectionPosition { Beginning, Middle, End, OnlyOneSection } |
| enum | SelectedPosition { NotAdjacent, NextIsSelected, PreviousIsSelected, NextAndPreviousAreSelected } |
| enum | SortIndicator { None, SortUp, SortDown } |
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 | |
| QStyleOptionHeader () | |
| QStyleOptionHeader (const QStyleOptionHeader &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) |
| QStyleOption & | operator= (const QStyleOption &other) |
Public Attributes | |
| int | section |
| QString | text |
| Qt::Alignment | textAlignment |
| QIcon | icon |
| Qt::Alignment | iconAlignment |
| SectionPosition | position |
| SelectedPosition | selectedPosition |
| SortIndicator | sortIndicator |
| Qt::Orientation | orientation |
Public Attributes inherited from QStyleOption | |
| int | version |
| int | type |
| QStyle::State | state |
| Qt::LayoutDirection | direction |
| QRect | rect |
| QFontMetrics | fontMetrics |
| QPalette | palette |
Protected Member Functions | |
| QStyleOptionHeader (int version) | |
| enum StyleOptionType |
| Enumerator | |
|---|---|
| Type | |
Definition at line 254 of file qstyleoption.h.
| enum StyleOptionVersion |
| enum SectionPosition |
| Enumerator | |
|---|---|
| Beginning | |
| Middle | |
| End | |
| OnlyOneSection | |
Definition at line 257 of file qstyleoption.h.
| enum SelectedPosition |
| Enumerator | |
|---|---|
| NotAdjacent | |
| NextIsSelected | |
| PreviousIsSelected | |
| NextAndPreviousAreSelected | |
Definition at line 258 of file qstyleoption.h.
| enum SortIndicator |
| Enumerator | |
|---|---|
| None | |
| SortUp | |
| SortDown | |
Definition at line 260 of file qstyleoption.h.
|
inline |
Definition at line 273 of file qstyleoption.h.
|
protected |
| int section |
Definition at line 262 of file qstyleoption.h.
| QString text |
Definition at line 263 of file qstyleoption.h.
| Qt::Alignment textAlignment |
Definition at line 264 of file qstyleoption.h.
| QIcon icon |
Definition at line 265 of file qstyleoption.h.
| Qt::Alignment iconAlignment |
Definition at line 266 of file qstyleoption.h.
| SectionPosition position |
Definition at line 267 of file qstyleoption.h.
| SelectedPosition selectedPosition |
Definition at line 268 of file qstyleoption.h.
| SortIndicator sortIndicator |
Definition at line 269 of file qstyleoption.h.
| Qt::Orientation orientation |
Definition at line 270 of file qstyleoption.h.