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.
 All Classes Functions Variables Enumerations Enumerator Properties Groups Pages
Public Member Functions | Protected Member Functions | List of all members
QFilterModelProxy Class Reference

The QFilterModelProxy provides for filtering or highlighting data passed between a model and a view. More...

#include <qfiltermodelproxy.h>

Inheritance diagram for QFilterModelProxy:
QAbstractFilterProxyModel

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 ()
 
QAbstractFilterModelfilterModel () 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)
 

Detailed Description

The QFilterModelProxy provides for filtering or highlighting data passed between a model and a view.

Constructor & Destructor Documentation

QFilterModelProxy::QFilterModelProxy ( QObject *  parent = 0)

Constructs a filter model with the given parent.

QFilterModelProxy::~QFilterModelProxy ( )

Destroys the filter model.

Member Function Documentation

bool QFilterModelProxy::filterAcceptsRow ( int  source_row,
const QModelIndex &  source_parent 
) const
protectedvirtual

The documentation for this class was generated from the following files: