eric6/WebBrowser/SafeBrowsing/SafeBrowsingInfoWidget.py

changeset 7533
88261c96484b
parent 7360
9190402e4505
child 7781
607a6098cb44
equal deleted inserted replaced
7532:1358e9d67a1c 7533:88261c96484b
32 self.setMinimumWidth(500) 32 self.setMinimumWidth(500)
33 33
34 layout = QHBoxLayout(self) 34 layout = QHBoxLayout(self)
35 35
36 iconLabel = QLabel(self) 36 iconLabel = QLabel(self)
37 iconLabel.setPixmap(UI.PixmapCache.getPixmap("safeBrowsing48.png")) 37 iconLabel.setPixmap(UI.PixmapCache.getPixmap("safeBrowsing48"))
38 layout.addWidget(iconLabel, 0, Qt.AlignTop) 38 layout.addWidget(iconLabel, 0, Qt.AlignTop)
39 39
40 infoLabel = QLabel(self) 40 infoLabel = QLabel(self)
41 infoLabel.setWordWrap(True) 41 infoLabel.setWordWrap(True)
42 infoLabel.setSizePolicy(QSizePolicy.Expanding, QSizePolicy.Expanding) 42 infoLabel.setSizePolicy(QSizePolicy.Expanding, QSizePolicy.Expanding)

eric ide

mercurial