Changeset 5162 in ntrip for trunk/BNC/src
- Timestamp:
- Jun 8, 2013, 9:52:18 AM (11 years ago)
- Location:
- trunk/BNC/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/bncwindow.cpp
r5147 r5162 64 64 #include "reqcdlg.h" 65 65 #include "bncmap.h" 66 #include "map/bncmapwin.h" 66 67 #ifdef USE_POSTPROCESSING 67 68 # include "rinex/bncpostprocess.h" … … 135 136 _actDeleteMountPoints->setEnabled(false); 136 137 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())); 139 143 140 144 _actStart = new QAction(tr("Sta&rt"),this); … … 1439 1443 _actDeleteMountPoints->setWhatsThis(tr("<p>Delete stream(s) from selection presented in the 'Streams' canvas.</p>")); 1440 1444 _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>")); 1442 1446 1443 1447 _actStart->setWhatsThis(tr("<p> Start running BNC.</p>")); … … 2195 2199 toolBar->addAction(_actAddMountPoints); 2196 2200 toolBar->addAction(_actDeleteMountPoints); 2197 toolBar->addAction(_actMap); 2201 toolBar->addAction(_actMapMountPoints); 2202 toolBar->addAction(_actMapPPP); 2198 2203 toolBar->addAction(_actStart); 2199 2204 toolBar->addAction(_actStop); … … 2824 2829 // Show Map 2825 2830 //////////////////////////////////////////////////////////////////////////// 2826 void bncWindow::slotMap () {2831 void bncWindow::slotMapMountPoints() { 2827 2832 saveOptions(); 2828 2833 t_bncMap* bncMap = new t_bncMap(this); … … 2843 2848 bncMap->show(); 2844 2849 } 2850 2851 // Show Map 2852 //////////////////////////////////////////////////////////////////////////// 2853 void bncWindow::slotMapPPP() { 2854 bncMapWin* mapWin = new bncMapWin(this); 2855 mapWin->show(); 2856 } -
trunk/BNC/src/bncwindow.h
r5144 r5162 76 76 void slotSaveOptions(); 77 77 void slotAddMountPoints(); 78 void slotMap(); 78 void slotMapMountPoints(); 79 void slotMapPPP(); 79 80 void slotStart(); 80 81 void slotFinishedPostProcessingPPP(); … … 116 117 QAction* _actSaveOpt; 117 118 QAction* _actQuit; 118 QAction* _actMap; 119 QAction* _actMapMountPoints; 120 QAction* _actMapPPP; 119 121 QAction* _actStart; 120 122 QAction* _actStop;
Note:
See TracChangeset
for help on using the changeset viewer.