Changeset 4174 in ntrip for trunk/BNC/bncwindow.cpp


Ignore:
Timestamp:
May 15, 2012, 10:27:42 AM (12 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/bncwindow.cpp

    r4173 r4174  
    559559    _uploadIntrComboBox->setCurrentIndex(ii);
    560560  }
    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");
    568561
    569562  _uploadSamplRtcmEphCorrSpinBox = new QSpinBox;
     
    594587  if (iRowT > 0) {
    595588    enableWidget(true, _uploadIntrComboBox);
    596     enableWidget(true, _uploadSamplRtcmClkCorrSpinBox);
    597589    enableWidget(true, _uploadSamplRtcmEphCorrSpinBox);
    598590    enableWidget(true, _uploadSamplSp3SpinBox);
     
    601593  else {
    602594    enableWidget(false, _uploadIntrComboBox);
    603     enableWidget(false, _uploadSamplRtcmClkCorrSpinBox);
    604595    enableWidget(false, _uploadSamplRtcmEphCorrSpinBox);
    605596    enableWidget(false, _uploadSamplSp3SpinBox);
     
    11301121  uploadHlpLayout->addWidget(new QLabel("Interval"),         0, 2, Qt::AlignRight);
    11311122  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);
    11411130
    11421131  QBoxLayout* uploadLayout = new QBoxLayout(QBoxLayout::TopToBottom);
     
    12921281  delUploadRowButton->setWhatsThis(tr("Hit 'Del Row' button to delete the highlighted line from the stream upload table."));
    12931282  _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."));
    12951283  _uploadSamplRtcmEphCorrSpinBox->setWhatsThis(tr("Select the Ephemeris Correction sampling interval in seconds. A value of zero '0' tells BNC to upload all available samples."));
    12961284  _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."));
     
    17531741  }
    17541742  settings.setValue("uploadIntr",             _uploadIntrComboBox->currentText());
    1755   settings.setValue("uploadSamplRtcmClkCorr", _uploadSamplRtcmClkCorrSpinBox->value());
    17561743  settings.setValue("uploadSamplRtcmEphCorr", _uploadSamplRtcmEphCorrSpinBox->value());
    17571744  settings.setValue("uploadSamplSp3",         _uploadSamplSp3SpinBox->value());
     
    22372224  if (iRow > 0) {
    22382225    enableWidget(true, _uploadIntrComboBox);
    2239     enableWidget(true, _uploadSamplRtcmClkCorrSpinBox);
    22402226    enableWidget(true, _uploadSamplRtcmEphCorrSpinBox);
    22412227    enableWidget(true, _uploadSamplClkRnxSpinBox);
     
    22442230  else {
    22452231    enableWidget(false, _uploadIntrComboBox);
    2246     enableWidget(false, _uploadSamplRtcmClkCorrSpinBox);
    22472232    enableWidget(false, _uploadSamplRtcmEphCorrSpinBox);
    22482233    enableWidget(false, _uploadSamplClkRnxSpinBox);
     
    24652450  if (nRows < 1) {
    24662451    enableWidget(false, _uploadIntrComboBox);
    2467     enableWidget(false, _uploadSamplRtcmClkCorrSpinBox);
    24682452    enableWidget(false, _uploadSamplRtcmEphCorrSpinBox);
    24692453    enableWidget(false, _uploadSamplSp3SpinBox);
Note: See TracChangeset for help on using the changeset viewer.