1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-01-22 07:52:12 +01:00
ephy 3c15818b3b GCS/map: A map gadget to have something more interesting to look at than the emptygadget.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@339 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-03-19 17:31:13 +00:00

41 lines
712 B
C++

/*
* 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:
MapGadget(MapGadgetWidget *widget = 0);
~MapGadget();
QList<int> context() const { return m_context; }
QWidget *widget() { return m_widget; }
QString contextHelpId() const { return QString(); }
QWidget *toolBar() { return m_toolbar; }
private:
QWidget *m_widget;
QWidget *m_toolbar;
QList<int> m_context;
};
#endif // MAPGADGET_H_