![]() |
Home · All Classes · Main Classes · Grouped Classes · Modules · Functions | ![]() |
The QColumnView class provides a model/view implementation of a column view. More...
#include <QColumnView>
Inherits QAbstractItemView.
The QColumnView class provides a model/view implementation of a column view.
QColumnView displays a model in a number of QListViews, one for each hierarchy in the tree. This is sometimes referred to as a cascading list.
The QColumnView class is one of the Model/View Classes and is part of Qt's model/view framework.
QColumnView implements the interfaces defined by the QAbstractItemView class to allow it to display data provided by models derived from the QAbstractItemModel class.
See also Model/View Programming.
This property holds the way to specify if the list views gets resize grips or not.
By default, visible is set to true
Access functions:
See also setRootIndex().
Constructs a column view with a parent to represent a model's data. Use setModel() to set the model.
See also QAbstractItemModel.
Destroys the column view.
To use a custom widget for the final column when you select an item overload this function and return a widget. index is the root index that will be assigned to the view.
Return the new view. QColumnView will automatically take ownership of the widget.
See also setPreviewWidget().
Returns the preview widget, or 0 if there is none.
See also setPreviewWidget() and updatePreviewWidget().
Sets the preview widget.
The widget becomes a child of the column view, and will be destroyed when the column area is deleted or when a new widget is set.
See also previewWidget() and updatePreviewWidget().
This signal is emitted when the preview widget should be updated to provide rich information about index
See also previewWidget().
Copyright © 2007 Trolltech | Trademarks | Qt 4.3.0beta |