Changeset 8620 in ntrip for branches/BNC_2.12/src/bncwindow.cpp
- Timestamp:
- Feb 28, 2019, 3:17:07 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/BNC_2.12/src/bncwindow.cpp
r8616 r8620 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 _outLockTimeCheckBox = new QCheckBox(); 289 _outLockTimeCheckBox->setCheckState(Qt::CheckState(settings.value("outLockTime").toInt())); 290 290 291 291 connect(_outPortLineEdit, SIGNAL(textChanged(const QString &)), … … 295 295 this, SLOT(slotBncTextChanged())); 296 296 297 connect(_ printLockTimeCheckBox, SIGNAL(stateChanged(int)),297 connect(_outLockTimeCheckBox, SIGNAL(stateChanged(int)), 298 298 this, SLOT(slotBncTextChanged())); 299 299 … … 764 764 sLayout->addWidget(_outUPortLineEdit, 4, 1); 765 765 sLayout->addWidget(new QLabel("Print lock time"), 5, 0); 766 sLayout->addWidget(_ printLockTimeCheckBox, 5, 1);766 sLayout->addWidget(_outLockTimeCheckBox, 5, 1); 767 767 sLayout->addWidget(new QLabel(""), 6, 1); 768 768 sLayout->setRowStretch(7, 999); … … 1290 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>")); 1291 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>"));1292 _outLockTimeCheckBox->setWhatsThis(tr("<p>Print the lock time in seconds in the feed engine output.</p>")); 1293 1293 1294 1294 // WhatsThis, Serial Output … … 1466 1466 delete _outFileLineEdit; 1467 1467 delete _outUPortLineEdit; 1468 delete _ printLockTimeCheckBox;1468 delete _outLockTimeCheckBox; 1469 1469 delete _serialMountPointLineEdit; 1470 1470 delete _serialPortNameLineEdit; … … 1884 1884 settings.setValue("outFile", _outFileLineEdit->text()); 1885 1885 settings.setValue("outUPort", _outUPortLineEdit->text()); 1886 settings.setValue(" printLockTime",_printLockTimeCheckBox->checkState());1886 settings.setValue("outLockTime",_outLockTimeCheckBox->checkState()); 1887 1887 // Serial Output 1888 1888 settings.setValue("serialMountPoint",_serialMountPointLineEdit->text());
Note:
See TracChangeset
for help on using the changeset viewer.