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