9 #include "AbstractFilterSelector.h" 12 template<
class T >
class QList;
18 class AbstractFilterSelector;
41 template<
typename T >
42 bool evaluate(
const T *t,
bool (
AbstractFilter::*meth)()
const)
const {
50 for (
int i = 0; looking && i < m_selectors->size(); i++)
51 if (m_selectors->at(i)->hasFilter(meth))
52 looking = !(m_selectors->at(i)->evaluate(t) ^ m_andFiltersTogether);
57 return !(looking ^ m_andFiltersTogether) || !hasFilter(meth);
66 bool filtersAreAndedTogether()
const;
78 bool hasSelectorWithCondition(
89 void sendSizeChanged();
90 void changeFilterCombinationLogic(
int);
94 QButtonGroup *m_buttonGroup;
95 QPushButton *m_closeButton;
96 QPushButton *m_newSelectorButton;
97 QVBoxLayout *m_groupBoxLayout;
103 bool m_andFiltersTogether;
104 QString *m_filterType;
Base class for filter selectors.
This class provides an interface for a group of filters.
Namespace for ISIS/Bullet specific routines.
Base class for control net filters.