[vlc-devel] [PATCH 01/14] qml: add ellipsis icon

Abel Tesfaye abeltesfaye45 at gmail.com
Tue Aug 6 11:18:35 CEST 2019


From: Abel Tesfaye <Abeltesfaye45 at gmail.com>

---
 modules/gui/qt/Makefile.am            |  3 +-
 modules/gui/qt/pixmaps/VLCIcons.json  |  3 +-
 modules/gui/qt/pixmaps/ellipsis.svg   | 61 +++++++++++++++++++++++++++
 modules/gui/qt/qml/style/VLCIcons.qml |  1 +
 4 files changed, 66 insertions(+), 2 deletions(-)
 create mode 100644 modules/gui/qt/pixmaps/ellipsis.svg

diff --git a/modules/gui/qt/Makefile.am b/modules/gui/qt/Makefile.am
index bdf5dcd5cf..eb80e6ea42 100644
--- a/modules/gui/qt/Makefile.am
+++ b/modules/gui/qt/Makefile.am
@@ -539,7 +539,8 @@ libqt_plugin_la_RES = \
 	gui/qt/pixmaps/lock.svg \
 	gui/qt/pixmaps/close.svg \
 	gui/qt/pixmaps/rename.svg \
-	gui/qt/pixmaps/del.svg
+	gui/qt/pixmaps/del.svg \
+	gui/qt/pixmaps/ellipsis.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 fff20f7346..6d91688041 100644
--- a/modules/gui/qt/pixmaps/VLCIcons.json
+++ b/modules/gui/qt/pixmaps/VLCIcons.json
@@ -138,6 +138,7 @@
 		{"key":"topbar_sort", "path": "./topbar/sort.svg"},
 		{"key":"rename", "path": "./rename.svg"},
 		{"key":"del", "path": "./del.svg"},
-		{"key":"close", "path": "./close.svg"}
+		{"key":"close", "path": "./close.svg"},
+		{"key":"ellipsis", "path": "./ellipsis.svg"}
 	]
 }
diff --git a/modules/gui/qt/pixmaps/ellipsis.svg b/modules/gui/qt/pixmaps/ellipsis.svg
new file mode 100644
index 0000000000..d3e6007bf3
--- /dev/null
+++ b/modules/gui/qt/pixmaps/ellipsis.svg
@@ -0,0 +1,61 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<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:svg="http://www.w3.org/2000/svg"
+   xmlns="http://www.w3.org/2000/svg"
+   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+   width="48"
+   height="48"
+   viewBox="0 0 48 48"
+   version="1.1"
+   id="svg2"
+   inkscape:version="0.91 r13725"
+   sodipodi:docname="ellipsis.svg">
+  <metadata
+     id="metadata11">
+    <rdf:RDF>
+      <cc:Work
+         rdf:about="">
+        <dc:format>image/svg+xml</dc:format>
+        <dc:type
+           rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
+        <dc:title />
+      </cc:Work>
+    </rdf:RDF>
+  </metadata>
+  <defs
+     id="defs9" />
+  <sodipodi:namedview
+     pagecolor="#ffffff"
+     bordercolor="#666666"
+     borderopacity="1"
+     objecttolerance="10"
+     gridtolerance="10"
+     guidetolerance="10"
+     inkscape:pageopacity="0"
+     inkscape:pageshadow="2"
+     inkscape:window-width="1329"
+     inkscape:window-height="750"
+     id="namedview7"
+     showgrid="false"
+     inkscape:zoom="3.9333333"
+     inkscape:cx="-30.381355"
+     inkscape:cy="-0.50847483"
+     inkscape:window-x="37"
+     inkscape:window-y="18"
+     inkscape:window-maximized="1"
+     inkscape:current-layer="svg2"
+     units="px" />
+  <g
+     id="surface1"
+     transform="matrix(0,2.4101695,-2.4101695,0,78.802046,-37.322035)">
+    <path
+       style="fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none"
+       d="M 27,16.5 C 27,15.671875 26.328125,15 25.5,15 24.671875,15 24,15.671875 24,16.5 c 0,0.828125 0.671875,1.5 1.5,1.5 0.828125,0 1.5,-0.671875 1.5,-1.5 z m 0,6 C 27,21.671875 26.328125,21 25.5,21 24.671875,21 24,21.671875 24,22.5 c 0,0.828125 0.671875,1.5 1.5,1.5 0.828125,0 1.5,-0.671875 1.5,-1.5 z m 0,6 C 27,27.671875 26.328125,27 25.5,27 24.671875,27 24,27.671875 24,28.5 c 0,0.828125 0.671875,1.5 1.5,1.5 0.828125,0 1.5,-0.671875 1.5,-1.5 z m 0,0"
+       id="path5"
+       inkscape:connector-curvature="0" />
+  </g>
+</svg>
diff --git a/modules/gui/qt/qml/style/VLCIcons.qml b/modules/gui/qt/qml/style/VLCIcons.qml
index 9b65385aff..19d605ae32 100644
--- a/modules/gui/qt/qml/style/VLCIcons.qml
+++ b/modules/gui/qt/qml/style/VLCIcons.qml
@@ -164,5 +164,6 @@ Item {
     property string rename : "\ue084"
     property string del : "\ue085"
     property string close : "\ue086"
+    property string ellipsis : "\ue089"
 
 }
\ No newline at end of file
-- 
2.21.0



More information about the vlc-devel mailing list