35 @param cmdname name of the packager |
35 @param cmdname name of the packager |
36 @type str |
36 @type str |
37 @param parent reference to the parent widget |
37 @param parent reference to the parent widget |
38 @type QWidget |
38 @type QWidget |
39 """ |
39 """ |
40 super(PyInstallerExecDialog, self).__init__(parent) |
40 super().__init__(parent) |
41 self.setupUi(self) |
41 self.setupUi(self) |
42 |
42 |
43 self.buttonBox.button(QDialogButtonBox.Close).setEnabled(False) |
43 self.buttonBox.button(QDialogButtonBox.Close).setEnabled(False) |
44 self.buttonBox.button(QDialogButtonBox.Cancel).setDefault(True) |
44 self.buttonBox.button(QDialogButtonBox.Cancel).setDefault(True) |
45 |
45 |