24 Constructor |
26 Constructor |
25 |
27 |
26 @param logFile name of the log file containing the error info (string) |
28 @param logFile name of the log file containing the error info (string) |
27 @param parent reference to the parent widget (QWidget) |
29 @param parent reference to the parent widget (QWidget) |
28 """ |
30 """ |
29 super().__init__(parent) |
31 super(ErrorLogDialog, self).__init__(parent) |
30 self.setupUi(self) |
32 self.setupUi(self) |
31 |
33 |
32 pixmap = self.style().standardIcon(QStyle.SP_MessageBoxQuestion).pixmap(32, 32) |
34 pixmap = self.style().standardIcon(QStyle.SP_MessageBoxQuestion).pixmap(32, 32) |
33 self.icon.setPixmap(pixmap) |
35 self.icon.setPixmap(pixmap) |
34 |
36 |