Skip to content

Commit

Permalink
[processing] add missing icons for the analysis tools menu
Browse files Browse the repository at this point in the history
  • Loading branch information
nirvn committed Apr 30, 2018
1 parent df28351 commit 2402b35
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions images/images.qrc
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,8 @@
<file>themes/default/algorithms/mAlgorithmDissolve.svg</file>
<file>themes/default/algorithms/mAlgorithmExtractVertices.svg</file>
<file>themes/default/algorithms/mAlgorithmIntersect.svg</file>
<file>themes/default/algorithms/mAlgorithmLineIntersections.svg</file>
<file>themes/default/algorithms/mAlgorithmMeanCoordinates.svg</file>
<file>themes/default/algorithms/mAlgorithmMultiToSingle.svg</file>
<file>themes/default/algorithms/mAlgorithmSimplify.svg</file>
<file>themes/default/algorithms/mAlgorithmSingleToMulti.svg</file>
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions src/analysis/processing/qgsalgorithmlineintersection.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ class QgsLineIntersectionAlgorithm : public QgsProcessingAlgorithm

QgsLineIntersectionAlgorithm() = default;
void initAlgorithm( const QVariantMap &configuration = QVariantMap() ) override;
QIcon icon() const override { return QgsApplication::getThemeIcon( QStringLiteral( "/algorithms/mAlgorithmLineIntersections.svg" ) ); }
QString svgIconPath() const override { return QgsApplication::iconPath( QStringLiteral( "/algorithms/mAlgorithmLineIntersections.svg" ) ); }
QString name() const override;
QString displayName() const override;
QStringList tags() const override;
Expand Down
2 changes: 2 additions & 0 deletions src/analysis/processing/qgsalgorithmmeancoordinates.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ class QgsMeanCoordinatesAlgorithm : public QgsProcessingAlgorithm

QgsMeanCoordinatesAlgorithm() = default;
void initAlgorithm( const QVariantMap &configuration = QVariantMap() ) override;
QIcon icon() const override { return QgsApplication::getThemeIcon( QStringLiteral( "/algorithms/mAlgorithmMeanCoordinates.svg" ) ); }
QString svgIconPath() const override { return QgsApplication::iconPath( QStringLiteral( "/algorithms/mAlgorithmMeanCoordinates.svg" ) ); }
QString name() const override;
QString displayName() const override;
QStringList tags() const override;
Expand Down

0 comments on commit 2402b35

Please sign in to comment.