Added menu items that correspond to the toggle buttons in the display
This commit is contained in:
parent
a2d5c8fbcf
commit
7d0158782c
@ -357,7 +357,7 @@
|
||||
<string>Don't start decoding until the monitor button is clicked.</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Mon&itor (RX) off at startup</string>
|
||||
<string>Receiver (RX) off at startup</string>
|
||||
</property>
|
||||
<property name="checked">
|
||||
<bool>false</bool>
|
||||
@ -367,7 +367,7 @@
|
||||
<item>
|
||||
<widget class="QCheckBox" name="transmit_off_check_box">
|
||||
<property name="text">
|
||||
<string>Transmit (TX) off at startup</string>
|
||||
<string>Transmitter (TX) off at startup</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
|
@ -2878,13 +2878,26 @@ void MainWindow::on_menuControl_aboutToShow(){
|
||||
#if __APPLE__
|
||||
rebuildMacQAction(ui->menuControl, ui->actionCQ);
|
||||
#endif
|
||||
|
||||
ui->actionEnable_Monitor_RX->setChecked(ui->monitorButton->isChecked());
|
||||
ui->actionEnable_Transmitter_TX->setChecked(ui->monitorTxButton->isChecked());
|
||||
ui->actionEnable_Reporting_SPOT->setChecked(ui->spotButton->isChecked());
|
||||
}
|
||||
|
||||
void MainWindow::on_actionCheck_for_Updates_triggered(){
|
||||
checkVersion(true);
|
||||
}
|
||||
|
||||
void MainWindow::on_actionEnable_Spotting_toggled(bool checked){
|
||||
void MainWindow::on_actionEnable_Monitor_RX_toggled(bool checked){
|
||||
ui->monitorButton->setChecked(checked);
|
||||
}
|
||||
|
||||
void MainWindow::on_actionEnable_Transmitter_TX_toggled(bool checked){
|
||||
ui->monitorTxButton->setChecked(checked);
|
||||
}
|
||||
|
||||
|
||||
void MainWindow::on_actionEnable_Reporting_SPOT_toggled(bool checked){
|
||||
ui->spotButton->setChecked(checked);
|
||||
}
|
||||
|
||||
|
@ -191,7 +191,9 @@ private slots:
|
||||
void on_menuModeJS8_aboutToShow();
|
||||
void on_menuControl_aboutToShow();
|
||||
void on_actionCheck_for_Updates_triggered();
|
||||
void on_actionEnable_Spotting_toggled(bool checked);
|
||||
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_menuWindow_aboutToShow();
|
||||
void on_actionFocus_Message_Receive_Area_triggered();
|
||||
void on_actionFocus_Message_Reply_Area_triggered();
|
||||
|
@ -4715,6 +4715,10 @@ list. The list can be maintained in Settings (F2).</string>
|
||||
<addaction name="actionFocus_Band_Activity_Table"/>
|
||||
<addaction name="actionFocus_Call_Activity_Table"/>
|
||||
</widget>
|
||||
<addaction name="actionEnable_Monitor_RX"/>
|
||||
<addaction name="actionEnable_Transmitter_TX"/>
|
||||
<addaction name="actionEnable_Reporting_SPOT"/>
|
||||
<addaction name="separator"/>
|
||||
<addaction name="actionSetFrequency"/>
|
||||
<addaction name="actionSetOffset"/>
|
||||
<addaction name="menuFocus"/>
|
||||
@ -5725,6 +5729,30 @@ list. The list can be maintained in Settings (F2).</string>
|
||||
<string>JS8 (&Slow, 30s, 25Hz, ~8 WPM)</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionEnable_Monitor_RX">
|
||||
<property name="checkable">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Enable Receiver (&RX)</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionEnable_Transmitter_TX">
|
||||
<property name="checkable">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Enable Transmitter (&TX)</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionEnable_Reporting_SPOT">
|
||||
<property name="checkable">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Enable Reporting (&SPOT)</string>
|
||||
</property>
|
||||
</action>
|
||||
</widget>
|
||||
<layoutdefault spacing="6" margin="11"/>
|
||||
<customwidgets>
|
||||
|
Loading…
Reference in New Issue
Block a user