Subversion Repositories Projects

Compare Revisions

Ignore whitespace Rev 304 → Rev 305

/QMK-Groundstation/trunk/Forms/dlg_Map.h
0,0 → 1,72
/***************************************************************************
* Copyright (C) 2009 by Manuel Schrape *
* manuel.schrape@gmx.de *
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License. *
* *
* This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU General Public License for more details. *
* *
* You should have received a copy of the GNU General Public License *
* along with this program; if not, write to the *
* Free Software Foundation, Inc., *
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
***************************************************************************/
#ifndef DLG_MAP_H
#define DLG_MAP_H
 
#include <QDialog>
#include <QList>
 
#include "ui_dlg_Map.h"
#include "../qmapcontrol.h"
 
using namespace qmapcontrol;
 
class dlg_Map : public QDialog, public Ui::dlg_Map_UI
{
Q_OBJECT
 
public:
dlg_Map(QWidget *parent = 0);
void add_Position(double x, double y);
 
private:
QPen* Pen[3];
 
MapControl* o_Map;
MapAdapter* o_Adapter;
Layer* o_Layer;
Layer* o_Click;
Layer* o_Route;
 
QList<Point*> p_RouteWP;
LineString* l_RouteWP;
 
QList<Point*> p_RouteFL;
LineString* l_RouteFL;
Point* LastPos;
 
Point* LastPoint;
 
Point* LastClick;
 
 
 
private slots:
void slot_Zoom(int i_Zoom);
void slot_Click(const QMouseEvent*, const QPointF);
void slot_AddWP();
void slot_DeleteWP();
void slot_ChangeMap(int);
 
protected:
virtual void resizeEvent ( QResizeEvent * event );
 
};
 
#endif // DLG_MAP_H