Fixed #182: added shortcuts to focus different areas of the app
This commit is contained in:
parent
52416fbf9a
commit
f5afb50041
@ -2749,6 +2749,18 @@ void MainWindow::on_menuWindow_aboutToShow(){
|
||||
ui->actionShow_Band_Heartbeats_and_ACKs->setEnabled(ui->actionShow_Band_Activity->isChecked());
|
||||
}
|
||||
|
||||
void MainWindow::on_actionFocus_Message_Reply_Area_triggered(){
|
||||
ui->extFreeTextMsgEdit->setFocus();
|
||||
}
|
||||
|
||||
void MainWindow::on_actionFocus_Band_Activity_Table_triggered(){
|
||||
ui->tableWidgetRXAll->setFocus();
|
||||
}
|
||||
|
||||
void MainWindow::on_actionFocus_Call_Activity_Table_triggered(){
|
||||
ui->tableWidgetCalls->setFocus();
|
||||
}
|
||||
|
||||
void MainWindow::on_actionSetOffset_triggered(){
|
||||
bool ok = false;
|
||||
auto currentFreq = currentFreqOffset();
|
||||
|
@ -181,6 +181,9 @@ private slots:
|
||||
void on_actionEnable_Spotting_toggled(bool checked);
|
||||
void on_actionEnable_Auto_Reply_toggled(bool checked);
|
||||
void on_menuWindow_aboutToShow();
|
||||
void on_actionFocus_Message_Reply_Area_triggered();
|
||||
void on_actionFocus_Band_Activity_Table_triggered();
|
||||
void on_actionFocus_Call_Activity_Table_triggered();
|
||||
void on_actionSetOffset_triggered();
|
||||
void on_actionShow_Fullscreen_triggered(bool checked);
|
||||
void on_actionShow_Statusbar_triggered(bool checked);
|
||||
|
@ -1982,15 +1982,15 @@ background: qlineargradient(x1:0, y1:0, x2:1, y2:1, stop:0 #2ecc71, stop:1 #00FF
|
||||
</property>
|
||||
<item>
|
||||
<widget class="QLabel" name="driftAvgLabel">
|
||||
<property name="visible">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Minimum" vsizetype="Preferred">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="visible">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Avg Time Delta: 0 ms</string>
|
||||
</property>
|
||||
@ -4616,7 +4616,7 @@ list. The list can be maintained in Settings (F2).</string>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>994</width>
|
||||
<height>25</height>
|
||||
<height>22</height>
|
||||
</rect>
|
||||
</property>
|
||||
<widget class="QMenu" name="menuFile">
|
||||
@ -4778,8 +4778,17 @@ list. The list can be maintained in Settings (F2).</string>
|
||||
<property name="title">
|
||||
<string>C&ontrol</string>
|
||||
</property>
|
||||
<widget class="QMenu" name="menuFocus">
|
||||
<property name="title">
|
||||
<string>Set Focus...</string>
|
||||
</property>
|
||||
<addaction name="actionFocus_Message_Reply_Area"/>
|
||||
<addaction name="actionFocus_Band_Activity_Table"/>
|
||||
<addaction name="actionFocus_Call_Activity_Table"/>
|
||||
</widget>
|
||||
<addaction name="actionSetFrequency"/>
|
||||
<addaction name="actionSetOffset"/>
|
||||
<addaction name="menuFocus"/>
|
||||
<addaction name="separator"/>
|
||||
<addaction name="actionEnable_Spotting"/>
|
||||
<addaction name="actionEnable_Auto_Reply"/>
|
||||
@ -5686,6 +5695,30 @@ list. The list can be maintained in Settings (F2).</string>
|
||||
<string>Check for Updates</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionFocus_Message_Reply_Area">
|
||||
<property name="text">
|
||||
<string>Message Reply Area</string>
|
||||
</property>
|
||||
<property name="shortcut">
|
||||
<string>Ctrl+Alt+M</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionFocus_Band_Activity_Table">
|
||||
<property name="text">
|
||||
<string>Band Activity Table</string>
|
||||
</property>
|
||||
<property name="shortcut">
|
||||
<string>Ctrl+Alt+B</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionFocus_Call_Activity_Table">
|
||||
<property name="text">
|
||||
<string>Call Activity Table</string>
|
||||
</property>
|
||||
<property name="shortcut">
|
||||
<string>Ctrl+Alt+A</string>
|
||||
</property>
|
||||
</action>
|
||||
</widget>
|
||||
<layoutdefault spacing="6" margin="11"/>
|
||||
<customwidgets>
|
||||
|
Loading…
Reference in New Issue
Block a user