31 Constructor |
31 Constructor |
32 |
32 |
33 @param window reference to the web browser window |
33 @param window reference to the web browser window |
34 @type WebBrowserWindow |
34 @type WebBrowserWindow |
35 """ |
35 """ |
36 super(ImagesIcon, self).__init__(window) |
36 super().__init__(window) |
37 |
37 |
38 self.setToolTip(self.tr("Modify images loading settings temporarily" |
38 self.setToolTip(self.tr("Modify images loading settings temporarily" |
39 " or globally")) |
39 " or globally")) |
40 self.__icon = UI.PixmapCache.getPixmap("filePixmap").scaled(16, 16) |
40 self.__icon = UI.PixmapCache.getPixmap("filePixmap").scaled(16, 16) |
41 self.setPixmap(self.__icon) |
41 self.setPixmap(self.__icon) |