12 template<
class T >
class QList;
18 class AbstractFilterSelector;
41 template<
typename T >
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);
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;
bool evaluate(const T *t, bool(AbstractFilter::*meth)() const) const
Definition: FilterGroup.h:42
void close(FilterGroup *)
FilterGroup & operator=(FilterGroup other)
Definition: FilterGroup.cpp:239
FilterGroup(QString type)
Definition: FilterGroup.cpp:29
void sizeChanged(FilterGroup *)
bool hasFilter(bool(AbstractFilter::*)() const =NULL) const
Definition: FilterGroup.cpp:90
Base class for filter selectors.
Definition: AbstractFilterSelector.h:38
bool filtersAreAndedTogether() const
Definition: FilterGroup.cpp:234
QString getDescription(bool(AbstractFilter::*)() const, QString(AbstractFilter::*)() const) const
Definition: FilterGroup.cpp:301
This class provides an interface for a group of filters.
Definition: FilterGroup.h:33
Definition: BoxcarCachingAlgorithm.h:29
Namespace for ISIS/Bullet specific routines.
Definition: Apollo.h:31
Base class for control net filters.
Definition: AbstractFilter.h:38
virtual ~FilterGroup()
Definition: FilterGroup.cpp:72