20template<
class T >
class QList;
21template<
typename U,
typename V >
struct QPair;
66 template<
typename T >
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);
88 bool evaluate(
const QPair<QString, ControlNet *> *)
const;
89 bool evaluate(
const ControlPoint *point)
const;
90 bool evaluate(
const ControlMeasure *measure)
const;
92 bool hasFilter(
bool (AbstractFilter:: *)() const) const;
94 FilterWidget &operator=(FilterWidget other);
105 QList< FilterGroup * > groupsWithCondition(
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;
138 QList< FilterGroup * > * m_filterGroups;
139 QString *m_filterType;
Base class for control net filters.
Definition AbstractFilter.h:46
This class provides an interface for a group of filters.
Definition FilterGroup.h:40
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
This is free and unencumbered software released into the public domain.
Definition CubeIoHandler.h:23