* Adjust some widget heights/settings text wrap
* Adjust shortcuts * History unicode symbol * Icon in version dialog
This commit is contained in:
parent
a0153a370b
commit
05879131b4
7 changed files with 47 additions and 13 deletions
|
|
@ -206,16 +206,16 @@ class MainWindow(QMainWindow):
|
|||
act_save.triggered.connect(lambda: self._save_current(explicit=True))
|
||||
file_menu.addAction(act_save)
|
||||
act_history = QAction("&" + strings._("history"), self)
|
||||
act_history.setShortcut("Ctrl+H")
|
||||
act_history.setShortcut("Ctrl+Shift+H")
|
||||
act_history.setShortcutContext(Qt.ApplicationShortcut)
|
||||
act_history.triggered.connect(self._open_history)
|
||||
file_menu.addAction(act_history)
|
||||
act_settings = QAction(strings._("main_window_settings_accessible_flag"), self)
|
||||
act_settings.setShortcut("Ctrl+Shift+G")
|
||||
act_settings.setShortcut("Ctrl+Shift+.")
|
||||
act_settings.triggered.connect(self._open_settings)
|
||||
file_menu.addAction(act_settings)
|
||||
act_export = QAction(strings._("export_accessible_flag"), self)
|
||||
act_export.setShortcut("Ctrl+E")
|
||||
act_export.setShortcut("Ctrl+Shift+E")
|
||||
act_export.triggered.connect(self._export)
|
||||
file_menu.addAction(act_export)
|
||||
act_backup = QAction("&" + strings._("backup"), self)
|
||||
|
|
@ -223,7 +223,7 @@ class MainWindow(QMainWindow):
|
|||
act_backup.triggered.connect(self._backup)
|
||||
file_menu.addAction(act_backup)
|
||||
act_stats = QAction(strings._("main_window_statistics_accessible_flag"), self)
|
||||
act_stats.setShortcut("Shift+Ctrl+S")
|
||||
act_stats.setShortcut("Ctrl+Shift+S")
|
||||
act_stats.triggered.connect(self._open_statistics)
|
||||
file_menu.addAction(act_stats)
|
||||
file_menu.addSeparator()
|
||||
|
|
@ -283,19 +283,19 @@ class MainWindow(QMainWindow):
|
|||
# Help menu with drop-down
|
||||
help_menu = mb.addMenu("&" + strings._("help"))
|
||||
act_docs = QAction(strings._("documentation"), self)
|
||||
act_docs.setShortcut("Ctrl+D")
|
||||
act_docs.setShortcut("Ctrl+Shift+D")
|
||||
act_docs.setShortcutContext(Qt.ApplicationShortcut)
|
||||
act_docs.triggered.connect(self._open_docs)
|
||||
help_menu.addAction(act_docs)
|
||||
self.addAction(act_docs)
|
||||
act_bugs = QAction(strings._("report_a_bug"), self)
|
||||
act_bugs.setShortcut("Ctrl+R")
|
||||
act_bugs.setShortcut("Ctrl+Shift+R")
|
||||
act_bugs.setShortcutContext(Qt.ApplicationShortcut)
|
||||
act_bugs.triggered.connect(self._open_bugs)
|
||||
help_menu.addAction(act_bugs)
|
||||
self.addAction(act_bugs)
|
||||
act_version = QAction(strings._("version"), self)
|
||||
act_version.setShortcut("Ctrl+V")
|
||||
act_version.setShortcut("Ctrl+Shift+V")
|
||||
act_version.setShortcutContext(Qt.ApplicationShortcut)
|
||||
act_version.triggered.connect(self._open_version)
|
||||
help_menu.addAction(act_version)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue