Public Slots | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
pqFileDialogFilter Class Reference

#include <pqFileDialogFilter.h>

Inherits QSortFilterProxyModel.

Collaboration diagram for pqFileDialogFilter:
Collaboration graph
[legend]

Public Slots

void setFilter (const QString &filter)
 
void setShowHidden (const bool &hidden)
 
bool getShowHidden ()
 

Public Member Functions

 pqFileDialogFilter (pqFileDialogModel *sourceModel, QObject *Parent=nullptr)
 
 ~pqFileDialogFilter () override
 
QRegExp constgetWildcards () const
 

Protected Member Functions

bool filterAcceptsRow (int row_source, const QModelIndex &source_parent) const override
 
bool lessThan (const QModelIndex &left, const QModelIndex &right) const override
 

Protected Attributes

pqFileDialogModelModel
 
QRegExp Wildcards
 
bool showHidden
 

Detailed Description

Definition at line 13 of file pqFileDialogFilter.h.

Constructor & Destructor Documentation

◆ pqFileDialogFilter()

pqFileDialogFilter::pqFileDialogFilter ( pqFileDialogModel sourceModel,
QObject *  Parent = nullptr 
)

◆ ~pqFileDialogFilter()

pqFileDialogFilter::~pqFileDialogFilter ( )
override

Member Function Documentation

◆ setFilter

void pqFileDialogFilter::setFilter ( const QString &  filter)
slot

◆ setShowHidden

void pqFileDialogFilter::setShowHidden ( const bool &  hidden)
slot

◆ getShowHidden

bool pqFileDialogFilter::getShowHidden ( )
inlineslot

Definition at line 24 of file pqFileDialogFilter.h.

◆ getWildcards()

QRegExp const& pqFileDialogFilter::getWildcards ( ) const
inline

Definition at line 25 of file pqFileDialogFilter.h.

◆ filterAcceptsRow()

bool pqFileDialogFilter::filterAcceptsRow ( int  row_source,
const QModelIndex &  source_parent 
) const
overrideprotected

◆ lessThan()

bool pqFileDialogFilter::lessThan ( const QModelIndex &  left,
const QModelIndex &  right 
) const
overrideprotected

Member Data Documentation

◆ Model

pqFileDialogModel* pqFileDialogFilter::Model
protected

Definition at line 31 of file pqFileDialogFilter.h.

◆ Wildcards

QRegExp pqFileDialogFilter::Wildcards
protected

Definition at line 32 of file pqFileDialogFilter.h.

◆ showHidden

bool pqFileDialogFilter::showHidden
protected

Definition at line 33 of file pqFileDialogFilter.h.


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