LimeReport/designer_plugin/lrdesignerplugin.cpp

18 lines
509 B
C++
Raw Permalink Normal View History

2017-11-24 00:13:47 +03:00
#include "lrdesignerplugin.h"
#include <QRect>
#include "lrreportdesignwindow.h"
2017-11-27 23:14:05 +03:00
ReportDesignerFactoryPlugin::~ReportDesignerFactoryPlugin() {
2017-11-24 00:13:47 +03:00
}
2017-11-27 23:14:05 +03:00
LimeReport::ReportDesignWindowInterface* ReportDesignerFactoryPlugin::getDesignerWindow(LimeReport::ReportEnginePrivateInterface* report, QWidget* parent, QSettings* settings)
2017-11-24 00:13:47 +03:00
{
2017-11-27 23:14:05 +03:00
return new LimeReport::ReportDesignWindow(report, parent, settings);
2017-11-24 00:13:47 +03:00
}
2017-11-27 23:14:05 +03:00
#if QT_VERSION < 0x050000
2017-11-30 21:23:11 +03:00
Q_EXPORT_PLUGIN2(LimeReportPluginInterface, ReportDesignerFactoryPlugin)
2017-11-27 23:14:05 +03:00
#endif
2017-11-24 00:13:47 +03:00