Changeset 8621 in ntrip for trunk/BNC/src/bncwindow.cpp
- Timestamp:
- Feb 28, 2019, 3:17:33 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/bncwindow.cpp
r8617 r8621 307 307 _outFileLineEdit = new QLineEdit(settings.value("outFile").toString()); 308 308 _outUPortLineEdit = new QLineEdit(settings.value("outUPort").toString()); 309 _ printLockTimeCheckBox = new QCheckBox();310 _ printLockTimeCheckBox->setCheckState(Qt::CheckState(settings.value("printLockTime").toInt()));309 _outLockTimeCheckBox = new QCheckBox(); 310 _outLockTimeCheckBox->setCheckState(Qt::CheckState(settings.value("outLockTime").toInt())); 311 311 312 312 connect(_outPortLineEdit, SIGNAL(textChanged(const QString &)), … … 315 315 connect(_outFileLineEdit, SIGNAL(textChanged(const QString &)), 316 316 this, SLOT(slotBncTextChanged())); 317 318 connect(_ printLockTimeCheckBox, SIGNAL(stateChanged(int)),317 318 connect(_outLockTimeCheckBox, SIGNAL(stateChanged(int)), 319 319 this, SLOT(slotBncTextChanged())); 320 320 … … 830 830 sLayout->addWidget(_outUPortLineEdit, 4, 1); 831 831 sLayout->addWidget(new QLabel("Print lock time"), 5, 0); 832 sLayout->addWidget(_ printLockTimeCheckBox, 5, 1);832 sLayout->addWidget(_outLockTimeCheckBox, 5, 1); 833 833 sLayout->addWidget(new QLabel(""), 6, 1); 834 834 sLayout->setRowStretch(7, 999); … … 1349 1349 _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. <i>[key: outFile]</i></p>")); 1350 1350 _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. <i>[key: outUPort]</i></p>")); 1351 _ printLockTimeCheckBox->setWhatsThis(tr("<p>Print the lock time in seconds in the feed engine output.</p>"));1351 _outLockTimeCheckBox->setWhatsThis(tr("<p>Print the lock time in seconds in the feed engine output.<i>[key: outLockTime]</i></p>")); 1352 1352 1353 1353 // WhatsThis, Serial Output … … 1522 1522 delete _outFileLineEdit; 1523 1523 delete _outUPortLineEdit; 1524 delete _ printLockTimeCheckBox;1524 delete _outLockTimeCheckBox; 1525 1525 delete _serialMountPointLineEdit; 1526 1526 delete _serialPortNameLineEdit; … … 1975 1975 settings.setValue("outSampl", _outSamplComboBox->currentText()); 1976 1976 settings.setValue("outFile", _outFileLineEdit->text()); 1977 settings.setValue(" printLockTime",_printLockTimeCheckBox->checkState()); settings.setValue("outUPort", _outUPortLineEdit->text());1977 settings.setValue("outLockTime",_outLockTimeCheckBox->checkState()); settings.setValue("outUPort", _outUPortLineEdit->text()); 1978 1978 1979 1979 // Serial Output
Note:
See TracChangeset
for help on using the changeset viewer.