Skip to content
Permalink
Browse files

Proper icon for code editor settings

  • Loading branch information
nyalldawson committed Oct 5, 2020
1 parent d9782a1 commit 64bcee54a752be117bae6a94427f2e9efaae310e
Showing with 31 additions and 1 deletion.
  1. +1 −0 images/images.qrc
  2. +29 −0 images/themes/default/mIconCodeEditor.svg
  3. +1 −1 src/app/options/qgscodeeditoroptions.cpp
@@ -890,6 +890,7 @@
<file>themes/default/mActionLabelAnchorEnd.svg</file>
<file>themes/default/mActionLabelAnchorStart.svg</file>
<file>themes/default/transformation.svg</file>
<file>themes/default/mIconCodeEditor.svg</file>
</qresource>
<qresource prefix="/images/tips">
<file alias="symbol_levels.png">qgis_tips/symbol_levels.png</file>
@@ -0,0 +1,29 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg width="64" height="64" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:cc="http://creativecommons.org/ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
<metadata>
<rdf:RDF>
<cc:Work rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type rdf:resource="http://purl.org/dc/dcmitype/StillImage"/>
<dc:title/>
</cc:Work>
</rdf:RDF>
</metadata>
<g>
<path d="m53.5 59.495h-43v-43.494l11.79-10.496h31.21z" fill="#ececec" stroke="#9a9a9a" stroke-width="1.0046"/>
<rect x="19" y="10" width="9" height="3" fill="#2c2c2c"/>
<rect x="15" y="16" width="7" height="3" fill="#ed5d36" opacity=".85162"/>
<rect x="25" y="22" width="10" height="3" fill="#729fcf" opacity=".85162"/>
<rect x="25" y="40" width="23" height="3" fill="#484848" opacity=".85162"/>
<rect x="15" y="52" width="7" height="3" fill="#ed5d36" opacity=".85162"/>
<rect x="31" y="10" width="14" height="3" fill="#729fcf"/>
<path d="m22.29 5.5046v10.396h-11.394z" fill="#b3b3b3" stroke="#9a9a9a" stroke-linejoin="round" stroke-width="1.0046"/>
<rect x="25" y="16" width="19" height="3" fill="#2c2c2c" opacity=".85162"/>
</g>
<path d="m16 22v28" fill="none" stroke="#9a9a9a" stroke-dasharray="2.00001, 4" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"/>
<g>
<rect x="25" y="46" width="10" height="3" fill="#484848" opacity=".85162"/>
<rect x="38" y="22" width="10" height="3" fill="#2c2c2c" opacity=".85162"/>
<rect x="25" y="34" width="23" height="3" fill="#65b042" opacity=".85162"/>
</g>
</svg>
@@ -163,7 +163,7 @@ QgsCodeEditorOptionsFactory::QgsCodeEditorOptionsFactory()

QIcon QgsCodeEditorOptionsFactory::icon() const
{
return QgsApplication::getThemeIcon( QStringLiteral( "/console/mIconRunConsole.svg" ) );
return QgsApplication::getThemeIcon( QStringLiteral( "/mIconCodeEditor.svg" ) );
}

QgsOptionsPageWidget *QgsCodeEditorOptionsFactory::createWidget( QWidget *parent ) const

0 comments on commit 64bcee5

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