Home | All Classes | Main Classes | Annotated | Grouped Classes | Functions | ![]() |
The QStyleOptionViewItem class is used to describe the parameters used to draw an item in a view widget. More...
#include <QStyleOptionViewItem>
Inherits QStyleOption.
|
|
The QStyleOptionViewItem class is used to describe the parameters used to draw an item in a view widget.
The QStyleOptionViewItem class is used by Qt's model/view classes to draw their items.
See also Model/View Programming.
This enum describes the position of the item's decoration.
QStyleOptionViewItem::Left | On the left of the text. |
QStyleOptionViewItem::Right | On the right of the text. |
QStyleOptionViewItem::Top | Above the text. |
QStyleOptionViewItem::Bottom | Below the text. |
See also decorationPosition.
This enum describes the size of the item's decoration size.
QStyleOptionViewItem::Small | Small decorations. |
QStyleOptionViewItem::Large | Large decorations. |
See also decorationSize.
This property holds the alignment of the decoration for the item.
This property holds the position of the decoration for the item.
See also Position.
This property holds the size ofthe decoration for the item.
See also Size.
This property holds the alignment of the display value for the item.
Constructs a QStyleOptionViewItem. The members variables are initialized to default values.
Copyright © 2004 Trolltech | Trademarks | Qt 4.0.0-b1 |