Herunterladen als
root/src/validators/comparevalidator.h @ 9e2d71d6
ec6a9500 | Christian Ehringfeld | #ifndef COMPAREVALIDATOR_H
|
|
#define COMPAREVALIDATOR_H
|
|||
#include "validator.h"
|
|||
namespace CuteEntityManager {
|
|||
class CompareValidator : public Validator {
|
|||
Q_OBJECT
|
|||
public:
|
|||
CompareValidator();
|
|||
8a706d3e | Christian Ehringfeld | QString getDefaultOperator() const;
|
|
void setDefaultOperator(const QString &value);
|
|||
protected:
|
|||
28d2f01a | Christian Ehringfeld | ErrorMsg validateParam(QVariant value, Param param) const final override;
|
|
8a706d3e | Christian Ehringfeld | QString defaultOperator = QStringLiteral("==");
|
|
ec6a9500 | Christian Ehringfeld | };
|
|
}
|
|||
#endif // COMPAREVALIDATOR_H
|