Skip to content

Commit

Permalink
[processing] remove unused files
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbruy committed Feb 5, 2018
1 parent 724390c commit e1a64f6
Show file tree
Hide file tree
Showing 12 changed files with 4 additions and 463 deletions.
1 change: 0 additions & 1 deletion images/images.qrc
Expand Up @@ -596,7 +596,6 @@
<file>themes/default/providerGdal.svg</file>
<file>themes/default/providerGrass.svg</file>
<file>themes/default/providerQgis.svg</file>
<file>themes/default/providerR.svg</file>
<file>themes/default/providerSaga.svg</file>
<file>themes/default/processingModel.svg</file>
<file>themes/default/processingScript.svg</file>
Expand Down
14 changes: 0 additions & 14 deletions images/themes/default/providerR.svg

This file was deleted.

313 changes: 0 additions & 313 deletions python/plugins/processing/script/ScriptAlgorithm.py

This file was deleted.

Expand Up @@ -103,7 +103,7 @@ def loadAlgorithms(self):
for folder in folders:
items = os.scandir(folder)
for entry in items:
if entry.name.lower().endswith("py") and entry.is_file():
if entry.name.lower().endswith(".py") and entry.is_file():
algName = os.path.splitext(entry.name)[0]
filePath = os.path.abspath(os.path.join(folder, entry.name))
alg = ScriptUtils.loadAlgorithm(algName, filePath)
Expand Down
7 changes: 0 additions & 7 deletions python/plugins/processing/script/ScriptEditorDialog.py
Expand Up @@ -56,10 +56,6 @@ def __init__(self, filePath=None, parent=None):

QgsGui.instance().enableAutoGeometryRestore(self)

#~ self.setWindowFlags(Qt.WindowMinimizeButtonHint |
#~ Qt.WindowMaximizeButtonHint |
#~ Qt.WindowCloseButtonHint)

self.searchWidget.setVisible(False)

self.toolBar.setIconSize(iface.iconSize())
Expand All @@ -70,8 +66,6 @@ def __init__(self, filePath=None, parent=None):
QgsApplication.getThemeIcon('/mActionFileSave.svg'))
self.actionSaveScriptAs.setIcon(
QgsApplication.getThemeIcon('/mActionFileSaveAs.svg'))
self.actionEditScriptHelp.setIcon(
QgsApplication.getThemeIcon('/mActionEditHelpContent.svg'))
self.actionRunScript.setIcon(
QgsApplication.getThemeIcon('/mActionStart.svg'))
self.actionCut.setIcon(
Expand All @@ -95,7 +89,6 @@ def __init__(self, filePath=None, parent=None):
self.actionOpenScript.triggered.connect(self.openScript)
self.actionSaveScript.triggered.connect(self.save)
self.actionSaveScriptAs.triggered.connect(self.saveAs)
#self.actionEditScriptHelp.triggered.connect(self.editHelp)
self.actionRunScript.triggered.connect(self.runAlgorithm)
self.actionCut.triggered.connect(self.editor.cut)
self.actionCopy.triggered.connect(self.editor.copy)
Expand Down
4 changes: 0 additions & 4 deletions python/plugins/processing/script/ScriptUtils.py
Expand Up @@ -34,10 +34,6 @@
from qgis.core import QgsProcessingAlgorithm, QgsMessageLog

from processing.core.ProcessingConfig import ProcessingConfig

from processing.script.ScriptAlgorithm import ScriptAlgorithm
from processing.script.WrongScriptException import WrongScriptException

from processing.tools.system import mkdir, userFolder


Expand Down

0 comments on commit e1a64f6

Please sign in to comment.