eric6/UI/ErrorLogDialog.py

changeset 8143
2c730d5fd177
parent 7923
91e843545d9a
child 8218
7c09585bd960
equal deleted inserted replaced
8141:27f636beebad 8143:2c730d5fd177
28 (boolean) 28 (boolean)
29 @param parent reference to the parent widget (QWidget) 29 @param parent reference to the parent widget (QWidget)
30 """ 30 """
31 super(ErrorLogDialog, self).__init__(parent) 31 super(ErrorLogDialog, self).__init__(parent)
32 self.setupUi(self) 32 self.setupUi(self)
33 self.setWindowFlags(Qt.Window) 33 self.setWindowFlags(Qt.WindowType.Window)
34 34
35 pixmap = ( 35 pixmap = (
36 self.style().standardIcon(QStyle.SP_MessageBoxQuestion) 36 self.style().standardIcon(
37 QStyle.StandardPixmap.SP_MessageBoxQuestion)
37 .pixmap(32, 32) 38 .pixmap(32, 32)
38 ) 39 )
39 self.icon.setPixmap(pixmap) 40 self.icon.setPixmap(pixmap)
40 41
41 if showMode: 42 if showMode:

eric ide

mercurial