19 #ifndef SATELLITESLISTFILTERMODEL_HPP
20 #define SATELLITESLISTFILTERMODEL_HPP
22 #include <QSortFilterProxyModel>
24 #include "Satellite.hpp"
41 Q_PROPERTY(QString filterGroup
51 SatFlag getFilterFlag()
const {
return filterFlag; }
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
Flag type reflecting internal flags of Satellite.
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.