[4199] | 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.
|
---|
[2753] | 22 |
|
---|
| 23 | #ifndef BNCMAP_H
|
---|
| 24 | #define BNCMAP_H
|
---|
| 25 |
|
---|
| 26 | #include <QtGui>
|
---|
[2796] | 27 | #include "bncmapview.h"
|
---|
[2753] | 28 |
|
---|
| 29 | class bncMap : public QDialog
|
---|
| 30 | {
|
---|
| 31 | Q_OBJECT
|
---|
| 32 |
|
---|
| 33 | public:
|
---|
| 34 | bncMap(QWidget* parent = 0 );
|
---|
| 35 | ~bncMap();
|
---|
| 36 |
|
---|
| 37 | public slots:
|
---|
[3289] | 38 | void slotNewPoint(QPointF, QString, QPen, double);
|
---|
[2796] | 39 | void slotResetMap();
|
---|
[3289] | 40 | void slotFitFont();
|
---|
[2796] | 41 | void slotFitMap();
|
---|
| 42 | void slotZoomIn();
|
---|
| 43 | void slotZoomOut();
|
---|
[2753] | 44 | void slotCreateMap();
|
---|
[2796] | 45 | void slotCleanMap();
|
---|
[2753] | 46 | void slotReadMap();
|
---|
| 47 |
|
---|
| 48 | private:
|
---|
| 49 |
|
---|
[2755] | 50 | double _LaOff;
|
---|
[2753] | 51 |
|
---|
[2796] | 52 | BncMapView* _mapView;
|
---|
[2753] | 53 | QGraphicsScene* _mapScen;
|
---|
| 54 | QPolygonF _worldMap;
|
---|
[2796] | 55 | QPolygonF _allPoints;
|
---|
[2753] | 56 | QMutex _mutexMap;
|
---|
[3289] | 57 | QMultiMap< QString, QList<QVariant> > _allNames;
|
---|
[2753] | 58 |
|
---|
| 59 | };
|
---|
| 60 |
|
---|
[2804] | 61 | #endif
|
---|