16 #include "FilterGroup.h"
20 template<
class T >
class QList;
21 template<
typename U,
typename V >
struct QPair;
66 template<
typename T >
67 bool evaluate(
const T *t,
bool (
AbstractFilter::*meth)()
const)
const {
75 for (
int i = 0; looking && i < m_filterGroups->size(); i++) {
76 if (m_filterGroups->at(i)->hasFilter(meth))
77 looking = !(m_filterGroups->at(i)->evaluate(t, meth) ^
85 return !(looking ^ m_andGroupsTogether) || !hasFilter(meth);
99 void scrollToBottom();
108 void updateDescription(QLabel *label,
119 void changeGroupCombinationLogic(
int);
120 void updateDescription();
125 QPushButton *m_addGroupButton;
126 QButtonGroup *m_buttonGroup;
127 QLabel *m_imageDescription;
128 QLabel *m_imageDummy;
129 QLabel *m_pointDescription;
130 QLabel *m_pointDummy;
131 QLabel *m_measureDescription;
132 QLabel *m_measureDummy;
133 QVBoxLayout *m_mainLayout;
136 bool m_andGroupsTogether;
139 QString *m_filterType;