Skip to content
Permalink
Browse files

[processing] add missing icons for the geometry tools menu

  • Loading branch information
nirvn committed Apr 30, 2018
1 parent 84bdd47 commit df283513860b78046ec95850e16248e40057b8ff
@@ -77,11 +77,17 @@
<file>splash/splash.png</file>
<file>composer/missing_image.svg</file>
<file>themes/default/algorithms/mAlgorithmBuffer.svg</file>
<file>themes/default/algorithms/mAlgorithmCentroids.svg</file>
<file>themes/default/algorithms/mAlgorithmClip.svg</file>
<file>themes/default/algorithms/mAlgorithmCollect.svg</file>
<file>themes/default/algorithms/mAlgorithmConvexHull.svg</file>
<file>themes/default/algorithms/mAlgorithmDifference.svg</file>
<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/mAlgorithmMultiToSingle.svg</file>
<file>themes/default/algorithms/mAlgorithmSimplify.svg</file>
<file>themes/default/algorithms/mAlgorithmSingleToMulti.svg</file>
<file>themes/default/algorithms/mAlgorithmSymmetricalDifference.svg</file>
<file>themes/default/algorithms/mAlgorithmUnion.svg</file>
<file>themes/default/cap_flat.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="M2.124 1.985c-.746.012-1.4.332-1.663 1.11-.261.771.31 2.164 1.57 1.545 2.092-1.03 2.091.255 2.614.255.645 0 1.307-.45 1.307-1.025 0-.515.026-1.007-.262-1.29-.523-.515-.787.26-2.193-.314a3.544 3.544 0 0 0-1.373-.281z" fill="#e6e6e6" fill-rule="evenodd" stroke="#585a56" stroke-width=".265" stroke-linecap="round" stroke-linejoin="round" stroke-opacity=".93"/><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"/></svg>
@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 6.35 6.35"><path d="M2.142.662c-.64.01-1.2.271-1.425.908C.493 2.2.983 3.34 2.062 2.834c1.794-.842 1.793.209 2.241.209.553 0 1.12-.368 1.12-.839 0-.42.022-.824-.225-1.056-.448-.42-.674.214-1.88-.256a3.162 3.162 0 0 0-1.176-.23z" fill="#8cbe8c" fill-rule="evenodd" stroke="#4b4c4b" stroke-width=".265" stroke-linecap="round" stroke-linejoin="round"/><path d="M1.303 5.584c-.55-.232-.398-.807-.174-1.13l.912-.954c.323-.263.826-.236 1.02-.044.24.331.303.784.196 1.352a1.4 1.4 0 0 1-.847.798c-.2.114-.718.113-1.107-.022z" fill="#8cbe8c" stroke="#4b4c4b" stroke-width=".265"/><path d="M4.37 4.174a3 3 0 0 1 .015 1.535c-.063.326.301.15.655.222.478.075.85-.024.912-.638.011-.267-.245-.692-.37-1.04-.24-.385-1.31-.666-1.211-.079z" fill="#e6e6e6" stroke="#585956" stroke-width=".265" stroke-opacity=".929"/><path d="M3.969.42C3.209.205 2.38 0 1.059.264c-.78.569-.913.984-.931 1.587.057.794.589 1.415.93 1.74-.368.381-.647.6-.793 1.561.023.5.709 1.015 1.322 1.083 1.462-.149 1.379-.279 1.853-.415.176-.373.38-.74.264-1.164.008-.49.013-.925.265-.953.531-.145 1.104-.268 1.425-.529.723-.575.496-.891.691-1.323.05-.584-.315-1.193-.529-1.22z" fill="none" stroke="#565a5d" stroke-width=".265" stroke-linecap="round" stroke-dasharray=".26458332,.52916663"/></svg>
@@ -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.661 1.19l1.72 3.308L3.97 1.852h1.587" fill="none" stroke="#565a5d" stroke-width=".265" stroke-linecap="round" stroke-linejoin="round" stroke-dasharray=".26458333,.52916667"/><rect y="1.191" x=".132" width="1.323" rx=".827" height="1.323" ry=".827" fill="#8cbe8c" stroke="#4b4c4b" stroke-width=".265" stroke-linecap="round"/><rect y="4.101" x="1.72" 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.043" 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="4.895" 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"><path d="M2.124.397C1.378.41.724.73.461 1.507c-.261.772.31 2.165 1.57 1.545 2.092-1.029 2.091.255 2.614.255.645 0 1.307-.45 1.307-1.025 0-.514.026-1.007-.262-1.29-.523-.514-.787.261-2.193-.313A3.544 3.544 0 0 0 2.124.397z" fill="#e6e6e6" fill-rule="evenodd" stroke="#585a56" stroke-width=".265" stroke-linecap="round" stroke-linejoin="round" stroke-opacity=".93"/><path d="M1.387 6.09C.716 5.805.9 5.103 1.174 4.707L2.29 3.543c.395-.322 1.009-.289 1.247-.054.294.405.37.958.24 1.652a1.71 1.71 0 0 1-1.036.976c-.246.14-.878.138-1.353-.028z" fill="#8cbe8c" stroke="#4b4c4b" stroke-width=".265"/></svg>
@@ -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.647 1.425L.899.934l.506-.362.252.607.253.982.505-1.473.506.355.252.627.611-1.098.4 1.004.758.83L5.7.689M.644 3.71c.481-.83.743-.344 1.029 0 .934 1.315 1.008.391 1.286 0 .582-.869 1.004-.841 1.684 0 .89 1.327.796.085 1.146 0M.63 5.488c.313-.374.875-.498 1.446 0 .398.282.771.243 1.44.03.344-.108.72-.297 1.358-.047.303.119.604.141.895.017" fill="none" stroke="#4b4c4b" stroke-width=".265"/></svg>
@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 6.35 6.35"><path d="M2.124.397C1.378.41.724.73.461 1.507c-.261.772.31 2.165 1.57 1.545 2.092-1.029 2.091.255 2.614.255.645 0 1.307-.45 1.307-1.025 0-.514.026-1.007-.262-1.29-.523-.514-.787.261-2.193-.313A3.544 3.544 0 0 0 2.124.397z" fill="#8cbe8c" fill-rule="evenodd" stroke="#4b4c4b" stroke-width=".265" stroke-linecap="round" stroke-linejoin="round"/><path d="M1.387 6.09C.716 5.805.9 5.103 1.174 4.707L2.29 3.543c.395-.322 1.009-.289 1.247-.054.294.405.37.958.24 1.652a1.71 1.71 0 0 1-1.036.976c-.246.14-.878.138-1.353-.028z" fill="#8cbe8c" stroke="#4b4c4b" stroke-width=".265"/></svg>
@@ -34,6 +34,8 @@ class QgsCentroidAlgorithm : public QgsProcessingFeatureBasedAlgorithm
public:

