mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-25 05:38:46 -05:00
Add grid validation to the log QSO dialog
This also has the desirable attribute of enforcing the canonical case for grid characters i.e. AA99bb. git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@8625 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
parent
078b76ceaa
commit
c59c650fed
@ -11,6 +11,7 @@
|
||||
#include "MessageBox.hpp"
|
||||
#include "Configuration.hpp"
|
||||
#include "Bands.hpp"
|
||||
#include "MaidenheadLocatorValidator.hpp"
|
||||
|
||||
#include "ui_logqso.h"
|
||||
#include "moc_logqso.cpp"
|
||||
@ -25,6 +26,7 @@ LogQSO::LogQSO(QString const& programTitle, QSettings * settings
|
||||
ui->setupUi(this);
|
||||
setWindowTitle(programTitle + " - Log QSO");
|
||||
loadSettings ();
|
||||
ui->grid->setValidator (new MaidenheadLocatorValidator {this});
|
||||
}
|
||||
|
||||
LogQSO::~LogQSO ()
|
||||
|
Loading…
Reference in New Issue
Block a user