[vlc-devel] [PATCH 6/9] qml: add a 'clear playlist' icon
Pierre Lamot
pierre at videolabs.io
Mon Nov 18 18:15:39 CET 2019
---
modules/gui/qt/pixmaps/VLCIcons.json | 1 +
modules/gui/qt/pixmaps/VLCIcons.ttf | Bin 25520 -> 25612 bytes
.../qt/pixmaps/playlist/playlist_clear.svg | 100 +++++++++++++
modules/gui/qt/qml/style/VLCIcons.qml | 137 ++++++++----------
4 files changed, 162 insertions(+), 76 deletions(-)
create mode 100644 modules/gui/qt/pixmaps/playlist/playlist_clear.svg
diff --git a/modules/gui/qt/pixmaps/VLCIcons.json b/modules/gui/qt/pixmaps/VLCIcons.json
index 1434bf93c1..2551c96488 100644
--- a/modules/gui/qt/pixmaps/VLCIcons.json
+++ b/modules/gui/qt/pixmaps/VLCIcons.json
@@ -84,6 +84,7 @@
{"key":"capture", "path": "./playlist/sidebar-icons/capture.svg"},
{"key":"podcast", "path": "./playlist/sidebar-icons/podcast.svg"},
{"key":"playlist", "path": "./playlist/playlist.svg"},
+ {"key":"playlist_clear", "path": "./playlist/playlist_clear.svg"},
{"key":"repeat_all", "path": "./playlist/repeat_all.svg"},
{"key":"active_indicator", "path": "./playlist/active_indicator.svg"},
{"key":"lock", "path": "./lock.svg"},
diff --git a/modules/gui/qt/pixmaps/VLCIcons.ttf b/modules/gui/qt/pixmaps/VLCIcons.ttf
index 1c094a5220eacdab2476265b1e25bf80004b1584..89e320adfd1a8d0a1a69e3f8460f1d876cf1411c 100644
GIT binary patch
delta 862
zcmYjPZ%9*76hHUvZPQsM(l%#vzP-KeZR at F<rkiXDl8RLRDUHIm?Dbk(;B at 2+&1ilJ
z3TH%*z%(NK92E|tg1}E{5%j6BNKlXnLJ=w`KWOL81-;98_xC&Jo_o&yah}eT^a4o%
z0f5~w1}f-mY3Xjexpb=$K-xgBxudJ9x_0!~1OPdO{Hzog6F+MIya%AZp!G<XlMGm?
z5dgIx<8)LUOl)uCO(1<ko)_&Kxp25`HXlHP`6m`)5%IjCBdy06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zp#)0L3vnv-b796k!wmlW-Y9won<jLp-r<T
zP2t7@)Pmjy>^nDrbr91BWrx7R6a_Nk8xv&<?_=e9!OXOXX{In!vtF}l-D~Z(F4+9G
zhqiByPRE>czccMzbZ#6Q605`x at u`b*MP0M5&u+<m-#z7?b$@by_w;!tJa0Vfl0^zj
zqtY{JRfg=Av+}yU>9u=1y_4P#z6-vbZ`!xw+wxcYm;HYOp<2|^oWQ|F6RG8<%Khf0
zQ2E~JIjP`4^KR|*wIFR^4twyxz&vEE8CXCCJ8WPRs#vRm&9Jb3y?3F4bk30PVumW*
zFffNo<PFT at A|B~jqyz!g&|ia|Y=X!f1~!vGR9oo|gjA%UAWNnoxMMg!td3_>gUOue
zPXxq<P<<pQswpL#Rf55wR at vjw8e$!$FzOJ|im?D6u8U~%vAh=Saj{bQN>2?dCwudP
YOr?U+W90OxlhyvICwlz<@0(Kp0F~vYQ2+n{
diff --git a/modules/gui/qt/pixmaps/playlist/playlist_clear.svg b/modules/gui/qt/pixmaps/playlist/playlist_clear.svg
new file mode 100644
index 0000000000..ae2089a788
--- /dev/null
+++ b/modules/gui/qt/pixmaps/playlist/playlist_clear.svg
@@ -0,0 +1,100 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+
+<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"
+ id="svg2"
+ version="1.1"
+ inkscape:version="0.92.3 (2405546, 2018-03-11)"
+ sodipodi:docname="playlist_clear.svg">
+ <defs
+ id="defs8" />
+ <sodipodi:namedview
+ pagecolor="#ffffff"
+ bordercolor="#666666"
+ borderopacity="1"
+ objecttolerance="10"
+ gridtolerance="10"
+ guidetolerance="10"
+ inkscape:pageopacity="0"
+ inkscape:pageshadow="2"
+ inkscape:window-width="1920"
+ inkscape:window-height="1051"
+ id="namedview6"
+ showgrid="true"
+ inkscape:zoom="9.8333334"
+ inkscape:cx="-10.629028"
+ inkscape:cy="24.387301"
+ inkscape:window-x="1920"
+ inkscape:window-y="0"
+ inkscape:window-maximized="1"
+ inkscape:current-layer="layer1"
+ showguides="true"
+ inkscape:guide-bbox="true">
+ <sodipodi:guide
+ position="0,24.017661"
+ orientation="1,0"
+ id="guide2390"
+ inkscape:locked="false" />
+ <sodipodi:guide
+ position="23.59322,0"
+ orientation="0,1"
+ id="guide2392"
+ inkscape:locked="false" />
+ <inkscape:grid
+ type="xygrid"
+ id="grid4488" />
+ </sodipodi:namedview>
+ <metadata
+ id="metadata7">
+ <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></dc:title>
+ </cc:Work>
+ </rdf:RDF>
+ </metadata>
+ <g
+ inkscape:label="Master"
+ inkscape:groupmode="layer"
+ id="layer1"
+ transform="translate(-384,-1004.3622)"
+ style="display:inline">
+ <path
+ style="color:#000000;display:inline;overflow:visible;visibility:visible;opacity:1;fill:#747474;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:3;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;enable-background:accumulate"
+ d="m 392,1012.3622 v 5.9994 l 32,-6e-4 v -5.9994 z"
+ id="path10525"
+ inkscape:connector-curvature="0"
+ sodipodi:nodetypes="ccccc" />
+ <path
+ sodipodi:nodetypes="ccccc"
+ inkscape:connector-curvature="0"
+ id="path10527"
+ d="m 392,1024.3622 v 5.9994 l 32,-6e-4 v -5.9994 z"
+ style="color:#000000;display:inline;overflow:visible;visibility:visible;opacity:1;fill:#747474;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:3;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;enable-background:accumulate" />
+ <path
+ style="color:#000000;display:inline;overflow:visible;visibility:visible;opacity:1;fill:#747474;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:3;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;enable-background:accumulate"
+ d="m 392,1036.3622 v 5.9994 l 18,-6e-4 v -5.9994 z"
+ id="path10529"
+ inkscape:connector-curvature="0"
+ sodipodi:nodetypes="ccccc" />
+ <path
+ sodipodi:nodetypes="ccccccccccccc"
+ inkscape:connector-curvature="0"
+ id="path7127-9"
+ d="m 416.73332,1046.3454 4.76668,-4.7667 4.76668,4.7667 1.73332,-1.7333 -4.76667,-4.7667 4.76667,-4.7666 -1.73332,-1.7334 -4.76668,4.7666 -4.76668,-4.7666 -1.73332,1.7334 4.76667,4.7666 -4.76667,4.7667 z"
+ style="display:inline;fill:#747474;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:0.43333361px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
+ </g>
+</svg>
diff --git a/modules/gui/qt/qml/style/VLCIcons.qml b/modules/gui/qt/qml/style/VLCIcons.qml
index 70db7f3283..c94560fa68 100644
--- a/modules/gui/qt/qml/style/VLCIcons.qml
+++ b/modules/gui/qt/qml/style/VLCIcons.qml
@@ -1,20 +1,4 @@
-/*****************************************************************************
- * Copyright (C) 2019 VLC authors and VideoLAN
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * ( at your option ) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
- *****************************************************************************/
+
/**
* This file was generated by makeIconFont.py, please do not edit by hand
*/
@@ -109,64 +93,65 @@ Item {
property string capture : "\ue04d"
property string podcast : "\ue04e"
property string playlist : "\ue04f"
- property string repeat_all : "\ue050"
- property string active_indicator : "\ue051"
- property string lock : "\ue052"
- property string slower : "\ue053"
- property string clear : "\ue054"
- property string profile_new : "\ue055"
- property string addon_green : "\ue056"
- property string addon_broken : "\ue057"
- property string addon_magenta : "\ue058"
- property string addon_cyan : "\ue059"
- property string score : "\ue05a"
- property string addon_yellow : "\ue05b"
- property string addon_blue : "\ue05c"
- property string addon : "\ue05d"
- property string addon_red : "\ue05e"
- property string advprefs_playlist : "\ue05f"
- property string advprefs_audio : "\ue060"
- property string advprefs_video : "\ue061"
- property string advprefs_extended : "\ue062"
- property string advprefs_codec : "\ue063"
- property string advprefs_intf : "\ue064"
- property string advprefs_sout : "\ue065"
- property string win7thumbnail_next : "\ue066"
- property string win7thumbnail_play : "\ue067"
- property string win7thumbnail_pause : "\ue068"
- property string win7thumbnail_prev : "\ue069"
- property string next : "\ue06a"
- property string play : "\ue06b"
- property string space : "\ue06c"
- property string pause : "\ue06d"
- property string faster2 : "\ue06e"
- property string wait1 : "\ue06f"
- property string wait2 : "\ue070"
- property string wait3 : "\ue071"
- property string wait4 : "\ue072"
- property string slower2 : "\ue073"
- property string messages : "\ue074"
- property string settings : "\ue075"
- property string info : "\ue076"
- property string preferences : "\ue077"
- property string exit : "\ue078"
- property string help : "\ue079"
- property string stream : "\ue07a"
- property string valid : "\ue07b"
- property string search_clear : "\ue07c"
- property string menu : "\ue07d"
- property string topbar_video : "\ue07e"
- property string topbar_music : "\ue07f"
- property string topbar_network : "\ue080"
- property string topbar_previous : "\ue081"
- property string topbar_next : "\ue082"
- property string topbar_filter : "\ue083"
- property string topbar_sort : "\ue084"
- property string rename : "\ue085"
- property string del : "\ue086"
- property string close : "\ue087"
- property string ellipsis : "\ue088"
- property string grid : "\ue089"
- property string list : "\ue08a"
+ property string playlist_clear : "\ue050"
+ property string repeat_all : "\ue051"
+ property string active_indicator : "\ue052"
+ property string lock : "\ue053"
+ property string slower : "\ue054"
+ property string clear : "\ue055"
+ property string profile_new : "\ue056"
+ property string addon_green : "\ue057"
+ property string addon_broken : "\ue058"
+ property string addon_magenta : "\ue059"
+ property string addon_cyan : "\ue05a"
+ property string score : "\ue05b"
+ property string addon_yellow : "\ue05c"
+ property string addon_blue : "\ue05d"
+ property string addon : "\ue05e"
+ property string addon_red : "\ue05f"
+ property string advprefs_playlist : "\ue060"
+ property string advprefs_audio : "\ue061"
+ property string advprefs_video : "\ue062"
+ property string advprefs_extended : "\ue063"
+ property string advprefs_codec : "\ue064"
+ property string advprefs_intf : "\ue065"
+ property string advprefs_sout : "\ue066"
+ property string win7thumbnail_next : "\ue067"
+ property string win7thumbnail_play : "\ue068"
+ property string win7thumbnail_pause : "\ue069"
+ property string win7thumbnail_prev : "\ue06a"
+ property string next : "\ue06b"
+ property string play : "\ue06c"
+ property string space : "\ue06d"
+ property string pause : "\ue06e"
+ property string faster2 : "\ue06f"
+ property string wait1 : "\ue070"
+ property string wait2 : "\ue071"
+ property string wait3 : "\ue072"
+ property string wait4 : "\ue073"
+ property string slower2 : "\ue074"
+ property string messages : "\ue075"
+ property string settings : "\ue076"
+ property string info : "\ue077"
+ property string preferences : "\ue078"
+ property string exit : "\ue079"
+ property string help : "\ue07a"
+ property string stream : "\ue07b"
+ property string valid : "\ue07c"
+ property string search_clear : "\ue07d"
+ property string menu : "\ue07e"
+ property string topbar_video : "\ue07f"
+ property string topbar_music : "\ue080"
+ property string topbar_network : "\ue081"
+ property string topbar_previous : "\ue082"
+ property string topbar_next : "\ue083"
+ property string topbar_filter : "\ue084"
+ property string topbar_sort : "\ue085"
+ property string rename : "\ue086"
+ property string del : "\ue087"
+ property string close : "\ue088"
+ property string ellipsis : "\ue089"
+ property string grid : "\ue08a"
+ property string list : "\ue08b"
}
\ No newline at end of file
--
2.17.1
More information about the vlc-devel
mailing list