Changeset 4646 in ntrip


Ignore:
Timestamp:
Sep 4, 2012, 3:51:02 PM (10 years ago)
Author:
mervart
Message:
 
Location:
trunk/BNC/src
Files:
2 edited

Legend:

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

    r4547 r4646  
    6363#include "qtfilechooser.h"
    6464#include "reqcdlg.h"
     65#include "bncmap.h"
    6566#ifdef USE_POSTPROCESSING
    6667#  include "rinex/bncpostprocess.h"
     
    125126  connect(_actDeleteMountPoints, SIGNAL(triggered()), SLOT(slotDeleteMountPoints()));
    126127  _actDeleteMountPoints->setEnabled(false);
     128
     129  _actMap = new QAction(tr("&Map"),this);
     130  connect(_actMap, SIGNAL(triggered()), SLOT(slotMap()));
    127131
    128132  _actStart = new QAction(tr("Sta&rt"),this);
     
    20362040  toolBar->addAction(_actAddMountPoints);
    20372041  toolBar->addAction(_actDeleteMountPoints);
     2042  toolBar->addAction(_actMap);
    20382043  toolBar->addAction(_actStart);
    20392044  toolBar->addAction(_actStop);
     
    26602665  }
    26612666}
     2667
     2668// Show Map
     2669////////////////////////////////////////////////////////////////////////////
     2670void bncWindow::slotMap() {
     2671  saveOptions();
     2672  t_bncMap* bncMap = new t_bncMap(this);
     2673  bncMap->setGeometry( x(), int(y()+height()*1.3), 800, 600 );
     2674  bncMap->show();
     2675}
  • trunk/BNC/src/bncwindow.h

    r4546 r4646  
    7676    void slotSaveOptions();
    7777    void slotAddMountPoints();
     78    void slotMap();
    7879    void slotStart();
    7980    void slotFinishedPostProcessingPPP();
     
    115116    QAction*   _actSaveOpt;
    116117    QAction*   _actQuit;
     118    QAction*   _actMap;
    117119    QAction*   _actStart;
    118120    QAction*   _actStop;
Note: See TracChangeset for help on using the changeset viewer.