diff --git a/frequencyinputwidget.cpp b/frequencyinputwidget.cpp index 3ab7df5..40ba22f 100644 --- a/frequencyinputwidget.cpp +++ b/frequencyinputwidget.cpp @@ -7,6 +7,7 @@ frequencyinputwidget::frequencyinputwidget(QWidget *parent) : { ui->setupUi(this); this->setWindowTitle("Frequency Input"); + ui->freqMhzLineEdit->setValidator( new QDoubleValidator(0, 100, 6, this)); } frequencyinputwidget::~frequencyinputwidget() diff --git a/frequencyinputwidget.h b/frequencyinputwidget.h index 1154ef2..336ed0e 100644 --- a/frequencyinputwidget.h +++ b/frequencyinputwidget.h @@ -2,6 +2,7 @@ #define FREQUENCYINPUTWIDGET_H #include +#include #include "sidebandchooser.h" #include "wfviewtypes.h" diff --git a/wfmain.cpp b/wfmain.cpp index 086dc31..32ab8d8 100644 --- a/wfmain.cpp +++ b/wfmain.cpp @@ -1118,7 +1118,6 @@ void wfmain::setupMainUI() ui->scopeRefLevelSlider->setTickInterval(50); ui->scopeRefLevelSlider->setSingleStep(20); - ui->freqMhzLineEdit->setValidator( new QDoubleValidator(0, 100, 6, this)); ui->controlPortTxt->setValidator(new QIntValidator(this)); qDebug(logSystem()) << "Running with debugging options enabled."; @@ -3161,7 +3160,7 @@ void wfmain::shortcutF3() void wfmain::shortcutF4() { - ui->tabWidget->setCurrentIndex(3); + ui->tabWidget->setCurrentIndex(1); } // Mode switch keys: diff --git a/wfmain.ui b/wfmain.ui index cd1ca30..cc57861 100644 --- a/wfmain.ui +++ b/wfmain.ui @@ -1234,419 +1234,6 @@ - - - Frequency - - - - - - - - Frequency: - - - - - - - - DejaVu Sans Mono - 14 - 75 - true - - - - - - - - Go - - - Return - - - true - - - - - - - - - Entry - - - - - - - 0 - 0 - - - - - 30 - 30 - - - - 5 - - - 5 - - - - - - - - 0 - 0 - - - - - 0 - 30 - - - - <html><head/><body><p>To recall a preset memory:</p><p>1. Type in the preset number (0 through 99)</p><p>2. Press RCL (or use hotkey &quot;R&quot;)</p></body></html> - - - &RCL - - - R - - - - - - - - 0 - 0 - - - - - 30 - 30 - - - - 6 - - - 6 - - - - - - - - 0 - 0 - - - - - 30 - 30 - - - - 3 - - - 3 - - - false - - - - - - - - 0 - 0 - - - - - 30 - 30 - - - - &CE - - - C - - - - - - - - 0 - 0 - - - - - 30 - 30 - - - - 4 - - - 4 - - - - - - - - 0 - 0 - - - - - 0 - 30 - - - - <html><head/><body><p>To store a preset:</p><p>1. Set the desired frequency and mode per normal methods</p><p>2. Type the index to to store to (0 through 99)</p><p>3. Press STO (or use hotkey &quot;S&quot;)</p></body></html> - - - &STO - - - S - - - - - - - - 0 - 0 - - - - - 30 - 30 - - - - 9 - - - 9 - - - - - - - - 0 - 0 - - - - - 0 - 30 - - - - Back - - - Backspace - - - - - - - - 0 - 0 - - - - - 0 - 30 - - - - Enter - - - Enter - - - - - - - - 0 - 0 - - - - - 30 - 30 - - - - 0 - - - 0 - - - - - - - - 0 - 0 - - - - - 30 - 30 - - - - . - - - . - - - - - - - - 0 - 0 - - - - - 30 - 30 - - - - 1 - - - 1 - - - - - - - - 0 - 0 - - - - - 30 - 30 - - - - 2 - - - 2 - - - - - - - - 0 - 0 - - - - - 30 - 30 - - - - 7 - - - 7 - - - - - - - - 0 - 0 - - - - - 30 - 30 - - - - 8 - - - 8 - - - - - - - - Settings