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 wrap direction icons

Arkady Flury01b910bc5436
diff --git a/krita/kritamenu.action b/krita/kritamenu.action
index 83264d0a63..b7374be5ba 100644
--- a/krita/kritamenu.action
+++ b/krita/kritamenu.action
@@ -660,7 +660,7 @@
<statusTip></statusTip>
</Action>
<Action name="wrap_around_hv_axis">
- <icon>wraparound</icon>
+ <icon>wrap-both</icon>
<text>Wrap Around Both Directions</text>
<whatsThis></whatsThis>
<toolTip>Wrap Around Both Directions</toolTip>
@@ -672,7 +672,7 @@
<statusTip></statusTip>
</Action>
<Action name="wrap_around_h_axis">
- <icon>wraparound</icon>
+ <icon>wrap-horizontally</icon>
<text>Wrap Around Horizontally</text>
<whatsThis></whatsThis>
<toolTip>Wrap Around Horizontally</toolTip>
@@ -684,7 +684,7 @@
<statusTip></statusTip>
</Action>
<Action name="wrap_around_v_axis">
- <icon>wraparound</icon>
+ <icon>wrap-vertically</icon>
<text>Wrap Around Vertically</text>
<whatsThis></whatsThis>
<toolTip>Wrap Around Vertically</toolTip>
diff --git a/krita/pics/svg/dark_wrap-both.svg b/krita/pics/svg/dark_wrap-both.svg
new file mode 100644
index 0000000000..63c51476e0
--- /dev/null
+++ b/krita/pics/svg/dark_wrap-both.svg
@@ -0,0 +1,40 @@
+<svg width="22" height="22" viewBox="0 0 22 22" 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>
+ <dc:description>Based on the wrap-around by Timothée Giet, 2020</dc:description>
+ <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="M6 1V14H1V16H14V21H16V8H21V6H8V1H6ZM8 8H14V14H8V8Z" fill="#373737"/>
+<path d="M4 6.5V11.5L0 9L4 6.5Z" fill="#373737"/>
+<path d="M22 13L18 10.5V15.5L22 13Z" fill="#373737"/>
+<path d="M6.5 18H11.5L9 22L6.5 18Z" fill="#373737"/>
+<path d="M13 0L10.5 4H15.5L13 0Z" fill="#373737"/>
+</svg>
diff --git a/krita/pics/svg/dark_wrap-horizontally.svg b/krita/pics/svg/dark_wrap-horizontally.svg
new file mode 100644
index 0000000000..9c9ecfaaf0
--- /dev/null
+++ b/krita/pics/svg/dark_wrap-horizontally.svg
@@ -0,0 +1,38 @@
+<svg width="22" height="22" viewBox="0 0 22 22" 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>
+ <dc:description>Based on the wrap-around by Timothée Giet, 2020</dc:description>
+ <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="M6 1V14H1V16H14V21H16V8H21V6H8V1H6ZM8 8H14V14H8V8Z" fill="#373737"/>
+<path d="M4 6.5V11.5L0 9L4 6.5Z" fill="#373737"/>
+<path d="M22 13L18 10.5V15.5L22 13Z" fill="#373737"/>
+</svg>
diff --git a/krita/pics/svg/dark_wrap-vertically.svg b/krita/pics/svg/dark_wrap-vertically.svg
new file mode 100644
index 0000000000..497a44cf4e
--- /dev/null
+++ b/krita/pics/svg/dark_wrap-vertically.svg
@@ -0,0 +1,38 @@
+<svg width="22" height="22" viewBox="0 0 22 22" 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>
+ <dc:description>Based on the wrap-around by Timothée Giet, 2020</dc:description>
+ <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="M6 1V14H1V16H14V21H16V8H21V6H8V1H6ZM8 8H14V14H8V8Z" fill="#373737"/>
+<path d="M6.5 18H11.5L9 22L6.5 18Z" fill="#373737"/>
+<path d="M13 0L10.5 4H15.5L13 0Z" fill="#373737"/>
+</svg>
diff --git a/krita/pics/svg/light_wrap-both.svg b/krita/pics/svg/light_wrap-both.svg
new file mode 100644
index 0000000000..993775ef76
--- /dev/null
+++ b/krita/pics/svg/light_wrap-both.svg
@@ -0,0 +1,40 @@
+<svg width="22" height="22" viewBox="0 0 22 22" 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>
+ <dc:description>Based on the wrap-around by Timothée Giet, 2020</dc:description>
+ <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="M6 1V14H1V16H14V21H16V8H21V6H8V1H6ZM8 8H14V14H8V8Z" fill="#D2D2D2"/>
+<path d="M4 6.5V11.5L0 9L4 6.5Z" fill="#D2D2D2"/>
+<path d="M22 13L18 10.5V15.5L22 13Z" fill="#D2D2D2"/>
+<path d="M6.5 18H11.5L9 22L6.5 18Z" fill="#D2D2D2"/>
+<path d="M13 0L10.5 4H15.5L13 0Z" fill="#D2D2D2"/>
+</svg>
diff --git a/krita/pics/svg/light_wrap-horizontally.svg b/krita/pics/svg/light_wrap-horizontally.svg
new file mode 100644
index 0000000000..6e58650623
--- /dev/null
+++ b/krita/pics/svg/light_wrap-horizontally.svg
@@ -0,0 +1,38 @@
+<svg width="22" height="22" viewBox="0 0 22 22" 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>
+ <dc:description>Based on the wrap-around by Timothée Giet, 2020</dc:description>
+ <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="M6 1V14H1V16H14V21H16V8H21V6H8V1H6ZM8 8H14V14H8V8Z" fill="#D2D2D2"/>
+<path d="M4 6.5V11.5L0 9L4 6.5Z" fill="#D2D2D2"/>
+<path d="M22 13L18 10.5V15.5L22 13Z" fill="#D2D2D2"/>
+</svg>
diff --git a/krita/pics/svg/light_wrap-vertically.svg b/krita/pics/svg/light_wrap-vertically.svg
new file mode 100644
index 0000000000..b14ac4792d
--- /dev/null
+++ b/krita/pics/svg/light_wrap-vertically.svg
@@ -0,0 +1,38 @@
+<svg width="22" height="22" viewBox="0 0 22 22" 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>
+ <dc:description>Based on the wrap-around by Timothée Giet, 2020</dc:description>
+ <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="M6 1V14H1V16H14V21H16V8H21V6H8V1H6ZM8 8H14V14H8V8Z" fill="#D2D2D2"/>
+<path d="M6.5 18H11.5L9 22L6.5 18Z" fill="#D2D2D2"/>
+<path d="M13 0L10.5 4H15.5L13 0Z" fill="#D2D2D2"/>
+</svg>
diff --git a/krita/pics/svg/svg-icons.qrc b/krita/pics/svg/svg-icons.qrc
index 83a42b6d71..8f1e8f7bed 100644
--- a/krita/pics/svg/svg-icons.qrc
+++ b/krita/pics/svg/svg-icons.qrc
@@ -645,5 +645,11 @@
<file>light_remove-frame-16.svg</file>
<file>dark_duplicate-frame-16.svg</file>
<file>dark_remove-frame-16.svg</file>
+ <file>dark_wrap-both.svg</file>
+ <file>dark_wrap-horizontally.svg</file>
+ <file>dark_wrap-vertically.svg</file>
+ <file>light_wrap-both.svg</file>
+ <file>light_wrap-horizontally.svg</file>
+ <file>light_wrap-vertically.svg</file>
</qresource>
</RCC>