Changeset 4172 in ntrip


Ignore:
Timestamp:
May 15, 2012, 9:45:13 AM (13 years ago)
Author:
mervart
Message:
 
Location:
trunk/BNC
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/bncwindow.cpp

    r4170 r4172  
    559559    _uploadIntrComboBox->setCurrentIndex(ii);
    560560  }
    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");
    576592
    577593  int iRowT = _uploadTable->rowCount();
    578594  if (iRowT > 0) {
    579595    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);
    582600  }
    583601  else {
    584602    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);
    587607  }
    588608
     
    11061126  connect(setUploadTrafoButton, SIGNAL(clicked()), this, SLOT(slotSetUploadTrafo()));
    11071127
    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);
    11171141
    11181142  QBoxLayout* uploadLayout = new QBoxLayout(QBoxLayout::TopToBottom);
     
    12681292  delUploadRowButton->setWhatsThis(tr("Hit 'Del Row' button to delete the highlighted line from the stream upload table."));
    12691293  _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."));
    12721298  setUploadTrafoButton->setWhatsThis(tr("Hit 'Custom Trafo' to specify your own 14 parameter Helmert Transformation instead of selecting a predefined transformation through 'System' button."));
    12731299
     
    17261752    settings.setValue("uploadMountpointsOut", "");
    17271753  }
    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());
    17311759// Upload (eph)
    17321760  settings.setValue("uploadEphHost",      _uploadEphHostLineEdit->text());
     
    22092237  if (iRow > 0) {
    22102238    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);
    22132243  }
    22142244  else {
    22152245    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);
    22182250  }
    22192251
     
    24332465  if (nRows < 1) {
    24342466    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);
    24372471  }
    24382472}
  • trunk/BNC/bncwindow.h

    r4076 r4172  
    233233    QTableWidget* _uploadTable;
    234234    QComboBox*    _uploadIntrComboBox;
    235     QSpinBox*     _uploadSamplSpinBox;
    236     QSpinBox*     _uploadSamplOrbSpinBox;
     235    QSpinBox*     _uploadSamplRtcmClkCorrSpinBox;
     236    QSpinBox*     _uploadSamplRtcmEphCorrSpinBox;
     237    QSpinBox*     _uploadSamplSp3SpinBox;
     238    QSpinBox*     _uploadSamplClkRnxSpinBox;
    237239
    238240    QLineEdit*       _uploadEphHostLineEdit;
Note: See TracChangeset for help on using the changeset viewer.