eric6/WebBrowser/QtHelp/QtHelpDocumentationSelectionDialog.py

branch
maintenance
changeset 8273
698ae46f40a4
parent 8218
7c09585bd960
equal deleted inserted replaced
8190:fb0ef164f536 8273:698ae46f40a4
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