30 """ |
30 """ |
31 Constructor |
31 Constructor |
32 |
32 |
33 @param parent parent widget (QWidget) |
33 @param parent parent widget (QWidget) |
34 """ |
34 """ |
35 QDialog.__init__(self, parent) |
35 super().__init__(parent) |
36 self.setupUi(self) |
36 self.setupUi(self) |
37 |
37 |
38 self.buttonBox.button(QDialogButtonBox.Close).setEnabled(False) |
38 self.buttonBox.button(QDialogButtonBox.Close).setEnabled(False) |
39 self.buttonBox.button(QDialogButtonBox.Cancel).setDefault(True) |
39 self.buttonBox.button(QDialogButtonBox.Cancel).setDefault(True) |
40 |
40 |