9 #include "FilterGroup.h"
13 template<
class T >
class QList;
21 class ControlCubeGraphNode;
55 template<
typename T >
56 bool evaluate(
const T *t,
bool (
AbstractFilter::*meth)()
const)
const {
64 for (
int i = 0; looking && i < m_filterGroups->size(); i++) {
65 if (m_filterGroups->at(i)->hasFilter(meth))
66 looking = !(m_filterGroups->at(i)->evaluate(t, meth) ^
74 return !(looking ^ m_andGroupsTogether) || !hasFilter(meth);
88 void scrollToBottom();
97 void updateDescription(QLabel *label,
108 void changeGroupCombinationLogic(
int);
109 void updateDescription();
114 QPushButton *m_addGroupButton;
115 QButtonGroup *m_buttonGroup;
116 QLabel *m_imageDescription;
117 QLabel *m_imageDummy;
118 QLabel *m_pointDescription;
119 QLabel *m_pointDummy;
120 QLabel *m_measureDescription;
121 QLabel *m_measureDummy;
122 QVBoxLayout *m_mainLayout;
125 bool m_andGroupsTogether;
128 QString *m_filterType;