eric6/WebBrowser/QtHelp/QtHelpDocumentationSelectionDialog.py

changeset 8218
7c09585bd960
parent 8143
2c730d5fd177
equal deleted inserted replaced
8217:385f60c94548 8218:7c09585bd960
40 @param mode mode of the dialog 40 @param mode mode of the dialog
41 @type str 41 @type str
42 @param parent reference to the parent widget 42 @param parent reference to the parent widget
43 @type QWidget 43 @type QWidget
44 """ 44 """
45 super(QtHelpDocumentationSelectionDialog, self).__init__(parent) 45 super().__init__(parent)
46 self.setupUi(self) 46 self.setupUi(self)
47 47
48 if mode == QtHelpDocumentationSelectionDialog.AddMode: 48 if mode == QtHelpDocumentationSelectionDialog.AddMode:
49 self.buttonBox.button(QDialogButtonBox.StandardButton.Close).hide() 49 self.buttonBox.button(QDialogButtonBox.StandardButton.Close).hide()
50 else: 50 else:

eric ide

mercurial