4 # |
4 # |
5 |
5 |
6 """ |
6 """ |
7 Module implementing a dialog to manage the QtHelp documentation database. |
7 Module implementing a dialog to manage the QtHelp documentation database. |
8 """ |
8 """ |
|
9 |
|
10 from __future__ import unicode_literals # __IGNORE_WARNING__ |
9 |
11 |
10 from PyQt4.QtCore import pyqtSlot, Qt |
12 from PyQt4.QtCore import pyqtSlot, Qt |
11 from PyQt4.QtGui import QDialog, QItemSelectionModel |
13 from PyQt4.QtGui import QDialog, QItemSelectionModel |
12 from PyQt4.QtHelp import QHelpEngineCore |
14 from PyQt4.QtHelp import QHelpEngineCore |
13 |
15 |
25 Constructor |
27 Constructor |
26 |
28 |
27 @param engine reference to the help engine (QHelpEngine) |
29 @param engine reference to the help engine (QHelpEngine) |
28 @param parent reference to the parent widget (QWidget) |
30 @param parent reference to the parent widget (QWidget) |
29 """ |
31 """ |
30 super().__init__(parent) |
32 super(QtHelpDocumentationDialog, self).__init__(parent) |
31 self.setupUi(self) |
33 self.setupUi(self) |
32 |
34 |
33 self.removeButton.setEnabled(False) |
35 self.removeButton.setEnabled(False) |
34 |
36 |
35 self.__engine = engine |
37 self.__engine = engine |