1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-01-22 07:52:12 +01:00
LibrePilot/ground/src/plugins/map/mapgadgetwidget.h
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

36 lines
552 B
C++

/*
* mapgadgetwidget.h
*
* Created on: Mar 6, 2010
* Author: peter
*/
#ifndef MAPGADGETWIDGET_H_
#define MAPGADGETWIDGET_H_
#include "qmapcontrol/qmapcontrol.h"
#include <QtGui/QWidget>
using namespace qmapcontrol;
class MapGadgetWidget : public QWidget
{
Q_OBJECT
public:
MapGadgetWidget(QWidget *parent = 0);
~MapGadgetWidget();
protected:
void resizeEvent(QResizeEvent *event);
private:
MapControl *mc;
MapAdapter *mapadapter;
Layer *mainlayer;
void addZoomButtons();
};
#endif /* MAPGADGETWIDGET_H_ */