FilteredView Class Reference

Public Member Functions

 FilteredView (QWidget *parent, QWidget *filtered, FilterTarget *target, FilterEdit *edit=nullptr)
 
void setFilterPlaceholderText (const QString &text)
 
void updateFonts ()
 
void clearFilter ()
 
void showFilter (const QString &initialText)
 

Static Public Member Functions

static bool match (const std::string &name, const std::string &filter)
 

Protected Member Functions

virtual void keyPressEvent (QKeyEvent *event) override
 

Constructor & Destructor Documentation

◆ FilteredView()

FilteredView::FilteredView ( QWidget *  parent,
QWidget *  filtered,
FilterTarget target,
FilterEdit edit = nullptr 
)

Member Function Documentation

◆ clearFilter()

void FilteredView::clearFilter ( )

◆ keyPressEvent()

virtual void FilteredView::keyPressEvent ( QKeyEvent *  event)
overrideprotectedvirtual

◆ match()

static bool FilteredView::match ( const std::string &  name,
const std::string &  filter 
)
static

◆ setFilterPlaceholderText()

void FilteredView::setFilterPlaceholderText ( const QString &  text)

◆ showFilter()

void FilteredView::showFilter ( const QString &  initialText)

◆ updateFonts()

void FilteredView::updateFonts ( )

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