Added TUNE button to Control Menu

This commit is contained in:
Jordan Sherer 2020-04-26 16:50:13 -04:00
parent fe751c8e56
commit 6f5f42ffbc
3 changed files with 16 additions and 0 deletions

View File

@ -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);

View File

@ -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();

View File

@ -4718,6 +4718,7 @@ list. The list can be maintained in Settings (F2).</string>
<addaction name="actionEnable_Monitor_RX"/>
<addaction name="actionEnable_Transmitter_TX"/>
<addaction name="actionEnable_Reporting_SPOT"/>
<addaction name="actionEnable_Tuning_Tone_TUNE"/>
<addaction name="separator"/>
<addaction name="actionSetFrequency"/>
<addaction name="actionSetOffset"/>
@ -5753,6 +5754,14 @@ list. The list can be maintained in Settings (F2).</string>
<string>Enable Reporting (&amp;SPOT)</string>
</property>
</action>
<action name="actionEnable_Tuning_Tone_TUNE">
<property name="checkable">
<bool>true</bool>
</property>
<property name="text">
<string>Enable Tuning Tone (T&amp;UNE)</string>
</property>
</action>
</widget>
<layoutdefault spacing="6" margin="11"/>
<customwidgets>