Fixed MSVS build. Added plugin icons, improved UI.

This commit is contained in:
2016-03-03 15:03:51 +01:00
parent a1f92c9f40
commit c12a1231c0
37 changed files with 189 additions and 7 deletions
+8
View File
@@ -0,0 +1,8 @@
<?xml version="1.0" ?><svg clip-rule="evenodd" fill-rule="evenodd" image-rendering="optimizeQuality" shape-rendering="geometricPrecision" text-rendering="geometricPrecision" viewBox="0 0 500 500" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><defs><style type="text/css"><![CDATA[
.str1 {stroke:#434242;stroke-width:5}
.str0 {stroke:#434242;stroke-width:10;stroke-linejoin:round}
.fil3 {fill:none}
.fil1 {fill:url(#id0)}
.fil2 {fill:url(#id1)}
.fil0 {fill:url(#id2)}
]]></style><linearGradient gradientUnits="userSpaceOnUse" id="id0" x1="250" x2="250" y1="349.998" y2="150.002"><stop offset="0" stop-color="#DDDEDE"/><stop offset="1" stop-color="#B3B4B4"/></linearGradient><linearGradient gradientUnits="userSpaceOnUse" id="id1" x1="250" x2="250" y1="190.001" y2="309.999"/><radialGradient cy="48%" fx="50%" fy="48%" id="id2"><stop offset="0" stop-color="#0af"/><stop offset="1" stop-color="#008BFF"/></radialGradient></defs><g id="Layer_x0020_1"><path class="fil0 str0" d="M333 385l41 29c3 2 6 3 9 0l31-31c3-3 2-6 0-9l-29-41c9-14 15-30 19-46l50-8c3-1 6-3 6-7v-44c0-4-3-6-6-7l-50-8c-4-16-11-32-19-45l29-42c2-3 3-6 0-9l-31-31c-3-3-6-2-9 0l-42 29c-14-8-29-15-45-19l-8-50c-1-3-3-6-7-6h-44c-4 0-6 3-7 6l-8 50c-16 4-31 11-45 19l-42-29c-3-2-6-3-9 0l-31 31c-3 3-2 6 0 9l29 42c-8 13-15 29-19 45l-50 8c-3 1-6 3-6 7v44c0 4 3 6 6 7l50 8c4 16 10 32 19 46l-29 41c-2 3-3 6 0 9l31 31c3 3 6 2 9 0l41-29c14 9 30 15 46 19l8 50c1 3 3 6 7 6h44c4 0 6-3 7-6l8-50c16-4 32-10 46-19zm-83-185c-28 0-50 22-50 50s22 50 50 50 50-22 50-50-22-50-50-50z"/><path class="fil1" d="M250 150c-55 0-100 45-100 100s45 100 100 100 100-45 100-100-45-100-100-100zm0 50c-28 0-50 22-50 50s22 50 50 50 50-22 50-50-22-50-50-50z"/><path class="fil2" d="M250 310c33 0 60-27 60-60s-27-60-60-60-60 27-60 60 27 60 60 60zm0-110c-28 0-50 22-50 50s22 50 50 50 50-22 50-50-22-50-50-50z"/><circle class="fil3 str1" cx="250" cy="250" r="100"/></g></svg>

After

Width:  |  Height:  |  Size: 1.9 KiB

+5
View File
@@ -19,3 +19,8 @@ void Services::initServiceUi()
((AccServiceGrid *) m_ui)->setForm(form);
}
QIcon Services::pluginIcon()
{
return QIcon(":icons/servicesPlugin.svg");
}
+4
View File
@@ -19,6 +19,10 @@ public:
protected:
void initServiceUi() Q_DECL_OVERRIDE;
// IPlugin interface
public:
virtual QIcon pluginIcon();
};
#endif // SERVICES_H
+3
View File
@@ -70,3 +70,6 @@ DEPENDPATH += $$PWD/../qdecimal/src
#else:win32:!win32-g++:CONFIG(release, debug|release): PRE_TARGETDEPS += $$OUT_PWD/../qdecimal/src/release/qdecimal.lib
#else:win32:!win32-g++:CONFIG(debug, debug|release): PRE_TARGETDEPS += $$OUT_PWD/../qdecimal/src/debug/qdecimal.lib
#else:unix: PRE_TARGETDEPS += $$OUT_PWD/../qdecimal/src/libqdecimal.a
RESOURCES += \
servicesrc.qrc
+5
View File
@@ -0,0 +1,5 @@
<RCC>
<qresource prefix="/">
<file>icons/servicesPlugin.svg</file>
</qresource>
</RCC>