Add Syncthing '+' icon

This commit is contained in:
Martchus 2018-05-01 22:24:41 +02:00
parent 3857079f7e
commit aa9f88df94
4 changed files with 160 additions and 0 deletions

View File

@ -0,0 +1,157 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<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"
viewBox="0 0 16 16"
version="1.1"
id="svg28"
sodipodi:docname="syncthing-sync-new.svg"
inkscape:version="0.92.2 2405546, 2018-03-11">
<metadata
id="metadata32">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
</cc:Work>
</rdf:RDF>
</metadata>
<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="1039"
id="namedview30"
showgrid="false"
inkscape:zoom="14.75"
inkscape:cx="-8.6249711"
inkscape:cy="6.4816139"
inkscape:window-x="0"
inkscape:window-y="18"
inkscape:window-maximized="1"
inkscape:current-layer="svg28" />
<defs
id="defs12">
<linearGradient
id="grad"
gradientUnits="userSpaceOnUse"
x1="8"
y1="0"
x2="8"
y2="16">
<stop
offset="0"
style="stop-color:#26B6DB"
id="stop2" />
<stop
offset="1"
style="stop-color:#0882C8"
id="stop4" />
</linearGradient>
<mask
id="bitemask"
maskUnits="userSpaceOnUse">
<g
id="g9">
<rect
id="mask-bg"
x="0"
y="0"
width="16"
height="16"
style="fill:#ffffff" />
<circle
id="mask-subtract"
cx="11.5"
cy="11.5"
r="5.5"
style="fill:#000000" />
</g>
</mask>
</defs>
<g
id="syncthing-logo"
mask="url(#bitemask)">
<circle
id="outer"
cx="8"
cy="8"
r="8"
style="fill:url(#grad)" />
<circle
id="inner"
cx="8"
cy="7.9727402"
r="5.9557071"
style="fill:none;stroke:#ffffff;stroke-width:0.81771719" />
<line
id="arm-l"
x1="9.1993189"
y1="8.776825"
x2="2.262351"
y2="9.4173737"
style="stroke:#ffffff;stroke-width:0.81771719" />
<line
id="arm-tr"
x1="9.1993189"
y1="8.776825"
x2="13.301533"
y2="5.3696747"
style="stroke:#ffffff;stroke-width:0.81771719" />
<line
id="arm-br"
x1="9.1993189"
y1="8.776825"
x2="11.788756"
y2="12.51107"
style="stroke:#ffffff;stroke-width:0.81771719" />
<circle
id="node-c"
cx="9.1993189"
cy="8.776825"
r="1.22"
style="fill:#ffffff" />
<circle
id="node-l"
cx="2.262351"
cy="9.4173737"
r="1.22"
style="fill:#ffffff" />
<circle
id="node-tr"
cx="13.301533"
cy="5.3696747"
r="1.22"
style="fill:#ffffff" />
<circle
id="node-br"
cx="11.788756"
cy="12.51107"
r="1.22"
style="fill:#ffffff" />
</g>
<circle
id="bubble"
cx="11.5"
cy="11.5"
r="4.5"
style="fill:#27ae60;fill-opacity:1" />
<path
id="rect4533-6"
style="opacity:1;fill:#ffffff;fill-opacity:0.98581561;fill-rule:nonzero;stroke:none;stroke-width:1.14997458;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:1.99954295;stroke-opacity:1;paint-order:normal"
d="m 11.008051,9.1016944 h 1.25 v 5.0000006 h -1.25 z M 9.1330507,10.976695 h 5.0000003 v 1.25 H 9.1330507 Z"
inkscape:connector-curvature="0" />
</svg>

After

Width:  |  Height:  |  Size: 4.0 KiB

View File

@ -10,5 +10,6 @@
<file>icons/hicolor/scalable/mimetypes/text-x-generic.svg</file>
<file>icons/hicolor/scalable/status/syncthing-error-sync.svg</file>
<file>icons/hicolor/scalable/status/syncthing-sync-complete.svg</file>
<file>icons/hicolor/scalable/status/syncthing-sync-new.svg</file>
</qresource>
</RCC>

View File

@ -30,6 +30,7 @@ StatusIcons::StatusIcons()
, syncComplete(QIcon(renderSvgImage(QStringLiteral(":/icons/hicolor/scalable/status/syncthing-sync-complete.svg"))))
, error(QIcon(renderSvgImage(QStringLiteral(":/icons/hicolor/scalable/status/syncthing-error.svg"))))
, errorSync(QIcon(renderSvgImage(QStringLiteral(":/icons/hicolor/scalable/status/syncthing-error-sync.svg"))))
, newItem(QIcon(renderSvgImage(QStringLiteral(":/icons/hicolor/scalable/status/syncthing-new.svg"))))
{
}

View File

@ -21,6 +21,7 @@ struct StatusIcons {
QIcon syncComplete;
QIcon error;
QIcon errorSync;
QIcon newItem;
};
const StatusIcons LIB_SYNCTHING_MODEL_EXPORT &statusIcons();