1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

feat(ui): add event icons for all statuses

Before we would alternate between status icon and online event icon.
Now each status has its own event version, so status doesn't appear to
alternate between online and the correct status.
This commit is contained in:
Anthony Bilinski 2019-05-07 15:44:33 -07:00
parent 0f6e992650
commit 17048c9cc4
No known key found for this signature in database
GPG Key ID: 2AA8E0DA1B31FB3C
12 changed files with 257 additions and 6 deletions

View File

@ -4,5 +4,5 @@
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" <svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 16.1 16" enable-background="new 0 0 16.1 16" xml:space="preserve"> viewBox="0 0 16.1 16" enable-background="new 0 0 16.1 16" xml:space="preserve">
<path fill="#ff9600" d="M7.95,0 c-1.9,0-3.8,1.3-3.8,3.9 v 1.9 h-1 c-1.1,0-1.8,0.8-1.8,1.9 v 6.5 c 0,1.1 0.7,1.9 1.9,1.9 h 9.6 c 1.1,0 1.9,-0.8 1.9,-1.9 V 7.6 c 0,-1.1-0.8,-1.9-1.9,-1.9 h-0.9 V 3.8 C 11.85,1.3 9.95,0 7.95,0 Z m 0,1.6 c 1.3,0 2.2,1 2.2,2.2 0.1,1.2-0.4,2.4-2.2,3.1 0.3,-0.5 0.4,-0.7 0.5,-1.2-1.8,0.2-2.7,-0.8-2.7,-1.9 0,-1.1 0.9,-2.2 2.2,-2.2 z"/> <path fill="#ff9600" d="M7.95,0 c-1.9,0-3.8,1.3-3.8,3.9 v 1.9 h-1 c-1.1,0-1.8,0.8-1.8,1.9 v 6.5 c 0,1.1 0.7,1.9 1.9,1.9 h 9.6 c 1.1,0 1.9,-0.8 1.9,-1.9 V 7.6 c 0,-1.1-0.8,-1.9-1.9,-1.9 h-0.9 V 3.8 C 11.85,1.3 9.95,0 7.95,0 Z m 0,1.6 c 1.3,0 2.2,1 2.2,2.2 0.1,1.2-0.4,2.4-2.2,3.1 0.3,-0.5 0.4,-0.7 0.5,-1.2-1.8,0.2-2.7,-0.8-2.7,-1.9 0,-1.1 0.9,-2.2 2.2,-2.2 z"/>
<path fill="#6fc062" d="M11.45,11 c 0,1.9-1.5,3.4-3.4,3.4-1.9,0-3.4,-1.5-3.4,-3.4 0,-1.9 1.5,-3.4 3.4,-3.4 1.9,0 3.4,1.5 3.4,3.4"/> <path fill="#CDBE41" d="M11.45,11 c 0,1.9-1.5,3.4-3.4,3.4-1.9,0-3.4,-1.5-3.4,-3.4 0,-1.9 1.5,-3.4 3.4,-3.4 1.9,0 3.4,1.5 3.4,3.4"/>
</svg> </svg>

Before

Width:  |  Height:  |  Size: 942 B

After

Width:  |  Height:  |  Size: 942 B

View File

