コード例 #1
0
    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)
コード例 #2
0
    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
コード例 #3
0
    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
コード例 #4
0
 def __init__(self, parent):
     QWebPage.__init__(self, parent)