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