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 icons for set start/end time and clear cache

Arkady Fluryc04ac5b5df18
diff --git a/krita/krita.action b/krita/krita.action
index 9083e3c64c..ba4f30acaa 100644
--- a/krita/krita.action
+++ b/krita/krita.action
@@ -2379,7 +2379,7 @@
<statusTip/>
</Action>
<Action name="clear_animation_cache">
- <icon/>
+ <icon>clear-cache</icon>
<text>Clear Cache</text>
<whatsThis/>
<toolTip>Clear entire animation cache. Useful for debugging.</toolTip>
@@ -2487,7 +2487,7 @@
<statusTip/>
</Action>
<Action name="set_start_time">
- <icon/>
+ <icon>time-set-start</icon>
<text>Set Start Time</text>
<whatsThis/>
<toolTip/>
@@ -2499,7 +2499,7 @@
<statusTip/>
</Action>
<Action name="set_end_time">
- <icon/>
+ <icon>time-set-end</icon>
<text>Set End Time</text>
<whatsThis/>
<toolTip/>
diff --git a/krita/pics/svg/dark_clear-cache.svg b/krita/pics/svg/dark_clear-cache.svg
new file mode 100644
index 0000000000..3a6e5981d7
--- /dev/null
+++ b/krita/pics/svg/dark_clear-cache.svg
@@ -0,0 +1 @@
+<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><rect x="3" y="7" width="10" height="1" fill="#373737"/><rect x="7" y="1" width="2" height="6" fill="#373737"/><path d="M13 9H3l-1 6h2l.5-3h1L5 15h4v-2h1v2h4l-1-6z" fill="#373737"/></svg>
\ No newline at end of file
diff --git a/krita/pics/svg/dark_time-set-end.svg b/krita/pics/svg/dark_time-set-end.svg
new file mode 100644
index 0000000000..ebff335178
--- /dev/null
+++ b/krita/pics/svg/dark_time-set-end.svg
@@ -0,0 +1 @@
+<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><path d="M7.5 4v4.5H10" stroke="#373737"/><path d="m14 4-3-3 1-1 3 3-1 1z" fill="#373737"/><path d="m2 4 3-3-1-1-3 3 1 1z" fill="#373737"/><path d="M8 2a6 6 0 0 1 5.915 7h-1.016A5 5 0 1 0 9 12.9v1.015A6 6 0 1 1 8 2z" fill="#373737"/><rect x="10" y="10" width="5" height="5" fill="#373737"/></svg>
\ No newline at end of file
diff --git a/krita/pics/svg/dark_time-set-start.svg b/krita/pics/svg/dark_time-set-start.svg
new file mode 100644
index 0000000000..94917520ba
--- /dev/null
+++ b/krita/pics/svg/dark_time-set-start.svg
@@ -0,0 +1 @@
+<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><path d="M7.5 4v4.5H10" stroke="#373737"/><path d="m14 4-3-3 1-1 3 3-1 1z" fill="#373737"/><path d="m2 4 3-3-1-1-3 3 1 1z" fill="#373737"/><path d="M11 9.5v6l4.5-3-4.5-3z" fill="#373737"/><path d="M8 2a6 6 0 0 1 5.638 8.057l-.862-.575a5 5 0 1 0-2.776 3.1v1.075A6 6 0 1 1 8 2z" fill="#373737"/></svg>
\ No newline at end of file
diff --git a/krita/pics/svg/light_clear-cache.svg b/krita/pics/svg/light_clear-cache.svg
new file mode 100644
index 0000000000..eb8bd232aa
--- /dev/null
+++ b/krita/pics/svg/light_clear-cache.svg
@@ -0,0 +1 @@
+<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><rect x="3" y="7" width="10" height="1" fill="#D2D2D2"/><rect x="7" y="1" width="2" height="6" fill="#D2D2D2"/><path d="M13 9H3l-1 6h2l.5-3h1L5 15h4v-2h1v2h4l-1-6z" fill="#D2D2D2"/></svg>
\ No newline at end of file
diff --git a/krita/pics/svg/light_time-set-end.svg b/krita/pics/svg/light_time-set-end.svg
new file mode 100644
index 0000000000..b341da1a68
--- /dev/null
+++ b/krita/pics/svg/light_time-set-end.svg
@@ -0,0 +1 @@
+<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><path d="M7.5 4v4.5H10" stroke="#D2D2D2"/><path d="m14 4-3-3 1-1 3 3-1 1z" fill="#D2D2D2"/><path d="m2 4 3-3-1-1-3 3 1 1z" fill="#D2D2D2"/><path d="M8 2a6 6 0 0 1 5.915 7h-1.016A5 5 0 1 0 9 12.9v1.015A6 6 0 1 1 8 2z" fill="#D2D2D2"/><rect x="10" y="10" width="5" height="5" fill="#D2D2D2"/></svg>
\ No newline at end of file
diff --git a/krita/pics/svg/light_time-set-start.svg b/krita/pics/svg/light_time-set-start.svg
new file mode 100644
index 0000000000..81ffba69fc
--- /dev/null
+++ b/krita/pics/svg/light_time-set-start.svg
@@ -0,0 +1 @@
+<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><path d="M7.5 4v4.5H10" stroke="#D2D2D2"/><path d="m14 4-3-3 1-1 3 3-1 1z" fill="#D2D2D2"/><path d="m2 4 3-3-1-1-3 3 1 1z" fill="#D2D2D2"/><path d="M11 9.5v6l4.5-3-4.5-3z" fill="#D2D2D2"/><path d="M8 2a6 6 0 0 1 5.638 8.057l-.862-.575a5 5 0 1 0-2.776 3.1v1.075A6 6 0 1 1 8 2z" fill="#D2D2D2"/></svg>
\ No newline at end of file
diff --git a/krita/pics/svg/svg-icons.qrc b/krita/pics/svg/svg-icons.qrc
index 2644ede35a..c6fb62ef27 100644
--- a/krita/pics/svg/svg-icons.qrc
+++ b/krita/pics/svg/svg-icons.qrc
@@ -1,7 +1,3 @@
- <!--
- SPDX-FileCopyrightText: none
- SPDX-License-Identifier: CC0-1.0
--->
<RCC>
<qresource prefix="/">
<file>dark_reselect.svg</file>
@@ -671,5 +667,11 @@
<file>light_column-remove-and-pull.svg</file>
<file>light_column-remove-hold-.svg</file>
<file>light_column-remove-hold-multiple.svg</file>
+ <file>dark_clear-cache.svg</file>
+ <file>dark_time-set-end.svg</file>
+ <file>dark_time-set-start.svg</file>
+ <file>light_clear-cache.svg</file>
+ <file>light_time-set-end.svg</file>
+ <file>light_time-set-start.svg</file>
</qresource>
</RCC>