Ejemplo n.º 1
0
 def closeEvent(self, QCloseEvent):
     if self.appServer:
         self.pb_loading.hide()
         self.btn_generate.setText("Server is stopping")
         self.appServer.stop()
         self.btn_generate.setText("Generate")
         self.appServerRunning = False
         SyncManager.instance().remove_all_listener()
         self.providerManager.clear()
         self.parameters.clear()
Ejemplo n.º 2
0
 def closeEvent(self, QCloseEvent):
     if self.appServer:
         self.pb_loading.hide()
         self.btn_generate.setText("Server is stopping")
         self.appServer.stop()
         self.btn_generate.setText("Generate")
         self.appServerRunning = False
         SyncManager.instance().remove_all_listener()
         self.providerManager.clear()
         self.parameters.clear()
Ejemplo n.º 3
0
 def info(self):
     self.dlg.init_extent(self.iface.mapCanvas().extent())
     xMin = self.iface.mapCanvas().extent().xMinimum()
     yMin = self.iface.mapCanvas().extent().yMinimum()
     xMax = self.iface.mapCanvas().extent().xMaximum()
     yMax = self.iface.mapCanvas().extent().yMaximum()
     extent = {
         'Xmin': xMin,
         'Ymin': yMin,
         'Xmax': xMax,
         'Ymax': yMax,
     }
     SyncManager.instance().notify_extent_change(extent)
Ejemplo n.º 4
0
 def info(self):
     self.dlg.init_extent(self.iface.mapCanvas().extent())
     xMin = self.iface.mapCanvas().extent().xMinimum()
     yMin = self.iface.mapCanvas().extent().yMinimum()
     xMax = self.iface.mapCanvas().extent().xMaximum()
     yMax = self.iface.mapCanvas().extent().yMaximum()
     extent = {
         'Xmin': xMin,
         'Ymin': yMin,
         'Xmax': xMax,
         'Ymax': yMax,
     }
     SyncManager.instance().notify_extent_change(extent)
 def on_finish(self):
     print "WebSocket finished"
     SyncManager.instance().remove_listener(self)
 def initialize(self):
     SyncManager.instance().add_listener(self)
Ejemplo n.º 7
0
 def on_finish(self):
     print "WebSocket finished"
     SyncManager.instance().remove_listener(self)
Ejemplo n.º 8
0
 def initialize(self):
     SyncManager.instance().add_listener(self)