Binary Ninja API C++: Filter
Classes | |
| class | FilterTarget |
| class | FilterEdit |
| class | FilteredView |
◆ FilterTarget
Public Member Functions | |
| virtual | ~FilterTarget () |
| virtual void | setFilter (const std::string &filter)=0 |
| virtual void | scrollToFirstItem ()=0 |
| virtual void | scrollToCurrentItem ()=0 |
| virtual void | ensureSelection ()=0 |
| virtual void | activateSelection ()=0 |
| virtual void | closeFilter () |
◆ ~FilterTarget()
|
inlinevirtual |
◆ setFilter()
|
pure virtual |
◆ scrollToFirstItem()
|
pure virtual |
◆ scrollToCurrentItem()
|
pure virtual |
◆ ensureSelection()
|
pure virtual |
◆ activateSelection()
|
pure virtual |
◆ closeFilter()
|
virtual |
◆ FilterEdit
Public Member Functions | |
| FilterEdit (FilterTarget *target) | |
Protected Member Functions | |
| virtual void | paintEvent (QPaintEvent *event) override |
| virtual void | keyPressEvent (QKeyEvent *event) override |
◆ FilterEdit()
| FilterEdit::FilterEdit | ( | FilterTarget * | target | ) |
◆ paintEvent()
|
overrideprotectedvirtual |
◆ keyPressEvent()
|
overrideprotectedvirtual |
◆ FilteredView
Public Member Functions | |
| FilteredView (QWidget *parent, QWidget *filtered, FilterTarget *target, FilterEdit *edit=nullptr) | |
| void | setFilterPlaceholderText (const QString &text) |
| void | setFilterToolTip (const QString &text) |
| void | updateFonts () |
| void | clearFilter () |
| void | showFilter (const QString &initialText) |
| void | focusAndSelectFilter () |
| bool | hasFilterText () const |
Static Public Member Functions | |
| static bool | match (const std::string &name, const std::string &filter) |
◆ FilteredView()
| FilteredView::FilteredView | ( | QWidget * | parent, |
| QWidget * | filtered, | ||
| FilterTarget * | target, | ||
| FilterEdit * | edit = nullptr ) |
◆ setFilterPlaceholderText()
| void FilteredView::setFilterPlaceholderText | ( | const QString & | text | ) |
◆ setFilterToolTip()
| void FilteredView::setFilterToolTip | ( | const QString & | text | ) |
◆ updateFonts()
| void FilteredView::updateFonts | ( | ) |
◆ clearFilter()
| void FilteredView::clearFilter | ( | ) |
◆ showFilter()
| void FilteredView::showFilter | ( | const QString & | initialText | ) |
◆ focusAndSelectFilter()
| void FilteredView::focusAndSelectFilter | ( | ) |
◆ hasFilterText()
| bool FilteredView::hasFilterText | ( | ) | const |
◆ match()
|
static |