Stellarium 0.13.0
List of all members | 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=0)
 

Protected Member Functions

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

Detailed Description

Custom filter class for filtering tree sub-items.

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