Renamed menu entries and updated docs
This commit is contained in:
@@ -328,6 +328,8 @@ Most features are available as keyboard shortcuts. These are as follows:
|
||||
":kbd:`Alt`:kbd:`1`", "Switch focus to the project tree."
|
||||
":kbd:`Alt`:kbd:`2`", "Switch focus to document editor."
|
||||
":kbd:`Alt`:kbd:`3`", "Switch focus to document viewer."
|
||||
":kbd:`Alt`:kbd:`Left`", "Move backward in the view history of the document viewer."
|
||||
":kbd:`Alt`:kbd:`Right`", "Move forward in the view history of the document viewer."
|
||||
":kbd:`Ctrl`:kbd:`.`", "Open menu to correct word under cursor."
|
||||
":kbd:`Ctrl`:kbd:`,`", "Open the :guilabel:`Preferences` dialog."
|
||||
":kbd:`Ctrl`:kbd:`/`", "Change block format to comment."
|
||||
|
||||
+6
-6
@@ -475,16 +475,16 @@ class GuiMainMenu(QMenuBar):
|
||||
# View > Separator
|
||||
self.viewMenu.addSeparator()
|
||||
|
||||
# View > Navigate Viewer Backward
|
||||
self.aViewPrev = QAction("Navigate Viewer Backward", self)
|
||||
self.aViewPrev.setStatusTip("Show the previous document in the right pane")
|
||||
# View > Go Backward
|
||||
self.aViewPrev = QAction("Go Backward", self)
|
||||
self.aViewPrev.setStatusTip("Move backward in the view history of the right pane")
|
||||
self.aViewPrev.setShortcut("Alt+Left")
|
||||
self.aViewPrev.triggered.connect(self.theParent.docViewer.navBackward)
|
||||
self.viewMenu.addAction(self.aViewPrev)
|
||||
|
||||
# View > Navigate Viewer Forward
|
||||
self.aViewNext = QAction("Navigate Viewer Forward", self)
|
||||
self.aViewNext.setStatusTip("Show the next document in the right pane")
|
||||
# View > Go Forward
|
||||
self.aViewNext = QAction("Go Forward", self)
|
||||
self.aViewNext.setStatusTip("Move forward in the view history of the right pane")
|
||||
self.aViewNext.setShortcut("Alt+Right")
|
||||
self.aViewNext.triggered.connect(self.theParent.docViewer.navForward)
|
||||
self.viewMenu.addAction(self.aViewNext)
|
||||
|
||||
Reference in New Issue
Block a user