11 #ifndef EXPERT_INFO_PROXY_MODEL_H 12 #define EXPERT_INFO_PROXY_MODEL_H 16 #include <QSortFilterProxyModel> 27 enum SeverityMode { Group, Packet };
28 enum ExpertProxyColumn {
37 QVariant data(
const QModelIndex &index,
int role)
const;
38 QVariant headerData(
int section, Qt::Orientation orientation,
39 int role = Qt::DisplayRole)
const;
40 int columnCount(
const QModelIndex &parent = QModelIndex())
const;
42 virtual bool filterAcceptsRow(
int sourceRow,
const QModelIndex &sourceParent)
const;
45 void setSeverityMode(
enum SeverityMode);
46 void setSeverityFilter(
int severity,
bool hide);
47 void setSummaryFilter(
const QString &filter);
50 bool lessThan(
const QModelIndex &source_left,
const QModelIndex &source_right)
const;
53 enum SeverityMode severityMode_;
54 QList<int> hidden_severities_;
60 #endif // EXPERT_INFO_PROXY_MODEL_H Definition: expert_info_model.h:25
Definition: expert_info_proxy_model.h:20