Fixed MSVS build. Added plugin icons, improved UI.
This commit is contained in:
@@ -23,6 +23,11 @@ void Accommodation::initServiceUi()
|
||||
m_service = service;
|
||||
m_ui = grid;
|
||||
}
|
||||
|
||||
QIcon Accommodation::pluginIcon()
|
||||
{
|
||||
return QIcon(":/icons/accPlugin.svg");
|
||||
}
|
||||
/*
|
||||
QWidget *Accommodation::ui()
|
||||
{
|
||||
|
||||
@@ -27,6 +27,11 @@ protected:
|
||||
// IPlugin interface
|
||||
public:
|
||||
//QWidget *ui();
|
||||
|
||||
// IPlugin interface
|
||||
public:
|
||||
virtual QIcon pluginIcon();
|
||||
|
||||
};
|
||||
|
||||
#endif // ACCOMMODATION_H
|
||||
|
||||
@@ -67,3 +67,6 @@ else:unix: LIBS += -L$$OUT_PWD/../qdecimal/lib/ -lqdecimal -ldecnumber
|
||||
INCLUDEPATH += $$PWD/../qdecimal/src
|
||||
INCLUDEPATH += $$PWD/../qdecimal/decnumber
|
||||
|
||||
RESOURCES += \
|
||||
accrc.qrc
|
||||
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
<RCC>
|
||||
<qresource prefix="/">
|
||||
<file>icons/accPlugin.svg</file>
|
||||
</qresource>
|
||||
</RCC>
|
||||
@@ -0,0 +1,7 @@
|
||||
<?xml version="1.0" ?><svg clip-rule="evenodd" fill-rule="evenodd" image-rendering="optimizeQuality" shape-rendering="geometricPrecision" text-rendering="geometricPrecision" viewBox="0 0 5000 5000" xmlns="http://www.w3.org/2000/svg"><defs><style type="text/css"><![CDATA[
|
||||
.str1 {stroke:#434242;stroke-width:100}
|
||||
.str0 {stroke:#434242;stroke-width:300;stroke-linecap:round}
|
||||
.fil0 {fill:none}
|
||||
.fil1 {fill:#434242}
|
||||
.fil2 {fill:url(#id0)}
|
||||
]]></style><linearGradient gradientUnits="userSpaceOnUse" id="id0" x1="2500.01" x2="2500.01" y1="4260.19" y2="1474.81"><stop offset="0" stop-color="#008BFF"/><stop offset="1" stop-color="#0af"/></linearGradient></defs><g id="Layer_x0020_1"><path class="fil0 str0" d="M300 2000l2050-1600c100-50 200-50 300 0l2050 1500"/><path class="fil1" d="M3500 1022l600 439v-861c0-55-45-100-100-100h-400c-55 0-100 45-100 100v422z"/><path class="fil2 str1" d="M899 4700h901v-1500c0-110 90-200 200-200h900c110 0 200 90 200 200v1500h1001c165 0 300-135 300-300l-1-2000-1776-1328c-33-26-79-37-124-36s-92 14-127 40l-1773 1324-1 2000c0 165 135 300 300 300z"/></g></svg>
|
||||
|
After Width: | Height: | Size: 1.1 KiB |
Reference in New Issue
Block a user