Ignore:
Timestamp:
Sep 10, 2013, 2:28:35 PM (11 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GnssCenter/map_stations/map_stations.cpp

    r5404 r5406  
    44 * -------------------------------------------------------------------------
    55 *
    6  * Class:      t_svgMap
     6 * Class:      t_map_stations
    77 *
    88 * Purpose:    Plot map of stations/satellites
     
    2727#include <qwt_plot_renderer.h>
    2828
    29 #include "svgmap.h"
     29#include "map_stations.h"
    3030
    3131using namespace std;
    3232using namespace GnssCenter;
    3333
    34 Q_EXPORT_PLUGIN2(gnsscenter_svgmap, GnssCenter::t_svgMapFactory)
     34Q_EXPORT_PLUGIN2(gnsscenter_map_stations, GnssCenter::t_map_stationsFactory)
    3535
    3636// Constructor
    3737/////////////////////////////////////////////////////////////////////////////
    38 t_svgMap::t_svgMap() : QDialog() {
     38t_map_stations::t_map_stations() : QDialog() {
    3939
    4040  // Map in Scalable Vector Graphics (svg) Format
     
    9999// Destructor
    100100/////////////////////////////////////////////////////////////////////////////
    101 t_svgMap::~t_svgMap() {
     101t_map_stations::~t_map_stations() {
    102102  delete _mapPlot;
    103103  delete _buttonWhatsThis;
     
    106106//
    107107/////////////////////////////////////////////////////////////////////////////
    108 void t_svgMap::slotNewPoint(const QString& name, double latDeg, double lonDeg) {
     108void t_map_stations::slotNewPoint(const QString& name, double latDeg, double lonDeg) {
    109109
    110110  if (lonDeg > 180.0) lonDeg -= 360.0;
     
    156156// Close
    157157////////////////////////////////////////////////////////////////////////////
    158 void t_svgMap::slotClose() {
     158void t_map_stations::slotClose() {
    159159  done(0);
    160160}
     
    162162// Close Dialog gracefully
    163163////////////////////////////////////////////////////////////////////////////
    164 void t_svgMap::closeEvent(QCloseEvent* event) {
     164void t_map_stations::closeEvent(QCloseEvent* event) {
    165165  QDialog::closeEvent(event);
    166166}
     
    168168//
    169169////////////////////////////////////////////////////////////////////////////
    170 void t_svgMap::showEvent(QShowEvent* event) {
     170void t_map_stations::showEvent(QShowEvent* event) {
    171171  double width  = _maxPointLon - _minPointLon;
    172172  double height = _maxPointLat - _minPointLat;
     
    218218// Print the widget
    219219////////////////////////////////////////////////////////////////////////////
    220 void t_svgMap::slotPrint() {
     220void t_map_stations::slotPrint() {
    221221
    222222  QPrinter printer;
     
    236236// Whats This Help
    237237////////////////////////////////////////////////////////////////////////////
    238 void t_svgMap::slotWhatsThis() {
     238void t_map_stations::slotWhatsThis() {
    239239  QWhatsThis::enterWhatsThisMode();
    240240}
Note: See TracChangeset for help on using the changeset viewer.