Changeset 5701 in ntrip for trunk/BNC/src/PPP/pppwidgets.cpp
- Timestamp:
- Jul 30, 2014, 10:54:17 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/PPP/pppwidgets.cpp
r5700 r5701 54 54 _rinexObs = new qtFileChooser(); _rinexObs ->setObjectName("PPP/rinexObs"); _widgets << _rinexObs; 55 55 _rinexNav = new qtFileChooser(); _rinexNav ->setObjectName("PPP/rinexNav"); _widgets << _rinexNav; 56 _corr HostPort = new QLineEdit(); _corrHostPort->setObjectName("PPP/corrHostPort"); _widgets << _corrHostPort;56 _corrMount = new QLineEdit(); _corrMount ->setObjectName("PPP/corrMount"); _widgets << _corrMount; 57 57 _corrFile = new qtFileChooser(); _corrFile ->setObjectName("PPP/corrFile"); _widgets << _corrFile; 58 58 _crdFile = new qtFileChooser(); _crdFile ->setObjectName("PPP/crdFile"); _widgets << _crdFile; … … 120 120 _antexFile->setFileName(settings.value(_antexFile->objectName()).toString()); 121 121 122 _corr HostPort->setText(settings.value(_corrHostPort->objectName()).toString());123 _logFile ->setText(settings.value(_logFile->objectName()).toString());124 _nmeaFile ->setText(settings.value(_nmeaFile->objectName()).toString());125 _nmeaPort ->setText(settings.value(_nmeaPort->objectName()).toString());126 _sigmaC1 ->setText(settings.value(_sigmaC1->objectName()).toString());127 _sigmaL1 ->setText(settings.value(_sigmaL1->objectName()).toString());122 _corrMount->setText(settings.value(_corrMount->objectName()).toString()); 123 _logFile ->setText(settings.value(_logFile ->objectName()).toString()); 124 _nmeaFile ->setText(settings.value(_nmeaFile ->objectName()).toString()); 125 _nmeaPort ->setText(settings.value(_nmeaPort ->objectName()).toString()); 126 _sigmaC1 ->setText(settings.value(_sigmaC1 ->objectName()).toString()); 127 _sigmaL1 ->setText(settings.value(_sigmaL1 ->objectName()).toString()); 128 128 129 129 _corrWaitTime->setValue(settings.value(_corrWaitTime->objectName()).toInt()); … … 139 139 settings.setValue(_rinexObs ->objectName(), _rinexObs ->fileName()); 140 140 settings.setValue(_rinexNav ->objectName(), _rinexNav ->fileName()); 141 settings.setValue(_corr HostPort->objectName(), _corrHostPort->text());141 settings.setValue(_corrMount ->objectName(), _corrMount ->text()); 142 142 settings.setValue(_corrFile ->objectName(), _corrFile ->fileName()); 143 143 settings.setValue(_crdFile ->objectName(), _crdFile ->fileName()); … … 164 164 bool allDisabled = _dataSource->currentText() == "no"; 165 165 bool realTime = _dataSource->currentText() == "Real-Time Streams"; 166 bool rinexFiles = _dataSource->currentText() == "RINEX Files"; 166 167 167 168 QListIterator<QWidget*> it(_widgets); … … 169 170 QWidget* widget = it.next(); 170 171 widget->setEnabled(!allDisabled); 172 } 173 174 if (realTime) { 175 _rinexObs->setEnabled(false); 176 _rinexNav->setEnabled(false); 177 _corrFile->setEnabled(false); 178 } 179 else if (rinexFiles) { 180 _corrMount->setEnabled(false); 171 181 } 172 182
Note:
See TracChangeset
for help on using the changeset viewer.