28 @param helpStr HTML help text |
28 @param helpStr HTML help text |
29 @type str |
29 @type str |
30 @param parent reference to the parent widget |
30 @param parent reference to the parent widget |
31 @type QWidget |
31 @type QWidget |
32 """ |
32 """ |
33 super(E5SimpleHelpDialog, self).__init__(parent) |
33 super().__init__(parent) |
34 self.setupUi(self) |
34 self.setupUi(self) |
35 self.setWindowFlags(Qt.WindowType.Window) |
35 self.setWindowFlags(Qt.WindowType.Window) |
36 |
36 |
37 self.setWindowTitle(title) |
37 self.setWindowTitle(title) |
38 if label: |
38 if label: |