Skip to content
Permalink
Browse files

replaced mmqgis by new improved version, compatible with standalone p…

…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
volayaf@gmail.com committed May 20, 2012
1 parent 7f4e371 commit f97a6b51346aacc404c327404818dece42c42467
Showing with 2,161 additions and 713 deletions.
  1. +2 −3 src/sextante/core/Sextante.py
  2. +5 −0 src/sextante/gui/ParametersDialog.py
  3. +0 −8 src/sextante/mmqgis/DummyInterface.py
  4. +0 −8 src/sextante/mmqgis/MMQGISAlgorithm.py
  5. +0 −41 src/sextante/mmqgis/MMQGISAlgorithmProvider.py
  6. +0 −9 src/sextante/mmqgis/copyright.txt
  7. +0 −14 src/sextante/mmqgis/scripts/Create_Grid_Layer.py
  8. +0 −9 src/sextante/mmqgis/scripts/Distance_to_nearest_hub.py
  9. +0 −10 src/sextante/mmqgis/scripts/Export_geometries_to_CSV.py
  10. +0 −10 src/sextante/mmqgis/scripts/Merge_layers.py
  11. +0 −9 src/sextante/mmqgis/scripts/Snap_vertices_to_grid.py
  12. +0 −9 src/sextante/mmqgis/scripts/Sort_vector_layer.py
  13. +0 −6 src/sextante/mmqgis/scripts/Text_to_float.py
  14. +835 −0 src/sextante/mmqgisx/MMQGISXAlgorithmProvider.py
  15. 0 src/sextante/{mmqgis → mmqgisx}/__init__.py
  16. +15 −0 src/sextante/mmqgisx/copyright.txt
  17. BIN src/sextante/mmqgisx/icons/mmqgis.png
  18. BIN src/sextante/mmqgisx/icons/mmqgis_animate_columns.png
  19. BIN src/sextante/mmqgisx/icons/mmqgis_animate_rows.png
  20. BIN ...extante/{mmqgis/scripts/Export_geometries_to_CSV.png → mmqgisx/icons/mmqgis_attribute_export.png}
  21. BIN src/sextante/{mmqgis/scripts → mmqgisx/icons}/mmqgis_attribute_join.png
  22. BIN src/sextante/{mmqgis/scripts → mmqgisx/icons}/mmqgis_color_map.png
  23. BIN src/sextante/mmqgisx/icons/mmqgis_float_to_text.png
  24. BIN src/sextante/{mmqgis/scripts → mmqgisx/icons}/mmqgis_geocode_google.png
  25. BIN src/sextante/{mmqgis/scripts → mmqgisx/icons}/mmqgis_geocode_street_layer.png
  26. BIN src/sextante/{mmqgis/scripts/Create_Grid_Layer.png → mmqgisx/icons/mmqgis_grid.png}
  27. BIN src/sextante/{mmqgis/scripts/Snap_vertices_to_grid.png → mmqgisx/icons/mmqgis_gridify.png}
  28. BIN src/sextante/{mmqgis/scripts/Distance_to_nearest_hub.png → mmqgisx/icons/mmqgis_hub_distance.png}
  29. BIN src/sextante/{mmqgis/scripts → mmqgisx/icons}/mmqgis_label.png
  30. BIN src/sextante/{mmqgis/scripts/Merge_layers.png → mmqgisx/icons/mmqgis_merge.png}
  31. BIN src/sextante/{mmqgis/scripts → mmqgisx/icons}/mmqgis_select.png
  32. BIN src/sextante/{mmqgis/scripts → mmqgisx/icons}/mmqgis_simplify.png
  33. BIN src/sextante/{mmqgis/scripts/Sort_vector_layer.png → mmqgisx/icons/mmqgis_sort.png}
  34. BIN src/sextante/{mmqgis/scripts/Text_to_float.png → mmqgisx/icons/mmqgis_text_to_float.png}
  35. BIN src/sextante/{mmqgis/scripts → mmqgisx/icons}/mmqgis_voronoi.png
  36. +1,295 −577 src/sextante/{mmqgis/sextante_mmqgis_library.py → mmqgisx/mmqgisx_library.py}
  37. +2 −0 src/sextante/pymorph/scripts/skelmrec.py
  38. +2 −0 src/sextante/pymorph/scripts/skiz.py
  39. +5 −0 src/sextante/pymorph/scripts/subm.py
@@ -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
@@ -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:

@@ -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())
@@ -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))
@@ -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):

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

0 comments on commit f97a6b5

Please sign in to comment.
You can’t perform that action at this time.