2010-03-19 17:31:13 +00:00
|
|
|
/*
|
|
|
|
* mapgadget.h
|
|
|
|
*
|
|
|
|
* Created on: Mar 11, 2010
|
|
|
|
* Author: peter
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef MAPGADGET_H_
|
|
|
|
#define MAPGADGET_H_
|
|
|
|
|
|
|
|
#include <coreplugin/iuavgadget.h>
|
|
|
|
|
|
|
|
class IUAVGadget;
|
|
|
|
//class QList<int>;
|
|
|
|
class QWidget;
|
|
|
|
class QString;
|
|
|
|
class MapGadgetWidget;
|
|
|
|
|
|
|
|
using namespace Core;
|
|
|
|
|
|
|
|
class MapGadget : public Core::IUAVGadget
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
public:
|
2010-03-24 19:50:09 +00:00
|
|
|
MapGadget(QString classId, QList<IUAVGadgetConfiguration*> *configurations, MapGadgetWidget *widget = 0);
|
2010-03-19 17:31:13 +00:00
|
|
|
~MapGadget();
|
|
|
|
|
|
|
|
QList<int> context() const { return m_context; }
|
|
|
|
QWidget *widget() { return m_widget; }
|
|
|
|
QString contextHelpId() const { return QString(); }
|
|
|
|
|
|
|
|
private:
|
|
|
|
QWidget *m_widget;
|
|
|
|
QList<int> m_context;
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
#endif // MAPGADGET_H_
|