19 #ifndef SATELLITESLISTFILTERMODEL_HPP 20 #define SATELLITESLISTFILTERMODEL_HPP 22 #include <QSortFilterProxyModel> 24 #include "Satellite.hpp" 52 void setFilterFlag(
const SatFlag& flag);
54 QString getFilterGroup()
const {
return filterGroup; }
55 void setFilterGroup(
const QString& groupId);
57 void setSecondaryFilters(
const QString& groupId,
67 const QModelIndex& source_parent)
const;
74 #endif // SATELLITESLISTFILTERMODEL_HPP SatFlag filterFlag
Only satellites with this flag raised will be returned.
SatFlag
Flag type reflecting internal flags of Satellite.
QString filterGroup
Only satellites belonging to this group will be returned.
Custom proxy model allowing filtering by satellite group and flag.
bool filterAcceptsRow(int source_row, const QModelIndex &source_parent) const
Reimplementation of the filtering method.