16 #include "AbstractFilterSelector.h"
19 template<
class T >
class QList;
25 class AbstractFilterSelector;
48 template<
typename T >
49 bool evaluate(
const T *t,
bool (
AbstractFilter::*meth)()
const)
const {
57 for (
int i = 0; looking && i < m_selectors->size(); i++)
58 if (m_selectors->at(i)->hasFilter(meth))
59 looking = !(m_selectors->at(i)->evaluate(t) ^ m_andFiltersTogether);
64 return !(looking ^ m_andFiltersTogether) || !hasFilter(meth);
73 bool filtersAreAndedTogether()
const;
85 bool hasSelectorWithCondition(
96 void sendSizeChanged();
97 void changeFilterCombinationLogic(
int);
101 QButtonGroup *m_buttonGroup;
102 QPushButton *m_closeButton;
103 QPushButton *m_newSelectorButton;
104 QVBoxLayout *m_groupBoxLayout;
110 bool m_andFiltersTogether;
111 QString *m_filterType;