Stellarium  0.17.0
Public Member Functions | Protected Member Functions
ShortcutsFilterModel Class Reference

Custom filter class for filtering tree sub-items. More...

#include <ShortcutsDialog.hpp>

Public Member Functions

 ShortcutsFilterModel (QObject *parent=Q_NULLPTR)
 

Protected Member Functions

bool filterAcceptsRow (int source_row, const QModelIndex &source_parent) const
 

Detailed Description

(The standard QSortFilterProxyModel shows child items only if the parent item matches the filter.)