@ -0,0 +1,51 @@
<?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"
version="1.1"
width="100%"
height="100%"
viewBox="0 0 16.1 16"
id="Layer_1"
xml:space="preserve"
inkscape:version="0.92.4 (5da689c313, 2019-01-14)"
sodipodi:docname="taskbar_busy.svg"><sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="1850"
inkscape:window-height="1016"
id="namedview15"
showgrid="false"
inkscape:zoom="20.85965"
inkscape:cx="2.9873773"
inkscape:cy="0.87742313"
inkscape:window-x="70"
inkscape:window-y="27"
inkscape:window-maximized="1"
inkscape:current-layer="Layer_1" /><metadata
id="metadata19"><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="defs17" /><path
d="m 7.95,0 c -1.9,0 -3.8,1.3 -3.8,3.9 v 1.9 h -1 c -1.1,0 -1.8,0.8 -1.8,1.9 v 6.5 c 0,1.1 0.7,1.9 1.9,1.9 h 9.6 c 1.1,0 1.9,-0.8 1.9,-1.9 V 7.6 c 0,-1.1 -0.8,-1.9 -1.9,-1.9 h -0.9 V 3.8 C 11.85,1.3 9.95,0 7.95,0 Z m 0,1.6 c 1.3,0 2.2,1 2.2,2.2 0.1,1.2 -0.4,2.4 -2.2,3.1 0.3,-0.5 0.4,-0.7 0.5,-1.2 -1.8,0.2 -2.7,-0.8 -2.7,-1.9 0,-1.1 0.9,-2.2 2.2,-2.2 z"
id="path3"
style="fill:#ff9600"
inkscape:connector-curvature="0" /><path
d="m 11.429801,11.258529 c 0,-1.8521744 -1.422038,-3.3069551 -3.2742131,-3.3069551 -1.852174,0 -3.2742129,1.4220386 -3.2742129,3.2742131 0,1.852175 1.4220389,3.274213 3.2742129,3.274213 1.8521751,0 3.3205181,-1.4356 3.2742131,-3.241471 z M 5.863639,10.570944 c 0.5483069,0 4.583899,0 4.583899,0 0,0.387917 0,0.779067 0,1.309686 -0.6073801,0 -3.8291941,0 -4.583899,0 0,-0.350429 -2.3e-6,-0.780936 0,-1.309686 z"
id="path3-2"
inkscape:connector-curvature="0"
style="fill:#c94f50"
sodipodi:nodetypes="cssscccccc" /></svg>

After

Width:  |  Height:  |  Size: 2.4 KiB

View File

@ -0,0 +1,52 @@
<?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"
version="1.1"
width="100%"
height="100%"
viewBox="0 0 16.1 16"
id="Layer_1"
xml:space="preserve">
<metadata
id="metadata19">
<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="defs17" />
<path
d="m 7.95,0 c -1.9,0 -3.8,1.3 -3.8,3.9 v 1.9 h -1 c -1.1,0 -1.8,0.8 -1.8,1.9 v 6.5 c 0,1.1 0.7,1.9 1.9,1.9 h 9.6 c 1.1,0 1.9,-0.8 1.9,-1.9 V 7.6 c 0,-1.1 -0.8,-1.9 -1.9,-1.9 h -0.9 V 3.8 C 11.85,1.3 9.95,0 7.95,0 Z m 0,1.6 c 1.3,0 2.2,1 2.2,2.2 0.1,1.2 -0.4,2.4 -2.2,3.1 0.3,-0.5 0.4,-0.7 0.5,-1.2 -1.8,0.2 -2.7,-0.8 -2.7,-1.9 0,-1.1 0.9,-2.2 2.2,-2.2 z"
id="path3"
style="fill:#ff9600"
inkscape:connector-curvature="0" />
<path
d="m 8.162625,7.71875 c -1.8159871,0 -3.28125,1.4652629 -3.28125,3.28125 0,1.815987 1.4652629,3.28125 3.28125,3.28125 1.8159871,0 3.3125,-1.465263 3.3125,-3.28125 0,-1.8159871 -1.4965129,-3.28125 -3.3125,-3.28125 z m 0,0.90625 c 1.3198669,0 2.40625,1.0551331 2.40625,2.375 0,1.319867 -1.0863831,2.375 -2.40625,2.375 -1.3198669,0 -2.375,-1.055133 -2.375,-2.375 0,-1.3198669 1.0551331,-2.375 2.375,-2.375 z"
id="path3000"
style="fill:#dedede;fill-opacity:1"
inkscape:connector-curvature="0" />
<path
d="m -6.5762711,11.932203 a 5.3220339,6.237288 0 1 1 -10.6440679,0 5.3220339,6.237288 0 1 1 10.6440679,0 z"
id="path2996"
style="fill:#ffffff;fill-opacity:1" />
<rect
width="1.1830783"
height="5.3462563"
rx="0"
ry="0.89710045"
x="7.4584999"
y="8.3502293"
id="rect3937"
style="fill:#dedede;fill-opacity:1;fill-rule:nonzero" />
</svg>

After

Width:  |  Height:  |  Size: 2.1 KiB

