[vlc-commits] qml: add a search icon

Pierre Lamot git at videolan.org
Fri Jan 10 15:06:34 CET 2020


vlc | branch: master | Pierre Lamot <pierre at videolabs.io> | Wed Dec 11 10:04:01 2019 +0100| [ae60eb0b380671e3c81a2499eb05c27de08f8ab4] | committer: Jean-Baptiste Kempf

qml: add a search icon

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=ae60eb0b380671e3c81a2499eb05c27de08f8ab4
---

 modules/gui/qt/pixmaps/VLCIcons.json      |   1 +
 modules/gui/qt/pixmaps/VLCIcons.ttf       | Bin 25612 -> 25776 bytes
 modules/gui/qt/pixmaps/toolbar/search.svg |  92 +++++++++++++
 modules/gui/qt/style/VLCIcons.qml         | 207 +++++++++++++++---------------
 4 files changed, 197 insertions(+), 103 deletions(-)

diff --git a/modules/gui/qt/pixmaps/VLCIcons.json b/modules/gui/qt/pixmaps/VLCIcons.json
index 2551c96488..40974b1790 100644
--- a/modules/gui/qt/pixmaps/VLCIcons.json
+++ b/modules/gui/qt/pixmaps/VLCIcons.json
@@ -41,6 +41,7 @@
 		{"key":"play_reverse", "path": "./toolbar/play_reverse.svg"},
 		{"key":"record", "path": "./toolbar/record_16px.svg"},
 		{"key":"snapshot", "path": "./toolbar/snapshot.svg"},
+		{"key":"search", "path": "./toolbar/search.svg"},
 		{"key":"volume_high", "path": "./toolbar/volume-high.svg"},
 		{"key":"volume_slider_inside", "path": "./toolbar/volume-slider-inside.svg"},
 		{"key":"volume_muted", "path": "./toolbar/volume-muted.svg"},
