Switch to Hamradio style frequency display

This commit is contained in:
Alexandru Csete 2017-05-11 23:39:47 +02:00
parent 7a39d989c8
commit 09f89e4c38
2 changed files with 3 additions and 2 deletions

View File

@ -16,6 +16,7 @@
IMPROVED: Voiceover interface.
IMPROVED: Input decimator performance.
IMPROVED: Increased frequency limit to 999 GHz (500 GHz LO).
IMPROVED: Hamradio style frequency display.
IMPROVED: More short waterfall time spans.

View File

@ -83,7 +83,7 @@ MainWindow::MainWindow(const QString cfgfile, bool edit_conf, QWidget *parent) :
setWindowTitle(QString("Gqrx %1").arg(VERSION));
/* frequency control widget */
ui->freqCtrl->setup(0, 0, 9999e6, 1, FCTL_UNIT_MHZ);
ui->freqCtrl->setup(0, 0, 9999e6, 1, FCTL_UNIT_NONE);
ui->freqCtrl->setFrequency(144500000);
d_filter_shape = receiver::FILTER_SHAPE_NORMAL;
@ -745,7 +745,7 @@ void MainWindow::updateFrequencyRange()
qint64 start = (qint64)(rx->get_filter_offset()) + d_hw_freq_start + d_lnb_lo;
qint64 stop = (qint64)(rx->get_filter_offset()) + d_hw_freq_stop + d_lnb_lo;
ui->freqCtrl->setup(0, start, stop, 1, FCTL_UNIT_MHZ);
ui->freqCtrl->setup(0, start, stop, 1, FCTL_UNIT_NONE);
uiDockRxOpt->setRxFreqRange(start, stop);
}