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