View File

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 18.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 16 16" enable-background="new 0 0 16 16" xml:space="preserve">
<g>
<path fill="#ff9600" d="m 7.95,0 c -1.9,0 -3.8,1.3 -3.8,3.9 v 1.9 h -1 c -1.1,0 -1.8,0.8 -1.8,1.9 v 6.5 c 0,1.1 0.7,1.9 1.9,1.9 h 9.6 c 1.1,0 1.9,-0.8 1.9,-1.9 V 7.6 c 0,-1.1 -0.8,-1.9 -1.9,-1.9 h -0.9 V 3.8 C 11.85,1.3 9.95,0 7.95,0 Z m 0,1.6 c 1.3,0 2.2,1 2.2,2.2 0.1,1.2 -0.4,2.4 -2.2,3.1 0.3,-0.5 0.4,-0.7 0.5,-1.2 -1.8,0.2 -2.7,-0.8 -2.7,-1.9 0,-1.1 0.9,-2.2 2.2,-2.2 z"/>
<g transform="translate(20.146176,1.0868021)">
<path fill="#C94F50" d="m -11.983551,6.6340045 c -1.815987,0 -3.28125,1.4652629 -3.28125,3.28125 0,1.8159875 1.465263,3.2812505 3.28125,3.2812505 1.815987,0 3.3124995,-1.465263 3.3124995,-3.2812505 0,-1.8159871 -1.4965125,-3.28125 -3.3124995,-3.28125 z m 0,0.90625 c 1.319867,0 2.4062495,1.0551331 2.4062495,2.375 0,1.3198675 -1.0863825,2.3750005 -2.4062495,2.3750005 -1.319867,0 -2.375,-1.055133 -2.375,-2.3750005 0,-1.3198669 1.055133,-2.375 2.375,-2.375 z"/>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 1.3 KiB

View File

@ -4,5 +4,5 @@
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" <svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 16.1 16" enable-background="new 0 0 16.1 16" xml:space="preserve"> viewBox="0 0 16.1 16" enable-background="new 0 0 16.1 16" xml:space="preserve">
<path fill="#ff9600" d="M7.95,0 c-1.9,0-3.8,1.3-3.8,3.9 v 1.9 h-1 c-1.1,0-1.8,0.8-1.8,1.9 v 6.5 c 0,1.1 0.7,1.9 1.9,1.9 h 9.6 c 1.1,0 1.9,-0.8 1.9,-1.9 V 7.6 c 0,-1.1-0.8,-1.9-1.9,-1.9 h-0.9 V 3.8 C 11.85,1.3 9.95,0 7.95,0 Z m 0,1.6 c 1.3,0 2.2,1 2.2,2.2 0.1,1.2-0.4,2.4-2.2,3.1 0.3,-0.5 0.4,-0.7 0.5,-1.2-1.8,0.2-2.7,-0.8-2.7,-1.9 0,-1.1 0.9,-2.2 2.2,-2.2 z"/> <path fill="#ff9600" d="M7.95,0 c-1.9,0-3.8,1.3-3.8,3.9 v 1.9 h-1 c-1.1,0-1.8,0.8-1.8,1.9 v 6.5 c 0,1.1 0.7,1.9 1.9,1.9 h 9.6 c 1.1,0 1.9,-0.8 1.9,-1.9 V 7.6 c 0,-1.1-0.8,-1.9-1.9,-1.9 h-0.9 V 3.8 C 11.85,1.3 9.95,0 7.95,0 Z m 0,1.6 c 1.3,0 2.2,1 2.2,2.2 0.1,1.2-0.4,2.4-2.2,3.1 0.3,-0.5 0.4,-0.7 0.5,-1.2-1.8,0.2-2.7,-0.8-2.7,-1.9 0,-1.1 0.9,-2.2 2.2,-2.2 z"/>
<path fill="#6fc062" d="M11.45,11 c 0,1.9-1.5,3.4-3.4,3.4-1.9,0-3.4,-1.5-3.4,-3.4 0,-1.9 1.5,-3.4 3.4,-3.4 1.9,0 3.4,1.5 3.4,3.4"/> <path fill="#6FC062" d="M11.45,11 c 0,1.9-1.5,3.4-3.4,3.4-1.9,0-3.4,-1.5-3.4,-3.4 0,-1.9 1.5,-3.4 3.4,-3.4 1.9,0 3.4,1.5 3.4,3.4"/>
</svg> </svg>

