2015-11-17 22:24:00 +01:00
|
|
|
#include "iform.h"
|
|
|
|
|
|
|
|
|
|
IForm::IForm(QWidget *parent) : QWidget(parent)
|
|
|
|
|
{
|
2016-02-18 19:51:57 +01:00
|
|
|
m_newRec = false;
|
2015-11-17 22:24:00 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
IForm::~IForm()
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
2016-02-13 21:41:05 +01:00
|
|
|
QString IForm::pluginId() const
|
|
|
|
|
{
|
|
|
|
|
return m_pluginId;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void IForm::setPluginId(const QString &pluginId)
|
|
|
|
|
{
|
|
|
|
|
m_pluginId = pluginId;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void IForm::refresh()
|
|
|
|
|
{
|
2016-02-18 19:51:57 +01:00
|
|
|
if (!m_newRec)
|
|
|
|
|
{
|
|
|
|
|
emit refreshEntity();
|
|
|
|
|
}
|
2016-02-13 21:41:05 +01:00
|
|
|
}
|
|
|
|
|
|