37 """ |
37 """ |
38 Constructor |
38 Constructor |
39 |
39 |
40 @param parent The parent widget. (QWidget) |
40 @param parent The parent widget. (QWidget) |
41 """ |
41 """ |
42 super(SyntaxCheckerDialog, self).__init__(parent) |
42 super().__init__(parent) |
43 self.setupUi(self) |
43 self.setupUi(self) |
44 self.setWindowFlags(Qt.WindowType.Window) |
44 self.setWindowFlags(Qt.WindowType.Window) |
45 |
45 |
46 self.showButton = self.buttonBox.addButton( |
46 self.showButton = self.buttonBox.addButton( |
47 self.tr("Show"), QDialogButtonBox.ButtonRole.ActionRole) |
47 self.tr("Show"), QDialogButtonBox.ButtonRole.ActionRole) |