Changeset 3737 in ntrip


Ignore:
Timestamp:
Mar 27, 2012, 6:55:02 PM (12 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/bncwindow.cpp

    r3736 r3737  
    21262126}
    21272127
     2128// Enable/Disable Post-Processing Action
     2129////////////////////////////////////////////////////////////////////////////
     2130void 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
    21282154//
    21292155////////////////////////////////////////////////////////////////////////////
     
    23692395}
    23702396
    2371 // Enable/Disable Post-Processing Action
    2372 ////////////////////////////////////////////////////////////////////////////
    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.