Skip to content

Commit

Permalink
replaced mmqgis by new improved version, compatible with standalone p…
Browse files Browse the repository at this point in the history
…lugin

git-svn-id: http://sextante.googlecode.com/svn/trunk/soft/bindings/qgis-plugin@186 881b9c09-3ef8-f3c2-ec3d-21d735c97f4d
  • Loading branch information
volayaf@gmail.com committed May 20, 2012
1 parent 7f4e371 commit f97a6b5
Show file tree
Hide file tree
Showing 39 changed files with 2,161 additions and 713 deletions.
5 changes: 2 additions & 3 deletions src/sextante/core/Sextante.py
Expand Up @@ -2,13 +2,11 @@
from PyQt4.QtGui import *
from sextante.saga.SagaAlgorithmProvider import SagaAlgorithmProvider
from sextante.script.ScriptAlgorithmProvider import ScriptAlgorithmProvider
import copy
from sextante.core.QGisLayers import QGisLayers
from sextante.gui.AlgorithmExecutor import AlgorithmExecutor, SilentProgress
from sextante.core.SextanteConfig import SextanteConfig
from sextante.core.SextanteLog import SextanteLog
from sextante.modeler.ModelerAlgorithmProvider import ModelerAlgorithmProvider
from sextante.mmqgis.MMQGISAlgorithmProvider import MMQGISAlgorithmProvider
from sextante.ftools.FToolsAlgorithmProvider import FToolsAlgorithmProvider
from sextante.gui.SextantePostprocessing import SextantePostprocessing
from sextante.modeler.Providers import Providers
Expand All @@ -24,6 +22,7 @@
from sextante.algs.SextanteAlgorithmProvider import SextanteAlgorithmProvider
from sextante.fusion.FusionAlgorithmProvider import FusionAlgorithmProvider
from sextante.pymorph.PymorphAlgorithmProvider import PymorphAlgorithmProvider
from sextante.mmqgisx.MMQGISXAlgorithmProvider import MMQGISXAlgorithmProvider

class Sextante:

Expand Down Expand Up @@ -83,7 +82,7 @@ def setInterface(iface):
def initialize():
#add the basic providers
Sextante.addProvider(SextanteAlgorithmProvider())
Sextante.addProvider(MMQGISAlgorithmProvider())
Sextante.addProvider(MMQGISXAlgorithmProvider())
Sextante.addProvider(FToolsAlgorithmProvider())
Sextante.addProvider(ModelerOnlyAlgorithmProvider())
Sextante.addProvider(GdalAlgorithmProvider())
Expand Down
5 changes: 5 additions & 0 deletions src/sextante/gui/ParametersDialog.py
Expand Up @@ -150,6 +150,9 @@ def accept(self):
if button.isChecked():
iterateParam = buttons.keys()[i]
break


self.progress.setMaximum(0)
self.progressLabel.setText("Processing algorithm...")
if iterateParam:
QApplication.setOverrideCursor(QCursor(Qt.WaitCursor))
Expand Down Expand Up @@ -192,6 +195,8 @@ def reject(self):
self.dialog.close()

def setPercentage(self, i):
if self.progress.maximum() == 0:
self.progress.setMaximum(100)
self.progress.setValue(i)

def setText(self, text):
Expand Down
8 changes: 0 additions & 8 deletions src/sextante/mmqgis/DummyInterface.py

This file was deleted.

8 changes: 0 additions & 8 deletions src/sextante/mmqgis/MMQGISAlgorithm.py

This file was deleted.

41 changes: 0 additions & 41 deletions src/sextante/mmqgis/MMQGISAlgorithmProvider.py

This file was deleted.

9 changes: 0 additions & 9 deletions src/sextante/mmqgis/copyright.txt

This file was deleted.

14 changes: 0 additions & 14 deletions src/sextante/mmqgis/scripts/Create_Grid_Layer.py

This file was deleted.

9 changes: 0 additions & 9 deletions src/sextante/mmqgis/scripts/Distance_to_nearest_hub.py

This file was deleted.

10 changes: 0 additions & 10 deletions src/sextante/mmqgis/scripts/Export_geometries_to_CSV.py

This file was deleted.

10 changes: 0 additions & 10 deletions src/sextante/mmqgis/scripts/Merge_layers.py

This file was deleted.

9 changes: 0 additions & 9 deletions src/sextante/mmqgis/scripts/Snap_vertices_to_grid.py

This file was deleted.

9 changes: 0 additions & 9 deletions src/sextante/mmqgis/scripts/Sort_vector_layer.py

This file was deleted.

6 changes: 0 additions & 6 deletions src/sextante/mmqgis/scripts/Text_to_float.py

This file was deleted.

0 comments on commit f97a6b5

Please sign in to comment.