source: ntrip/trunk/BNC/src/bncmap.h@ 4470

Last change on this file since 4470 was 4278, checked in by mervart, 12 years ago
File size: 1.6 KB
Line 
1// Part of BNC, a utility for retrieving decoding and
2// converting GNSS data streams from NTRIP broadcasters.
3//
4// Copyright (C) 2012
5// German Federal Agency for Cartography and Geodesy (BKG)
6// http://www.bkg.bund.de
7//
8// Author's email: jan.dousa@pecny.cz
9//
10// This program is free software; you can redistribute it and/or
11// modify it under the terms of the GNU General Public License
12// as published by the Free Software Foundation, version 2.
13//
14// This program is distributed in the hope that it will be useful,
15// but WITHOUT ANY WARRANTY; without even the implied warranty of
16// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17// GNU General Public License for more details.
18//
19// You should have received a copy of the GNU General Public License
20// along with this program; if not, write to the Free Software
21// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
22
23#ifndef BNCMAP_H
24#define BNCMAP_H
25
26#include <QtGui>
27#include "bncmapview.h"
28
29class bncMap : public QDialog
30{
31 Q_OBJECT
32
33 public:
34 bncMap(QWidget* parent = 0 );
35 ~bncMap();
36
37 public slots:
38 void slotNewPoint(QPointF, QString, QPen, double);
39 void slotResetMap();
40 void slotFitFont();
41 void slotFitMap();
42 void slotZoomIn();
43 void slotZoomOut();
44 void slotCreateMap();
45 void slotCleanMap();
46 void slotReadMap();
47
48 private:
49
50 double _LaOff;
51
52 BncMapView* _mapView;
53 QGraphicsScene* _mapScen;
54 QPolygonF _worldMap;
55 QPolygonF _allPoints;
56 QMutex _mutexMap;
57 QMultiMap< QString, QList<QVariant> > _allNames;
58
59};
60
61#endif
Note: See TracBrowser for help on using the repository browser.