Changeset 1333 in ntrip


Ignore:
Timestamp:
Dec 26, 2008, 12:50:16 AM (15 years ago)
Author:
weber
Message:

* empty log message *

Location:
trunk/BNC
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/bncwindow.cpp

    r1332 r1333  
    148148  _rnxAppendCheckBox->setCheckState(Qt::CheckState(
    149149                                    settings.value("rnxAppend").toInt()));
     150  _autoStartCheckBox  = new QCheckBox();
     151  _autoStartCheckBox->setCheckState(Qt::CheckState(
     152                                    settings.value("autoStart").toInt()));
    150153  _rnxIntrComboBox    = new QComboBox();
    151154  _rnxIntrComboBox->setMaximumWidth(9*ww);
     
    308311  _rnxSkelLineEdit->setWhatsThis(tr("<p>Whenever BNC starts generating RINEX Observation files (and then once every day at midnight), it first tries to retrieve information needed for RINEX headers from so-called public RINEX header skeleton files which are derived from sitelogs. However, sometimes public RINEX header skeleton files are not available, its contents is not up to date, or you need to put additional/optional records in the RINEX header.</p><p>For that BNC allows using personal skeleton files that contain the header records you would like to include. You can derive a personal RINEX header skeleton file from the information given in an up to date sitelog. A file in the RINEX 'Directory' with the RINEX 'Skeleton extension' is interpreted by BNC as a personal RINEX header skeleton file for the corresponding stream.</p>"));
    309312  _rnxAppendCheckBox->setWhatsThis(tr("<p>When BNC is started, new files are created by default and any existing files with the same name will be overwritten. However, users might want to append already existing files following a restart of BNC, a system crash or when BNC crashed. Tick 'Append files' to continue with existing files and keep what has been recorded so far.</p>"));
     313  _autoStartCheckBox->setWhatsThis(tr("<p>Tick 'Auto start' for auto-start of BNC at startup time in window mode with preassigned processing options.</p>"));
    310314  _onTheFlyComboBox->setWhatsThis(tr("<p>When operating BNC online in 'no window' mode, some configuration parameters can be changed on-the-fly without interrupting the running process. For that BNC rereads parts of its configuration in pre-defined intervals.<p></p>Select '1 min', '1 hour', or '1 day' to force BNC to reread its configuration every full minute, hour, or day and let in between edited configuration options become effective on-the-fly without terminating uninvolved threads.</p><p>Note that when operating BNC in window mode, on-the-fly changeable configuration options become effective immediately through 'Save & Activate Options'.</p>"));
    311315  _rnxIntrComboBox->setWhatsThis(tr("<p>Select the length of the RINEX Observation file.</p>"));
     
    373377  gLayout->addWidget(new QLabel("Reread configuration"),         2, 0);
    374378  gLayout->addWidget(_onTheFlyComboBox,                          2, 1);
    375   gLayout->addWidget(new QLabel("General settings for logfile, file handling and configuration on-the-fly."),3, 0, 1, 2, Qt::AlignLeft);
    376   gLayout->addWidget(new QLabel("    "),4,0);
     379  gLayout->addWidget(new QLabel("Auto start"),                   3, 0);
     380  gLayout->addWidget(_autoStartCheckBox,                         3, 1);
     381  gLayout->addWidget(new QLabel("General settings for logfile, file handling, configuration on-the-fly, and auto-start."),4, 0, 1, 2, Qt::AlignLeft);
    377382  gLayout->addWidget(new QLabel("    "),5,0);
    378383  ggroup->setLayout(gLayout);
     
    491496
    492497  _canvas->setLayout(mLayout);
     498
     499  // Auto start
     500  // ----------
     501  if ( Qt::CheckState(settings.value("autoStart").toInt()) == Qt::Checked) {
     502    slotGetData();
     503  }
    493504}
    494505
     
    706717  settings.setValue("rnxSkel",     _rnxSkelLineEdit->text());
    707718  settings.setValue("rnxAppend",   _rnxAppendCheckBox->checkState());
     719  settings.setValue("autoStart",   _autoStartCheckBox->checkState());
    708720  settings.setValue("rnxV3",       _rnxV3CheckBox->checkState());
    709721  settings.setValue("ephV3",       _ephV3CheckBox->checkState());
  • trunk/BNC/bncwindow.h

    r1329 r1333  
    120120    QSpinBox*  _binSamplSpinBox;
    121121    QCheckBox* _rnxAppendCheckBox;
     122    QCheckBox* _autoStartCheckBox;
    122123    QCheckBox* _scanRTCMCheckBox;
    123124    QCheckBox* _makePauseCheckBox;
Note: See TracChangeset for help on using the changeset viewer.