src/eric7/HelpViewer/HelpViewerWidget.py

branch
eric7
changeset 10080
f834e57a5b13
parent 9686
2eee7a645cba
child 10254
25e8e133e4f8
equal deleted inserted replaced
10078:9ebe2183cf49 10080:f834e57a5b13
337 self.addPage() 337 self.addPage()
338 self.__checkActionButtons() 338 self.__checkActionButtons()
339 339
340 self.__centerSplitter.setSizes([900, 150]) 340 self.__centerSplitter.setSizes([900, 150])
341 341
342 self.__helpInstaller = None
343
342 if Preferences.getHelp("QtHelpSearchNewOnStart"): 344 if Preferences.getHelp("QtHelpSearchNewOnStart"):
343 QTimer.singleShot(50, self.__lookForNewDocumentation) 345 QTimer.singleShot(50, self.__lookForNewDocumentation)
344 346
345 def __addNavigationButton(self, iconName, toolTip): 347 def __addNavigationButton(self, iconName, toolTip):
346 """ 348 """
492 Public method to perform shut down actions. 494 Public method to perform shut down actions.
493 """ 495 """
494 self.__helpSearchEngine.cancelIndexing() 496 self.__helpSearchEngine.cancelIndexing()
495 self.__helpSearchEngine.cancelSearching() 497 self.__helpSearchEngine.cancelSearching()
496 498
497 self.__helpInstaller.stop() 499 self.__helpInstaller and self.__helpInstaller.stop()
498 500
499 @pyqtSlot() 501 @pyqtSlot()
500 def __openFile(self): 502 def __openFile(self):
501 """ 503 """
502 Private slot to open a local help file (*.html). 504 Private slot to open a local help file (*.html).

eric ide

mercurial