Exemplo n.º 1
0
 def checkBeforeOpeningParametersDialog(self):
     msg = SagaUtils.checkSagaIsInstalled()
     if msg is not None:
         html = ("<p>This algorithm requires SAGA to be run."
         "Unfortunately, it seems that SAGA is not installed in your system, or it is not correctly configured to be used from QGIS</p>")
         html += '<p><a href= "http://docs.qgis.org/html/en/docs/user_manual/sextante/3rdParty.html">Click here</a> to know more about how to install and configure SAGA to be used with SEXTANTE</p>'
         return html
 def checkBeforeOpeningParametersDialog(self):
     msg = SagaUtils.checkSagaIsInstalled()
     if msg is not None:
         html = (
             "<p>This algorithm requires SAGA to be run."
             "Unfortunately, it seems that SAGA is not installed in your system, or it is not correctly configured to be used from QGIS</p>"
         )
         html += '<p><a href= "http://docs.qgis.org/html/en/docs/user_manual/sextante/3rdParty.html">Click here</a> to know more about how to install and configure SAGA to be used with SEXTANTE</p>'
         return html
Exemplo n.º 3
0
 def getPostProcessingErrorMessage(self, wrongLayers):
     html = AlgorithmProvider.getPostProcessingErrorMessage(self, wrongLayers)        
     msg = SagaUtils.checkSagaIsInstalled(True)
     html += ("<p>This algorithm requires SAGA to be run. A test to check if SAGA is correctly installed " 
             "and configured in your system has been performed, with the following result:</p><ul><i>")
     if msg is None:
         html += "Saga seems to be correctly installed and configured</li></ul>"
     else:
         html += msg + "</i></li></ul>"
         html += '<p><a href= "http://docs.qgis.org/html/en/docs/user_manual/sextante/3rdParty.html">Click here</a> to know more about how to install and configure SAGA to be used with SEXTANTE</p>'
          
     return html
    def getPostProcessingErrorMessage(self, wrongLayers):
        html = AlgorithmProvider.getPostProcessingErrorMessage(self, wrongLayers)
        msg = SagaUtils.checkSagaIsInstalled(True)
        html += ("<p>This algorithm requires SAGA to be run. A test to check if SAGA is correctly installed "
                "and configured in your system has been performed, with the following result:</p><ul><i>")
        if msg is None:
            html += "SAGA seems to be correctly installed and configured</li></ul>"
        else:
            html += msg + "</i></li></ul>"
            html += '<p><a href= "http://docs.qgis.org/html/en/docs/user_manual/sextante/3rdParty.html">Click here</a> to know more about how to install and configure SAGA to be used with SEXTANTE</p>'

        return html
Exemplo n.º 5
0
 def checkBeforeOpeningParametersDialog(self):
     return SagaUtils.checkSagaIsInstalled()
Exemplo n.º 6
0
 def checkBeforeOpeningParametersDialog(self):
     return SagaUtils.checkSagaIsInstalled()