2010-03-19 18:29:28 +01:00
|
|
|
/*
|
|
|
|
* emptygadgetfactory.cpp
|
|
|
|
*
|
|
|
|
* Created on: Mar 11, 2010
|
|
|
|
* Author: peter
|
|
|
|
*/
|
|
|
|
#include "emptygadgetfactory.h"
|
|
|
|
#include "emptygadgetwidget.h"
|
|
|
|
#include "emptygadget.h"
|
|
|
|
#include <coreplugin/iuavgadget.h>
|
|
|
|
|
|
|
|
EmptyGadgetFactory::EmptyGadgetFactory(QObject *parent) : IUAVGadgetFactory(parent)
|
|
|
|
{
|
2010-03-21 17:53:08 +01:00
|
|
|
m_name = tr("Choose gadget...");
|
|
|
|
m_gadgetKind = QString("EmptyGadget");
|
2010-03-19 18:29:28 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
EmptyGadgetFactory::~EmptyGadgetFactory()
|
|
|
|
{
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
Core::IUAVGadget* EmptyGadgetFactory::createUAVGadget(QWidget *parent) {
|
|
|
|
EmptyGadgetWidget* gadgetWidget = new EmptyGadgetWidget(parent);
|
|
|
|
return new EmptyGadget(gadgetWidget);
|
|
|
|
}
|