Fixed #192: focus control for receive area

This commit is contained in:
Jordan Sherer 2019-09-19 12:08:33 -04:00
parent 8851cf5fa9
commit 335b6d13f6
3 changed files with 14 additions and 0 deletions

View File

@ -2858,6 +2858,10 @@ void MainWindow::on_menuWindow_aboutToShow(){
ui->actionShow_Band_Heartbeats_and_ACKs->setEnabled(ui->actionShow_Band_Activity->isChecked());
}
void MainWindow::on_actionFocus_Message_Receive_Area_triggered(){
ui->textEditRX->setFocus();
}
void MainWindow::on_actionFocus_Message_Reply_Area_triggered(){
ui->extFreeTextMsgEdit->setFocus();
}

View File

@ -182,6 +182,7 @@ private slots:
void on_actionCheck_for_Updates_triggered();
void on_actionEnable_Spotting_toggled(bool checked);
void on_menuWindow_aboutToShow();
void on_actionFocus_Message_Receive_Area_triggered();
void on_actionFocus_Message_Reply_Area_triggered();
void on_actionFocus_Band_Activity_Table_triggered();
void on_actionFocus_Call_Activity_Table_triggered();

View File

@ -4793,6 +4793,7 @@ list. The list can be maintained in Settings (F2).</string>
<property name="title">
<string>Set Focus...</string>
</property>
<addaction name="actionFocus_Message_Receive_Area"/>
<addaction name="actionFocus_Message_Reply_Area"/>
<addaction name="actionFocus_Band_Activity_Table"/>
<addaction name="actionFocus_Call_Activity_Table"/>
@ -5800,6 +5801,14 @@ list. The list can be maintained in Settings (F2).</string>
<string>Enable Heartbeat Acknowledgments (ACK)</string>
</property>
</action>
<action name="actionFocus_Message_Receive_Area">
<property name="text">
<string>Message Receive Area</string>
</property>
<property name="shortcut">
<string>Ctrl+Alt+R</string>
</property>
</action>
</widget>
<layoutdefault spacing="6" margin="11"/>
<customwidgets>