eric6/WebBrowser/FeaturePermissions/FeaturePermissionBar.py

changeset 8218
7c09585bd960
parent 8143
2c730d5fd177
child 8240
93b8a353c4bf
equal deleted inserted replaced
8217:385f60c94548 8218:7c09585bd960
33 @param feature requested feature 33 @param feature requested feature
34 @type QWebPage.Feature 34 @type QWebPage.Feature
35 @param manager reference to the feature permissions manager 35 @param manager reference to the feature permissions manager
36 @type FeaturePermissionManager 36 @type FeaturePermissionManager
37 """ 37 """
38 super(FeaturePermissionBar, self).__init__(parent=page.view()) 38 super().__init__(parent=page.view())
39 39
40 self.__origin = QUrl(origin) 40 self.__origin = QUrl(origin)
41 self.__feature = feature 41 self.__feature = feature
42 self.__page = page 42 self.__page = page
43 self.__manager = manager 43 self.__manager = manager
144 def hide(self): 144 def hide(self):
145 """ 145 """
146 Public slot to hide the animated widget. 146 Public slot to hide the animated widget.
147 """ 147 """
148 self.__page.loadStarted.disconnect(self.hide) 148 self.__page.loadStarted.disconnect(self.hide)
149 super(FeaturePermissionBar, self).hide() 149 super().hide()
150 150
151 def __permissionDenied(self): 151 def __permissionDenied(self):
152 """ 152 """
153 Private slot handling the user pressing the deny button. 153 Private slot handling the user pressing the deny button.
154 """ 154 """

eric ide

mercurial