示例#1
0
 def open_qgis(self):
     """
     Open a instance of QGIS to add new layers and config the project.
     """
     try:
         openqgis(self.project.projectfile)
     except QGISNotFound as ex:
         self.bar.pushMessage(ex.message, Qgis.Warning)
示例#2
0
 def openinqgis(self):
     """
     Open a QGIS session for the user to config the project layers.
     """
     try:
         openqgis(self.project.projectfile)
     except QGISNotFound as ex:
         self.bar.pushMessage(ex.message, Qgis.Warning)
示例#3
0
 def openinqgis(self):
     """
     Open a QGIS session for the user to config the project layers.
     """
     try:
         openqgis(self.project.projectfile)
     except OSError:
         self.bar.pushMessage("Looks like I couldn't find QGIS",
                              "Check qgislocation in roam.config", QgsMessageBar.WARNING)
示例#4
0
 def open_qgis(self):
     """
     Open a instance of QGIS to add new layers and config the project.
     """
     try:
         openqgis(self.project.projectfile)
     except OSError:
         self.bar.pushMessage("Looks like I couldn't find QGIS",
                              "Check qgislocation in roam.config", QgsMessageBar.WARNING)
示例#5
0
 def open_qgis(self):
     """
     Open a instance of QGIS to add new layers and config the project.
     """
     try:
         openqgis(self.project.projectfile)
     except OSError:
         self.bar.pushMessage("Looks like I couldn't find QGIS",
                              "Check qgislocation in roam.config", QgsMessageBar.WARNING)
示例#6
0
 def openinqgis(self):
     """
     Open a QGIS session for the user to config the project layers.
     """
     try:
         openqgis(self.project.projectfile)
     except OSError:
         self.bar.pushMessage("Looks like I couldn't find QGIS",
                              "Check qgislocation in roam.config", QgsMessageBar.WARNING)