Changeset 6172 in ntrip for trunk/BNC/src
- Timestamp:
- Sep 14, 2014, 1:52:09 PM (10 years ago)
- Location:
- trunk/BNC/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/bncwindow.cpp
r6171 r6172 416 416 417 417 _cmbMaxresLineEdit = new QLineEdit(settings.value("cmbMaxres").toString()); 418 _cmbAntexFile = new qtFileChooser(0, qtFileChooser::File); 419 _cmbAntexFile->setFileName(settings.value("cmbAntexFile").toString()); 420 _cmbUseGlonass = new QCheckBox(); 421 _cmbUseGlonass->setCheckState(Qt::CheckState(settings.value("cmbUseGlonass").toInt())); 418 422 419 423 _cmbSamplSpinBox = new QSpinBox; … … 445 449 _cmbMaxresLineEdit->setEnabled(true); 446 450 _cmbSamplSpinBox->setEnabled(true); 451 _cmbAntexFile->setEnabled(true); 452 _cmbUseGlonass->setEnabled(true); 447 453 } 448 454 else { … … 451 457 _cmbMaxresLineEdit->setEnabled(false); 452 458 _cmbSamplSpinBox->setEnabled(false); 459 _cmbAntexFile->setEnabled(false); 460 _cmbUseGlonass->setEnabled(false); 453 461 } 454 462 … … 1044 1052 cmbLayout->addWidget(_cmbTable, 0, 0, 6, 3); 1045 1053 cmbLayout->addWidget(new QLabel(" "), 0, 5); 1046 cmbLayout->addWidget(new QLabel("Combine Broadcast Correction streams."), 0, 6, 1, 50);1054 cmbLayout->addWidget(new QLabel("Combine Broadcast Correction streams."), 0, 6, 1, 10); 1047 1055 cmbLayout->addWidget(new QLabel(" "), 1, 5); 1048 1056 cmbLayout->addWidget(addCmbRowButton, 1, 6); … … 1054 1062 cmbLayout->addWidget(new QLabel("Maximal Residuum"), 3, 6, Qt::AlignRight); 1055 1063 cmbLayout->addWidget(_cmbMaxresLineEdit, 3, 7, Qt::AlignRight); 1064 cmbLayout->addWidget(new QLabel("ANTEX"), 3, 9, Qt::AlignRight); 1065 cmbLayout->addWidget(_cmbAntexFile, 3, 10); 1056 1066 cmbLayout->addWidget(new QLabel(" "), 4, 5); 1057 1067 cmbLayout->addWidget(new QLabel("Sampling"), 4, 6, Qt::AlignRight); 1058 1068 cmbLayout->addWidget(_cmbSamplSpinBox, 4, 7, Qt::AlignRight); 1069 cmbLayout->addWidget(new QLabel("Use Glonass"), 4, 9, Qt::AlignRight); 1070 cmbLayout->addWidget(_cmbUseGlonass, 4, 10); 1059 1071 cmbLayout->addWidget(new QLabel(" "), 5, 0); 1060 1072 … … 1621 1633 settings.setValue("combineStreams", ""); 1622 1634 } 1623 settings.setValue("cmbMethod", _cmbMethodComboBox->currentText()); 1624 settings.setValue("cmbMaxres", _cmbMaxresLineEdit->text()); 1625 settings.setValue("cmbSampl", _cmbSamplSpinBox->value()); 1635 settings.setValue("cmbMethod", _cmbMethodComboBox->currentText()); 1636 settings.setValue("cmbMaxres", _cmbMaxresLineEdit->text()); 1637 settings.setValue("cmbSampl", _cmbSamplSpinBox->value()); 1638 settings.setValue("cmbAntexFile", _cmbAntexFile->fileName()); 1639 settings.setValue("cmbUseGlonas", _cmbUseGlonass->checkState()); 1626 1640 // Upload Corrections 1627 1641 if (!uploadMountpointsOut.isEmpty()) { … … 2103 2117 _cmbMaxresLineEdit->setEnabled(true); 2104 2118 _cmbSamplSpinBox->setEnabled(true); 2119 _cmbAntexFile->setEnabled(true); 2120 _cmbUseGlonass->setEnabled(true); 2105 2121 } 2106 2122 else { … … 2109 2125 _cmbMaxresLineEdit->setEnabled(false); 2110 2126 _cmbSamplSpinBox->setEnabled(false); 2127 _cmbAntexFile->setEnabled(false); 2128 _cmbUseGlonass->setEnabled(false); 2111 2129 } 2112 2130 } … … 2180 2198 _cmbMaxresLineEdit->setEnabled(false); 2181 2199 _cmbSamplSpinBox->setEnabled(false); 2200 _cmbAntexFile->setEnabled(false); 2201 _cmbUseGlonass->setEnabled(false); 2182 2202 } 2183 2203 } -
trunk/BNC/src/bncwindow.h
r6151 r6172 198 198 bncFigurePPP* _bncFigurePPP; 199 199 200 QTableWidget* _cmbTable; 201 QLineEdit* _cmbMaxresLineEdit; 202 QComboBox* _cmbMethodComboBox; 203 QSpinBox* _cmbSamplSpinBox; 200 QTableWidget* _cmbTable; 201 QLineEdit* _cmbMaxresLineEdit; 202 QComboBox* _cmbMethodComboBox; 203 QSpinBox* _cmbSamplSpinBox; 204 qtFileChooser* _cmbAntexFile; 205 QCheckBox* _cmbUseGlonass; 204 206 205 207 QTableWidget* _uploadTable;
Note:
See TracChangeset
for help on using the changeset viewer.