Changeset 3737 in ntrip
- Timestamp:
- Mar 27, 2012, 6:55:02 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/bncwindow.cpp
r3736 r3737 2126 2126 } 2127 2127 2128 // Enable/Disable Post-Processing Action 2129 //////////////////////////////////////////////////////////////////////////// 2130 void bncWindow::slotEnablePostProcessing() { 2131 if (_actPostProcessing) { 2132 if (_postProcessingRunningPPP || _postProcessingRunningTeqc) { 2133 _actPostProcessing->setEnabled(false); 2134 } 2135 else { 2136 if (_aogroup->currentIndex() == _tabIndexPPP1 || 2137 _aogroup->currentIndex() == _tabIndexPPP2) { 2138 _actPostProcessing->setText("Start PPP"); 2139 bool enable = _pppSPPComboBox->currentText() == "RNX"; 2140 _actPostProcessing->setEnabled(enable); 2141 } 2142 else if (_aogroup->currentIndex() == _tabIndexTeqc) { 2143 _actPostProcessing->setText("Start Teqc"); 2144 _actPostProcessing->setEnabled(true); 2145 } 2146 else { 2147 _actPostProcessing->setText("Start PPP/Teqc"); 2148 _actPostProcessing->setEnabled(false); 2149 } 2150 } 2151 } 2152 } 2153 2128 2154 // 2129 2155 //////////////////////////////////////////////////////////////////////////// … … 2369 2395 } 2370 2396 2371 // Enable/Disable Post-Processing Action2372 ////////////////////////////////////////////////////////////////////////////2373 void bncWindow::slotEnablePostProcessing() {2374 if (_actPostProcessing) {2375 if (_postProcessingRunningPPP || _postProcessingRunningTeqc) {2376 _actPostProcessing->setEnabled(false);2377 }2378 else {2379 _actPostProcessing->setText("Start PPP/Teqc");2380 if (_aogroup->currentIndex() == _tabIndexPPP1 ||2381 _aogroup->currentIndex() == _tabIndexPPP2) {2382 bool enable = _pppSPPComboBox->currentText() == "RNX";2383 _actPostProcessing->setEnabled(enable);2384 }2385 else if (_aogroup->currentIndex() == _tabIndexTeqc) {2386 _actPostProcessing->setEnabled(true);2387 }2388 else {2389 _actPostProcessing->setEnabled(false);2390 }2391 }2392 }2393 }2394
Note:
See TracChangeset
for help on using the changeset viewer.