19template<
class T >
class QList;
25 class AbstractFilterSelector;
48 template<
typename T >
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;
109 QList< AbstractFilterSelector * > * m_selectors;
110 bool m_andFiltersTogether;
111 QString *m_filterType;
Base class for control net filters.
Definition AbstractFilter.h:46
Base class for filter selectors.
Definition AbstractFilterSelector.h:46
This class provides an interface for a group of filters.
Definition FilterGroup.h:40
bool hasFilter(bool(AbstractFilter::*)() const =NULL) const
Definition FilterGroup.cpp:96
virtual ~FilterGroup()
Definition FilterGroup.cpp:78
bool evaluate(const T *t, bool(AbstractFilter::*meth)() const) const
Definition FilterGroup.h:49
void sizeChanged(FilterGroup *)
FilterGroup(QString type)
Definition FilterGroup.cpp:35
void close(FilterGroup *)
This is free and unencumbered software released into the public domain.
Definition BoxcarCachingAlgorithm.h:13
This is free and unencumbered software released into the public domain.
Definition Apollo.h:16