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

36 lines
552 B
C
Raw Normal View History

/*
* 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_ */