Changeset 8616 in ntrip for branches/BNC_2.12/src/bncwindow.cpp
- Timestamp:
- Feb 28, 2019, 2:45:02 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/BNC_2.12/src/bncwindow.cpp
r8492 r8616 286 286 _outFileLineEdit = new QLineEdit(settings.value("outFile").toString()); 287 287 _outUPortLineEdit = new QLineEdit(settings.value("outUPort").toString()); 288 _printLockTimeCheckBox = new QCheckBox(); 289 _printLockTimeCheckBox->setCheckState(Qt::CheckState(settings.value("printLockTime").toInt())); 288 290 289 291 connect(_outPortLineEdit, SIGNAL(textChanged(const QString &)), … … 291 293 292 294 connect(_outFileLineEdit, SIGNAL(textChanged(const QString &)), 295 this, SLOT(slotBncTextChanged())); 296 297 connect(_printLockTimeCheckBox, SIGNAL(stateChanged(int)), 293 298 this, SLOT(slotBncTextChanged())); 294 299 … … 758 763 sLayout->addWidget(new QLabel("Port (unsynchronized)"), 4, 0); 759 764 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); 762 769 763 770 sgroup->setLayout(sLayout); … … 1283 1290 _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>")); 1284 1291 _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>")); 1285 1293 1286 1294 // WhatsThis, Serial Output … … 1458 1466 delete _outFileLineEdit; 1459 1467 delete _outUPortLineEdit; 1468 delete _printLockTimeCheckBox; 1460 1469 delete _serialMountPointLineEdit; 1461 1470 delete _serialPortNameLineEdit; … … 1875 1884 settings.setValue("outFile", _outFileLineEdit->text()); 1876 1885 settings.setValue("outUPort", _outUPortLineEdit->text()); 1886 settings.setValue("printLockTime",_printLockTimeCheckBox->checkState()); 1877 1887 // Serial Output 1878 1888 settings.setValue("serialMountPoint",_serialMountPointLineEdit->text());
Note:
See TracChangeset
for help on using the changeset viewer.