Skip to content

armgit / krita

Public Imported from GitHub
0

Krita is a free and open source cross-platform application that offers an end-to-end solution for creating digital art files from scratch built on the KDE and Qt frameworks.

C++

Add icon for Reselect, and update icon for Deselect

Arkady Fluryed6abaec13ff
diff --git a/krita/kritamenu.action b/krita/kritamenu.action
index 3432e7675a..26295421d9 100644
--- a/krita/kritamenu.action
+++ b/krita/kritamenu.action
@@ -1401,7 +1401,7 @@
<statusTip></statusTip>
</Action>
<Action name="reselect">
- <icon></icon>
+ <icon>reselect</icon>
<text>&amp;Reselect</text>
<whatsThis></whatsThis>
<toolTip>Reselect</toolTip>
diff --git a/krita/pics/svg/dark_reselect.svg b/krita/pics/svg/dark_reselect.svg
new file mode 100644
index 0000000000..0d62a601f0
--- /dev/null
+++ b/krita/pics/svg/dark_reselect.svg
@@ -0,0 +1,44 @@
+<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:cc="http://creativecommons.org/ns#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
+<metadata id="metadata7">
+ <rdf:RDF>
+ <cc:Work>
+ <dc:format>image/svg+xml</dc:format>
+ <dc:type
+ rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
+ <dc:date>2026</dc:date>
+ <dc:creator>
+ <cc:Agent>
+ <dc:title>superfurryfrog</dc:title>
+ </cc:Agent>
+ </dc:creator>
+ <cc:license
+ rdf:resource="http://creativecommons.org/licenses/by-sa/4.0/" />
+ </cc:Work>
+ <cc:License
+ rdf:about="http://creativecommons.org/licenses/by-sa/4.0/">
+ <cc:permits
+ rdf:resource="http://creativecommons.org/ns#Reproduction" />
+ <cc:permits
+ rdf:resource="http://creativecommons.org/ns#Distribution" />
+ <cc:requires
+ rdf:resource="http://creativecommons.org/ns#Notice" />
+ <cc:requires
+ rdf:resource="http://creativecommons.org/ns#Attribution" />
+ <cc:permits
+ rdf:resource="http://creativecommons.org/ns#DerivativeWorks" />
+ <cc:requires
+ rdf:resource="http://creativecommons.org/ns#ShareAlike" />
+ </cc:License>
+ </rdf:RDF>
+ </metadata>
+<g clip-path="url(#clip0_763_2)">
+<path d="M5 4L8 6V2L5 4Z" fill="#373737"/>
+<path d="M8 4C10.2091 4 12 5.79086 12 8C12 10.2091 10.2091 12 8 12C5.79086 12 4 10.2091 4 8" stroke="#373737" stroke-miterlimit="11.4737" stroke-linejoin="round"/>
+<circle cx="8" cy="8" r="7.5" stroke="#373737" stroke-dasharray="4 2"/>
+</g>
+<defs>
+<clipPath id="clip0_763_2">
+<rect width="16" height="16" fill="white"/>
+</clipPath>
+</defs>
+</svg>
diff --git a/krita/pics/svg/dark_select-clear.svg b/krita/pics/svg/dark_select-clear.svg
index 8a8e34cb48..c8d7d77506 100644
--- a/krita/pics/svg/dark_select-clear.svg
+++ b/krita/pics/svg/dark_select-clear.svg
@@ -1 +1,44 @@
-<svg xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:cc="http://creativecommons.org/ns#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://www.w3.org/2000/svg" width="16" height="16" id="svg3815" version="1.1"><metadata id="metadata3820"><rdf:RDF><cc:Work><dc:format>image/svg+xml</dc:format><dc:type rdf:resource="http://purl.org/dc/dcmitype/StillImage"/><dc:title/><dc:date>2021</dc:date><dc:creator><cc:Agent><dc:title>Timothée Giet</dc:title></cc:Agent></dc:creator><cc:license rdf:resource="http://creativecommons.org/licenses/by-sa/4.0/"/></cc:Work><cc:License rdf:about="http://creativecommons.org/licenses/by-sa/4.0/"><cc:permits rdf:resource="http://creativecommons.org/ns#Reproduction"/><cc:permits rdf:resource="http://creativecommons.org/ns#Distribution"/><cc:requires rdf:resource="http://creativecommons.org/ns#Notice"/><cc:requires rdf:resource="http://creativecommons.org/ns#Attribution"/><cc:permits rdf:resource="http://creativecommons.org/ns#DerivativeWorks"/><cc:requires rdf:resource="http://creativecommons.org/ns#ShareAlike"/></cc:License></rdf:RDF></metadata><g id="layer1" transform="translate(-461.714 -531.79)"><path style="opacity:1;vector-effect:none;fill:#373737;fill-opacity:1;stroke:none;stroke-width:4;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:3.20000005;stroke-opacity:.55063291" d="M470.714 533.877v1.015a5 5 0 0 1 1.754.73l.717-.716a6 6 0 0 0-2.47-1.03zm-2 .004a6 6 0 0 0-2.472 1.023l.718.719a5 5 0 0 1 1.754-.727zm5.887 2.437-.719.719a5 5 0 0 1 .727 1.754h1.015a6 6 0 0 0-1.023-2.473zm-9.771.002a6 6 0 0 0-1.03 2.47h1.016a5 5 0 0 1 .73-1.753zm-1.026 4.47a6 6 0 0 0 1.024 2.474l.718-.72a5 5 0 0 1-.726-1.753zm10.809 0a5 5 0 0 1-.73 1.755l.716.717a6 6 0 0 0 1.03-2.471zm-7.653 3.169-.716.717a6 6 0 0 0 2.47 1.029v-1.016a5 5 0 0 1-1.754-.73zm5.508 0a5 5 0 0 1-1.754.726v1.016a6 6 0 0 0 2.473-1.023z" id="path858"/><rect transform="rotate(-45)" style="opacity:1;vector-effect:none;fill:#373737;fill-opacity:1;stroke:none;stroke-width:3.26598692;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:3.20000005;stroke-opacity:.55063291" id="rect950" width="1" height="8.0000029" x="-50.051552" y="709.82788"/><rect style="opacity:1;vector-effect:none;fill:#373737;fill-opacity:1;stroke:none;stroke-width:3.2659862;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:3.20000005;stroke-opacity:.55063291" id="rect950-6" width="1" height="8" x="-714.32788" y="-53.551552" transform="rotate(-135)"/></g></svg>
\ No newline at end of file
+<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:cc="http://creativecommons.org/ns#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
+<metadata id="metadata7">
+ <rdf:RDF>
+ <cc:Work>
+ <dc:format>image/svg+xml</dc:format>
+ <dc:type
+ rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
+ <dc:date>2026</dc:date>
+ <dc:creator>
+ <cc:Agent>
+ <dc:title>superfurryfrog and Timothée Giet</dc:title>
+ </cc:Agent>
+ </dc:creator>
+ <cc:license
+ rdf:resource="http://creativecommons.org/licenses/by-sa/4.0/" />
+ </cc:Work>
+ <cc:License
+ rdf:about="http://creativecommons.org/licenses/by-sa/4.0/">
+ <cc:permits
+ rdf:resource="http://creativecommons.org/ns#Reproduction" />
+ <cc:permits
+ rdf:resource="http://creativecommons.org/ns#Distribution" />
+ <cc:requires
+ rdf:resource="http://creativecommons.org/ns#Notice" />
+ <cc:requires
+ rdf:resource="http://creativecommons.org/ns#Attribution" />
+ <cc:permits
+ rdf:resource="http://creativecommons.org/ns#DerivativeWorks" />
+ <cc:requires
+ rdf:resource="http://creativecommons.org/ns#ShareAlike" />
+ </cc:License>
+ </rdf:RDF>
+ </metadata>
+<g clip-path="url(#clip0_764_44)">
+<circle cx="8" cy="8" r="7.5" stroke="#373737" stroke-dasharray="4 2"/>
+<path d="M12 10.5L5.5 4L4 5.5L10.5 12L12 10.5Z" fill="#373737"/>
+<path d="M10.4749 4L4 10.5L5.5 12L12 5.5L10.4749 4Z" fill="#373737"/>
+</g>
+<defs>
+<clipPath id="clip0_764_44">
+<rect width="16" height="16" fill="white"/>
+</clipPath>
+</defs>
+</svg>
diff --git a/krita/pics/svg/light_reselect.svg b/krita/pics/svg/light_reselect.svg
new file mode 100644
index 0000000000..c7960dbeb4
--- /dev/null
+++ b/krita/pics/svg/light_reselect.svg
@@ -0,0 +1,44 @@
+<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:cc="http://creativecommons.org/ns#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
+<metadata id="metadata7">
+ <rdf:RDF>
+ <cc:Work>
+ <dc:format>image/svg+xml</dc:format>
+ <dc:type
+ rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
+ <dc:date>2026</dc:date>
+ <dc:creator>
+ <cc:Agent>
+ <dc:title>superfurryfrog</dc:title>
+ </cc:Agent>
+ </dc:creator>
+ <cc:license
+ rdf:resource="http://creativecommons.org/licenses/by-sa/4.0/" />
+ </cc:Work>
+ <cc:License
+ rdf:about="http://creativecommons.org/licenses/by-sa/4.0/">
+ <cc:permits
+ rdf:resource="http://creativecommons.org/ns#Reproduction" />
+ <cc:permits
+ rdf:resource="http://creativecommons.org/ns#Distribution" />
+ <cc:requires
+ rdf:resource="http://creativecommons.org/ns#Notice" />
+ <cc:requires
+ rdf:resource="http://creativecommons.org/ns#Attribution" />
+ <cc:permits
+ rdf:resource="http://creativecommons.org/ns#DerivativeWorks" />
+ <cc:requires
+ rdf:resource="http://creativecommons.org/ns#ShareAlike" />
+ </cc:License>
+ </rdf:RDF>
+ </metadata>
+<g clip-path="url(#clip0_763_2)">
+<path d="M5 4L8 6V2L5 4Z" fill="#D2D2D2"/>
+<path d="M8 4C10.2091 4 12 5.79086 12 8C12 10.2091 10.2091 12 8 12C5.79086 12 4 10.2091 4 8" stroke="#D2D2D2" stroke-miterlimit="11.4737" stroke-linejoin="round"/>
+<circle cx="8" cy="8" r="7.5" stroke="#D2D2D2" stroke-dasharray="4 2"/>
+</g>
+<defs>
+<clipPath id="clip0_763_2">
+<rect width="16" height="16" fill="white"/>
+</clipPath>
+</defs>
+</svg>
diff --git a/krita/pics/svg/light_select-clear.svg b/krita/pics/svg/light_select-clear.svg
index 63464db7dd..3c7a6eaaf2 100644
--- a/krita/pics/svg/light_select-clear.svg
+++ b/krita/pics/svg/light_select-clear.svg
@@ -1 +1,44 @@
-<svg xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:cc="http://creativecommons.org/ns#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://www.w3.org/2000/svg" width="16" height="16" id="svg3815" version="1.1"><metadata id="metadata3820"><rdf:RDF><cc:Work><dc:format>image/svg+xml</dc:format><dc:type rdf:resource="http://purl.org/dc/dcmitype/StillImage"/><dc:title/><dc:date>2021</dc:date><dc:creator><cc:Agent><dc:title>Timothée Giet</dc:title></cc:Agent></dc:creator><cc:license rdf:resource="http://creativecommons.org/licenses/by-sa/4.0/"/></cc:Work><cc:License rdf:about="http://creativecommons.org/licenses/by-sa/4.0/"><cc:permits rdf:resource="http://creativecommons.org/ns#Reproduction"/><cc:permits rdf:resource="http://creativecommons.org/ns#Distribution"/><cc:requires rdf:resource="http://creativecommons.org/ns#Notice"/><cc:requires rdf:resource="http://creativecommons.org/ns#Attribution"/><cc:permits rdf:resource="http://creativecommons.org/ns#DerivativeWorks"/><cc:requires rdf:resource="http://creativecommons.org/ns#ShareAlike"/></cc:License></rdf:RDF></metadata><g id="layer1" transform="translate(-461.714 -531.79)"><path style="opacity:1;vector-effect:none;fill:#d2d2d2;fill-opacity:1;stroke:none;stroke-width:4;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:3.20000005;stroke-opacity:.55063291" d="M470.714 533.877v1.015a5 5 0 0 1 1.754.73l.717-.716a6 6 0 0 0-2.47-1.03zm-2 .004a6 6 0 0 0-2.472 1.023l.718.719a5 5 0 0 1 1.754-.727zm5.887 2.437-.719.719a5 5 0 0 1 .727 1.754h1.015a6 6 0 0 0-1.023-2.473zm-9.771.002a6 6 0 0 0-1.03 2.47h1.016a5 5 0 0 1 .73-1.753zm-1.026 4.47a6 6 0 0 0 1.024 2.474l.718-.72a5 5 0 0 1-.726-1.753zm10.809 0a5 5 0 0 1-.73 1.755l.716.717a6 6 0 0 0 1.03-2.471zm-7.653 3.169-.716.717a6 6 0 0 0 2.47 1.029v-1.016a5 5 0 0 1-1.754-.73zm5.508 0a5 5 0 0 1-1.754.726v1.016a6 6 0 0 0 2.473-1.023z" id="path858"/><rect transform="rotate(-45)" style="opacity:1;vector-effect:none;fill:#d2d2d2;fill-opacity:1;stroke:none;stroke-width:3.26598692;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:3.20000005;stroke-opacity:.55063291" id="rect950" width="1" height="8.0000029" x="-50.051552" y="709.82788"/><rect style="opacity:1;vector-effect:none;fill:#d2d2d2;fill-opacity:1;stroke:none;stroke-width:3.2659862;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:3.20000005;stroke-opacity:.55063291" id="rect950-6" width="1" height="8" x="-714.32788" y="-53.551552" transform="rotate(-135)"/></g></svg>
\ No newline at end of file
+<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:cc="http://creativecommons.org/ns#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
+<metadata id="metadata7">
+ <rdf:RDF>
+ <cc:Work>
+ <dc:format>image/svg+xml</dc:format>
+ <dc:type
+ rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
+ <dc:date>2026</dc:date>
+ <dc:creator>
+ <cc:Agent>
+ <dc:title>superfurryfrog and Timothée Giet</dc:title>
+ </cc:Agent>
+ </dc:creator>
+ <cc:license
+ rdf:resource="http://creativecommons.org/licenses/by-sa/4.0/" />
+ </cc:Work>
+ <cc:License
+ rdf:about="http://creativecommons.org/licenses/by-sa/4.0/">
+ <cc:permits
+ rdf:resource="http://creativecommons.org/ns#Reproduction" />
+ <cc:permits
+ rdf:resource="http://creativecommons.org/ns#Distribution" />
+ <cc:requires
+ rdf:resource="http://creativecommons.org/ns#Notice" />
+ <cc:requires
+ rdf:resource="http://creativecommons.org/ns#Attribution" />
+ <cc:permits
+ rdf:resource="http://creativecommons.org/ns#DerivativeWorks" />
+ <cc:requires
+ rdf:resource="http://creativecommons.org/ns#ShareAlike" />
+ </cc:License>
+ </rdf:RDF>
+ </metadata>
+<g clip-path="url(#clip0_764_44)">
+<circle cx="8" cy="8" r="7.5" stroke="#D2D2D2" stroke-dasharray="4 2"/>
+<path d="M12 10.5L5.5 4L4 5.5L10.5 12L12 10.5Z" fill="#D2D2D2"/>
+<path d="M10.4749 4L4 10.5L5.5 12L12 5.5L10.4749 4Z" fill="#D2D2D2"/>
+</g>
+<defs>
+<clipPath id="clip0_764_44">
+<rect width="16" height="16" fill="white"/>
+</clipPath>
+</defs>
+</svg>
diff --git a/krita/pics/svg/svg-icons.qrc b/krita/pics/svg/svg-icons.qrc
index 92c761849a..baa5b4d200 100644
--- a/krita/pics/svg/svg-icons.qrc
+++ b/krita/pics/svg/svg-icons.qrc
@@ -4,6 +4,8 @@
-->
<RCC>
<qresource prefix="/">
+ <file>dark_reselect.svg</file>
+ <file>light_reselect.svg</file>
<file>dark_layers-select-all.svg</file>
<file>dark_layers-select-invisible.svg</file>
<file>dark_layers-select-locked.svg</file>