Skip to content
Permalink
Browse files

[processing] SVG icon for SAGA provider

  • Loading branch information
alexbruy committed Jan 31, 2018
1 parent 28ff28a commit c3fc560fef1f059de43f815a34c57093e51d1af0
@@ -596,6 +596,7 @@
<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>
<file>themes/default/processingAlgorithm.svg</file>
@@ -0,0 +1 @@
<svg height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><g stroke-linecap="round" stroke-linejoin="round" transform="matrix(.07628534 0 0 .07628534 -.289714 .407423)"><path d="m141.88244 292.54618c-57.050852-12.43288-101.029372-53.86504-115.953302-109.23962-4.82828-17.91511-5.15806-51.51641-.67872-69.15438 14.57217-57.379739 58.85522-99.200829 117.656792-111.1155489 9.96782-2.01974 17.53852-2.42872996 31.98908-1.72815 22.88596 1.10955 40.73473 5.27543 58.72662 13.7067199 7.35444 3.4464 14.52271 6.26619 15.92947 6.26619 1.40677 0 6.2251-2.46973 10.70739-5.48828l8.14961-5.48827 1.07261 7.45587c.58994 4.10074 2.7008 17.3697 4.6908 29.48659s3.49186 22.15703 3.33747 22.31142c-.53597.53597-71.95554-14.77494-72.78403-15.60343-.45825-.45825 1.55278-2.30778 4.46894-4.11007 2.91618-1.80229 6.64404-4.75968 8.28414-6.57197 3.91992-4.33146 3.0341-4.81399-18.6965-10.18483-38.89665-9.61353-74.82705-1.38708-107.546172 24.62326-9.08112 7.21911-23.86667 25.14965-26.27142 31.85952-.82835 2.31132 2.4074 6.47791 14.6691 18.888979l15.73188 15.92353 20.897002-20.47036c11.49335-11.258689 27.11658-26.487929 34.7183-33.842739l13.8213-13.3724 46.26625 46.828919 46.26626 46.82892h30.14186 30.14184l-1.03472 9.05096c-4.21084 36.8333-22.67519 74.09559-48.09288 97.0547-18.22374 16.461-44.29948 29.97931-67.18056 34.82804-9.94212 2.10685-51.4949 2.98534-59.42841 1.25643zm38.33409-26.71941c6.68024-.69822 9.67539-1.68265 9.67539-3.18004 0-2.42194-127.649102-133.45412-132.578552-136.09228-5.5405-2.96519-6.73494.5565-6.63485 19.56207.0571 10.84544 1.1624 22.33154 2.87493 29.8764 12.65635 55.75979 69.172262 95.84284 126.663082 89.83385zm55.07929-18.79278c11.2943-7.60604 25.45879-22.01244 32.62964-33.18694 6.55855-10.22032 13.99744-25.77773 15.4937-32.4029l.9776-4.32872h-61.22239c-61.17607 0-71.0604.50496-71.0604 3.63033 0 2.55958 69.95552 71.92556 72.53685 71.92556 1.25072 0 6.04097-2.5368 10.645-5.63733zm-51.30671-97.71831c17.41192-.60853 29.51402-1.66064 29.51402-2.56585 0-3.10741-62.43251-64.413119-65.0228-63.849239-3.69815.80503-44.7695 40.125069-46.01664 44.054449-.83579 2.63333.98047 5.35634 8.90745 13.3544l9.9573 10.04661 16.57332-.004c9.11533-.002 29.85464-.46861 46.08735-1.03592z" fill="#c6d9f1" stroke="#c6d9f1" stroke-width="1.574081"/><path d="m133.28624 308.46501c-17.72885-1.848-41.826378-10.57348-58.991302-21.36017-12.459063-7.82946-26.425357-20.02281-36.027226-31.45378-13.185641-15.69744-24.61651-38.01693-29.6361549-57.86645-6.258585-24.74875-6.066382-50.12578.562845-74.3139 5.3172999-19.40128 14.9777229-38.293855 27.4443009-53.671935 16.970533-20.93391 42.89025-39.0374 67.708407-47.29058 16.89342-5.61785 25.91735-7.23097 42.91044-7.67071 15.49774-.40105 27.00904.73209 41.4026 4.07553 11.95146 2.77618 20.77592 6.08144 33.35959 12.49506 4.76634 2.42929 9.26829 4.4169 10.00434 4.4169 1.60133 0 4.2792-1.51915 13.02021-7.38628 3.61649-2.42747 6.66692-4.32209 6.77873-4.21027.11182.11181 1.60274 9.46591 3.31315 20.78688 1.71042 11.32097 3.86328 24.81334 4.78413 29.98304s1.5662 9.50753 1.43411 9.63962c-.13209.13208-4.83451-.76637-10.44982-1.99657-5.61531-1.23021-18.22357-3.89051-28.01835-5.91179-21.98309-4.53649-35.37564-7.50022-36.38252-8.05133-.52944-.28978 1.52778-2.0495 6.67826-5.71251 8.11624-5.77225 9.68551-7.20594 9.21876-8.42227-.91558-2.38596-25.54125-8.91469-39.34463-10.431-14.42008-1.58405-33.58273.72861-49.24813 5.94356-20.332508 6.7686-41.619827 21.61591-54.998955 38.36022-8.691416 10.87753-11.326275 15.725195-10.240326 18.840345.338797.97188 6.517696 7.67872 14.874828 16.14577l14.295296 14.48333 1.617191-1.26505c.88945-.69578 13.343068-12.67923 27.674686-26.62991 14.33163-13.950665 29.19931-28.327255 33.03929-31.947965l6.98178-6.58313 1.67889 1.19548c4.34808 3.09611 18.13978 16.64977 53.00775 52.092895l37.84348 38.4677 17.8087.0663c20.49689.0764 40.70341.74108 42.23432 1.38936.96695.40946 1.02258.88984.69027 5.96067-1.38222 21.09176-7.73944 42.88458-17.70835 60.705-18.7567 33.52948-42.87249 54.94738-76.97276 68.36164-12.42729 4.88861-24.58347 7.6423-38.84771 8.80003-8.20516.66595-26.96878.64703-33.50012-.0338zm31.55885-28.88131c6.93442-.67466 8.23246-1.01694 8.23246-2.17086 0-2.01148-10.09732-12.61748-68.97941-72.45452-40.294894-40.9484-60.119822-60.7743-63.576862-63.57999-3.078972-2.49885-4.356226-2.23322-5.555683 1.15541-1.173978 3.31665-.988465 30.35865.262152 38.21355 3.888297 24.42173 13.671561 44.36152 30.698 62.56722 4.460895 4.76986 13.714766 12.70415 18.890179 16.19649 11.129426 7.51005 28.772634 15.13613 41.954204 18.13421 10.11697 2.30106 26.02412 3.11093 38.07496 1.93849zm49.12851-15.87583c2.42932-1.3844 6.30264-3.95136 8.60738-5.70434 5.25517-3.99708 16.95242-15.29204 21.16741-20.43943 9.28528-11.33926 21.32214-34.13251 22.57207-42.74295l.38809-2.6734-64.48507.1762c-35.46679.0969-64.92333.3876-65.45898.64598s-.97391.89873-.97391 1.42301c0 1.68313 9.6445 11.96879 35.31013 37.65748 27.16966 27.19409 34.73334 34.17455 37.02981 34.17455.78438 0 3.41376-1.13269 5.84307-2.5171zm-18.32229-101.62655c.84045-.84072.60319-1.25795-3.1647-5.56522-5.09318-5.82226-53.79599-54.60391-57.40915-57.502075-2.2593-1.81221-2.84734-2.04699-3.89566-1.55536-4.13393 1.93867-46.034688 42.963445-46.034688 45.072285 0 1.63515 3.817355 6.30987 11.6169 14.22602l6.470058 6.56678 45.75434-.16678c41.44681-.15108 45.83987-.25235 46.6629-1.07565z" fill="#004f91" stroke="#004f91" stroke-width=".556522"/></g></svg>
@@ -30,6 +30,7 @@
from qgis.PyQt.QtCore import QCoreApplication
from qgis.core import (QgsProcessingProvider,
QgsProcessingUtils,
QgsApplication,
QgsMessageLog)
from processing.core.ProcessingConfig import ProcessingConfig, Setting
from processing.tools.system import isWindows, isMac
@@ -134,7 +135,7 @@ def supportsNonFileBasedOutput(self):
return False

def icon(self):
return QIcon(os.path.join(pluginPath, 'images', 'saga.png'))
return QgsApplication.getThemeIcon("/providerSaga.svg")

def tr(self, string, context=''):
if context == '':

0 comments on commit c3fc560

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