mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-01-22 07:52:12 +01:00
3c15818b3b
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@339 ebee16cc-31ac-478f-84a7-5cbb03baadba
36 lines
552 B
C++
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_ */
|