#include <qstyleoption.h>
Definition at line 539 of file qstyleoption.h.
Inheritance diagram for QStyleOptionViewItem:Public Types | |
| enum | StyleOptionType { Type = SO_ViewItem } |
| enum | StyleOptionVersion { Version = 1 } |
| enum | Position { Left, Right, Top, Bottom } |
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 | |
| QStyleOptionViewItem () | |
| QStyleOptionViewItem (const QStyleOptionViewItem &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 | |
| Qt::Alignment | displayAlignment |
| Qt::Alignment | decorationAlignment |
| Qt::TextElideMode | textElideMode |
| Position | decorationPosition |
| QSize | decorationSize |
| QFont | font |
| bool | showDecorationSelected |
Public Attributes inherited from QStyleOption | |
| int | version |
| int | type |
| QStyle::State | state |
| Qt::LayoutDirection | direction |
| QRect | rect |
| QFontMetrics | fontMetrics |
| QPalette | palette |
Protected Member Functions | |
| QStyleOptionViewItem (int version) | |
| enum StyleOptionType |
| Enumerator | |
|---|---|
| Type | |
Definition at line 542 of file qstyleoption.h.
| enum StyleOptionVersion |
| enum Position |
| Enumerator | |
|---|---|
| Left | |
| Right | |
| Top | |
| Bottom | |
Definition at line 545 of file qstyleoption.h.
|
inline |
Definition at line 556 of file qstyleoption.h.
|
protected |
| Qt::Alignment displayAlignment |
Definition at line 547 of file qstyleoption.h.
| Qt::Alignment decorationAlignment |
Definition at line 548 of file qstyleoption.h.
| Qt::TextElideMode textElideMode |
Definition at line 549 of file qstyleoption.h.
| Position decorationPosition |
Definition at line 550 of file qstyleoption.h.
| QSize decorationSize |
Definition at line 551 of file qstyleoption.h.
| QFont font |
Definition at line 552 of file qstyleoption.h.
| bool showDecorationSelected |
Definition at line 553 of file qstyleoption.h.