Changeset 8616 in ntrip for branches/BNC_2.12/src/bncwindow.cpp


Ignore:
Timestamp:
Feb 28, 2019, 2:45:02 PM (5 years ago)
Author:
stuerze
Message:

a computed lock time is added for RTCM3 phase observations as an optional feed engine output

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/BNC_2.12/src/bncwindow.cpp

    r8492 r8616  
    286286  _outFileLineEdit    = new QLineEdit(settings.value("outFile").toString());
    287287  _outUPortLineEdit   = new QLineEdit(settings.value("outUPort").toString());
     288  _printLockTimeCheckBox = new QCheckBox();
     289  _printLockTimeCheckBox->setCheckState(Qt::CheckState(settings.value("printLockTime").toInt())); 
    288290
    289291  connect(_outPortLineEdit, SIGNAL(textChanged(const QString &)),
     
    291293
    292294  connect(_outFileLineEdit, SIGNAL(textChanged(const QString &)),
     295          this, SLOT(slotBncTextChanged()));
     296
     297  connect(_printLockTimeCheckBox, SIGNAL(stateChanged(int)),
    293298          this, SLOT(slotBncTextChanged()));
    294299
     
    758763  sLayout->addWidget(new QLabel("Port (unsynchronized)"),           4, 0);
    759764  sLayout->addWidget(_outUPortLineEdit,                             4, 1);
    760   sLayout->addWidget(new QLabel(""),                                5, 1);
    761   sLayout->setRowStretch(6, 999);
     765  sLayout->addWidget(new QLabel("Print lock time"),                 5, 0);
     766  sLayout->addWidget(_printLockTimeCheckBox,                        5, 1);
     767  sLayout->addWidget(new QLabel(""),                                6, 1);
     768  sLayout->setRowStretch(7, 999);
    762769
    763770  sgroup->setLayout(sLayout);
     
    12831290  _outFileLineEdit->setWhatsThis(tr("<p>Specify the full path to a file where synchronized observations are saved in plain ASCII format.</p><p>Beware that the size of this file can rapidly increase depending on the number of incoming streams.</p>"));
    12841291  _outUPortLineEdit->setWhatsThis(tr("<p>BNC can produce unsynchronized observations in a plain ASCII format on your local host via IP port.</p><p>Specify a port number to activate this function.</p>"));
     1292  _printLockTimeCheckBox->setWhatsThis(tr("<p>Print the lock time in seconds in the feed engine output.</p>"));
    12851293
    12861294  // WhatsThis, Serial Output
     
    14581466  delete _outFileLineEdit;
    14591467  delete _outUPortLineEdit;
     1468  delete _printLockTimeCheckBox;
    14601469  delete _serialMountPointLineEdit;
    14611470  delete _serialPortNameLineEdit;
     
    18751884  settings.setValue("outFile",     _outFileLineEdit->text());
    18761885  settings.setValue("outUPort",    _outUPortLineEdit->text());
     1886  settings.setValue("printLockTime",_printLockTimeCheckBox->checkState()); 
    18771887// Serial Output
    18781888  settings.setValue("serialMountPoint",_serialMountPointLineEdit->text());
Note: See TracChangeset for help on using the changeset viewer.