Before

Width:  |  Height:  |  Size: 942 B

After

Width:  |  Height:  |  Size: 942 B

View File

@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 18.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 16 16" enable-background="new 0 0 16 16" xml:space="preserve">
<g>
<path fill="#ff9600" d="M 8,0 C 6.1,0 4.1,1.3 4.1,3.9 v 1.9 h -1 C 2,5.7 1.3,6.5 1.3,7.6 v 6.5 C 1.3,15.2 2,16 3.2,16 h 9.6 c 1.1,0 1.9,-0.8 1.9,-1.9 V 7.6 C 14.7,6.5 13.9,5.7 12.8,5.7 H 11.9 V 3.8 C 11.9,1.3 9.9,0 8,0 Z m 0,1.6 c 1.3,0 2.2,1 2.2,2.2 C 10.2,5 9.7,6.2 8,6.9 8.3,6.4 8.4,6.2 8.5,5.7 6.7,5.9 5.8,4.9 5.8,3.8 5.8,2.7 6.7,1.6 8,1.6 Z"/>
<path fill="#CDBE41" d="m 7.9975,7.6 c -1.8,0 -3.3,1.5 -3.3,3.3 0,1.8 1.5,3.3 3.3,3.3 1.8,0 3.3,-1.5 3.3,-3.3 0.1,-1.8 -1.4,-3.3 -3.3,-3.3 z m -2.3,3.4 c 0,-1.3 1.1,-2.4 2.4,-2.4 1.3,0 2.4,1.1 2.4,2.4 z"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 1010 B

View File

@ -0,0 +1,51 @@
<?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"
version="1.1"
width="100%"
height="100%"
viewBox="0 0 16.1 16"
id="Layer_1"
xml:space="preserve"
inkscape:version="0.92.4 (5da689c313, 2019-01-14)"
sodipodi:docname="taskbar_busy.svg"><sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="1850"
inkscape:window-height="1016"
id="namedview15"
showgrid="false"
inkscape:zoom="20.85965"
inkscape:cx="2.9873773"
inkscape:cy="0.87742313"
inkscape:window-x="70"
inkscape:window-y="27"
inkscape:window-maximized="1"
inkscape:current-layer="Layer_1" /><metadata
id="metadata19"><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="defs17" /><path
d="m 7.95,0 c -1.9,0 -3.8,1.3 -3.8,3.9 v 1.9 h -1 c -1.1,0 -1.8,0.8 -1.8,1.9 v 6.5 c 0,1.1 0.7,1.9 1.9,1.9 h 9.6 c 1.1,0 1.9,-0.8 1.9,-1.9 V 7.6 c 0,-1.1 -0.8,-1.9 -1.9,-1.9 h -0.9 V 3.8 C 11.85,1.3 9.95,0 7.95,0 Z m 0,1.6 c 1.3,0 2.2,1 2.2,2.2 0.1,1.2 -0.4,2.4 -2.2,3.1 0.3,-0.5 0.4,-0.7 0.5,-1.2 -1.8,0.2 -2.7,-0.8 -2.7,-1.9 0,-1.1 0.9,-2.2 2.2,-2.2 z"
id="path3"
style="fill:#ff9600"
inkscape:connector-curvature="0" /><path
d="m 11.429801,11.258529 c 0,-1.8521744 -1.422038,-3.3069551 -3.2742131,-3.3069551 -1.852174,0 -3.2742129,1.4220386 -3.2742129,3.2742131 0,1.852175 1.4220389,3.274213 3.2742129,3.274213 1.8521751,0 3.3205181,-1.4356 3.2742131,-3.241471 z M 5.863639,10.570944 c 0.5483069,0 4.583899,0 4.583899,0 0,0.387917 0,0.779067 0,1.309686 -0.6073801,0 -3.8291941,0 -4.583899,0 0,-0.350429 -2.3e-6,-0.780936 0,-1.309686 z"
id="path3-2"
inkscape:connector-curvature="0"
style="fill:#c94f50"
sodipodi:nodetypes="cssscccccc" /></svg>

