Prepared for only A-Z/0-9 callsign entry

This commit is contained in:
Klaus Basan
2019-05-01 23:54:39 +02:00
parent 0bbe9988e7
commit 02896d06d2
3 changed files with 16 additions and 3 deletions

View File

@@ -38,6 +38,9 @@ namespace BlackGui
//! Allowed characters
void setAllowedCharacters(const QString &chars) { m_allowedCharacters = chars.toUpper(); }
//! Set the allowed characters as 0-9 and A-Z
void setAllowedCharacters09AZ();
//! \copydoc QValidator::validate
virtual State validate(QString &input, int &pos) const override;