2010-03-19 17:31:35 +00:00
|
|
|
/*
|
|
|
|
* scopegadgetfactory.cpp
|
|
|
|
*
|
|
|
|
* Created on: Mar 11, 2010
|
|
|
|
* Author: peter
|
|
|
|
*/
|
|
|
|
#include "scopegadgetfactory.h"
|
|
|
|
#include "scopegadgetwidget.h"
|
|
|
|
#include "scopegadget.h"
|
|
|
|
#include <coreplugin/iuavgadget.h>
|
|
|
|
|
|
|
|
ScopeGadgetFactory::ScopeGadgetFactory(QObject *parent) : IUAVGadgetFactory(parent)
|
|
|
|
{
|
2010-03-21 16:53:08 +00:00
|
|
|
m_name = tr("Scope Gadget");
|
|
|
|
m_gadgetKind = QString("ScopeGadget");
|
2010-03-19 17:31:35 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
ScopeGadgetFactory::~ScopeGadgetFactory()
|
|
|
|
{
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
Core::IUAVGadget* ScopeGadgetFactory::createUAVGadget(QWidget *parent) {
|
|
|
|
ScopeGadgetWidget* gadgetWidget = new ScopeGadgetWidget(parent);
|
|
|
|
return new ScopeGadget(gadgetWidget);
|
|
|
|
}
|