From 6f5f42ffbc10cab12cc6a8960766016a070a2a3d Mon Sep 17 00:00:00 2001 From: Jordan Sherer Date: Sun, 26 Apr 2020 16:50:13 -0400 Subject: [PATCH] Added TUNE button to Control Menu --- mainwindow.cpp | 6 ++++++ mainwindow.h | 1 + mainwindow.ui | 9 +++++++++ 3 files changed, 16 insertions(+) diff --git a/mainwindow.cpp b/mainwindow.cpp index 6619da3..3e2680b 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -2891,6 +2891,7 @@ void MainWindow::on_menuControl_aboutToShow(){ ui->actionEnable_Monitor_RX->setChecked(ui->monitorButton->isChecked()); ui->actionEnable_Transmitter_TX->setChecked(ui->monitorTxButton->isChecked()); ui->actionEnable_Reporting_SPOT->setChecked(ui->spotButton->isChecked()); + ui->actionEnable_Tuning_Tone_TUNE->setChecked(ui->tuneButton->isChecked()); } void MainWindow::on_actionCheck_for_Updates_triggered(){ @@ -2910,6 +2911,11 @@ void MainWindow::on_actionEnable_Reporting_SPOT_toggled(bool checked){ ui->spotButton->setChecked(checked); } +void MainWindow::on_actionEnable_Tuning_Tone_TUNE_toggled(bool checked){ + ui->tuneButton->setChecked(checked); + on_tuneButton_clicked(checked); +} + void MainWindow::on_menuWindow_aboutToShow(){ ui->actionShow_Fullscreen->setChecked((windowState() & Qt::WindowFullScreen) == Qt::WindowFullScreen); diff --git a/mainwindow.h b/mainwindow.h index 7a53426..b47aa82 100644 --- a/mainwindow.h +++ b/mainwindow.h @@ -194,6 +194,7 @@ private slots: void on_actionEnable_Monitor_RX_toggled(bool checked); void on_actionEnable_Transmitter_TX_toggled(bool checked); void on_actionEnable_Reporting_SPOT_toggled(bool checked); + void on_actionEnable_Tuning_Tone_TUNE_toggled(bool checked); void on_menuWindow_aboutToShow(); void on_actionFocus_Message_Receive_Area_triggered(); void on_actionFocus_Message_Reply_Area_triggered(); diff --git a/mainwindow.ui b/mainwindow.ui index 02eb2de..b2daa8c 100644 --- a/mainwindow.ui +++ b/mainwindow.ui @@ -4718,6 +4718,7 @@ list. The list can be maintained in Settings (F2). + @@ -5753,6 +5754,14 @@ list. The list can be maintained in Settings (F2). Enable Reporting (&SPOT) + + + true + + + Enable Tuning Tone (T&UNE) + +