QgsCentroidAlgorithm() = default;
QIcon icon() const override { return QgsApplication::getThemeIcon( QStringLiteral( "/algorithms/mAlgorithmCentroids.svg" ) ); }
QString svgIconPath() const override { return QgsApplication::iconPath( QStringLiteral( "/algorithms/mAlgorithmCentroids.svg" ) ); }
QString name() const override;
QString displayName() const override;
QStringList tags() const override;
@@ -72,6 +72,8 @@ class QgsCollectAlgorithm : public QgsCollectorAlgorithm
public:

QgsCollectAlgorithm() = default;
QIcon icon() const override { return QgsApplication::getThemeIcon( QStringLiteral( "/algorithms/mAlgorithmCollect.svg" ) ); }
QString svgIconPath() const override { return QgsApplication::iconPath( QStringLiteral( "/algorithms/mAlgorithmCollect.svg" ) ); }
void initAlgorithm( const QVariantMap &configuration = QVariantMap() ) override;
QString name() const override;
QString displayName() const override;
@@ -34,6 +34,8 @@ class QgsExtractVerticesAlgorithm : public QgsProcessingAlgorithm
public:

QgsExtractVerticesAlgorithm() = default;
QIcon icon() const override { return QgsApplication::getThemeIcon( QStringLiteral( "/algorithms/mAlgorithmExtractVertices.svg" ) ); }
QString svgIconPath() const override { return QgsApplication::iconPath( QStringLiteral( "/algorithms/mAlgorithmExtractVertices.svg" ) ); }
void initAlgorithm( const QVariantMap &configuration = QVariantMap() ) override;
QString name() const override;
QString displayName() const override;
@@ -34,6 +34,8 @@ class QgsMultipartToSinglepartAlgorithm : public QgsProcessingFeatureBasedAlgori
public:

QgsMultipartToSinglepartAlgorithm() = default;
QIcon icon() const override { return QgsApplication::getThemeIcon( QStringLiteral( "/algorithms/mAlgorithmMultiToSingle.svg" ) ); }
QString svgIconPath() const override { return QgsApplication::iconPath( QStringLiteral( "/algorithms/mAlgorithmMultiToSingle.svg" ) ); }
QString name() const override;
QString displayName() const override;
QString outputName() const override;
@@ -34,6 +34,8 @@ class QgsPointOnSurfaceAlgorithm : public QgsProcessingFeatureBasedAlgorithm
public:

QgsPointOnSurfaceAlgorithm() = default;
QIcon icon() const override { return QgsApplication::getThemeIcon( QStringLiteral( "/algorithms/mAlgorithmCentroids.svg" ) ); }
QString svgIconPath() const override { return QgsApplication::iconPath( QStringLiteral( "/algorithms/mAlgorithmCentroids.svg" ) ); }
QString name() const override;
QString displayName() const override;
QStringList tags() const override;
@@ -35,6 +35,8 @@ class QgsPromoteToMultipartAlgorithm : public QgsProcessingFeatureBasedAlgorithm
public:

QgsPromoteToMultipartAlgorithm() = default;
QIcon icon() const override { return QgsApplication::getThemeIcon( QStringLiteral( "/algorithms/mAlgorithmSingleToMulti.svg" ) ); }
QString svgIconPath() const override { return QgsApplication::iconPath( QStringLiteral( "/algorithms/mAlgorithmSingleToMulti.svg" ) ); }
QString name() const override;
QString displayName() const override;
QStringList tags() const override;
@@ -35,6 +35,8 @@ class QgsSimplifyAlgorithm : public QgsProcessingFeatureBasedAlgorithm
public:

QgsSimplifyAlgorithm() = default;
QIcon icon() const override { return QgsApplication::getThemeIcon( QStringLiteral( "/algorithms/mAlgorithmSimplify.svg" ) ); }
QString svgIconPath() const override { return QgsApplication::iconPath( QStringLiteral( "/algorithms/mAlgorithmSimplify.svg" ) ); }
QString name() const override;
QString displayName() const override;
QStringList tags() const override;

0 comments on commit df28351

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