Changeset 3735 in ntrip
- Timestamp:
- Mar 27, 2012, 6:27:15 PM (13 years ago)
- Location:
- trunk/BNC
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/bncwindow.cpp
r3733 r3735 78 78 _bncFigureLate = new bncFigureLate(this); 79 79 _bncFigurePPP = new bncFigurePPP(this); 80 _postProcessingRunning = false; 80 81 81 82 int ww = QFontMetrics(this->font()).width('w'); … … 120 121 connect(_actGetData, SIGNAL(triggered()), SLOT(slotGetData())); 121 122 122 _actPostProcessing = new QAction(tr("Start PPP"),this); 123 _actPostProcessing = new QAction(tr("Start PPP/Teqc"),this); 123 124 connect(_actPostProcessing, SIGNAL(triggered()), SLOT(slotStartPostProcessing())); 124 125 _actTeqcProcessing = new QAction(tr("Start Teqc"),this);126 connect(_actTeqcProcessing, SIGNAL(triggered()), SLOT(slotStartTeqcProcessing()));127 125 128 126 _actStop = new QAction(tr("Sto&p"),this); … … 601 599 _aogroup->addTab(agroup,tr("Outages")); 602 600 _aogroup->addTab(rgroup,tr("Miscellaneous")); 603 _aogroup->addTab(pppgroup,tr("PPP (1)")); 604 _aogroup->addTab(ppp2group,tr("PPP (2)")); 605 _aogroup->addTab(teqcgroup,tr("teqc")); 601 _aogroup->addTab(pppgroup,tr("PPP (1)")); _tabIndexPPP1 = _aogroup->count() - 1; 602 _aogroup->addTab(ppp2group,tr("PPP (2)")); _tabIndexPPP2 = _aogroup->count() - 1; 603 _aogroup->addTab(teqcgroup,tr("teqc")); _tabIndexTeqc = _aogroup->count() - 1; 606 604 #ifdef USE_COMBINATION 607 605 _aogroup->addTab(cmbgroup,tr("Combination")); … … 1886 1884 toolBar->addAction(_actStop); 1887 1885 toolBar->addAction(_actPostProcessing); 1888 toolBar->addAction(_actTeqcProcessing);1889 1886 toolBar->addWidget(new QLabel(" ")); 1890 1887 toolBar->addAction(_actwhatsthis); … … 2300 2297 } 2301 2298 2302 // Start Post-Processing 2299 // Start Post-Processing PPP or Teqc (slot) 2303 2300 //////////////////////////////////////////////////////////////////////////// 2304 2301 void bncWindow::slotStartPostProcessing() { 2302 if (_aogroup->currentIndex() == _tabIndexPPP1 || 2303 _aogroup->currentIndex() == _tabIndexPPP2) { 2304 startPostProcessingPPP(); 2305 } 2306 else if (_aogroup->currentIndex() == _tabIndexTeqc) { 2307 startPostProcessingTeqc(); 2308 } 2309 } 2310 2311 // Start Post-Processing PPP 2312 //////////////////////////////////////////////////////////////////////////// 2313 void bncWindow::startPostProcessingPPP() { 2305 2314 #ifdef USE_POSTPROCESSING 2306 2315 _actPostProcessing->setEnabled(false); … … 2320 2329 } 2321 2330 2322 // Post-Processing Finished 2331 // Post-Processing PPP Finished 2323 2332 //////////////////////////////////////////////////////////////////////////// 2324 2333 void bncWindow::slotFinishedPostProcessing() { … … 2337 2346 } 2338 2347 2339 // Start Teqc 2340 //////////////////////////////////////////////////////////////////////////// 2341 void bncWindow::s lotStartTeqcProcessing() {2348 // Start Post-Processing Teqc 2349 //////////////////////////////////////////////////////////////////////////// 2350 void bncWindow::startPostProcessingTeqc() { 2342 2351 QMessageBox::information(this, "Information", 2343 2352 "Teqc-Processing Not Yet Implemented"); 2344 2353 } 2345 2354 2346 // Teqc-Processing Finished2355 // Post-Processing Teqc Finished 2347 2356 //////////////////////////////////////////////////////////////////////////// 2348 2357 void bncWindow::slotFinishedTeqcProcessing() { 2349 2358 QMessageBox::information(this, "Information", 2350 2359 "Teqc-Processing Thread Finished"); 2351 _actTeqcProcessing->setText("Start Teqc-Processing"); 2352 _actTeqcProcessing->setEnabled(true); 2353 } 2360 } -
trunk/BNC/bncwindow.h
r3731 r3735 78 78 void slotGetData(); 79 79 void slotStartPostProcessing(); 80 void slotStartTeqcProcessing();81 80 void slotFinishedPostProcessing(); 82 81 void slotFinishedTeqcProcessing(); … … 101 100 void populateUploadTable(); 102 101 void enableWidget(bool enable, QWidget* widget); 102 void startPostProcessingPPP(); 103 void startPostProcessingTeqc(); 104 void enablePostProcessing(); 103 105 104 106 QMenu* _menuHlp; … … 113 115 QAction* _actGetData; 114 116 QAction* _actPostProcessing; 115 QAction* _actTeqcProcessing;116 117 QAction* _actStop; 117 118 QAction* _actAddMountPoints; … … 242 243 243 244 bncEphUploadCaster* _casterEph; 245 246 int _tabIndexPPP1; 247 int _tabIndexPPP2; 248 int _tabIndexTeqc; 249 bool _postProcessingRunning; 244 250 }; 245 251 #endif
Note:
See TracChangeset
for help on using the changeset viewer.