9 #include "AbstractFilterSelector.h"
12 template<
class T >
class QList;
21 class AbstractFilterSelector;
42 template<
typename T >
43 bool evaluate(
const T *t,
bool (
AbstractFilter::*meth)()
const)
const {
51 for (
int i = 0; looking && i < m_selectors->size(); i++)
52 if (m_selectors->at(i)->hasFilter(meth))
53 looking = !(m_selectors->at(i)->evaluate(t) ^ m_andFiltersTogether);
58 return !(looking ^ m_andFiltersTogether) || !hasFilter(meth);
67 bool filtersAreAndedTogether()
const;
79 bool hasSelectorWithCondition(
90 void sendSizeChanged();
91 void changeFilterCombinationLogic(
int);
95 QButtonGroup *m_buttonGroup;
96 QPushButton *m_closeButton;
97 QPushButton *m_newSelectorButton;
98 QVBoxLayout *m_groupBoxLayout;
104 bool m_andFiltersTogether;
105 QString *m_filterType;
Base class for control net filters.
This class provides an interface for a group of filters.
Base class for filter selectors.