Changeset 6796 in ntrip for trunk/BNC/src/bncwindow.cpp


Ignore:
Timestamp:
Apr 24, 2015, 4:53:57 PM (9 years ago)
Author:
stuerze
Message:

add an option to write only RINEX files if the respective SKL file is available

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/bncwindow.cpp

    r6791 r6796  
    211211  _rnxSamplSpinBox->setSingleStep(5);
    212212  _rnxSamplSpinBox->setValue(settings.value("rnxSampl").toInt());
     213  _rnxFileCheckBox = new QCheckBox();
     214  _rnxFileCheckBox->setCheckState(Qt::CheckState(settings.value("rnxOnlyWithSKL").toInt()));
    213215  _rnxSamplSpinBox->setSuffix(" sec");
    214216  _rnxSkelLineEdit    = new QLineEdit(settings.value("rnxSkel").toString());
     
    673675  oLayout->setColumnMinimumWidth(0,14*ww);
    674676  _rnxIntrComboBox->setMaximumWidth(9*ww);
    675 //_rnxSamplSpinBox->setMaximumWidth(9*ww);
     677  _rnxSamplSpinBox->setMaximumWidth(9*ww);
    676678
    677679  oLayout->addWidget(new QLabel("Saving RINEX observation files.<br>"),0, 0, 1,50);
     
    684686  oLayout->addWidget(new QLabel("Skeleton extension"),             3, 0);
    685687  oLayout->addWidget(_rnxSkelLineEdit,                             3, 1, Qt::AlignLeft);
     688  oLayout->addWidget(new QLabel("RINEX File generation only with SKL file"),3, 2);
     689  oLayout->addWidget(_rnxFileCheckBox,                             3, 3);
    686690  oLayout->addWidget(new QLabel("Script (full path)"),             4, 0);
    687691  oLayout->addWidget(_rnxScrpLineEdit,                             4, 1, 1, 15);
     
    17041708  settings.setValue("rnxSampl",    _rnxSamplSpinBox->value());
    17051709  settings.setValue("rnxSkel",     _rnxSkelLineEdit->text());
     1710  settings.setValue("rnxOnlyWithSKL",_rnxFileCheckBox->checkState());
    17061711  settings.setValue("rnxScript",   _rnxScrpLineEdit->text());
    17071712  settings.setValue("rnxV3",       _rnxV3CheckBox->checkState());
     
    21892194    enableWidget(enable, _rnxSamplSpinBox);
    21902195    enableWidget(enable, _rnxSkelLineEdit);
     2196    enableWidget(enable, _rnxFileCheckBox);
    21912197    enableWidget(enable, _rnxScrpLineEdit);
    21922198    enableWidget(enable, _rnxV2Priority);
Note: See TracChangeset for help on using the changeset viewer.