Stellarium 0.15.2
|
Custom proxy model allowing filtering by satellite group and flag. More...
#include <SatellitesListFilterModel.hpp>
Public Member Functions | |
SatellitesListFilterModel (QObject *parent=0) | |
SatFlag | getFilterFlag () const |
void | setFilterFlag (const SatFlag &flag) |
QString | getFilterGroup () const |
void | setFilterGroup (const QString &groupId) |
void | setSecondaryFilters (const QString &groupId, const SatFlag &flag) |
Protected Member Functions | |
bool | filterAcceptsRow (int source_row, const QModelIndex &source_parent) const |
Reimplementation of the filtering method. More... | |
Properties | |
SatFlag | filterFlag |
Only satellites with this flag raised will be returned. More... | |
QString | filterGroup |
Only satellites belonging to this group will be returned. More... | |
Custom proxy model allowing filtering by satellite group and flag.
Definition at line 28 of file SatellitesListFilterModel.hpp.
|
protected |
Reimplementation of the filtering method.
|
readwrite |
Only satellites with this flag raised will be returned.
Use Satellite::NoFlags for no filtering. Setting the flag with setFilterFlag() or setSecondaryFilters() will cause the model to be re-filtered.
Definition at line 38 of file SatellitesListFilterModel.hpp.
|
readwrite |
Only satellites belonging to this group will be returned.
Use an empty group ID for no filtering. Setting the group with setFilterGroup() or setSecondaryFilters() will cause the model to be re-filtered.
Definition at line 46 of file SatellitesListFilterModel.hpp.