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 structure 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 | |
QStyleOptionViewItem::Right | |
QStyleOptionViewItem::Top | |
QStyleOptionViewItem::Bottom |
See also decorationPosition.
This enum describes the size of the item's decoration size.
QStyleOptionViewItem::Small | |
QStyleOptionViewItem::Large |
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.
Construct a QStyleOptionViewItem with version version.
The values of the structure are set to zero. It is the responsibility of the developer to set them to the correct values.
Copyright © 2004 Trolltech. | Trademarks | Qt 4.0.0-tp1 |