Home | All Classes | Main Classes | Annotated | Grouped Classes | Functions

QStyleOptionListView Class Reference

The QStyleOptionListView class is used to describe the parameters for drawing a Q3ListView. More...

#include <QStyleOptionListView>

Inherits QStyleOptionComplex.

List of all members.

Read-Only Properties

Public Functions


Detailed Description

The QStyleOptionListView class is used to describe the parameters for drawing a Q3ListView.

The structure is used for drawing the compat Q3ListView. It is not recommended for use in new code.


Property Documentation

itemMargin : int

This property holds the margin for items in the listview.

See also Q3ListView::itemMargin().

items : QList

This property holds a list of items in the Q3ListView.

This is a list of QStyleOptionListViewItems. The first item can be used for most of the calculation that are needed for listview. Any additional items are the children of this first item. Which may be used for additional information.

See also QStyleOptionListViewItem.

rootIsDecorated : bool

This property holds whether root items are decorated or not.

See also Q3ListView::rootIsDecorated().

sortColumn : int

This property holds the sort column of the listview.

See also Q3ListView::sortColumn().

treeStepSize : int

This property holds the number of pixel to offset children items from their parents.

See also Q3ListView::treeStepSize().

viewportBGRole : QPalette::ColorRole

This property holds the background role of the viewport of the Q3ListView.

See also QWidget::backgroundRole().

viewportPalette : QPalette

This property holds the palette of the viewport of the Q3ListView.


Member Function Documentation

QStyleOptionListView::QStyleOptionListView ( int version )

Creates a QStyleOptionListView structure with version version

The values in the structure are either zero, null, or empty. It is the developer's responsibility to set them to correct values.


Copyright © 2004 Trolltech. Trademarks
Qt 4.0.0-tp1