Added new validator, userform validation

This commit is contained in:
Zdenek Jonak
2016-01-20 21:18:47 +01:00
parent 5dbebcc947
commit 6f78308d7d
9 changed files with 110 additions and 18 deletions
+15
View File
@@ -0,0 +1,15 @@
#ifndef SAMESTRINGVALIDATOR_H
#define SAMESTRINGVALIDATOR_H
#include "ivalidator.h"
#include "core_global.h"
class CORESHARED_EXPORT SameStringValidator : public IValidator
{
public:
SameStringValidator(QWidget * widget_1, QWidget *widget_2, const QString &errorMessage);
bool validate();
private:
QWidget * m_widget_2;
};
#endif // SAMESTRINGVALIDATOR_H