28 @param parent reference to the parent widget (QWidget) |
28 @param parent reference to the parent widget (QWidget) |
29 """ |
29 """ |
30 super(AdBlockExceptionsDialog, self).__init__(parent) |
30 super(AdBlockExceptionsDialog, self).__init__(parent) |
31 self.setupUi(self) |
31 self.setupUi(self) |
32 |
32 |
33 self.iconLabel.setPixmap(UI.PixmapCache.getPixmap("adBlockPlusGreen48.png")) |
33 self.iconLabel.setPixmap( |
|
34 UI.PixmapCache.getPixmap("adBlockPlusGreen48.png")) |
34 |
35 |
35 self.hostEdit.setInactiveText(self.trUtf8("Enter host to be added...")) |
36 self.hostEdit.setInactiveText(self.trUtf8("Enter host to be added...")) |
36 |
37 |
37 self.buttonBox.setFocus() |
38 self.buttonBox.setFocus() |
38 |
39 |