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 16 px copy/paste icons

Arkady Flury1fdf12eafcee
diff --git a/krita/kritamenu.action b/krita/kritamenu.action
index b7374be5ba..f0a3aec080 100644
--- a/krita/kritamenu.action
+++ b/krita/kritamenu.action
@@ -297,7 +297,7 @@
<statusTip></statusTip>
</Action>
<Action name="edit_copy">
- <icon>edit-copy</icon>
+ <icon>edit-copy-16</icon>
<text>&amp;Copy</text>
<whatsThis></whatsThis>
<toolTip>Copy selection to clipboard</toolTip>
@@ -357,7 +357,7 @@
<statusTip></statusTip>
</Action>
<Action name="edit_paste">
- <icon>edit-paste</icon>
+ <icon>edit-paste-16</icon>
<text>&amp;Paste</text>
<whatsThis></whatsThis>
<toolTip>Paste clipboard content</toolTip>
diff --git a/krita/pics/svg/dark_edit-copy-16.svg b/krita/pics/svg/dark_edit-copy-16.svg
new file mode 100644
index 0000000000..837c7d3503
--- /dev/null
+++ b/krita/pics/svg/dark_edit-copy-16.svg
@@ -0,0 +1,35 @@
+<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="M1 0V14H5V16H11L15 12V3H13V0H1ZM2 1H12V3H5V13H2V1ZM6 4H14V11H10V15H6V4Z" fill="#373737"/>
+</svg>
diff --git a/krita/pics/svg/light_edit-copy-16.svg b/krita/pics/svg/light_edit-copy-16.svg
new file mode 100644
index 0000000000..79b1e8d34f
--- /dev/null
+++ b/krita/pics/svg/light_edit-copy-16.svg
@@ -0,0 +1,35 @@
+<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="M1 0V14H5V16H11L15 12V3H13V0H1ZM2 1H12V3H5V13H2V1ZM6 4H14V11H10V15H6V4Z" fill="#D2D2D2"/>
+</svg>
diff --git a/krita/pics/svg/svg-icons.qrc b/krita/pics/svg/svg-icons.qrc
index 9da67323f6..a538ad122e 100644
--- a/krita/pics/svg/svg-icons.qrc
+++ b/krita/pics/svg/svg-icons.qrc
@@ -677,5 +677,7 @@
<file>light_clear-cache.svg</file>
<file>light_time-set-end.svg</file>
<file>light_time-set-start.svg</file>
+ <file>light_edit-copy-16.svg</file>
+ <file>dark_edit-copy-16.svg</file>
</qresource>
</RCC>
diff --git a/libs/widgetutils/config/kstandardaction_p.h b/libs/widgetutils/config/kstandardaction_p.h
index bce6f5b1d3..f71aa46940 100644
--- a/libs/widgetutils/config/kstandardaction_p.h
+++ b/libs/widgetutils/config/kstandardaction_p.h
@@ -61,8 +61,8 @@ static constexpr KStandardActionInfo g_rgActionInfo[] = {
{ Undo, KStandardShortcut::Undo, "edit_undo", QT_TRANSLATE_NOOP("KStandardActions", "&Undo"), QT_TRANSLATE_NOOP("KStandardActions", "Undo last action"), "edit-undo" },
{ Redo, KStandardShortcut::Redo, "edit_redo", QT_TRANSLATE_NOOP("KStandardActions", "Re&do"), QT_TRANSLATE_NOOP("KStandardActions", "Redo last undone action"), "edit-redo" },
{ Cut, KStandardShortcut::Cut, "edit_cut", QT_TRANSLATE_NOOP("KStandardActions", "Cu&t"), QT_TRANSLATE_NOOP("KStandardActions", "Cut selection to clipboard"), "edit-cut" },
- { Copy, KStandardShortcut::Copy, "edit_copy", QT_TRANSLATE_NOOP("KStandardActions", "&Copy"), QT_TRANSLATE_NOOP("KStandardActions", "Copy selection to clipboard"), "edit-copy" },
- { Paste, KStandardShortcut::Paste, "edit_paste", QT_TRANSLATE_NOOP("KStandardActions", "&Paste"), QT_TRANSLATE_NOOP("KStandardActions", "Paste clipboard content"), "edit-paste" },
+ { Copy, KStandardShortcut::Copy, "edit_copy", QT_TRANSLATE_NOOP("KStandardActions", "&Copy"), QT_TRANSLATE_NOOP("KStandardActions", "Copy selection to clipboard"), "edit-copy-16" },
+ { Paste, KStandardShortcut::Paste, "edit_paste", QT_TRANSLATE_NOOP("KStandardActions", "&Paste"), QT_TRANSLATE_NOOP("KStandardActions", "Paste clipboard content"), "edit-paste-16" },
{ Clear, KStandardShortcut::Clear, "edit_clear", QT_TRANSLATE_NOOP("KStandardActions", "C&lear"), {}, "edit-clear" },
{ SelectAll, KStandardShortcut::SelectAll, "edit_select_all", QT_TRANSLATE_NOOP("KStandardActions", "Select &All"), {}, "edit-select-all" },
{ Deselect, KStandardShortcut::Deselect, "edit_deselect", QT_TRANSLATE_NOOP("KStandardActions", "Dese&lect"), {}, "edit-select-none" },