34 """ |
34 """ |
35 Constructor |
35 Constructor |
36 |
36 |
37 @param parent The parent widget (QWidget). |
37 @param parent The parent widget (QWidget). |
38 """ |
38 """ |
39 QDialog.__init__(self, parent) |
39 super().__init__(parent) |
40 self.setupUi(self) |
40 self.setupUi(self) |
41 |
41 |
42 self.buttonBox.button(QDialogButtonBox.Close).setEnabled(False) |
42 self.buttonBox.button(QDialogButtonBox.Close).setEnabled(False) |
43 self.buttonBox.button(QDialogButtonBox.Cancel).setDefault(True) |
43 self.buttonBox.button(QDialogButtonBox.Cancel).setDefault(True) |
44 |
44 |