Changeset 4172 in ntrip
- Timestamp:
- May 15, 2012, 9:45:13 AM (13 years ago)
- Location:
- trunk/BNC
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/bncwindow.cpp
r4170 r4172 559 559 _uploadIntrComboBox->setCurrentIndex(ii); 560 560 } 561 _uploadSamplSpinBox = new QSpinBox; 562 _uploadSamplSpinBox->setMinimum(5); 563 _uploadSamplSpinBox->setMaximum(60); 564 _uploadSamplSpinBox->setSingleStep(5); 565 _uploadSamplSpinBox->setMaximumWidth(9*ww); 566 _uploadSamplSpinBox->setValue(settings.value("uploadSampl").toInt()); 567 _uploadSamplSpinBox->setSuffix(" sec"); 568 569 _uploadSamplOrbSpinBox = new QSpinBox; 570 _uploadSamplOrbSpinBox->setMinimum(0); 571 _uploadSamplOrbSpinBox->setMaximum(60); 572 _uploadSamplOrbSpinBox->setSingleStep(5); 573 _uploadSamplOrbSpinBox->setMaximumWidth(9*ww); 574 _uploadSamplOrbSpinBox->setValue(settings.value("uploadSamplOrb").toInt()); 575 _uploadSamplOrbSpinBox->setSuffix(" sec"); 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 569 _uploadSamplRtcmEphCorrSpinBox = new QSpinBox; 570 _uploadSamplRtcmEphCorrSpinBox->setMinimum(0); 571 _uploadSamplRtcmEphCorrSpinBox->setMaximum(60); 572 _uploadSamplRtcmEphCorrSpinBox->setSingleStep(5); 573 _uploadSamplRtcmEphCorrSpinBox->setMaximumWidth(9*ww); 574 _uploadSamplRtcmEphCorrSpinBox->setValue(settings.value("uploadSamplRtcmEphCorr").toInt()); 575 _uploadSamplRtcmEphCorrSpinBox->setSuffix(" sec"); 576 577 _uploadSamplSp3SpinBox = new QSpinBox; 578 _uploadSamplSp3SpinBox->setMinimum(0); 579 _uploadSamplSp3SpinBox->setMaximum(60); 580 _uploadSamplSp3SpinBox->setSingleStep(5); 581 _uploadSamplSp3SpinBox->setMaximumWidth(9*ww); 582 _uploadSamplSp3SpinBox->setValue(settings.value("uploadSamplSp3").toInt()); 583 _uploadSamplSp3SpinBox->setSuffix(" sec"); 584 585 _uploadSamplClkRnxSpinBox = new QSpinBox; 586 _uploadSamplClkRnxSpinBox->setMinimum(0); 587 _uploadSamplClkRnxSpinBox->setMaximum(60); 588 _uploadSamplClkRnxSpinBox->setSingleStep(5); 589 _uploadSamplClkRnxSpinBox->setMaximumWidth(9*ww); 590 _uploadSamplClkRnxSpinBox->setValue(settings.value("uploadSamplClkRnx").toInt()); 591 _uploadSamplClkRnxSpinBox->setSuffix(" sec"); 576 592 577 593 int iRowT = _uploadTable->rowCount(); 578 594 if (iRowT > 0) { 579 595 enableWidget(true, _uploadIntrComboBox); 580 enableWidget(true, _uploadSamplSpinBox); 581 enableWidget(true, _uploadSamplOrbSpinBox); 596 enableWidget(true, _uploadSamplRtcmClkCorrSpinBox); 597 enableWidget(true, _uploadSamplRtcmEphCorrSpinBox); 598 enableWidget(true, _uploadSamplSp3SpinBox); 599 enableWidget(true, _uploadSamplClkRnxSpinBox); 582 600 } 583 601 else { 584 602 enableWidget(false, _uploadIntrComboBox); 585 enableWidget(false, _uploadSamplSpinBox); 586 enableWidget(false, _uploadSamplOrbSpinBox); 603 enableWidget(false, _uploadSamplRtcmClkCorrSpinBox); 604 enableWidget(false, _uploadSamplRtcmEphCorrSpinBox); 605 enableWidget(false, _uploadSamplSp3SpinBox); 606 enableWidget(false, _uploadSamplClkRnxSpinBox); 587 607 } 588 608 … … 1106 1126 connect(setUploadTrafoButton, SIGNAL(clicked()), this, SLOT(slotSetUploadTrafo())); 1107 1127 1108 uploadHlpLayout->addWidget(addUploadRowButton, 0,0); 1109 uploadHlpLayout->addWidget(delUploadRowButton, 0,1); 1110 uploadHlpLayout->addWidget(new QLabel("Interval"), 0,2, Qt::AlignRight); 1111 uploadHlpLayout->addWidget(_uploadIntrComboBox, 0,3); 1112 uploadHlpLayout->addWidget(new QLabel(" Sampling (Clk)"),0,4, Qt::AlignRight); 1113 uploadHlpLayout->addWidget(_uploadSamplSpinBox, 0,5); 1114 uploadHlpLayout->addWidget(new QLabel(" Sampling (Orb)"),0,6, Qt::AlignRight); 1115 uploadHlpLayout->addWidget(_uploadSamplOrbSpinBox, 0,7); 1116 uploadHlpLayout->addWidget(setUploadTrafoButton, 0,8); 1128 uploadHlpLayout->addWidget(addUploadRowButton, 0, 0); 1129 uploadHlpLayout->addWidget(delUploadRowButton, 0, 1); 1130 uploadHlpLayout->addWidget(new QLabel("Interval"), 0, 2, Qt::AlignRight); 1131 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); 1117 1141 1118 1142 QBoxLayout* uploadLayout = new QBoxLayout(QBoxLayout::TopToBottom); … … 1268 1292 delUploadRowButton->setWhatsThis(tr("Hit 'Del Row' button to delete the highlighted line from the stream upload table.")); 1269 1293 _uploadIntrComboBox->setWhatsThis(tr("Select the length of the SP3 and Clock RINEX files.")); 1270 _uploadSamplSpinBox->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.")); 1271 _uploadSamplOrbSpinBox->setWhatsThis(tr("Select the SP3 orbit file sampling interval in seconds. A value of zero '0' tells BNC to store all available samples into SP3 orbit 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 _uploadSamplRtcmEphCorrSpinBox->setWhatsThis(tr("Select the Ephemeris Correction sampling interval in seconds. A value of zero '0' tells BNC to upload all available samples.")); 1296 _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.")); 1297 _uploadSamplSp3SpinBox->setWhatsThis(tr("Select the SP3 orbit file sampling interval in seconds. A value of zero '0' tells BNC to store all available samples into SP3 orbit files.")); 1272 1298 setUploadTrafoButton->setWhatsThis(tr("Hit 'Custom Trafo' to specify your own 14 parameter Helmert Transformation instead of selecting a predefined transformation through 'System' button.")); 1273 1299 … … 1726 1752 settings.setValue("uploadMountpointsOut", ""); 1727 1753 } 1728 settings.setValue("uploadIntr", _uploadIntrComboBox->currentText()); 1729 settings.setValue("uploadSampl", _uploadSamplSpinBox->value()); 1730 settings.setValue("uploadSamplOrb", _uploadSamplOrbSpinBox->value()); 1754 settings.setValue("uploadIntr", _uploadIntrComboBox->currentText()); 1755 settings.setValue("uploadSamplRtcmClkCorr", _uploadSamplRtcmClkCorrSpinBox->value()); 1756 settings.setValue("uploadSamplRtcmEphCorr", _uploadSamplRtcmEphCorrSpinBox->value()); 1757 settings.setValue("uploadSamplSp3", _uploadSamplSp3SpinBox->value()); 1758 settings.setValue("uploadSamplClkRnx", _uploadSamplClkRnxSpinBox->value()); 1731 1759 // Upload (eph) 1732 1760 settings.setValue("uploadEphHost", _uploadEphHostLineEdit->text()); … … 2209 2237 if (iRow > 0) { 2210 2238 enableWidget(true, _uploadIntrComboBox); 2211 enableWidget(true, _uploadSamplSpinBox); 2212 enableWidget(true, _uploadSamplOrbSpinBox); 2239 enableWidget(true, _uploadSamplRtcmClkCorrSpinBox); 2240 enableWidget(true, _uploadSamplRtcmEphCorrSpinBox); 2241 enableWidget(true, _uploadSamplClkRnxSpinBox); 2242 enableWidget(true, _uploadSamplSp3SpinBox); 2213 2243 } 2214 2244 else { 2215 2245 enableWidget(false, _uploadIntrComboBox); 2216 enableWidget(false, _uploadSamplSpinBox); 2217 enableWidget(false, _uploadSamplOrbSpinBox); 2246 enableWidget(false, _uploadSamplRtcmClkCorrSpinBox); 2247 enableWidget(false, _uploadSamplRtcmEphCorrSpinBox); 2248 enableWidget(false, _uploadSamplClkRnxSpinBox); 2249 enableWidget(false, _uploadSamplSp3SpinBox); 2218 2250 } 2219 2251 … … 2433 2465 if (nRows < 1) { 2434 2466 enableWidget(false, _uploadIntrComboBox); 2435 enableWidget(false, _uploadSamplSpinBox); 2436 enableWidget(false, _uploadSamplOrbSpinBox); 2467 enableWidget(false, _uploadSamplRtcmClkCorrSpinBox); 2468 enableWidget(false, _uploadSamplRtcmEphCorrSpinBox); 2469 enableWidget(false, _uploadSamplSp3SpinBox); 2470 enableWidget(false, _uploadSamplClkRnxSpinBox); 2437 2471 } 2438 2472 } -
trunk/BNC/bncwindow.h
r4076 r4172 233 233 QTableWidget* _uploadTable; 234 234 QComboBox* _uploadIntrComboBox; 235 QSpinBox* _uploadSamplSpinBox; 236 QSpinBox* _uploadSamplOrbSpinBox; 235 QSpinBox* _uploadSamplRtcmClkCorrSpinBox; 236 QSpinBox* _uploadSamplRtcmEphCorrSpinBox; 237 QSpinBox* _uploadSamplSp3SpinBox; 238 QSpinBox* _uploadSamplClkRnxSpinBox; 237 239 238 240 QLineEdit* _uploadEphHostLineEdit;
Note:
See TracChangeset
for help on using the changeset viewer.