Changeset 4174 in ntrip for trunk/BNC/bncwindow.cpp
- Timestamp:
- May 15, 2012, 10:27:42 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/bncwindow.cpp
r4173 r4174 559 559 _uploadIntrComboBox->setCurrentIndex(ii); 560 560 } 561 _uploadSamplRtcmClkCorrSpinBox = new QSpinBox;562 _uploadSamplRtcmClkCorrSpinBox->setMinimum(5);563 _uploadSamplRtcmClkCorrSpinBox->setMaximum(60);564 _uploadSamplRtcmClkCorrSpinBox->setSingleStep(5);565 _uploadSamplRtcmClkCorrSpinBox->setMaximumWidth(9*ww);566 _uploadSamplRtcmClkCorrSpinBox->setValue(settings.value("uploadSamplRtcmClkCorr").toInt());567 _uploadSamplRtcmClkCorrSpinBox->setSuffix(" sec");568 561 569 562 _uploadSamplRtcmEphCorrSpinBox = new QSpinBox; … … 594 587 if (iRowT > 0) { 595 588 enableWidget(true, _uploadIntrComboBox); 596 enableWidget(true, _uploadSamplRtcmClkCorrSpinBox);597 589 enableWidget(true, _uploadSamplRtcmEphCorrSpinBox); 598 590 enableWidget(true, _uploadSamplSp3SpinBox); … … 601 593 else { 602 594 enableWidget(false, _uploadIntrComboBox); 603 enableWidget(false, _uploadSamplRtcmClkCorrSpinBox);604 595 enableWidget(false, _uploadSamplRtcmEphCorrSpinBox); 605 596 enableWidget(false, _uploadSamplSp3SpinBox); … … 1130 1121 uploadHlpLayout->addWidget(new QLabel("Interval"), 0, 2, Qt::AlignRight); 1131 1122 uploadHlpLayout->addWidget(_uploadIntrComboBox, 0, 3); 1132 uploadHlpLayout->addWidget(new QLabel(" Sampling: Clk"), 0, 4, Qt::AlignRight); 1133 uploadHlpLayout->addWidget(_uploadSamplRtcmClkCorrSpinBox, 0, 5); 1134 uploadHlpLayout->addWidget(new QLabel("Orb"), 0, 6, Qt::AlignRight); 1135 uploadHlpLayout->addWidget(_uploadSamplRtcmEphCorrSpinBox, 0, 7); 1136 uploadHlpLayout->addWidget(new QLabel("SP3"), 0, 8, Qt::AlignRight); 1137 uploadHlpLayout->addWidget(_uploadSamplSp3SpinBox, 0, 9); 1138 uploadHlpLayout->addWidget(new QLabel("RNX"), 0,10, Qt::AlignRight); 1139 uploadHlpLayout->addWidget(_uploadSamplClkRnxSpinBox, 0,11); 1140 uploadHlpLayout->addWidget(setUploadTrafoButton, 0,12); 1123 uploadHlpLayout->addWidget(new QLabel("Sampling: Orb"), 0, 4, Qt::AlignRight); 1124 uploadHlpLayout->addWidget(_uploadSamplRtcmEphCorrSpinBox, 0, 5); 1125 uploadHlpLayout->addWidget(new QLabel("SP3"), 0, 6, Qt::AlignRight); 1126 uploadHlpLayout->addWidget(_uploadSamplSp3SpinBox, 0, 7); 1127 uploadHlpLayout->addWidget(new QLabel("RNX"), 0, 8, Qt::AlignRight); 1128 uploadHlpLayout->addWidget(_uploadSamplClkRnxSpinBox, 0, 9); 1129 uploadHlpLayout->addWidget(setUploadTrafoButton, 0,10); 1141 1130 1142 1131 QBoxLayout* uploadLayout = new QBoxLayout(QBoxLayout::TopToBottom); … … 1292 1281 delUploadRowButton->setWhatsThis(tr("Hit 'Del Row' button to delete the highlighted line from the stream upload table.")); 1293 1282 _uploadIntrComboBox->setWhatsThis(tr("Select the length of the SP3 and Clock RINEX files.")); 1294 _uploadSamplRtcmClkCorrSpinBox->setWhatsThis(tr("Select the Clock Correction sampling interval in seconds. A value of zero '0' tells BNC to upload all available samples."));1295 1283 _uploadSamplRtcmEphCorrSpinBox->setWhatsThis(tr("Select the Ephemeris Correction sampling interval in seconds. A value of zero '0' tells BNC to upload all available samples.")); 1296 1284 _uploadSamplClkRnxSpinBox->setWhatsThis(tr("Select the Clock RINEX file sampling interval in seconds. A value of zero '0' tells BNC to store all available samples into Clock RINEX files.")); … … 1753 1741 } 1754 1742 settings.setValue("uploadIntr", _uploadIntrComboBox->currentText()); 1755 settings.setValue("uploadSamplRtcmClkCorr", _uploadSamplRtcmClkCorrSpinBox->value());1756 1743 settings.setValue("uploadSamplRtcmEphCorr", _uploadSamplRtcmEphCorrSpinBox->value()); 1757 1744 settings.setValue("uploadSamplSp3", _uploadSamplSp3SpinBox->value()); … … 2237 2224 if (iRow > 0) { 2238 2225 enableWidget(true, _uploadIntrComboBox); 2239 enableWidget(true, _uploadSamplRtcmClkCorrSpinBox);2240 2226 enableWidget(true, _uploadSamplRtcmEphCorrSpinBox); 2241 2227 enableWidget(true, _uploadSamplClkRnxSpinBox); … … 2244 2230 else { 2245 2231 enableWidget(false, _uploadIntrComboBox); 2246 enableWidget(false, _uploadSamplRtcmClkCorrSpinBox);2247 2232 enableWidget(false, _uploadSamplRtcmEphCorrSpinBox); 2248 2233 enableWidget(false, _uploadSamplClkRnxSpinBox); … … 2465 2450 if (nRows < 1) { 2466 2451 enableWidget(false, _uploadIntrComboBox); 2467 enableWidget(false, _uploadSamplRtcmClkCorrSpinBox);2468 2452 enableWidget(false, _uploadSamplRtcmEphCorrSpinBox); 2469 2453 enableWidget(false, _uploadSamplSp3SpinBox);
Note:
See TracChangeset
for help on using the changeset viewer.