Public Member Functions | Protected Member Functions | List of all members
QFilterTreeProxyModel Class Reference

#include <QFilterTreeProxyModel.h>

Inherits QSortFilterProxyModel.

Public Member Functions

 QFilterTreeProxyModel (QObject *p=nullptr)
 ~QFilterTreeProxyModel () override
void setFilterTreeLevel (int level)

Protected Member Functions

bool filterAcceptsRow (int sourceRow, const QModelIndex &sourceParent) const override
bool lessThan (const QModelIndex &left, const QModelIndex &right) const override

Detailed Description

Definition at line 41 of file QFilterTreeProxyModel.h.

Constructor & Destructor Documentation

◆ QFilterTreeProxyModel()

QFilterTreeProxyModel::QFilterTreeProxyModel ( QObject *  p = nullptr)

◆ ~QFilterTreeProxyModel()

QFilterTreeProxyModel::~QFilterTreeProxyModel ( )

Member Function Documentation

◆ setFilterTreeLevel()

void QFilterTreeProxyModel::setFilterTreeLevel ( int  level)

◆ filterAcceptsRow()

bool QFilterTreeProxyModel::filterAcceptsRow ( int  sourceRow,
const QModelIndex &  sourceParent 
) const

◆ lessThan()

bool QFilterTreeProxyModel::lessThan ( const QModelIndex &  left,
const QModelIndex &  right 
) const

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