[vlc-devel] [PATCH 7/9] qml: add albums_cover and time icon to VLCIcons

jagannatharjun guptaprince8832 at gmail.com
Tue Jun 2 17:17:31 CEST 2020


---
 modules/gui/qt/Makefile.am             |   4 +++-
 modules/gui/qt/pixmaps/VLCIcons.json   |   4 +++-
 modules/gui/qt/pixmaps/VLCIcons.ttf    | Bin 26804 -> 27320 bytes
 modules/gui/qt/pixmaps/album_cover.svg |   1 +
 modules/gui/qt/pixmaps/time.svg        |  13 +++++++++++++
 modules/gui/qt/style/VLCIcons.qml      |   2 ++
 6 files changed, 22 insertions(+), 2 deletions(-)
 create mode 100755 modules/gui/qt/pixmaps/album_cover.svg
 create mode 100755 modules/gui/qt/pixmaps/time.svg

diff --git a/modules/gui/qt/Makefile.am b/modules/gui/qt/Makefile.am
index de80b10789..fc184fd3e1 100644
--- a/modules/gui/qt/Makefile.am
+++ b/modules/gui/qt/Makefile.am
@@ -569,7 +569,9 @@ libqt_plugin_la_RES = \
 	gui/qt/pixmaps/ellipsis.svg \
 	gui/qt/pixmaps/topbar/grid.svg \
 	gui/qt/pixmaps/topbar/list.svg \
-	gui/qt/pixmaps/cone.svg
+	gui/qt/pixmaps/cone.svg \
+	gui/qt/pixmaps/album_cover.svg \
+	gui/qt/pixmaps/time.svg
 
 #QML and JS resources
 libqt_plugin_la_QML = \
diff --git a/modules/gui/qt/pixmaps/VLCIcons.json b/modules/gui/qt/pixmaps/VLCIcons.json
index 40974b1790..62d53fa985 100644
--- a/modules/gui/qt/pixmaps/VLCIcons.json
+++ b/modules/gui/qt/pixmaps/VLCIcons.json
@@ -144,6 +144,8 @@
 		{"key":"close", "path": "./close.svg"},
 		{"key":"ellipsis", "path": "./ellipsis.svg"},
 		{"key":"grid", "path": "./topbar/grid.svg"},
-		{"key":"list", "path": "./topbar/list.svg"}
+		{"key":"list", "path": "./topbar/list.svg"},
+		{"key":"album_cover", "path": "./album_cover.svg"},
+		{"key":"time", "path": "./time.svg"}
 	]
 }
diff --git a/modules/gui/qt/pixm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100755
index 0000000000..e80590ecef
--- /dev/null
+++ b/modules/gui/qt/pixmaps/album_cover.svg
@@ -0,0 +1 @@
+<svg id="Calque_1" data-name="Calque 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48"><title>Icon-Vinyl</title><path d="M20,22.6l-2.84-1a7.26,7.26,0,0,1,3.69-4.16l1.33,2.7A4.27,4.27,0,0,0,20,22.6Zm10.9,3.79L28,25.4a4.17,4.17,0,0,1-2.16,2.44l1.29,2.72A7.14,7.14,0,0,0,30.87,26.39ZM17.19,30.81a9.61,9.61,0,1,1,16.33-5.38c0,.31-.11.62-.18.93s-.17.6-.27.9c0,.14-.11.29-.17.43a9.37,9.37,0,0,1-.4.85,8.21,8.21,0,0,1-.48.81,8.41,8.41,0,0,1-.88,1.11l-.33.35a9.66,9.66,0,0,1-13.62,0ZM15.28,24a8.73,8.73,0,0,0,14.9,6.17A8.59,8.59,0,0,0,32.72,24a8.72,8.72,0,1,0-17.44,0ZM24,25.85A1.85,1.85,0,1,0,22.15,24,1.84,1.84,0,0,0,24,25.85ZM40,10.67V37.33A2.66,2.66,0,0,1,37.33,40H10.67A2.66,2.66,0,0,1,8,37.33V10.67A2.66,2.66,0,0,1,10.67,8H37.33A2.66,2.66,0,0,1,40,10.67Zm-2.67,0H10.67V37.33H37.33Z"/></svg>
\ No newline at end of file
diff --git a/modules/gui/qt/pixmaps/time.svg b/modules/gui/qt/pixmaps/time.svg
new file mode 100755
index 0000000000..f7a70d0d21
--- /dev/null
+++ b/modules/gui/qt/pixmaps/time.svg
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Generator: Adobe Illustrator 24.0.3, SVG Export Plug-In . SVG Version: 6.00 Build 0)  -->
+<svg version="1.1" id="Calque_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
+	 viewBox="0 0 48 48" style="enable-background:new 0 0 48 48;" xml:space="preserve">
+<title>Icon-Time</title>
+<path d="M39.4,19.8c-0.4-1.3-0.9-2.6-1.6-3.8c-1.4-2.4-3.4-4.4-5.7-5.7c-1.2-0.7-2.5-1.2-3.8-1.6c-2.8-0.8-5.7-0.8-8.5,0
+	c-1.3,0.4-2.6,0.9-3.8,1.6c-2.4,1.4-4.4,3.4-5.7,5.7c-0.7,1.2-1.2,2.5-1.6,3.8c-0.8,2.8-0.8,5.7,0,8.5c0.4,1.3,0.9,2.6,1.6,3.8
+	c1.4,2.4,3.4,4.4,5.7,5.7c1.2,0.7,2.5,1.2,3.8,1.6c2.8,0.8,5.7,0.8,8.5,0c1.3-0.4,2.6-0.9,3.8-1.6c2.4-1.4,4.4-3.4,5.7-5.7
+	c0.7-1.2,1.2-2.5,1.6-3.8C40.2,25.5,40.2,22.5,39.4,19.8z M37.4,27.8L37.4,27.8c-0.2,1.2-0.7,2.3-1.3,3.3c-1.2,2.1-2.9,3.8-5,5
+	c-1,0.6-2.2,1.1-3.3,1.4c-2.4,0.7-5,0.7-7.4,0c-1.2-0.3-2.3-0.8-3.3-1.4c-2.1-1.2-3.8-2.9-5-5c-0.6-1-1.1-2.2-1.4-3.3
+	c-0.7-2.4-0.7-5,0-7.4c0.3-1.2,0.7-2.3,1.3-3.3c1.2-2.1,2.9-3.8,5-5c1-0.6,2.2-1.1,3.3-1.4c2.4-0.7,5-0.7,7.4,0
+	c1.2,0.3,2.3,0.8,3.3,1.4c2.1,1.2,3.8,2.9,5,5c0.6,1,1.1,2.2,1.4,3.3C38.1,22.8,38.1,25.3,37.4,27.8z M24,24h6v2h-8V14h2V24z"/>
+</svg>
diff --git a/modules/gui/qt/style/VLCIcons.qml b/modules/gui/qt/style/VLCIcons.qml
index 96af332b82..8f90c0cdda 100644
--- a/modules/gui/qt/style/VLCIcons.qml
+++ b/modules/gui/qt/style/VLCIcons.qml
@@ -158,5 +158,7 @@ Item {
     property string ellipsis : "\ue08a"
     property string grid : "\ue08b"
     property string list : "\ue08c"
+    property string album_cover : "\ue08d"
+    property string time : "\ue08e"
 
 }
\ No newline at end of file
-- 
2.25.1



More information about the vlc-devel mailing list