Skip to content

Commit b1cadb1

Browse files
committed
Use generic algorithm icon for qgis algorithms which do not
have specific icons, instead of generic qgis icon We consider these 'top level' algorithms, and using the standard algorithm icon should help reflect this and differentiate them from 3rd party algorithms.
1 parent 8f586ef commit b1cadb1

File tree

81 files changed

+0
-494
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

81 files changed

+0
-494
lines changed

python/plugins/processing/algs/qgis/AddTableField.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -51,12 +51,6 @@ class AddTableField(QgisAlgorithm):
5151

5252
TYPES = [QVariant.Int, QVariant.Double, QVariant.String]
5353

54-
def icon(self):
55-
return QgsApplication.getThemeIcon("/providerQgis.svg")
56-
57-
def svgIconPath(self):
58-
return QgsApplication.iconPath("providerQgis.svg")
59-
6054
def group(self):
6155
return self.tr('Vector table tools')
6256

python/plugins/processing/algs/qgis/AutoincrementalField.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -51,12 +51,6 @@ def __init__(self):
5151
self.addParameter(QgsProcessingParameterFeatureSink(self.OUTPUT, self.tr('Incremented')))
5252
self.addOutput(QgsProcessingOutputVectorLayer(self.OUTPUT, self.tr('Incremented')))
5353

54-
def icon(self):
55-
return QgsApplication.getThemeIcon("/providerQgis.svg")
56-
57-
def svgIconPath(self):
58-
return QgsApplication.iconPath("providerQgis.svg")
59-
6054
def group(self):
6155
return self.tr('Vector table tools')
6256

python/plugins/processing/algs/qgis/BarPlot.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -47,12 +47,6 @@ class BarPlot(QgisAlgorithm):
4747
NAME_FIELD = 'NAME_FIELD'
4848
VALUE_FIELD = 'VALUE_FIELD'
4949

50-
def icon(self):
51-
return QgsApplication.getThemeIcon("/providerQgis.svg")
52-
53-
def svgIconPath(self):
54-
return QgsApplication.iconPath("providerQgis.svg")
55-
5650
def group(self):
5751
return self.tr('Graphics')
5852

python/plugins/processing/algs/qgis/BoxPlot.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -47,12 +47,6 @@ class BoxPlot(QgisAlgorithm):
4747
VALUE_FIELD = 'VALUE_FIELD'
4848
MSD = 'MSD'
4949

50-
def icon(self):
51-
return QgsApplication.getThemeIcon("/providerQgis.svg")
52-
53-
def svgIconPath(self):
54-
return QgsApplication.iconPath("providerQgis.svg")
55-
5650
def group(self):
5751
return self.tr('Graphics')
5852

python/plugins/processing/algs/qgis/ConcaveHull.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -52,12 +52,6 @@ class ConcaveHull(QgisAlgorithm):
5252
NO_MULTIGEOMETRY = 'NO_MULTIGEOMETRY'
5353
OUTPUT = 'OUTPUT'
5454

55-
def icon(self):
56-
return QgsApplication.getThemeIcon("/providerQgis.svg")
57-
58-
def svgIconPath(self):
59-
return QgsApplication.iconPath("providerQgis.svg")
60-
6155
def group(self):
6256
return self.tr('Vector geometry tools')
6357

python/plugins/processing/algs/qgis/CreateAttributeIndex.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,6 @@ class CreateAttributeIndex(QgisAlgorithm):
4242
FIELD = 'FIELD'
4343
OUTPUT = 'OUTPUT'
4444

45-
def icon(self):
46-
return QgsApplication.getThemeIcon("/providerQgis.svg")
47-
48-
def svgIconPath(self):
49-
return QgsApplication.iconPath("providerQgis.svg")
50-
5145
def group(self):
5246
return self.tr('Vector general tools')
5347

python/plugins/processing/algs/qgis/CreateConstantRaster.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,6 @@ class CreateConstantRaster(QgisAlgorithm):
4242
OUTPUT = 'OUTPUT'
4343
NUMBER = 'NUMBER'
4444

45-
def icon(self):
46-
return QgsApplication.getThemeIcon("/providerQgis.svg")
47-
48-
def svgIconPath(self):
49-
return QgsApplication.iconPath("providerQgis.svg")
50-
5145
def group(self):
5246
return self.tr('Raster tools')
5347

python/plugins/processing/algs/qgis/Datasources2Vrt.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -48,12 +48,6 @@ class Datasources2Vrt(QgisAlgorithm):
4848
VRT_FILE = 'VRT_FILE'
4949
VRT_STRING = 'VRT_STRING'
5050

51-
def icon(self):
52-
return QgsApplication.getThemeIcon("/providerQgis.svg")
53-
54-
def svgIconPath(self):
55-
return QgsApplication.iconPath("providerQgis.svg")
56-
5751
def group(self):
5852
return self.tr('Vector general tools')
5953

python/plugins/processing/algs/qgis/DefineProjection.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -47,15 +47,6 @@ class DefineProjection(QgisAlgorithm):
4747
CRS = 'CRS'
4848
OUTPUT = 'OUTPUT'
4949

50-
#def getIcon(self):
51-
# return QIcon(os.path.join(pluginPath, 'images', 'ftools', 'basic_statistics.png'))
52-
53-
def icon(self):
54-
return QgsApplication.getThemeIcon("/providerQgis.svg")
55-
56-
def svgIconPath(self):
57-
return QgsApplication.iconPath("providerQgis.svg")
58-
5950
def group(self):
6051
return self.tr('Vector general tools')
6152

python/plugins/processing/algs/qgis/DeleteColumn.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,6 @@ class DeleteColumn(QgisAlgorithm):
4141
COLUMNS = 'COLUMN'
4242
OUTPUT = 'OUTPUT'
4343

44-
def icon(self):
45-
return QgsApplication.getThemeIcon("/providerQgis.svg")
46-
47-
def svgIconPath(self):
48-
return QgsApplication.iconPath("providerQgis.svg")
49-
5044
def tags(self):
5145
return self.tr('drop,delete,remove,fields,columns,attributes').split(',')
5246

0 commit comments

Comments
 (0)