![]() |
Home · All Classes · Main Classes · Grouped Classes · Modules · Functions | ![]() |
The QSortingProxyModel class provides support for sorting data that is passed between another model and a view. More...
#include <QSortingProxyModel>
Inherits QMappingProxyModel.
This class was introduced in Qt 4.1.
The QSortingProxyModel class provides support for sorting data that is passed between another model and a view.
See also QAbstractProxyModel, QAbstractItemModel, and Model/View Programming.
Defines the type of function to be used when comparing items of data from the model. Comparison functions must have a signature in the following form:
bool(*Compare)(const QModelIndex &left, const QModelIndex &right);
Constructs a sorting proxy model with the given parent.
Destroys the sorting proxy model.
Clears the sorting proxy model, removing all map.
Reimplemented from QMappingProxyModel.
Sets the given function to be used as the > operator when sorting;
Sets the given function to be used as the < operator when sorting;
Copyright © 2005 Trolltech | Trademarks | Qt 4.1.0-rc1 |