diff --git a/modules/gui/qt/pixmaps/VLCIcons.ttf b/modules/gui/qt/pixmaps/VLCIcons.ttf
index 89e320adfd..3e46e0a6ae 100644
Binary files a/modules/gui/qt/pixmaps/VLCIcons.ttf and b/modules/gui/qt/pixmaps/VLCIcons.ttf differ
diff --git a/modules/gui/qt/pixmaps/toolbar/search.svg b/modules/gui/qt/pixmaps/toolbar/search.svg
new file mode 100644
index 0000000000..e72f65de8d
--- /dev/null
+++ b/modules/gui/qt/pixmaps/toolbar/search.svg
@@ -0,0 +1,92 @@
+<?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.4 (5da689c313, 2019-01-14)"
+   sodipodi:docname="search.svg">
+  <defs
+     id="defs8">
+    <inkscape:path-effect
+       is_visible="true"
+       id="path-effect6553-2-5"
+       effect="spiro" />
+  </defs>
+  <sodipodi:namedview
+     pagecolor="#ffffff"
+     bordercolor="#666666"
+     borderopacity="1"
+     objecttolerance="10"
+     gridtolerance="10"
+     guidetolerance="10"
+     inkscape:pageopacity="0"
+     inkscape:pageshadow="2"
+     inkscape:window-width="2560"
+     inkscape:window-height="1321"
+     id="namedview6"
+     showgrid="true"
+     inkscape:zoom="11.313709"
+     inkscape:cx="28.135974"
+     inkscape:cy="23.153461"
+     inkscape:window-x="0"
+     inkscape:window-y="58"
+     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" />
+    <inkscape:grid
+       type="xygrid"
+       id="grid4485" />
+  </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">
+    <g
+       id="g865"
+       transform="matrix(0.76814669,-0.76814669,0.76814669,0.76814669,-724.83005,586.25529)">
+      <path
+         sodipodi:nodetypes="cccccc"
+         inkscape:connector-curvature="0"
+         id="path821-6"
+         d="m 451.88477,1031.3622 c -0.94341,0.19 -1.90291,0.2888 -2.86524,0.2949 -0.6758,0 -1.35051,-0.055 -2.01953,-0.1504 v 17.0801 c 2.1026,1.3268 3.52224,0.6995 4.88477,0 z"
+         style="display:inline;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1.13385785;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
+      <path
+         id="path821"
+         transform="translate(384,1004.3622)"
+         d="M 65.423828,0.10351562 A 12.986558,12.986558 0 0 0 52.503906,13.136719 12.986558,12.986558 0 0 0 65.513672,26.078125 12.986558,12.986558 0 0 0 78.478516,13.089844 V 13 A 12.986558,12.986558 0 0 0 65.423828,0.10351562 Z M 65.443359,3.0625 A 10.006896,10.006896 0 0 1 75.501953,13 v 0.07031 A 10.006896,10.006896 0 0 1 65.513672,23.076172 10.006896,10.006896 0 0 1 55.488281,13.105469 10.006896,10.006896 0 0 1 65.443359,3.0625 Z"
+         style="fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.98166108;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
+         inkscape:connector-curvature="0" />
+    </g>
+  </g>
+</svg>
diff --git a/modules/gui/qt/style/VLCIcons.qml b/modules/gui/qt/style/VLCIcons.qml
index c94560fa68..025458e950 100644
--- a/modules/gui/qt/style/VLCIcons.qml
+++ b/modules/gui/qt/style/VLCIcons.qml
@@ -50,108 +50,109 @@ Item {
     property string play_reverse : "\ue022"
     property string record : "\ue023"
     property string snapshot : "\ue024"
-    property string volume_high : "\ue025"
-    property string volume_slider_inside : "\ue026"
-    property string volume_muted : "\ue027"
-    property string previous : "\ue028"
-    property string type_node : "\ue029"
-    property string type_unknown : "\ue02a"
-    property string file_asym : "\ue02b"
-    property string folder_grey : "\ue02c"
-    property string type_file : "\ue02d"
-    property string file_wide : "\ue02e"
-    property string harddisk : "\ue02f"
-    property string type_playlist : "\ue030"
-    property string folder_blue : "\ue031"
-    property string capture_card : "\ue032"
-    property string tape : "\ue033"
-    property string type_stream : "\ue034"
-    property string type_directory : "\ue035"
-    property string disc : "\ue036"
-    property string repeat_one : "\ue037"
-    property string repeat_off : "\ue038"
-    property string dropzone : "\ue039"
-    property string remove : "\ue03a"
-    property string add : "\ue03b"
-    property string shuffle_on : "\ue03c"
-    property string appletrailers : "\ue03d"
-    property string metachannels : "\ue03e"
-    property string assembleenationale : "\ue03f"
-    property string fmc : "\ue040"
-    property string jamendo : "\ue041"
-    property string icecast : "\ue042"
-    property string katsomo : "\ue043"
-    property string frenchtv : "\ue044"
-    property string mtp : "\ue045"
-    property string network : "\ue046"
-    property string movie : "\ue047"
-    property string pictures : "\ue048"
-    property string screen : "\ue049"
-    property string library : "\ue04a"
-    property string music : "\ue04b"
-    property string lan : "\ue04c"
-    property string capture : "\ue04d"
-    property string podcast : "\ue04e"
-    property string playlist : "\ue04f"
-    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"
+    property string search : "\ue025"
+    property string volume_high : "\ue026"
+    property string volume_slider_inside : "\ue027"
+    property string volume_muted : "\ue028"
+    property string previous : "\ue029"
+    property string type_node : "\ue02a"
+    property string type_unknown : "\ue02b"
+    property string file_asym : "\ue02c"
+    property string folder_grey : "\ue02d"
+    property string type_file : "\ue02e"
+    property string file_wide : "\ue02f"
+    property string harddisk : "\ue030"
+    property string type_playlist : "\ue031"
+    property string folder_blue : "\ue032"
+    property string capture_card : "\ue033"
+    property string tape : "\ue034"
+    property string type_stream : "\ue035"
+    property string type_directory : "\ue036"
+    property string disc : "\ue037"
+    property string repeat_one : "\ue038"
+    property string repeat_off : "\ue039"
+    property string dropzone : "\ue03a"
+    property string remove : "\ue03b"
+    property string add : "\ue03c"
+    property string shuffle_on : "\ue03d"
+    property string appletrailers : "\ue03e"
+    property string metachannels : "\ue03f"
+    property string assembleenationale : "\ue040"
+    property string fmc : "\ue041"
+    property string jamendo : "\ue042"
+    property string icecast : "\ue043"
+    property string katsomo : "\ue044"
+    property string frenchtv : "\ue045"
+    property string mtp : "\ue046"
+    property string network : "\ue047"
+    property string movie : "\ue048"
+    property string pictures : "\ue049"
+    property string screen : "\ue04a"
+    property string library : "\ue04b"
+    property string music : "\ue04c"
+    property string lan : "\ue04d"
+    property string capture : "\ue04e"
+    property string podcast : "\ue04f"
+    property string playlist : "\ue050"
+    property string playlist_clear : "\ue051"
+    property string repeat_all : "\ue052"
+    property string active_indicator : "\ue053"
+    property string lock : "\ue054"
+    property string slower : "\ue055"
+    property string clear : "\ue056"
+    property string profile_new : "\ue057"
+    property string addon_green : "\ue058"
+    property string addon_broken : "\ue059"
+    property string addon_magenta : "\ue05a"
+    property string addon_cyan : "\ue05b"
+    property string score : "\ue05c"
+    property string addon_yellow : "\ue05d"
+    property string addon_blue : "\ue05e"
+    property string addon : "\ue05f"
+    property string addon_red : "\ue060"
+    property string advprefs_playlist : "\ue061"
+    property string advprefs_audio : "\ue062"
+    property string advprefs_video : "\ue063"
+    property string advprefs_extended : "\ue064"
+    property string advprefs_codec : "\ue065"
+    property string advprefs_intf : "\ue066"
+    property string advprefs_sout : "\ue067"
+    property string win7thumbnail_next : "\ue068"
+    property string win7thumbnail_play : "\ue069"
+    property string win7thumbnail_pause : "\ue06a"
+    property string win7thumbnail_prev : "\ue06b"
+    property string next : "\ue06c"
+    property string play : "\ue06d"
+    property string space : "\ue06e"
+    property string pause : "\ue06f"
+    property string faster2 : "\ue070"
+    property string wait1 : "\ue071"
+    property string wait2 : "\ue072"
+    property string wait3 : "\ue073"
+    property string wait4 : "\ue074"
+    property string slower2 : "\ue075"
+    property string messages : "\ue076"
+    property string settings : "\ue077"
+    property string info : "\ue078"
+    property string preferences : "\ue079"
+    property string exit : "\ue07a"
+    property string help : "\ue07b"
+    property string stream : "\ue07c"
+    property string valid : "\ue07d"
+    property string search_clear : "\ue07e"
+    property string menu : "\ue07f"
+    property string topbar_video : "\ue080"
+    property string topbar_music : "\ue081"
+    property string topbar_network : "\ue082"
+    property string topbar_previous : "\ue083"
+    property string topbar_next : "\ue084"
+    property string topbar_filter : "\ue085"
+    property string topbar_sort : "\ue086"
+    property string rename : "\ue087"
+    property string del : "\ue088"
+    property string close : "\ue089"
+    property string ellipsis : "\ue08a"
+    property string grid : "\ue08b"
+    property string list : "\ue08c"
 
 }
\ No newline at end of file



More information about the vlc-commits mailing list