58 """ |
58 """ |
59 Constructor |
59 Constructor |
60 |
60 |
61 @param parent parent widget (QWidget) |
61 @param parent parent widget (QWidget) |
62 """ |
62 """ |
63 QDialog.__init__(self, parent) |
63 super().__init__(parent) |
64 self.setupUi(self) |
64 self.setupUi(self) |
65 |
65 |
66 self.buttonBox.button(QDialogButtonBox.Close).setEnabled(False) |
66 self.buttonBox.button(QDialogButtonBox.Close).setEnabled(False) |
67 self.buttonBox.button(QDialogButtonBox.Cancel).setDefault(True) |
67 self.buttonBox.button(QDialogButtonBox.Cancel).setDefault(True) |
68 |
68 |