After

Width:  |  Height:  |  Size: 2.4 KiB

View File

@ -0,0 +1,48 @@
<?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"
version="1.1"
width="100%"
height="100%"
viewBox="0 0 16.1 16"
id="Layer_1"
xml:space="preserve">
<metadata
id="metadata19">
<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="defs17" />
<path
d="m 7.95,0 c -1.9,0 -3.8,1.3 -3.8,3.9 v 1.9 h -1 c -1.1,0 -1.8,0.8 -1.8,1.9 v 6.5 c 0,1.1 0.7,1.9 1.9,1.9 h 9.6 c 1.1,0 1.9,-0.8 1.9,-1.9 V 7.6 c 0,-1.1 -0.8,-1.9 -1.9,-1.9 h -0.9 V 3.8 C 11.85,1.3 9.95,0 7.95,0 Z m 0,1.6 c 1.3,0 2.2,1 2.2,2.2 0.1,1.2 -0.4,2.4 -2.2,3.1 0.3,-0.5 0.4,-0.7 0.5,-1.2 -1.8,0.2 -2.7,-0.8 -2.7,-1.9 0,-1.1 0.9,-2.2 2.2,-2.2 z"
id="path3"
style="fill:#ff9600"
inkscape:connector-curvature="0" />
<path
d="m 8.162625,7.71875 c -1.8159871,0 -3.28125,1.4652629 -3.28125,3.28125 0,1.815987 1.4652629,3.28125 3.28125,3.28125 1.8159871,0 3.3125,-1.465263 3.3125,-3.28125 0,-1.8159871 -1.4965129,-3.28125 -3.3125,-3.28125 z m 0,0.90625 c 1.3198669,0 2.40625,1.0551331 2.40625,2.375 0,1.319867 -1.0863831,2.375 -2.40625,2.375 -1.3198669,0 -2.375,-1.055133 -2.375,-2.375 0,-1.3198669 1.0551331,-2.375 2.375,-2.375 z"
id="path3000"
style="fill:#4e4e4e;fill-opacity:1"
inkscape:connector-curvature="0" />
<rect
width="1.1830783"
height="5.3462563"
rx="0"
ry="0.89710045"
x="7.4584999"
y="8.3502293"
id="rect3937"
style="fill:#4e4e4e;fill-opacity:1;fill-rule:nonzero" />
</svg>

After

Width:  |  Height:  |  Size: 1.9 KiB

View File

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 18.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 16 16" enable-background="new 0 0 16 16" xml:space="preserve">
<g>
<path fill="#ff9600" d="m 7.95,0 c -1.9,0 -3.8,1.3 -3.8,3.9 v 1.9 h -1 c -1.1,0 -1.8,0.8 -1.8,1.9 v 6.5 c 0,1.1 0.7,1.9 1.9,1.9 h 9.6 c 1.1,0 1.9,-0.8 1.9,-1.9 V 7.6 c 0,-1.1 -0.8,-1.9 -1.9,-1.9 h -0.9 V 3.8 C 11.85,1.3 9.95,0 7.95,0 Z m 0,1.6 c 1.3,0 2.2,1 2.2,2.2 0.1,1.2 -0.4,2.4 -2.2,3.1 0.3,-0.5 0.4,-0.7 0.5,-1.2 -1.8,0.2 -2.7,-0.8 -2.7,-1.9 0,-1.1 0.9,-2.2 2.2,-2.2 z"/>
<g transform="translate(20.146176,1.0868021)">
<path fill="#C94F50" d="m -11.983551,6.6340045 c -1.815987,0 -3.28125,1.4652629 -3.28125,3.28125 0,1.8159875 1.465263,3.2812505 3.28125,3.2812505 1.815987,0 3.3124995,-1.465263 3.3124995,-3.2812505 0,-1.8159871 -1.4965125,-3.28125 -3.3124995,-3.28125 z m 0,0.90625 c 1.319867,0 2.4062495,1.0551331 2.4062495,2.375 0,1.3198675 -1.0863825,2.3750005 -2.4062495,2.3750005 -1.319867,0 -2.375,-1.055133 -2.375,-2.3750005 0,-1.3198669 1.055133,-2.375 2.375,-2.375 z"/>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 1.3 KiB

