eric7/HelpViewer/HelpViewerWidget.py

branch
eric7
changeset 8756
8bea096a0f24
parent 8751
4a6c2ccd880f
child 8874
ccd99849803e
equal deleted inserted replaced
8755:30f52c9d5153 8756:8bea096a0f24
703 self.tr("Manage QtHelp Documents"), 703 self.tr("Manage QtHelp Documents"),
704 self.__manageQtHelpDocuments) 704 self.__manageQtHelpDocuments)
705 self.__actionsMenu.addAction( 705 self.__actionsMenu.addAction(
706 self.tr("Reindex Documentation"), 706 self.tr("Reindex Documentation"),
707 self.__helpSearchEngine.reindexDocumentation) 707 self.__helpSearchEngine.reindexDocumentation)
708 self.__actionsMenu.addSeparator()
709 self.__actionsMenu.addAction(
710 self.tr("Configure Help Documentation"),
711 self.__configureHelpDocumentation)
708 712
709 self.__actionsButton.setMenu(self.__actionsMenu) 713 self.__actionsButton.setMenu(self.__actionsMenu)
710 714
711 @pyqtSlot() 715 @pyqtSlot()
712 def __manageQtHelpDocuments(self): 716 def __manageQtHelpDocuments(self):
717 QtHelpDocumentationConfigurationDialog 721 QtHelpDocumentationConfigurationDialog
718 ) 722 )
719 dlg = QtHelpDocumentationConfigurationDialog( 723 dlg = QtHelpDocumentationConfigurationDialog(
720 self.__helpEngine, self) 724 self.__helpEngine, self)
721 dlg.exec() 725 dlg.exec()
726
727 @pyqtSlot()
728 def __configureHelpDocumentation(self):
729 """
730 Private slot to open the Help Documentation configuration page.
731 """
732 self.__ui.showPreferences("helpDocumentationPage")
722 733
723 ####################################################################### 734 #######################################################################
724 ## Navigation related methods below 735 ## Navigation related methods below
725 ####################################################################### 736 #######################################################################
726 737

eric ide

mercurial