41 (string) |
41 (string) |
42 @keyparam msgError optional string to show upon unsuccessful execution |
42 @keyparam msgError optional string to show upon unsuccessful execution |
43 (string) |
43 (string) |
44 @keyparam parent parent widget (QWidget) |
44 @keyparam parent parent widget (QWidget) |
45 """ |
45 """ |
46 super(PyramidDialog, self).__init__(parent) |
46 super().__init__(parent) |
47 self.setupUi(self) |
47 self.setupUi(self) |
48 |
48 |
49 self.buttonBox.button(QDialogButtonBox.Close).setEnabled(False) |
49 self.buttonBox.button(QDialogButtonBox.Close).setEnabled(False) |
50 self.buttonBox.button(QDialogButtonBox.Cancel).setDefault(True) |
50 self.buttonBox.button(QDialogButtonBox.Cancel).setDefault(True) |
51 |
51 |