CrossReferenceFilterProxyModel Class Reference

Public Slots

void directionChanged (int index, bool checked)
 
void typeChanged (int index, bool checked)
 
void resetFilter ()
 

Public Member Functions

 CrossReferenceFilterProxyModel (QObject *parent, bool table)
 
QModelIndex nextValidIndex (const QModelIndex &current) const
 
QModelIndex getFirstLeaf (const QModelIndex &index) const
 
QModelIndex prevValidIndex (const QModelIndex &current) const
 
QModelIndex getLastLeaf (const QModelIndex &index) const
 

Protected Member Functions

virtual bool filterAcceptsRow (int sourceRow, const QModelIndex &sourceParent) const override
 
virtual bool lessThan (const QModelIndex &left, const QModelIndex &right) const override
 
virtual QVariant data (const QModelIndex &index, int role) const override
 
virtual bool hasChildren (const QModelIndex &parent) const override
 

Constructor & Destructor Documentation

◆ CrossReferenceFilterProxyModel()

CrossReferenceFilterProxyModel::CrossReferenceFilterProxyModel ( QObject *  parent,
bool  table 
)

Member Function Documentation

◆ data()

virtual QVariant CrossReferenceFilterProxyModel::data ( const QModelIndex &  index,
int  role 
) const
overrideprotectedvirtual

◆ directionChanged

void CrossReferenceFilterProxyModel::directionChanged ( int  index,
bool  checked 
)
slot

◆ filterAcceptsRow()

virtual bool CrossReferenceFilterProxyModel::filterAcceptsRow ( int  sourceRow,
const QModelIndex &  sourceParent 
) const
overrideprotectedvirtual

◆ getFirstLeaf()

QModelIndex CrossReferenceFilterProxyModel::getFirstLeaf ( const QModelIndex &  index) const

◆ getLastLeaf()

QModelIndex CrossReferenceFilterProxyModel::getLastLeaf ( const QModelIndex &  index) const

◆ hasChildren()

virtual bool CrossReferenceFilterProxyModel::hasChildren ( const QModelIndex &  parent) const
overrideprotectedvirtual

◆ lessThan()

virtual bool CrossReferenceFilterProxyModel::lessThan ( const QModelIndex &  left,
const QModelIndex &  right 
) const
overrideprotectedvirtual

◆ nextValidIndex()

QModelIndex CrossReferenceFilterProxyModel::nextValidIndex ( const QModelIndex &  current) const

◆ prevValidIndex()

QModelIndex CrossReferenceFilterProxyModel::prevValidIndex ( const QModelIndex &  current) const

◆ resetFilter

void CrossReferenceFilterProxyModel::resetFilter ( )
slot

◆ typeChanged

void CrossReferenceFilterProxyModel::typeChanged ( int  index,
bool  checked 
)
slot

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