3458 def __manageQtHelpDocumentation(self): |
3458 def __manageQtHelpDocumentation(self): |
3459 """ |
3459 """ |
3460 Private slot to manage the QtHelp documentation database. |
3460 Private slot to manage the QtHelp documentation database. |
3461 """ |
3461 """ |
3462 if WebBrowserWindow._useQtHelp: |
3462 if WebBrowserWindow._useQtHelp: |
3463 from .QtHelp.QtHelpDocumentationDialog import ( |
3463 from .QtHelp.QtHelpDocumentationConfigurationDialog import ( |
3464 QtHelpDocumentationDialog |
3464 QtHelpDocumentationConfigurationDialog |
3465 ) |
3465 ) |
3466 dlg = QtHelpDocumentationDialog(self.__helpEngine, self) |
3466 dlg = QtHelpDocumentationConfigurationDialog( |
|
3467 self.__helpEngine, self) |
3467 dlg.exec() |
3468 dlg.exec() |
3468 if dlg.hasDocumentationChanges(): |
|
3469 for i in sorted(dlg.getTabsToClose(), reverse=True): |
|
3470 self.__tabWidget.closeBrowserAt(i) |
|
3471 self.__searchEngine.reindexDocumentation() |
|
3472 |
3469 |
3473 def getSourceFileList(self): |
3470 def getSourceFileList(self): |
3474 """ |
3471 """ |
3475 Public method to get a list of all opened source files. |
3472 Public method to get a list of all opened source files. |
3476 |
3473 |