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