Changeset 5406 in ntrip for trunk/GnssCenter/map_stations/map_stations.cpp
- Timestamp:
- Sep 10, 2013, 2:28:35 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/GnssCenter/map_stations/map_stations.cpp
r5404 r5406 4 4 * ------------------------------------------------------------------------- 5 5 * 6 * Class: t_ svgMap6 * Class: t_map_stations 7 7 * 8 8 * Purpose: Plot map of stations/satellites … … 27 27 #include <qwt_plot_renderer.h> 28 28 29 #include " svgmap.h"29 #include "map_stations.h" 30 30 31 31 using namespace std; 32 32 using namespace GnssCenter; 33 33 34 Q_EXPORT_PLUGIN2(gnsscenter_ svgmap, GnssCenter::t_svgMapFactory)34 Q_EXPORT_PLUGIN2(gnsscenter_map_stations, GnssCenter::t_map_stationsFactory) 35 35 36 36 // Constructor 37 37 ///////////////////////////////////////////////////////////////////////////// 38 t_ svgMap::t_svgMap() : QDialog() {38 t_map_stations::t_map_stations() : QDialog() { 39 39 40 40 // Map in Scalable Vector Graphics (svg) Format … … 99 99 // Destructor 100 100 ///////////////////////////////////////////////////////////////////////////// 101 t_ svgMap::~t_svgMap() {101 t_map_stations::~t_map_stations() { 102 102 delete _mapPlot; 103 103 delete _buttonWhatsThis; … … 106 106 // 107 107 ///////////////////////////////////////////////////////////////////////////// 108 void t_ svgMap::slotNewPoint(const QString& name, double latDeg, double lonDeg) {108 void t_map_stations::slotNewPoint(const QString& name, double latDeg, double lonDeg) { 109 109 110 110 if (lonDeg > 180.0) lonDeg -= 360.0; … … 156 156 // Close 157 157 //////////////////////////////////////////////////////////////////////////// 158 void t_ svgMap::slotClose() {158 void t_map_stations::slotClose() { 159 159 done(0); 160 160 } … … 162 162 // Close Dialog gracefully 163 163 //////////////////////////////////////////////////////////////////////////// 164 void t_ svgMap::closeEvent(QCloseEvent* event) {164 void t_map_stations::closeEvent(QCloseEvent* event) { 165 165 QDialog::closeEvent(event); 166 166 } … … 168 168 // 169 169 //////////////////////////////////////////////////////////////////////////// 170 void t_ svgMap::showEvent(QShowEvent* event) {170 void t_map_stations::showEvent(QShowEvent* event) { 171 171 double width = _maxPointLon - _minPointLon; 172 172 double height = _maxPointLat - _minPointLat; … … 218 218 // Print the widget 219 219 //////////////////////////////////////////////////////////////////////////// 220 void t_ svgMap::slotPrint() {220 void t_map_stations::slotPrint() { 221 221 222 222 QPrinter printer; … … 236 236 // Whats This Help 237 237 //////////////////////////////////////////////////////////////////////////// 238 void t_ svgMap::slotWhatsThis() {238 void t_map_stations::slotWhatsThis() { 239 239 QWhatsThis::enterWhatsThisMode(); 240 240 }
Note:
See TracChangeset
for help on using the changeset viewer.