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

Fixed busy and invisible taskbar icons

Updated other status icons
Removed duplicate status icons from ui/statusButton
This commit is contained in:
novist 2015-02-06 20:16:01 +02:00
parent 72bb66334e
commit 8a2cb4e3b9
24 changed files with 283 additions and 127 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 367 B

After

Width:  |  Height:  |  Size: 228 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 411 B

After

Width:  |  Height:  |  Size: 375 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 878 B

After

Width:  |  Height:  |  Size: 390 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 308 B

After

Width:  |  Height:  |  Size: 237 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 947 B

After

Width:  |  Height:  |  Size: 363 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 791 B

After

Width:  |  Height:  |  Size: 410 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 360 B

After

Width:  |  Height:  |  Size: 231 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 376 B

After

Width:  |  Height:  |  Size: 351 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 825 B

After

Width:  |  Height:  |  Size: 405 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 277 B

After

Width:  |  Height:  |  Size: 201 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 282 B

After

Width:  |  Height:  |  Size: 278 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 790 B

After

Width:  |  Height:  |  Size: 351 B

View File

@ -1,26 +1,71 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Generator: Adobe Illustrator 18.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --> <!-- Created with Inkscape (http://www.inkscape.org/) -->
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> <svg
<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" xmlns:dc="http://purl.org/dc/elements/1.1/"
viewBox="0 0 16.1 16" enable-background="new 0 0 16.1 16" xml:space="preserve"> xmlns:cc="http://creativecommons.org/ns#"
<path fill="#252325" d="M8,0C6.1,0,4.2,1.3,4.2,3.9v1.9h-1c-1.1,0-1.8,0.8-1.8,1.9v6.5c0,1.1,0.7,1.9,1.9,1.9l9.6,0 xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
c1.1,0,1.9-0.8,1.9-1.9V7.6c0-1.1-0.8-1.9-1.9-1.9h-0.9l0-1.9C11.9,1.3,10,0,8,0z M8,1.6c1.3,0,2.2,1,2.2,2.2C10.3,5,9.8,6.2,8,6.9 xmlns:svg="http://www.w3.org/2000/svg"
c0.3-0.5,0.4-0.7,0.5-1.2C6.7,5.9,5.8,4.9,5.8,3.8S6.7,1.6,8,1.6z"/> xmlns="http://www.w3.org/2000/svg"
<g> version="1.1"
<path fill="#C94F50" d="M8,7.7c-1.8,0-3.3,1.5-3.3,3.3c0,1.8,1.5,3.3,3.3,3.3c1.8,0,3.3-1.5,3.3-3.3C11.3,9.2,9.8,7.7,8,7.7z width="100%"
M8,13.4c-1.3,0-2.4-1.1-2.4-2.4c0-0.7,0.3-1.3,0.7-1.7c0,0,0,0,0,0c0,0,0,0,0.1-0.1c0,0,0,0,0,0c0,0,0,0,0.1-0.1c0,0,0,0,0,0 height="100%"
C6.6,9.1,6.7,9,6.8,8.9c0,0,0,0,0,0c0,0,0,0,0.1,0c0,0,0,0,0,0c0,0,0,0,0.1,0c0,0,0,0,0,0c0,0,0,0,0.1,0c0,0,0,0,0,0c0,0,0,0,0.1,0 viewBox="0 0 16.1 16"
c0,0,0,0,0.1,0c0,0,0,0,0.1,0c0,0,0.1,0,0.1,0c0,0,0,0,0,0c0,0,0,0,0.1,0c0,0,0,0,0,0c0,0,0,0,0.1,0c0,0,0,0,0,0c0,0,0,0,0.1,0 id="Layer_1"
c0,0,0,0,0,0c0,0,0.1,0,0.1,0c0,0,0,0,0,0c0,0,0.1,0,0.1,0c0,0,0,0,0,0l0,0l0,0c0,0,0.1,0,0.1,0c0,0,0,0,0,0c0,0,0.1,0,0.1,0 xml:space="preserve">
c0,0,0,0,0,0c0,0,0,0,0.1,0c0,0,0,0,0,0c0,0,0,0,0.1,0c0,0,0,0,0,0c0,0,0.1,0,0.1,0c0,0,0,0,0,0c0,0,0.1,0,0.1,0c0,0,0,0,0,0 <metadata
c0,0,0.1,0,0.1,0c0,0,0,0,0,0c0,0,0,0,0.1,0c0,0,0,0,0,0c0,0,0,0,0.1,0c0,0,0,0,0,0c0,0,0,0,0.1,0c0,0,0,0,0,0c0,0,0,0,0.1,0 id="metadata19">
c0,0,0,0,0,0c0,0,0.1,0,0.1,0.1c0,0,0,0,0,0c0,0,0,0,0.1,0c0,0,0,0,0,0c0,0,0,0,0,0c0,0,0,0,0,0c0,0,0,0,0,0c0,0,0,0,0,0 <rdf:RDF>
c0,0,0,0,0,0c0,0,0,0,0,0c0,0,0,0,0,0c0,0,0,0,0,0c0,0,0,0,0,0c0,0,0.1,0.1,0.1,0.1c0,0,0,0,0,0c0,0,0,0,0,0.1c0,0,0,0,0,0 <cc:Work
c0,0,0,0,0,0.1c0,0,0,0,0,0c0,0,0,0,0,0.1c0,0,0,0,0,0c0,0,0,0,0,0.1c0,0,0,0,0,0c0,0.1,0.1,0.2,0.1,0.2c0,0,0,0,0,0c0,0,0,0,0,0.1 rdf:about="">
c0,0,0,0,0,0c0,0,0,0,0,0.1c0,0,0,0,0,0c0,0,0,0,0,0.1c0,0,0,0,0,0l0,0c0,0.2,0.1,0.4,0.1,0.6C10.4,12.3,9.3,13.4,8,13.4z"/> <dc:format>image/svg+xml</dc:format>
<g> <dc:type
<g> rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<polyline fill="#C94F50" points="9.4,8.9 5.8,12.5 6.5,13.2 10.2,9.6 "/> <dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<defs
id="defs17" />
<path
d="M 8,0 C 6.1,0 4.2,1.3 4.2,3.9 v 1.9 h -1 C 2.1,5.8 1.4,6.6 1.4,7.7 v 6.5 c 0,1.1 0.7,1.9 1.9,1.9 l 9.6,0 c 1.1,0 1.9,-0.8 1.9,-1.9 V 7.6 C 14.8,6.5 14,5.7 12.9,5.7 H 12 L 12,3.8 C 11.9,1.3 10,0 8,0 z m 0,1.6 c 1.3,0 2.2,1 2.2,2.2 C 10.3,5 9.8,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"
id="path3"
style="fill:#252325" />
<path
d="m 7.9927197,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.3125003,-1.465263 3.3125003,-3.28125 0,-1.8159871 -1.4965132,-3.28125 -3.3125003,-3.28125 z m 0,0.90625 c 1.3198669,0 2.4062503,1.0551331 2.4062503,2.375 0,1.319867 -1.0863834,2.375 -2.4062503,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:#c94f50;fill-opacity:1" />
<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="12.866886"
y="-0.54217148"
transform="matrix(0.70710678,0.70710678,-0.70710678,0.70710678,0,0)"
id="rect3937"
style="fill:#c94f50;fill-opacity:1;fill-rule:nonzero" />
<g
transform="translate(-12.523729,-0.08389831)"
id="g3893">
<g
id="g3877">
<g
id="g3879">
<path
d="m 5.6,8.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,0 0,0 0,0 0,0 0.1,0 0,0 0,0 0,0 0.1,0 0.1,0 0.2,0 0,0 0,0 0,0 0,0 0,0 0.1,0 0,0 0,0 0,0 0,0 0,0 0.1,0 0,0 0,0 0,0 0,0 0,0 0.1,0 0,0 0,0 0,0 0,0 0,0 0.1,0 0,0 0,0 0,0 0.1,0 0.2,0.1 0.2,0.1 0,0 0,0 0,0 0,0 0,0 0.1,0 0,0 0,0 0,0 0,0 0,0 0.1,0 0,0 0,0 0,0 0,0 0,0 0.1,0 0,0 0,0 0,0 l 0,0 c 0.2,0.1 0.3,0.2 0.4,0.3 1.3,1.1 1.3,2.6 0.4,3.5 z"
id="path3881"
style="fill:#ffffff" />
<g
id="g3883">
<polyline
id="polyline3885"
points="7.5,8.5 7.5,13.6 8.5,13.6 8.5,8.5 "
style="fill:#ffffff" />
</g>
</g> </g>
</g> </g>
</g> </g>

Before

Width:  |  Height:  |  Size: 2.2 KiB

After

Width:  |  Height:  |  Size: 4.0 KiB

View File

@ -1,27 +1,70 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Generator: Adobe Illustrator 18.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --> <!-- Created with Inkscape (http://www.inkscape.org/) -->
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> <svg
<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" xmlns:dc="http://purl.org/dc/elements/1.1/"
viewBox="0 0 16.1 16" enable-background="new 0 0 16.1 16" xml:space="preserve"> xmlns:cc="http://creativecommons.org/ns#"
<path fill="#252325" d="M8,0C6.1,0,4.2,1.3,4.2,3.9v1.9h-1c-1.1,0-1.8,0.8-1.8,1.9v6.5c0,1.1,0.7,1.9,1.9,1.9l9.6,0 xmlns:rdf="http://www.w3.org/1999/02/22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,0.1-0.1 id="metadata19">
c0,0,0,0,0,0c0,0,0.1,0,0.1,0c0,0,0,0,0,0c0,0,0,0,0.1,0c0,0,0,0,0,0c0,0,0,0,0.1,0c0,0,0,0,0,0c0,0,0,0,0.1,0c0,0,0,0,0,0 <rdf:RDF>
c0,0,0,0,0.1,0c0,0,0,0,0,0c0,0,0.1,0,0.1,0c0,0,0,0,0,0c0,0,0,0,0.1,0c0,0,0,0,0,0c0,0,0,0,0.1,0c0,0,0,0,0.1,0c0,0,0,0,0.1,0 <cc:Work
c0,0,0,0,0.1,0c0,0,0,0,0.1,0c0,0,0,0,0.1,0c0,0,0,0,0,0c0,0,0,0,0.1,0c0,0,0,0,0,0c0.1,0,0.1,0,0.2,0c0,0,0,0,0,0c0,0,0,0,0.1,0 rdf:about="">
c0,0,0,0,0,0c0,0,0,0,0.1,0c0,0,0,0,0,0c0,0,0,0,0.1,0c0,0,0,0,0,0c0,0,0,0,0.1,0c0,0,0,0,0,0c0.1,0,0.2,0.1,0.2,0.1c0,0,0,0,0,0 <dc:format>image/svg+xml</dc:format>
c0,0,0,0,0.1,0c0,0,0,0,0,0c0,0,0,0,0.1,0c0,0,0,0,0,0c0,0,0,0,0.1,0c0,0,0,0,0,0l0,0c0.2,0.1,0.3,0.2,0.4,0.3 <dc:type
C10.6,10.3,10.6,11.8,9.7,12.7z"/> rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<g> <dc:title></dc:title>
<polyline fill="#FFFFFF" points="7.5,8.5 7.5,13.6 8.5,13.6 8.5,8.5 "/> </cc:Work>
</rdf:RDF>
</metadata>
<defs
id="defs17" />
<path
d="M 8,0 C 6.1,0 4.2,1.3 4.2,3.9 v 1.9 h -1 C 2.1,5.8 1.4,6.6 1.4,7.7 v 6.5 c 0,1.1 0.7,1.9 1.9,1.9 l 9.6,0 c 1.1,0 1.9,-0.8 1.9,-1.9 V 7.6 C 14.8,6.5 14,5.7 12.9,5.7 H 12 L 12,3.8 C 11.9,1.3 10,0 8,0 z m 0,1.6 c 1.3,0 2.2,1 2.2,2.2 C 10.3,5 9.8,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"
id="path3"
style="fill:#252325" />
<path
d="m 7.9927197,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.3125003,-1.465263 3.3125003,-3.28125 0,-1.8159871 -1.4965132,-3.28125 -3.3125003,-3.28125 z m 0,0.90625 c 1.3198669,0 2.4062503,1.0551331 2.4062503,2.375 0,1.319867 -1.0863834,2.375 -2.4062503,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" />
<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.4181905"
y="8.3502293"
id="rect3937"
style="fill:#dedede;fill-opacity:1;fill-rule:nonzero" />
<g
transform="translate(-12.523729,-0.08389831)"
id="g3893">
<g
id="g3877">
<g
id="g3879">
<path
d="m 5.6,8.7 c -1.3,1.3 -1.3,3.4 0,4.7 1.3,1.3 3.4,1.3 4.7,0 1.3,-1.3 1.3,-3.4 0,-4.7 C 9,7.4 6.9,7.4 5.6,8.7 z m 4.1,4 c -0.9,0.9 -2.4,0.9 -3.4,0 -0.5,-0.5 -0.7,-1.1 -0.7,-1.8 0,0 0,0 0,0 0,0 0,-0.1 0,-0.1 0,0 0,0 0,0 0,0 0,-0.1 0,-0.1 0,0 0,0 0,0 0,-0.1 0,-0.2 0.1,-0.4 0,0 0,0 0,0 0,0 0,0 0,-0.1 0,0 0,0 0,0 0,0 0,0 0,-0.1 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.3,1.1 1.3,2.6 0.4,3.5 z"
id="path3881"
style="fill:#ffffff" />
<g
id="g3883">
<polyline
id="polyline3885"
points="7.5,8.5 7.5,13.6 8.5,13.6 8.5,8.5 "
style="fill:#ffffff" />
</g>
</g> </g>
</g> </g>
</g> </g>

Before

Width:  |  Height:  |  Size: 2.2 KiB

After

Width:  |  Height:  |  Size: 3.9 KiB

View File

@ -1,14 +1,72 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Generator: Adobe Illustrator 18.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --> <!-- Created with Inkscape (http://www.inkscape.org/) -->
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> <svg
<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" xmlns:dc="http://purl.org/dc/elements/1.1/"
viewBox="0 0 16 16" enable-background="new 0 0 16 16" xml:space="preserve"> xmlns:cc="http://creativecommons.org/ns#"
<g> xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
<path fill="#FFFFFF" d="M8,0C6.1,0,4.1,1.3,4.1,3.9v1.9h-1C2,5.7,1.3,6.5,1.3,7.6v6.5c0,1.1,0.7,1.9,1.9,1.9l9.6,0 xmlns:svg="http://www.w3.org/2000/svg"
c1.1,0,1.9-0.8,1.9-1.9V7.6c0-1.1-0.8-1.9-1.9-1.9h-0.9l0-1.9C11.9,1.3,9.9,0,8,0z M8,1.6c1.3,0,2.2,1,2.2,2.2 xmlns="http://www.w3.org/2000/svg"
C10.2,5,9.7,6.2,8,6.9c0.3-0.5,0.4-0.7,0.5-1.2C6.7,5.9,5.8,4.9,5.8,3.8S6.7,1.6,8,1.6z"/> version="1.1"
<path fill="#C94F50" d="M7.9,7.7c-1.8,0-3.3,1.5-3.3,3.3c0,1.8,1.5,3.3,3.3,3.3c1.8,0,3.3-1.4,3.3-3.2C11.3,9.3,9.8,7.7,7.9,7.7z width="100%"
M5.6,11c0-1.9,2.2-3,3.7-2c-1.1,1.1-2.2,2.2-3.3,3.3C5.7,11.9,5.6,11.5,5.6,11z M7.9,13.4c-0.5,0-0.9-0.1-1.3-0.4 height="100%"
c1.1-1.1,2.2-2.2,3.3-3.3C10.9,11.3,9.8,13.4,7.9,13.4z"/> 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></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<defs
id="defs17" />
<path
d="M 8,0 C 6.1,0 4.2,1.3 4.2,3.9 v 1.9 h -1 C 2.1,5.8 1.4,6.6 1.4,7.7 v 6.5 c 0,1.1 0.7,1.9 1.9,1.9 l 9.6,0 c 1.1,0 1.9,-0.8 1.9,-1.9 V 7.6 C 14.8,6.5 14,5.7 12.9,5.7 H 12 L 12,3.8 C 11.9,1.3 10,0 8,0 z m 0,1.6 c 1.3,0 2.2,1 2.2,2.2 C 10.3,5 9.8,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"
id="path3"
style="fill:#ffffff" />
<path
d="m 7.9927197,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.3125003,-1.465263 3.3125003,-3.28125 0,-1.8159871 -1.4965132,-3.28125 -3.3125003,-3.28125 z m 0,0.90625 c 1.3198669,0 2.4062503,1.0551331 2.4062503,2.375 0,1.319867 -1.0863834,2.375 -2.4062503,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:#c94f50;fill-opacity:1" />
<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="12.866886"
y="-0.54217148"
transform="matrix(0.70710678,0.70710678,-0.70710678,0.70710678,0,0)"
id="rect3937"
style="fill:#c94f50;fill-opacity:1;fill-rule:nonzero" />
<g
transform="translate(-12.523729,-0.08389831)"
id="g3893">
<g
id="g3877">
<g
id="g3879">
<path
d="m 5.6,8.7 c -1.3,1.3 -1.3,3.4 0,4.7 1.3,1.3 3.4,1.3 4.7,0 1.3,-1.3 1.3,-3.4 0,-4.7 C 9,7.4 6.9,7.4 5.6,8.7 z m 4.1,4 c -0.9,0.9 -2.4,0.9 -3.4,0 -0.5,-0.5 -0.7,-1.1 -0.7,-1.8 0,0 0,0 0,0 0,0 0,-0.1 0,-0.1 0,0 0,0 0,0 0,0 0,-0.1 0,-0.1 0,0 0,0 0,0 0,-0.1 0,-0.2 0.1,-0.4 0,0 0,0 0,0 0,0 0,0 0,-0.1 0,0 0,0 0,0 0,0 0,0 0,-0.1 0,0 0,0 0,0 0,0 0,0 0,-0.1 0,0 0,0 0,0 0,0 0,0 0,-0.1 0,0 0,0 0,-0.1 0,0 0,0 0,-0.1 0,0 0,0 0,-0.1 0,0 0,0 0,0 0,0 0,0 0,-0.1 0,0 0,0 0,0 0,0 0,0 0,-0.1 0,0 0,0 0,0 0,0 0,0 0,-0.1 0,0 0,0 0,0 0,0 0,0 0,-0.1 0,0 0,0 0,0 0,0 0.1,-0.1 0.1,-0.1 0,0 0,0 0,0 l 0,0 0,0 c 0,0 0.1,-0.1 0.1,-0.1 0,0 0,0 0,0 0,0 0,0 0.1,-0.1 0,0 0,0 0,0 0,0 0,0 0.1,0 0,0 0,0 0,0 0,0 0,0 0.1,0 0,0 0,0 0,0 0,0 0,0 0.1,0 0,0 0,0 0,0 0,0 0.1,0 0.1,-0.1 0,0 0,0 0,0 0,0 0.1,0 0.1,0 0,0 0,0 0,0 0,0 0,0 0.1,0 0,0 0,0 0,0 0,0 0,0 0.1,0 0,0 0,0 0,0 0,0 0,0 0.1,0 0,0 0,0 0,0 0,0 0,0 0.1,0 0,0 0,0 0,0 0,0 0.1,0 0.1,0 0,0 0,0 0,0 0,0 0,0 0.1,0 0,0 0,0 0,0 0,0 0,0 0.1,0 0,0 0,0 0.1,0 0,0 0,0 0.1,0 0,0 0,0 0.1,0 0,0 0,0 0.1,0 0,0 0,0 0.1,0 0,0 0,0 0,0 0,0 0,0 0.1,0 0,0 0,0 0,0 0.1,0 0.1,0 0.2,0 0,0 0,0 0,0 0,0 0,0 0.1,0 0,0 0,0 0,0 0,0 0,0 0.1,0 0,0 0,0 0,0 0,0 0,0 0.1,0 0,0 0,0 0,0 0,0 0,0 0.1,0 0,0 0,0 0,0 0.1,0 0.2,0.1 0.2,0.1 0,0 0,0 0,0 0,0 0,0 0.1,0 0,0 0,0 0,0 0,0 0,0 0.1,0 0,0 0,0 0,0 0,0 0,0 0.1,0 0,0 0,0 0,0 l 0,0 c 0.2,0.1 0.3,0.2 0.4,0.3 1.3,1.1 1.3,2.6 0.4,3.5 z"
id="path3881"
style="fill:#ffffff" />
<g
id="g3883">
<polyline
id="polyline3885"
points="7.5,8.5 7.5,13.6 8.5,13.6 8.5,8.5 "
style="fill:#ffffff" />
</g>
</g>
</g>
</g> </g>
</svg> </svg>

Before

Width:  |  Height:  |  Size: 1.0 KiB

After

Width:  |  Height:  |  Size: 4.0 KiB

View File

@ -1,14 +1,46 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Generator: Adobe Illustrator 18.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --> <!-- Created with Inkscape (http://www.inkscape.org/) -->
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> <svg
<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" xmlns:dc="http://purl.org/dc/elements/1.1/"
viewBox="0 0 16 16" enable-background="new 0 0 16 16" xml:space="preserve"> xmlns:cc="http://creativecommons.org/ns#"
<g> xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
<path fill="#FFFFFF" d="M8,0C6.1,0,4.1,1.3,4.1,3.9v1.9h-1C2,5.7,1.3,6.5,1.3,7.6v6.5c0,1.1,0.7,1.9,1.9,1.9l9.6,0 xmlns:svg="http://www.w3.org/2000/svg"
c1.1,0,1.9-0.8,1.9-1.9V7.6c0-1.1-0.8-1.9-1.9-1.9h-0.9l0-1.9C11.9,1.3,9.9,0,8,0z M8,1.6c1.3,0,2.2,1,2.2,2.2 xmlns="http://www.w3.org/2000/svg"
C10.2,5,9.7,6.2,8,6.9c0.3-0.5,0.4-0.7,0.5-1.2C6.7,5.9,5.8,4.9,5.8,3.8S6.7,1.6,8,1.6z"/> version="1.1"
<path fill="#252325" d="M5.6,8.7c-1.3,1.3-1.3,3.4,0,4.7c1.3,1.3,3.4,1.3,4.7,0c1.2-1.2,1.3-3.3,0.1-4.6C9.1,7.4,6.9,7.3,5.6,8.7z width="100%"
M6.3,12.7c-1.4-1.4-0.6-3.6,1.2-4c0,1.6,0,3.1,0,4.7C7,13.3,6.6,13,6.3,12.7z M9.6,12.7c-0.3,0.3-0.7,0.6-1.2,0.6 height="100%"
c0-1.6,0-3.1,0-4.7C10.2,9.1,11,11.4,9.6,12.7z"/> viewBox="0 0 16.1 16"
</g> 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></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<defs
id="defs17" />
<path
d="M 8,0 C 6.1,0 4.2,1.3 4.2,3.9 v 1.9 h -1 C 2.1,5.8 1.4,6.6 1.4,7.7 v 6.5 c 0,1.1 0.7,1.9 1.9,1.9 l 9.6,0 c 1.1,0 1.9,-0.8 1.9,-1.9 V 7.6 C 14.8,6.5 14,5.7 12.9,5.7 H 12 L 12,3.8 C 11.9,1.3 10,0 8,0 z m 0,1.6 c 1.3,0 2.2,1 2.2,2.2 C 10.3,5 9.8,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"
id="path3"
style="fill:#ffffff" />
<path
d="m 7.9927197,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.3125003,-1.465263 3.3125003,-3.28125 0,-1.8159871 -1.4965132,-3.28125 -3.3125003,-3.28125 z m 0,0.90625 c 1.3198669,0 2.4062503,1.0551331 2.4062503,2.375 0,1.319867 -1.0863834,2.375 -2.4062503,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" />
<rect
width="1.1830783"
height="5.3462563"
rx="0"
ry="0.89710045"
x="7.4181905"
y="8.3502293"
id="rect3937"
style="fill:#4e4e4e;fill-opacity:1;fill-rule:nonzero" />
</svg> </svg>

Before

Width:  |  Height:  |  Size: 1.0 KiB

After

Width:  |  Height:  |  Size: 1.9 KiB

View File

@ -201,10 +201,6 @@
<file>ui/sendButton/sendButtonPressed.png</file> <file>ui/sendButton/sendButtonPressed.png</file>
<file>ui/settings/mainContent.css</file> <file>ui/settings/mainContent.css</file>
<file>ui/settings/mainHead.css</file> <file>ui/settings/mainHead.css</file>
<file>ui/statusButton/dot_away.png</file>
<file>ui/statusButton/dot_busy.png</file>
<file>ui/statusButton/dot_idle.png</file>
<file>ui/statusButton/dot_online.png</file>
<file>ui/statusButton/menu_indicator.png</file> <file>ui/statusButton/menu_indicator.png</file>
<file>ui/statusButton/statusButton.css</file> <file>ui/statusButton/statusButton.css</file>
<file>ui/stopFileButton/default.png</file> <file>ui/stopFileButton/default.png</file>

View File

@ -980,6 +980,10 @@ QSplitter:handle{
<property name="text"> <property name="text">
<string/> <string/>
</property> </property>
<property name="icon">
<iconset resource="../res.qrc">
<normaloff>:/img/status/dot_away.png</normaloff>:/img/status/dot_away.png</iconset>
</property>
<property name="iconSize"> <property name="iconSize">
<size> <size>
<width>10</width> <width>10</width>
@ -1775,7 +1779,7 @@ QSplitter:handle{
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>775</width> <width>775</width>
<height>21</height> <height>20</height>
</rect> </rect>
</property> </property>
</widget> </widget>

View File

@ -86,21 +86,22 @@ void Widget::init()
restoreState(Settings::getInstance().getWindowState()); restoreState(Settings::getInstance().getWindowState());
ui->mainSplitter->restoreState(Settings::getInstance().getSplitterState()); ui->mainSplitter->restoreState(Settings::getInstance().getSplitterState());
statusOnline = new QAction(tr("Online", "Button to set your status to 'Online'"), this);
statusOnline->setIcon(QIcon(":img/status/dot_online.png"));
connect(statusOnline, SIGNAL(triggered()), this, SLOT(setStatusOnline()));
statusAway = new QAction(tr("Away", "Button to set your status to 'Away'"), this);
statusAway->setIcon(QIcon(":img/status/dot_idle.png"));
connect(statusAway, SIGNAL(triggered()), this, SLOT(setStatusAway()));
statusBusy = new QAction(tr("Busy", "Button to set your status to 'Busy'"), this);
statusBusy->setIcon(QIcon(":img/status/dot_busy.png"));
connect(statusBusy, SIGNAL(triggered()), this, SLOT(setStatusBusy()));
if (QSystemTrayIcon::isSystemTrayAvailable()) if (QSystemTrayIcon::isSystemTrayAvailable())
{ {
icon = new SystemTrayIcon; icon = new SystemTrayIcon;
updateTrayIcon(); updateTrayIcon();
trayMenu = new QMenu; trayMenu = new QMenu;
statusOnline = new QAction(tr("Online"), this);
statusOnline->setIcon(QIcon(":ui/statusButton/dot_online.png"));
connect(statusOnline, SIGNAL(triggered()), this, SLOT(setStatusOnline()));
statusAway = new QAction(tr("Away"), this);
statusAway->setIcon(QIcon(":ui/statusButton/dot_idle.png"));
connect(statusAway, SIGNAL(triggered()), this, SLOT(setStatusAway()));
statusBusy = new QAction(tr("Busy"), this);
statusBusy->setIcon(QIcon(":ui/statusButton/dot_busy.png"));
connect(statusBusy, SIGNAL(triggered()), this, SLOT(setStatusBusy()));
actionQuit = new QAction(tr("&Quit"), this); actionQuit = new QAction(tr("&Quit"), this);
connect(actionQuit, SIGNAL(triggered()), qApp, SLOT(quit())); connect(actionQuit, SIGNAL(triggered()), qApp, SLOT(quit()));
@ -174,12 +175,9 @@ void Widget::init()
ui->statusPanel->setStyleSheet(Style::getStylesheet(":/ui/window/statusPanel.css")); ui->statusPanel->setStyleSheet(Style::getStylesheet(":/ui/window/statusPanel.css"));
QMenu *statusButtonMenu = new QMenu(ui->statusButton); QMenu *statusButtonMenu = new QMenu(ui->statusButton);
QAction* setStatusOnline = statusButtonMenu->addAction(Widget::tr("Online","Button to set your status to 'Online'")); statusButtonMenu->addAction(statusOnline);
setStatusOnline->setIcon(QIcon(":ui/statusButton/dot_online.png")); statusButtonMenu->addAction(statusAway);
QAction* setStatusAway = statusButtonMenu->addAction(Widget::tr("Away","Button to set your status to 'Away'")); statusButtonMenu->addAction(statusBusy);
setStatusAway->setIcon(QIcon(":ui/statusButton/dot_idle.png"));
QAction* setStatusBusy = statusButtonMenu->addAction(Widget::tr("Busy","Button to set your status to 'Busy'"));
setStatusBusy->setIcon(QIcon(":ui/statusButton/dot_busy.png"));
ui->statusButton->setMenu(statusButtonMenu); ui->statusButton->setMenu(statusButtonMenu);
// disable proportional scaling // disable proportional scaling
@ -263,9 +261,6 @@ void Widget::init()
connect(ui->statusLabel, SIGNAL(textChanged(QString, QString)), this, SLOT(onStatusMessageChanged(QString, QString))); connect(ui->statusLabel, SIGNAL(textChanged(QString, QString)), this, SLOT(onStatusMessageChanged(QString, QString)));
connect(ui->mainSplitter, &QSplitter::splitterMoved, this, &Widget::onSplitterMoved); connect(ui->mainSplitter, &QSplitter::splitterMoved, this, &Widget::onSplitterMoved);
connect(profilePicture, SIGNAL(clicked()), this, SLOT(onAvatarClicked())); connect(profilePicture, SIGNAL(clicked()), this, SLOT(onAvatarClicked()));
connect(setStatusOnline, SIGNAL(triggered()), this, SLOT(setStatusOnline()));
connect(setStatusAway, SIGNAL(triggered()), this, SLOT(setStatusAway()));
connect(setStatusBusy, SIGNAL(triggered()), this, SLOT(setStatusBusy()));
connect(addFriendForm, SIGNAL(friendRequested(QString, QString)), this, SIGNAL(friendRequested(QString, QString))); connect(addFriendForm, SIGNAL(friendRequested(QString, QString)), this, SIGNAL(friendRequested(QString, QString)));
connect(timer, &QTimer::timeout, this, &Widget::onUserAwayCheck); connect(timer, &QTimer::timeout, this, &Widget::onUserAwayCheck);
connect(timer, &QTimer::timeout, this, &Widget::onEventIconTick); connect(timer, &QTimer::timeout, this, &Widget::onEventIconTick);
@ -555,19 +550,22 @@ void Widget::onStatusSet(Status status)
{ {
case Status::Online: case Status::Online:
ui->statusButton->setProperty("status" ,"online"); ui->statusButton->setProperty("status" ,"online");
ui->statusButton->setIcon(QIcon(":img/status/dot_online.png"));
break; break;
case Status::Away: case Status::Away:
ui->statusButton->setProperty("status" ,"away"); ui->statusButton->setProperty("status" ,"away");
ui->statusButton->setIcon(QIcon(":img/status/dot_idle.png"));
break; break;
case Status::Busy: case Status::Busy:
ui->statusButton->setProperty("status" ,"busy"); ui->statusButton->setProperty("status" ,"busy");
ui->statusButton->setIcon(QIcon(":img/status/dot_busy.png"));
break; break;
case Status::Offline: case Status::Offline:
ui->statusButton->setProperty("status" ,"offline"); ui->statusButton->setProperty("status" ,"offline");
ui->statusButton->setIcon(QIcon(":img/status/dot_away.png"));
break; break;
} }
updateTrayIcon(); updateTrayIcon();
Style::repolish(ui->statusButton);
} }
void Widget::setWindowTitle(const QString& title) void Widget::setWindowTitle(const QString& title)

Binary file not shown.

Before

Width:  |  Height:  |  Size: 345 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 292 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 333 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 259 B

View File

@ -8,26 +8,6 @@ QPushButton
height: 40px; height: 40px;
} }
QPushButton#online
{
image: url(":ui/statusButton/dot_online.png") center center;
}
QPushButton#away
{
image: url(":ui/statusButton/dot_idle.png") center center;
}
QPushButton#busy
{
image: url(":ui/statusButton/dot_busy.png") center center;
}
QPushButton#offline
{
image: url(":ui/statusButton/dot_away.png") center center;
}
QPushButton:default QPushButton:default
{ {
background-color: @themeMediumDark; background-color: @themeMediumDark;