You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
487 B
C++
33 lines
487 B
C++
#include "shop.h"
|
|
#include <QIcon>
|
|
#include "shopform.h"
|
|
#include "shopservice.h"
|
|
|
|
|
|
Shop::Shop()
|
|
{
|
|
}
|
|
|
|
void Shop::initServiceUi()
|
|
{
|
|
m_ui = new ShopForm();
|
|
m_service = new ShopService();
|
|
}
|
|
|
|
QIcon Shop::pluginIcon()
|
|
{
|
|
return QIcon(":/icons/shop.svg");
|
|
}
|
|
|
|
QWidget *Shop::ui()
|
|
{
|
|
QWidget *uiWidget = IPlugin::ui();
|
|
qobject_cast<ShopForm*>(uiWidget)->loadLast();
|
|
return uiWidget;
|
|
}
|
|
|
|
QTranslator *Shop::translator()
|
|
{
|
|
return translatorFrom(":/translations/shop_");
|
|
}
|