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


Ignore:
Timestamp:
Feb 28, 2019, 3:17:07 PM (5 years ago)
Author:
stuerze
Message:

minor changes

File:
1 edited

Legend:

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

    r8616 r8620  
    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())); 
     288  _outLockTimeCheckBox = new QCheckBox();
     289  _outLockTimeCheckBox->setCheckState(Qt::CheckState(settings.value("outLockTime").toInt()));
    290290
    291291  connect(_outPortLineEdit, SIGNAL(textChanged(const QString &)),
     
    295295          this, SLOT(slotBncTextChanged()));
    296296
    297   connect(_printLockTimeCheckBox, SIGNAL(stateChanged(int)),
     297  connect(_outLockTimeCheckBox, SIGNAL(stateChanged(int)),
    298298          this, SLOT(slotBncTextChanged()));
    299299
     
    764764  sLayout->addWidget(_outUPortLineEdit,                             4, 1);
    765765  sLayout->addWidget(new QLabel("Print lock time"),                 5, 0);
    766   sLayout->addWidget(_printLockTimeCheckBox,                        5, 1);
     766  sLayout->addWidget(_outLockTimeCheckBox,                        5, 1);
    767767  sLayout->addWidget(new QLabel(""),                                6, 1);
    768768  sLayout->setRowStretch(7, 999);
     
    12901290  _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>"));
    12911291  _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>"));
    12931293
    12941294  // WhatsThis, Serial Output
     
    14661466  delete _outFileLineEdit;
    14671467  delete _outUPortLineEdit;
    1468   delete _printLockTimeCheckBox;
     1468  delete _outLockTimeCheckBox;
    14691469  delete _serialMountPointLineEdit;
    14701470  delete _serialPortNameLineEdit;
     
    18841884  settings.setValue("outFile",     _outFileLineEdit->text());
    18851885  settings.setValue("outUPort",    _outUPortLineEdit->text());
    1886   settings.setValue("printLockTime",_printLockTimeCheckBox->checkState()); 
     1886  settings.setValue("outLockTime",_outLockTimeCheckBox->checkState());
    18871887// Serial Output
    18881888  settings.setValue("serialMountPoint",_serialMountPointLineEdit->text());
Note: See TracChangeset for help on using the changeset viewer.