View File

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 18.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 16.1 16" enable-background="new 0 0 16.1 16" xml:space="preserve">
<path fill="#ff9600" d="M7.95,0 c-1.9,0-3.8,1.3-3.8,3.9 v 1.9 h-1 c-1.1,0-1.8,0.8-1.8,1.9 v 6.5 c 0,1.1 0.7,1.9 1.9,1.9 h 9.6 c 1.1,0 1.9,-0.8 1.9,-1.9 V 7.6 c 0,-1.1-0.8,-1.9-1.9,-1.9 h-0.9 V 3.8 C 11.85,1.3 9.95,0 7.95,0 Z m 0,1.6 c 1.3,0 2.2,1 2.2,2.2 0.1,1.2-0.4,2.4-2.2,3.1 0.3,-0.5 0.4,-0.7 0.5,-1.2-1.8,0.2-2.7,-0.8-2.7,-1.9 0,-1.1 0.9,-2.2 2.2,-2.2 z"/>
<path fill="#6FC062" d="M11.45,11 c 0,1.9-1.5,3.4-3.4,3.4-1.9,0-3.4,-1.5-3.4,-3.4 0,-1.9 1.5,-3.4 3.4,-3.4 1.9,0 3.4,1.5 3.4,3.4"/>
</svg>

After

Width:  |  Height:  |  Size: 942 B

10
res.qrc
View File

@ -31,15 +31,21 @@
<file>img/status/online.svg</file> <file>img/status/online.svg</file>
<file>img/status/online_notification.svg</file> <file>img/status/online_notification.svg</file>
<file>img/taskbar/dark/taskbar_online.svg</file> <file>img/taskbar/dark/taskbar_online.svg</file>
<file>img/taskbar/dark/taskbar_online_event.svg</file>
<file>img/taskbar/dark/taskbar_away.svg</file> <file>img/taskbar/dark/taskbar_away.svg</file>
<file>img/taskbar/dark/taskbar_away_event.svg</file>
<file>img/taskbar/dark/taskbar_busy.svg</file> <file>img/taskbar/dark/taskbar_busy.svg</file>
<file>img/taskbar/dark/taskbar_busy_event.svg</file>
<file>img/taskbar/dark/taskbar_offline.svg</file> <file>img/taskbar/dark/taskbar_offline.svg</file>
<file>img/taskbar/dark/taskbar_event.svg</file> <file>img/taskbar/dark/taskbar_offline_event.svg</file>
<file>img/taskbar/light/taskbar_online.svg</file> <file>img/taskbar/light/taskbar_online.svg</file>
<file>img/taskbar/light/taskbar_online_event.svg</file>
<file>img/taskbar/light/taskbar_away.svg</file> <file>img/taskbar/light/taskbar_away.svg</file>
<file>img/taskbar/light/taskbar_away_event.svg</file>
<file>img/taskbar/light/taskbar_busy.svg</file> <file>img/taskbar/light/taskbar_busy.svg</file>
<file>img/taskbar/light/taskbar_busy_event.svg</file>
<file>img/taskbar/light/taskbar_offline.svg</file> <file>img/taskbar/light/taskbar_offline.svg</file>
<file>img/taskbar/light/taskbar_event.svg</file> <file>img/taskbar/light/taskbar_offline_event.svg</file>
<file>img/transfer.svg</file> <file>img/transfer.svg</file>
<file>themes/dark/palette.ini</file> <file>themes/dark/palette.ini</file>
<file>themes/dark/fileTransferWidget/fileDone.svg</file> <file>themes/dark/fileTransferWidget/fileDone.svg</file>

View File

@ -440,8 +440,9 @@ void Widget::updateIcons()
return; return;
} }
const QString assetSuffix = eventIcon ? "event" : const QString assetSuffix =
Status::getAssetSuffix(static_cast<Status::Status>(ui->statusButton->property("status").toInt())); Status::getAssetSuffix(static_cast<Status::Status>(ui->statusButton->property("status").toInt()))
+ (eventIcon ? "_event" : "");
// Some builds of Qt appear to have a bug in icon loading: // Some builds of Qt appear to have a bug in icon loading: