def __init__(self, parent=None): QWebPage.__init__(self, parent) self._manager = None # Set proxy in webpage proxy = getProxy() if proxy is not None: self._manager = QgsNetworkAccessManager() self._manager.setProxy(proxy) self.setNetworkAccessManager(self._manager)
def __init__(self, parent=None): QWebPage.__init__(self, parent) self.loaded = False self.extent = None self.olResolutions = None self.lastExtent = None self.lastViewPortSize = None self.lastLogicalDpi = None self.lastOutputDpi = None self.lastMapUnitsPerPixel = None
def __init__(self, parent): QWebPage.__init__(self, parent)