diff --git a/b_asic/GUI/about_window.py b/b_asic/GUI/about_window.py index ea38c7c42edf3e370887e7ab82805e927d3b3a7e..0cb5fa7e3ee73eac015995592db86f4f8c3972c4 100644 --- a/b_asic/GUI/about_window.py +++ b/b_asic/GUI/about_window.py @@ -46,6 +46,7 @@ class KeybindsWindow(QDialog): "'Ctrl+Q' - Quit the application.\n" "'Ctrl+LMouseButton' - On a operation will select the operation, without deselecting the other operations.\n" "'Ctrl+S' (Plot) - Save the plot if a plot is visible.\n" + "'Ctrl+?' - Open the FAQ section." ) information_layout.addWidget(title_label) diff --git a/b_asic/GUI/main_window.py b/b_asic/GUI/main_window.py index 2829fcaaef92668990168717d776538e9f535504..72dfdcf6133931e54476d0cb0836114451fd6e12 100644 --- a/b_asic/GUI/main_window.py +++ b/b_asic/GUI/main_window.py @@ -80,8 +80,11 @@ class MainWindow(QMainWindow): self.ui.faqBASIC.triggered.connect(self.display_faq_page) self.ui.aboutBASIC.triggered.connect(self.display_about_page) self.ui.keybindsBASIC.triggered.connect(self.display_keybinds_page) + self.shortcut_help = QShortcut(QKeySequence("Ctrl+?"), self) + self.shortcut_help.activated.connect(self.display_faq_page) self.logger.info("Finished setting up GUI") + self.logger.info("For questions please refer to 'Ctrl+?', or visit the 'Help' section on the toolbar.") def init_ui(self): self.ui.core_operations_list.itemClicked.connect(self.on_list_widget_item_clicked)