Isis Developer Reference
AbstractStringFilter.h
Go to the documentation of this file.
1#ifndef AbstractStringFilter_H
2#define AbstractStringFilter_H
3
10/* SPDX-License-Identifier: CC0-1.0 */
11
12#include "AbstractFilter.h"
13
14class QLineEdit;
15class QString;
16
17
18namespace Isis {
19 class AbstractFilterSelector;
20 class ControlPoint;
21 class ControlMeasure;
22
37 Q_OBJECT
38
39 public:
40 AbstractStringFilter(AbstractFilter::FilterEffectivenessFlag,
41 int minimumForSuccess = -1);
43 virtual ~AbstractStringFilter();
44
45
46 protected:
48 bool evaluate(QString) const;
49 QString descriptionSuffix() const;
50
51
52 private slots:
53 void updateLineEditText(QString);
54
55
56 private:
57 void createWidget();
58 void nullify();
59
60
61 private:
62 QLineEdit *m_lineEdit;
63 QString *m_lineEditText;
64 };
65}
66
67#endif
Base class for control net filters.
Definition AbstractFilter.h:46
virtual bool evaluate(const QPair< QString, ControlNet * > *) const =0
Base class for filters that are string-based.
Definition AbstractStringFilter.h:36
virtual ~AbstractStringFilter()
Definition AbstractStringFilter.cpp:38
bool evaluate(QString) const
Definition AbstractStringFilter.cpp:74
AbstractStringFilter(AbstractFilter::FilterEffectivenessFlag, int minimumForSuccess=-1)
Definition AbstractStringFilter.cpp:21
QString descriptionSuffix() const
Definition AbstractStringFilter.cpp:91
This is free and unencumbered software released into the public domain.
Definition Apollo.h:16