31 Constructor |
31 Constructor |
32 |
32 |
33 @param vcs reference to the vcs object |
33 @param vcs reference to the vcs object |
34 @param parent reference to the parent widget (QWidget) |
34 @param parent reference to the parent widget (QWidget) |
35 """ |
35 """ |
36 super(GitDescribeDialog, self).__init__(parent) |
36 super().__init__(parent) |
37 self.setupUi(self) |
37 self.setupUi(self) |
38 self.setWindowFlags(Qt.WindowType.Window) |
38 self.setWindowFlags(Qt.WindowType.Window) |
39 |
39 |
40 self.buttonBox.button( |
40 self.buttonBox.button( |
41 QDialogButtonBox.StandardButton.Close).setEnabled(False) |
41 QDialogButtonBox.StandardButton.Close).setEnabled(False) |