mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-16 00:05:45 -04:00
[sextante] removed actions from toolbox, as they can be confusing. The toolbox should contain only algorithms
This commit is contained in:
parent
7feb1af62f
commit
d4d26257b7
@ -56,7 +56,6 @@ from sextante.parameters.ParameterFile import ParameterFile
|
||||
from sextante.parameters.ParameterCrs import ParameterCrs
|
||||
from sextante.parameters.ParameterString import ParameterString
|
||||
|
||||
from sextante.outputs.OutputHTML import OutputHTML
|
||||
from sextante.outputs.OutputRaster import OutputRaster
|
||||
from sextante.outputs.OutputTable import OutputTable
|
||||
from sextante.outputs.OutputVector import OutputVector
|
||||
@ -168,12 +167,6 @@ class ParametersPanel(QtGui.QWidget):
|
||||
self.verticalLayout.addStretch(1000)
|
||||
self.setLayout(self.verticalLayout)
|
||||
|
||||
#=======================================================================
|
||||
# for param in self.alg.parameters:
|
||||
# if isinstance(param, ParameterExtent):
|
||||
# self.widgets[param.name].useMinCovering()
|
||||
#=======================================================================
|
||||
|
||||
def showAdvancedParametersClicked(self):
|
||||
self.showAdvanced = not self.showAdvanced
|
||||
if self.showAdvanced:
|
||||
|
@ -42,7 +42,7 @@ class ModelerAlgorithmProvider(AlgorithmProvider):
|
||||
|
||||
def __init__(self):
|
||||
AlgorithmProvider.__init__(self)
|
||||
self.actions = [CreateNewModelAction()]
|
||||
#self.actions = [CreateNewModelAction()]
|
||||
self.contextMenuActions = [EditModelAction(), DeleteModelAction(), SaveAsPythonScriptAction()]
|
||||
|
||||
def initializeSettings(self):
|
||||
@ -56,7 +56,7 @@ class ModelerAlgorithmProvider(AlgorithmProvider):
|
||||
return ModelerUtils.modelsFolder()
|
||||
|
||||
def getDescription(self):
|
||||
return "Modeler"
|
||||
return "Models"
|
||||
|
||||
def getName(self):
|
||||
return "model"
|
||||
|
@ -43,7 +43,7 @@ class RAlgorithmProvider(AlgorithmProvider):
|
||||
def __init__(self):
|
||||
AlgorithmProvider.__init__(self)
|
||||
self.activate = False
|
||||
self.actions.append(CreateNewRScriptAction())
|
||||
#self.actions.append(CreateNewRScriptAction())
|
||||
self.contextMenuActions = [EditRScriptAction(), DeleteRScriptAction()]
|
||||
|
||||
def initializeSettings(self):
|
||||
|
@ -41,7 +41,7 @@ class ScriptAlgorithmProvider(AlgorithmProvider):
|
||||
|
||||
def __init__(self):
|
||||
AlgorithmProvider.__init__(self)
|
||||
self.actions.append(CreateNewScriptAction())
|
||||
#self.actions.append(CreateNewScriptAction())
|
||||
self.contextMenuActions = [EditScriptAction(), DeleteScriptAction()]
|
||||
|
||||
def initializeSettings(self):
|
||||
|
Loading…
x
Reference in New Issue
Block a user