Initial commit

This commit is contained in:
user
2026-07-12 14:22:00 +04:00
commit 49ecd4784c
90 changed files with 6910 additions and 0 deletions
@@ -0,0 +1,21 @@
#ifndef LATIN_VALIDATOR_H
#define LATIN_VALIDATOR_H
#include <QValidator>
class LatinValidator : public QValidator {
public:
LatinValidator(QObject *parent) : QValidator(parent)
{
}
virtual State validate(QString& str, int&) const override {
QRegExp rxp = QRegExp("[!-~]*");
if (str.contains(rxp)) {
return Acceptable;
}
return Invalid;
}
};
#endif // LATIN_VALIDATOR_H