Skip to content
Permalink
Browse files

[processing] add missing icons for the analysis tools menu

  • Loading branch information
nirvn committed Apr 30, 2018
1 parent df28351 commit 2402b35a6707f01c435c1e903ef7830125ce9a43
@@ -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>
@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 6.35 6.35"><path d="M.53 5.82L5.82.53" fill="#585a56" stroke="#585a56" stroke-width=".794" stroke-opacity=".933" fill-opacity=".933"/><path d="M.701 5.649L5.65.7" fill="none" stroke="#e6e6e6" stroke-width=".265"/><path d="M3.175.53l2.646 2.645M.53 2.91l3.439 3.175" fill="none" stroke="#585a56" stroke-width=".794" stroke-opacity=".933"/><path d="M.701 3.082l3.096 2.831M3.347.701l2.302 2.302" fill="none" stroke="#e6e6e6" stroke-width=".265"/><rect y="3.572" x="1.455" width="1.323" rx=".827" height="1.323" ry=".827" fill="#8cbe8c" stroke="#4b4c4b" stroke-width=".265" stroke-linecap="round"/><rect y="1.191" x="3.837" width="1.323" rx=".827" height="1.323" ry=".827" fill="#8cbe8c" stroke="#4b4c4b" stroke-width=".265" stroke-linecap="round"/></svg>
@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 6.35 6.35"><rect y="2.514" x="2.514" width="1.323" rx=".827" height="1.323" ry=".827" fill="#8cbe8c" stroke="#4b4c4b" stroke-width=".265" stroke-linecap="round"/><path d="M1.19 2.778H.398V1.455C.394 1.058.529.923.926.926h.794v-.53l1.058.927-1.058.926v-.53h-.53zM3.836 1.455V.661H5.16c.397-.002.532.133.53.53v.793h.529l-.926 1.059-.926-1.059h.529v-.529zM5.16 3.836h.793V5.16c.003.397-.132.532-.53.53H4.63v.529l-1.058-.926 1.058-.926v.529h.53zM2.514 5.16v.793H1.19c-.397.003-.532-.132-.53-.53V4.63H.132l.926-1.058.926 1.058h-.529v.53z" fill="#7c96a8" stroke="#517083" stroke-width=".265" stroke-linecap="round" stroke-linejoin="round"/></svg>
@@ -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;
@@ -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;

0 comments on commit 2402b35

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