Skip to content

Commit

Permalink
Merge pull request #3612 from braza2004/master
Browse files Browse the repository at this point in the history
Control menu Shortcut Keys
  • Loading branch information
grossmj authored Jul 27, 2024
2 parents 133732b + 84017fa commit 38657f4
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
9 changes: 9 additions & 0 deletions gns3/ui/main_window.ui
Original file line number Diff line number Diff line change
Expand Up @@ -635,6 +635,9 @@ background-none;
<normaloff>:/icons/start.svg</normaloff>
<activeoff>:/icons/start-hover.svg</activeoff>:/icons/start.svg</iconset>
</property>
<property name="shortcut">
<string>Ctrl+B</string>
</property>
<property name="text">
<string>Start/Resume all nodes</string>
</property>
Expand All @@ -654,6 +657,9 @@ background-none;
<normaloff>:/icons/stop.svg</normaloff>
<activeoff>:/icons/stop-hover.svg</activeoff>:/icons/stop.svg</iconset>
</property>
<property name="shortcut">
<string>Ctrl+E</string>
</property>
<property name="text">
<string>Stop all nodes</string>
</property>
Expand Down Expand Up @@ -788,6 +794,9 @@ background-none;
<normaloff>:/icons/pause.svg</normaloff>
<activeoff>:/icons/pause-hover.svg</activeoff>:/icons/pause.svg</iconset>
</property>
<property name="shortcut">
<string>Ctrl+J</string>
</property>
<property name="text">
<string>Suspend all nodes</string>
</property>
Expand Down
3 changes: 3 additions & 0 deletions gns3/ui/main_window_ui.py
Original file line number Diff line number Diff line change
Expand Up @@ -602,9 +602,11 @@ def retranslateUi(self, MainWindow):
self.uiScreenshotAction.setToolTip(_translate("MainWindow", "Take a screenshot"))
self.uiScreenshotAction.setStatusTip(_translate("MainWindow", "Take a screenshot"))
self.uiStartAllAction.setText(_translate("MainWindow", "Start/Resume all nodes"))
self.uiStartAllAction.setShortcut(_translate("MainWindow", "Ctrl+B"))
self.uiStartAllAction.setToolTip(_translate("MainWindow", "Start/Resume all nodes"))
self.uiStartAllAction.setStatusTip(_translate("MainWindow", "Start/Resume all devices"))
self.uiStopAllAction.setText(_translate("MainWindow", "Stop all nodes"))
self.uiStopAllAction.setShortcut(_translate("MainWindow", "Ctrl+E"))
self.uiStopAllAction.setToolTip(_translate("MainWindow", "Stop all nodes"))
self.uiStopAllAction.setStatusTip(_translate("MainWindow", "Stop all devices"))
self.uiConsoleAllAction.setText(_translate("MainWindow", "Console connect to all nodes"))
Expand Down Expand Up @@ -633,6 +635,7 @@ def retranslateUi(self, MainWindow):
self.uiPreferencesAction.setStatusTip(_translate("MainWindow", "Preferences"))
self.uiPreferencesAction.setShortcut(_translate("MainWindow", "Ctrl+Shift+P"))
self.uiSuspendAllAction.setText(_translate("MainWindow", "Suspend all nodes"))
self.uiSuspendAllAction.setShortcut(_translate("MainWindow", "Ctrl+J"))
self.uiSuspendAllAction.setToolTip(_translate("MainWindow", "Suspend all nodes"))
self.uiSuspendAllAction.setStatusTip(_translate("MainWindow", "Suspend all devices"))
self.uiAddNoteAction.setText(_translate("MainWindow", "Add note"))
Expand Down

0 comments on commit 38657f4

Please sign in to comment.