eric6/WebBrowser/StatusBar/ImagesIcon.py

changeset 8218
7c09585bd960
parent 8143
2c730d5fd177
equal deleted inserted replaced
8217:385f60c94548 8218:7c09585bd960
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)

eric ide

mercurial