111 Private method to show the site info popup. |
111 Private method to show the site info popup. |
112 |
112 |
113 @param pos position the popup should be shown at |
113 @param pos position the popup should be shown at |
114 @type QPoint |
114 @type QPoint |
115 """ |
115 """ |
|
116 from ..SiteInfo.SiteInfoWidget import SiteInfoWidget |
|
117 |
116 if self.__browser is None: |
118 if self.__browser is None: |
117 return |
119 return |
118 |
120 |
119 url = self.__browser.url() |
121 url = self.__browser.url() |
120 if url.isValid() and url.scheme() not in ["eric", "about", "data", "chrome"]: |
122 if url.isValid() and url.scheme() not in ["eric", "about", "data", "chrome"]: |
121 from ..SiteInfo.SiteInfoWidget import SiteInfoWidget |
|
122 |
|
123 info = SiteInfoWidget(self.__browser, self) |
123 info = SiteInfoWidget(self.__browser, self) |
124 info.showAt(pos) |
124 info.showAt(pos) |