diff options
author | Gerald Combs <gerald@zing.org> | 2014-09-20 19:27:24 -0700 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2014-09-21 16:45:14 +0000 |
commit | 5d1aafbb36335bd23d5a5dd09a11eb19b54f0d46 (patch) | |
tree | fffc6b08958951d7888049eebb1193a82e40ce99 /image/toolbar/24x24 | |
parent | e1a420aeb42db947115cedc9477a7404c24a8517 (diff) |
Qt: Multi-state capture start icon.
Add ".on" versions of the x-capture-start icon along with corresponding
code in the StockIcon constructor to look for ".on" variants and add
them with the QIcon::On state.
Make the plain versions of x-capture-start blue to match the general
application icon. The goal is to make the toolbar and app icon fins blue
when Wireshark is "at rest" and green when it's capturing.
Change-Id: I31f4f9d910fc99c41d7c63bd9a722db1611760c7
Reviewed-on: https://code.wireshark.org/review/4225
Reviewed-by: Gerald Combs <gerald@wireshark.org>
Diffstat (limited to 'image/toolbar/24x24')
-rw-r--r-- | image/toolbar/24x24/x-capture-start.on.png | bin | 0 -> 1025 bytes | |||
-rw-r--r-- | image/toolbar/24x24/x-capture-start.on.svg | 81 | ||||
-rw-r--r-- | image/toolbar/24x24/x-capture-start.png | bin | 934 -> 1161 bytes | |||
-rw-r--r-- | image/toolbar/24x24/x-capture-start.svg | 87 |
4 files changed, 148 insertions, 20 deletions
diff --git a/image/toolbar/24x24/x-capture-start.on.png b/image/toolbar/24x24/x-capture-start.on.png Binary files differnew file mode 100644 index 0000000000..a35dfe2ec9 --- /dev/null +++ b/image/toolbar/24x24/x-capture-start.on.png diff --git a/image/toolbar/24x24/x-capture-start.on.svg b/image/toolbar/24x24/x-capture-start.on.svg new file mode 100644 index 0000000000..38411e8a54 --- /dev/null +++ b/image/toolbar/24x24/x-capture-start.on.svg @@ -0,0 +1,81 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<!-- Generator: Adobe Illustrator 15.0.2, SVG Export Plug-In . SVG Version: 6.00 Build 0) --> + +<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" + version="1.1" + id="svg548" + sodipodi:version="0.32" + sodipodi:docname="x-capture-start.on.svg" + inkscape:version="0.48.2 r9819" + inkscape:export-filename="x-capture-start.on.png" + inkscape:export-xdpi="90" + inkscape:export-ydpi="90" + x="0px" + y="0px" + width="24px" + height="24px" + viewBox="0 0 24 24" + enable-background="new 0 0 24 24" + xml:space="preserve"><metadata + id="metadata3007"><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><defs + id="defs3005" /> +<path + fill="#FFFFFF" + d="M1.604,22.989l20.23,0.03c-1.103-2.755-4.736-13.304,0.234-22.011C5.218,1.869,2.045,19.696,1.604,22.989z" + id="path2994" /> +<sodipodi:namedview + inkscape:current-layer="svg548" + inkscape:window-width="1443" + showguides="true" + inkscape:guide-bbox="true" + inkscape:window-maximized="0" + inkscape:window-height="837" + inkscape:cy="11.54297" + inkscape:cx="16.300419" + inkscape:window-x="152" + id="base" + inkscape:window-y="83" + showgrid="true" + inkscape:zoom="24.101265"> + + <inkscape:grid + type="xygrid" + enabled="true" + visible="true" + spacingx="0.5px" + spacingy="0.5px" + empspacing="5" + snapvisiblegridlinesonly="true" + id="grid3142"> + </inkscape:grid> +</sodipodi:namedview> +<g + id="g2998"> + <g + id="g3000"> + <path + fill="#999999" + d="M22.557,23.979C22.557,23.979,22.557,23.979,22.557,23.979L1.064,23.947 c-0.134-0.001-0.262-0.057-0.353-0.155c-0.091-0.1-0.136-0.231-0.125-0.365c0.02-0.23,2.2-23.088,22.341-23.406 c0.166-0.024,0.34,0.091,0.426,0.246c0.086,0.154,0.081,0.343-0.015,0.491c-5.911,9.253-0.941,21.189-0.396,22.435 c0.07,0.083,0.112,0.19,0.112,0.308c0,0.265-0.215,0.479-0.479,0.479C22.571,23.98,22.564,23.98,22.557,23.979z M1.604,22.989 l20.23,0.03c-1.103-2.755-4.736-13.304,0.234-22.011C5.218,1.869,2.045,19.696,1.604,22.989z" + id="path3002" /> + </g> + + <path + id="path2995_3_" + inkscape:export-filename="/home/gerald/devel/wsweb/image/wslogo.png" + inkscape:export-xdpi="90.000000" + inkscape:export-ydpi="90.000000" + inkscape:connector-curvature="0" + sodipodi:nodetypes="cccc" + fill="#21DE08" + d=" M3.39,21.646c0,0,2.312-17.222,16.754-19.225c-4.48,9.331-0.216,19.247-0.216,19.247L3.39,21.646z" /> +</g> +</svg>
\ No newline at end of file diff --git a/image/toolbar/24x24/x-capture-start.png b/image/toolbar/24x24/x-capture-start.png Binary files differindex e38d1ca978..0b3ffd476a 100644 --- a/image/toolbar/24x24/x-capture-start.png +++ b/image/toolbar/24x24/x-capture-start.png diff --git a/image/toolbar/24x24/x-capture-start.svg b/image/toolbar/24x24/x-capture-start.svg index 6433a11dad..ec9f569134 100644 --- a/image/toolbar/24x24/x-capture-start.svg +++ b/image/toolbar/24x24/x-capture-start.svg @@ -7,14 +7,15 @@ 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:xlink="http://www.w3.org/1999/xlink" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" version="1.1" id="svg548" sodipodi:version="0.32" - sodipodi:docname="capture_start_24.svg" + sodipodi:docname="x-capture-start.svg" inkscape:version="0.48.2 r9819" - inkscape:export-filename="/tmp/capture_start_24.png" + inkscape:export-filename="x-capture-start.png" inkscape:export-xdpi="90" inkscape:export-ydpi="90" x="0px" @@ -26,8 +27,42 @@ xml:space="preserve"><metadata id="metadata3007"><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><defs - id="defs3005" /> + rdf:resource="http://purl.org/dc/dcmitype/StillImage" /><dc:title /></cc:Work></rdf:RDF></metadata><defs + id="defs3005"><linearGradient + id="linearGradient5075"><stop + style="stop-color:#fffdff;stop-opacity:0.15753424;" + offset="0" + id="stop5077" /><stop + style="stop-color:#ffffff;stop-opacity:0;" + offset="1" + id="stop5079" /></linearGradient><linearGradient + id="linearGradient5067"><stop + style="stop-color:#000000;stop-opacity:0.15753424;" + offset="0" + id="stop5069" /><stop + style="stop-color:#000000;stop-opacity:0;" + offset="1" + id="stop5071" /></linearGradient> + + + +<linearGradient + inkscape:collect="always" + xlink:href="#linearGradient5067" + id="linearGradient5073" + x1="15" + y1="21.5" + x2="12.5" + y2="11.5" + gradientUnits="userSpaceOnUse" /><linearGradient + inkscape:collect="always" + xlink:href="#linearGradient5075" + id="linearGradient5081" + x1="15" + y1="4" + x2="18" + y2="11.5" + gradientUnits="userSpaceOnUse" /></defs> <path fill="#FFFFFF" d="M1.604,22.989l20.23,0.03c-1.103-2.755-4.736-13.304,0.234-22.011C5.218,1.869,2.045,19.696,1.604,22.989z" @@ -40,10 +75,10 @@ inkscape:window-maximized="0" inkscape:window-height="837" inkscape:cy="11.54297" - inkscape:cx="16.300419" - inkscape:window-x="0" + inkscape:cx="15.291385" + inkscape:window-x="206" id="base" - inkscape:window-y="865" + inkscape:window-y="0" showgrid="true" inkscape:zoom="24.101265"> @@ -59,23 +94,35 @@ </inkscape:grid> </sodipodi:namedview> <g - id="g2998"> - <g id="g3000"> <path - fill="#999999" - d="M22.557,23.979C22.557,23.979,22.557,23.979,22.557,23.979L1.064,23.947 c-0.134-0.001-0.262-0.057-0.353-0.155c-0.091-0.1-0.136-0.231-0.125-0.365c0.02-0.23,2.2-23.088,22.341-23.406 c0.166-0.024,0.34,0.091,0.426,0.246c0.086,0.154,0.081,0.343-0.015,0.491c-5.911,9.253-0.941,21.189-0.396,22.435 c0.07,0.083,0.112,0.19,0.112,0.308c0,0.265-0.215,0.479-0.479,0.479C22.571,23.98,22.564,23.98,22.557,23.979z M1.604,22.989 l20.23,0.03c-1.103-2.755-4.736-13.304,0.234-22.011C5.218,1.869,2.045,19.696,1.604,22.989z" - id="path3002" /> - </g> - - <path - id="path2995_3_" + style="fill:#999999" + inkscape:connector-curvature="0" + id="path3002" + d="m 22.557,23.979 c 0,0 0,0 0,0 L 1.064,23.947 C 0.93,23.946 0.802,23.89 0.711,23.792 0.62,23.692 0.575,23.561 0.586,23.427 c 0.02,-0.23 2.2,-23.088 22.341,-23.406 0.166,-0.024 0.34,0.091 0.426,0.246 0.086,0.154 0.081,0.343 -0.015,0.491 -5.911,9.253 -0.941,21.189 -0.396,22.435 0.07,0.083 0.112,0.19 0.112,0.308 0,0.265 -0.215,0.479 -0.479,0.479 -0.004,0 -0.011,0 -0.018,-0.001 z m -20.953,-0.99 20.23,0.03 C 20.731,20.264 17.098,9.715 22.068,1.008 5.218,1.869 2.045,19.696 1.604,22.989 z" /> + </g><path + style="fill:#2c4bc4;fill-opacity:1" + d="m 3.39,21.646 c 0,0 2.312,-17.222 16.754,-19.225 -4.48,9.331 -0.216,19.247 -0.216,19.247 L 3.39,21.646 z" + sodipodi:nodetypes="cccc" + inkscape:connector-curvature="0" + inkscape:export-ydpi="90.000000" + inkscape:export-xdpi="90.000000" + inkscape:export-filename="/home/gerald/devel/wsweb/image/wslogo.png" + id="path2995_3_" /> +<path + id="path4555" inkscape:export-filename="/home/gerald/devel/wsweb/image/wslogo.png" inkscape:export-xdpi="90.000000" inkscape:export-ydpi="90.000000" inkscape:connector-curvature="0" sodipodi:nodetypes="cccc" - fill="#21DE08" - d=" M3.39,21.646c0,0,2.312-17.222,16.754-19.225c-4.48,9.331-0.216,19.247-0.216,19.247L3.39,21.646z" /> -</g> -</svg>
\ No newline at end of file + d="m 3.39,21.646 c 0,0 2.312,-17.222 16.754,-19.225 -4.48,9.331 -0.216,19.247 -0.216,19.247 L 3.39,21.646 z" + style="fill:url(#linearGradient5073);fill-opacity:1" /><path + style="fill:url(#linearGradient5081);fill-opacity:1" + d="m 3.39,21.646 c 0,0 2.312,-17.222 16.754,-19.225 -4.48,9.331 -0.216,19.247 -0.216,19.247 L 3.39,21.646 z" + sodipodi:nodetypes="cccc" + inkscape:connector-curvature="0" + inkscape:export-ydpi="90.000000" + inkscape:export-xdpi="90.000000" + inkscape:export-filename="/home/gerald/devel/wsweb/image/wslogo.png" + id="path4557" /></svg>
\ No newline at end of file |