Changeset 4646 in ntrip for trunk/BNC/src/bncwindow.cpp
- Timestamp:
- Sep 4, 2012, 3:51:02 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/bncwindow.cpp
r4547 r4646 63 63 #include "qtfilechooser.h" 64 64 #include "reqcdlg.h" 65 #include "bncmap.h" 65 66 #ifdef USE_POSTPROCESSING 66 67 # include "rinex/bncpostprocess.h" … … 125 126 connect(_actDeleteMountPoints, SIGNAL(triggered()), SLOT(slotDeleteMountPoints())); 126 127 _actDeleteMountPoints->setEnabled(false); 128 129 _actMap = new QAction(tr("&Map"),this); 130 connect(_actMap, SIGNAL(triggered()), SLOT(slotMap())); 127 131 128 132 _actStart = new QAction(tr("Sta&rt"),this); … … 2036 2040 toolBar->addAction(_actAddMountPoints); 2037 2041 toolBar->addAction(_actDeleteMountPoints); 2042 toolBar->addAction(_actMap); 2038 2043 toolBar->addAction(_actStart); 2039 2044 toolBar->addAction(_actStop); … … 2660 2665 } 2661 2666 } 2667 2668 // Show Map 2669 //////////////////////////////////////////////////////////////////////////// 2670 void 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 }
Note:
See TracChangeset
for help on using the changeset viewer.