/* * scopegadgetfactory.cpp * * Created on: Mar 11, 2010 * Author: peter */ #include "scopegadgetfactory.h" #include "scopegadgetwidget.h" #include "scopegadget.h" #include ScopeGadgetFactory::ScopeGadgetFactory(QObject *parent) : IUAVGadgetFactory(parent) { m_name = tr("Scope Gadget"); m_gadgetKind = QString("ScopeGadget"); } ScopeGadgetFactory::~ScopeGadgetFactory() { } Core::IUAVGadget* ScopeGadgetFactory::createUAVGadget(QWidget *parent) { ScopeGadgetWidget* gadgetWidget = new ScopeGadgetWidget(parent); return new ScopeGadget(gadgetWidget); }