QAdvanced Item View
0.4
The QAIV (Qt Advanced Item Views) library provides GUI and utility classes extending the capabilities of the Qt item views.
|
The QFilterModelProxy provides for filtering or highlighting data passed between a model and a view. More...
#include <qfiltermodelproxy.h>
Public Member Functions | |
QFilterModelProxy (QObject *parent=0) | |
~QFilterModelProxy () | |
QVariant | data (const QModelIndex &index, int role) const |
Public Member Functions inherited from QAbstractFilterProxyModel | |
QAbstractFilterProxyModel (QObject *parent=0) | |
~QAbstractFilterProxyModel () | |
QAbstractFilterModel * | filterModel () const |
QVariant | headerData (int section, Qt::Orientation orientation, int role=Qt::DisplayRole) const |
void | setFilterModel (QAbstractFilterModel *model) |
virtual void | setSourceModel (QAbstractItemModel *sourceModel) |
Protected Member Functions | |
bool | filterAcceptsRow (int source_row, const QModelIndex &source_parent) const |
Protected Member Functions inherited from QAbstractFilterProxyModel | |
void | emitResultCountChanged () |
Additional Inherited Members | |
Signals inherited from QAbstractFilterProxyModel | |
void | resultAboutToChange () |
void | resultChanged () |
void | resultCountChanged (int filteredRows, int unfilteredRows) |
The QFilterModelProxy provides for filtering or highlighting data passed between a model and a view.
QFilterModelProxy::QFilterModelProxy | ( | QObject * | parent = 0 | ) |
Constructs a filter model with the given parent
.
QFilterModelProxy::~QFilterModelProxy | ( | ) |
Destroys the filter model.
|
protectedvirtual |
Implements QAbstractFilterProxyModel.