Changeset 5055 in ntrip for trunk/GnssCenter/main/mainwin.cpp
- Timestamp:
- Mar 28, 2013, 7:11:20 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/GnssCenter/main/mainwin.cpp
r5054 r5055 19 19 #include "settings.h" 20 20 #include "mdiarea.h" 21 #include "plugininterface.h"22 21 23 22 using namespace std; … … 31 30 _mdi = new t_mdiArea(0); 32 31 setCentralWidget(_mdi); 32 33 createMenu(); 34 createToolBar(); 35 createStatusBar(); 33 36 34 37 // Handle Plugins … … 54 57 } 55 58 56 createMenu();57 createToolBar();58 createStatusBar();59 59 } 60 60 … … 92 92 connect(_actQuit, SIGNAL(triggered()), SLOT(close())); 93 93 94 _actEditInput = new QAction(tr("&Edit Input File"),this);95 connect(_actEditInput, SIGNAL(triggered()), SLOT(slotEditInput()));96 97 _actMap = new QAction(tr("Show &Map"),this);98 connect(_actMap, SIGNAL(triggered()), SLOT(slotMap()));99 100 94 _actHelp = new QAction(tr("&Help Contents"),this); 101 95 connect(_actHelp, SIGNAL(triggered()), SLOT(slotHelp())); … … 113 107 _menuFile->addAction(_actQuit); 114 108 115 _menuNew = menuBar()->addMenu(tr("&New")); 116 _menuNew->addAction(_actEditInput); 117 _menuNew->addAction(_actMap); 109 _menuPlugins = menuBar()->addMenu(tr("&Plugins")); 118 110 119 111 _menuHlp = menuBar()->addMenu(tr("&Help")); … … 141 133 } 142 134 143 // Edit RTNet Input File135 // 144 136 //////////////////////////////////////////////////////////////////////////// 145 void t_mainWin::slotEditInput() { 146 // QString fileName = QFileDialog::getOpenFileName(this); 147 // if (!fileName.isEmpty()) { 148 // t_inpEdit* inpEdit = new t_inpEdit(); 149 // inpEdit->setInputFile(fileName); 150 // QMdiSubWindow* win = _mdi->addSubWindow(inpEdit); 151 // win->show(); 152 // } 153 } 154 155 // Edit RTNet Input File 156 //////////////////////////////////////////////////////////////////////////// 157 void t_mainWin::slotMap() { 137 void t_mainWin::slotStartPlugin() { 158 138 // t_svgMap* svgMap = new t_svgMap(); 159 139 // QMdiSubWindow* win = _mdi->addSubWindow(svgMap);
Note:
See TracChangeset
for help on using the changeset viewer.