Changeset 5162 in ntrip for trunk/BNC/src


Ignore:
Timestamp:
Jun 8, 2013, 9:52:18 AM (11 years ago)
Author:
mervart
Message:
 
Location:
trunk/BNC/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/bncwindow.cpp

    r5147 r5162  
    6464#include "reqcdlg.h"
    6565#include "bncmap.h"
     66#include "map/bncmapwin.h"
    6667#ifdef USE_POSTPROCESSING
    6768#  include "rinex/bncpostprocess.h"
     
    135136  _actDeleteMountPoints->setEnabled(false);
    136137
    137   _actMap = new QAction(tr("&Map"),this);
    138   connect(_actMap, SIGNAL(triggered()), SLOT(slotMap()));
     138  _actMapMountPoints = new QAction(tr("&Map (MP)"),this);
     139  connect(_actMapMountPoints, SIGNAL(triggered()), SLOT(slotMapMountPoints()));
     140
     141  _actMapPPP = new QAction(tr("&Map (PPP)"),this);
     142  connect(_actMapPPP, SIGNAL(triggered()), SLOT(slotMapPPP()));
    139143
    140144  _actStart = new QAction(tr("Sta&rt"),this);
     
    14391443  _actDeleteMountPoints->setWhatsThis(tr("<p>Delete stream(s) from selection presented in the 'Streams' canvas.</p>"));
    14401444  _actAddMountPoints->setWhatsThis(tr("<p>Add stream(s) to selection presented in the 'Streams' canvas.</p>"));
    1441   _actMap->setWhatsThis(tr("<p> Draw distribution map of stream selection presented in the 'Streams' canvas. Use the mouse to zoom in or out.</p><p>Left button: Draw rectangle to zoom in.<br>Right button: Zoom out.<br>Middle button: Zoom back.</p>"));
     1445  _actMapMountPoints->setWhatsThis(tr("<p> Draw distribution map of stream selection presented in the 'Streams' canvas. Use the mouse to zoom in or out.</p><p>Left button: Draw rectangle to zoom in.<br>Right button: Zoom out.<br>Middle button: Zoom back.</p>"));
    14421446
    14431447  _actStart->setWhatsThis(tr("<p> Start running BNC.</p>"));
     
    21952199  toolBar->addAction(_actAddMountPoints);
    21962200  toolBar->addAction(_actDeleteMountPoints);
    2197   toolBar->addAction(_actMap);
     2201  toolBar->addAction(_actMapMountPoints);
     2202  toolBar->addAction(_actMapPPP);
    21982203  toolBar->addAction(_actStart);
    21992204  toolBar->addAction(_actStop);
     
    28242829// Show Map
    28252830////////////////////////////////////////////////////////////////////////////
    2826 void bncWindow::slotMap() {
     2831void bncWindow::slotMapMountPoints() {
    28272832  saveOptions();
    28282833  t_bncMap* bncMap = new t_bncMap(this);
     
    28432848  bncMap->show();
    28442849}
     2850
     2851// Show Map
     2852////////////////////////////////////////////////////////////////////////////
     2853void bncWindow::slotMapPPP() {
     2854  bncMapWin* mapWin = new bncMapWin(this);
     2855  mapWin->show();
     2856}
  • trunk/BNC/src/bncwindow.h

    r5144 r5162  
    7676    void slotSaveOptions();
    7777    void slotAddMountPoints();
    78     void slotMap();
     78    void slotMapMountPoints();
     79    void slotMapPPP();
    7980    void slotStart();
    8081    void slotFinishedPostProcessingPPP();
     
    116117    QAction*   _actSaveOpt;
    117118    QAction*   _actQuit;
    118     QAction*   _actMap;
     119    QAction*   _actMapMountPoints;
     120    QAction*   _actMapPPP;
    119121    QAction*   _actStart;
    120122    QAction*   _actStop;
Note: See TracChangeset for help on using the changeset viewer.