Changeset 560 in ntrip


Ignore:
Timestamp:
Nov 3, 2007, 10:30:10 AM (16 years ago)
Author:
mervart
Message:

* empty log message *

Location:
trunk/BNC
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/bncwindow.cpp

    r533 r560  
    175175    _rnxIntrComboBox->setCurrentIndex(ii);
    176176  }
     177  _ephIntrComboBox    = new QComboBox();
     178  _ephIntrComboBox->setWhatsThis(tr("<p>Select an interval for the ephemeris file generation."));
     179  _ephIntrComboBox->setMaximumWidth(9*ww);
     180  _ephIntrComboBox->setEditable(false);
     181  _ephIntrComboBox->addItems(QString("1 hour,1 day").split(","));
     182  int jj = _ephIntrComboBox->findText(settings.value("ephIntr").toString());
     183  if (jj != -1) {
     184    _ephIntrComboBox->setCurrentIndex(jj);
     185  }
    177186  _rnxSamplSpinBox    = new QSpinBox();
    178187  _rnxSamplSpinBox->setWhatsThis(tr("<p>Select the RINEX sample interval in seconds. Zero '0' stands for converting all incoming epochs to RINEX.</p><p>Default for RINEX 'Sampling' is '0'.</p>"));
     
    286295  layout->addWidget(_rnxScrpLineEdit,                            5, 2, 1, 3);
    287296
    288   layout->addWidget(new QLabel("RINEX file interval"),           6, 0, 1, 2);
    289   layout->addWidget(_rnxIntrComboBox,                            6, 2);
     297  layout->addWidget(new QLabel("File interval"),                 6, 0, 1, 2);
     298
     299  QBoxLayout* bl = new QBoxLayout(QBoxLayout::LeftToRight);
     300  bl->addWidget(_rnxIntrComboBox);
     301  bl->addWidget(_ephIntrComboBox);
     302  layout->addLayout(bl, 6, 2, 1, 2);
     303
    290304  layout->addWidget(new QLabel("Sampling"),                      6, 3);
    291305  layout->addWidget(_rnxSamplSpinBox,                            6, 4);
     
    441455  settings.setValue("rnxScript",   _rnxScrpLineEdit->text());
    442456  settings.setValue("rnxIntr",     _rnxIntrComboBox->currentText());
     457  settings.setValue("ephIntr",     _ephIntrComboBox->currentText());
    443458  settings.setValue("rnxSampl",    _rnxSamplSpinBox->value());
    444459  settings.setValue("rnxSkel",     _rnxSkelLineEdit->text());
  • trunk/BNC/bncwindow.h

    r533 r560  
    8787    QLineEdit* _logFileLineEdit;
    8888    QComboBox* _rnxIntrComboBox;
     89    QComboBox* _ephIntrComboBox;
    8990    QSpinBox*  _rnxSamplSpinBox;
    9091    QCheckBox* _rnxAppendCheckBox;
Note: See TracChangeset for help on using the changeset viewer.