Changeset 1340 in ntrip


Ignore:
Timestamp:
Dec 27, 2008, 2:12:48 AM (15 years ago)
Author:
weber
Message:

* empty log message *

Location:
trunk/BNC
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/bncwindow.cpp

    r1339 r1340  
    266266    _serialStopBitsComboBox->setCurrentIndex(kk);
    267267  }
     268  _serialAutoNMEACheckBox  = new QCheckBox();
     269  _serialAutoNMEACheckBox->setCheckState(Qt::CheckState(
     270                                    settings.value("serialAutoNMEA").toInt()));
    268271
    269272  _perfIntrComboBox    = new QComboBox();
     
    333336  _ephV3CheckBox->setWhatsThis(tr("The default format for RINEX Navigation files containing Broadcast Ephemeris is RINEX Version 2.11. Select 'Version 3' if you want to save the ephemeris in RINEX Version 3 format."));
    334337  _rnxV3CheckBox->setWhatsThis(tr("The default format for RINEX Observation files is RINEX Version 2.11. Select 'Version 3' if you want to save the observations in RINEX Version 3 format."));
    335   _miscMountLineEdit->setWhatsThis(tr("<p>Specify a mountpoint to apply the options shown below. Enter 'ALL' if you want to apply these options to all configured streams.</p><p>An empty option field (default) means that you don't want BNC to apply any of these options.</p>"));
     338  _miscMountLineEdit->setWhatsThis(tr("<p>Specify a mountpoint to apply any of the options shown below. Enter 'ALL' if you want to apply these options to all configured streams.</p><p>An empty option field (default) means that you don't want BNC to apply any of these options.</p>"));
    336339  _scanRTCMCheckBox->setWhatsThis(tr("<p>Tick 'Scan RTCM' to log the numbers of incomming message types as well as contained antenna coordinates, antenna heigt, and antenna descriptor.</p><p>An empty option field (default) means that you don't want BNC to log such information.</p>"));
     340  _serialMountPointLineEdit->setWhatsThis(tr("<p>Enter a 'Mountpoint' to forward the corresponding stream to a serial connected device.</p>"));
     341  _serialPortNameLineEdit->setWhatsThis(tr("<p>Enter the serial 'Port name' selected for communication with your serial connected device. Valid port names are:</p><p>COM1, COM2 (Windows)<br>/dev/ttyS0, /dev/ttyS1 (Linux)<br>/dev/ttyd0, /dev/ttyd1 (FreeBSD)<br>/dev/tty01, /dev/tty02 (Digital UNIX)<br>/dev/tty1p0, /dev/tty2p0 (HP-UX)<br>/dev/ttyf1, /dev/ttyf2 (SGI/IRIX)<br>/dev/ttya, /dev/ttyb (SunOS/Solaris)</p>"));
     342  _serialBaudRateComboBox->setWhatsThis(tr("<p>Select a 'Baud rate' for the serial link.</p><p>Note that your selection must equal the baud rate configured to the serial connected device. Note further that using a high baud rate is recommended.</p>"));
     343  _serialParityComboBox->setWhatsThis(tr("<p>Select the 'Parity' for the serial link.</p><p>Note that your selection must equal the parity selection configured to the serial connected device. Note further that parity is often set to 'NONE'.</p>"));
     344  _serialDataBitsComboBox->setWhatsThis(tr("<p>Select the number of 'Data bits' for the serial link.</p><p>Note that your selection must equal the number of data bits configured to the serial connected device. Note further that often 8 data bits are used.</p>"));
     345  _serialStopBitsComboBox->setWhatsThis(tr("<p>Select the number of 'Stop bits' for the serial link.</p><p>Note that your selection must equal the number of stop bits configured to the serial connected device. Note further that often 1 stop bit is used.</p>"));
     346  _serialAutoNMEACheckBox->setWhatsThis(tr("<p>Tick 'Auto NMEA' to forward NMEA GGA messages coming from your serial connected device to the NTRIP brodacaster.</p>"));
    337347
    338348  // Canvas with Editable Fields
     
    357367  aogroup->addTab(cgroup,tr("Ephemeris Corrections"));
    358368  aogroup->addTab(sgroup,tr("Feed Engine"));
     369  aogroup->addTab(sergroup,tr("Serial Port"));
    359370  aogroup->addTab(agroup,tr("Outages"));
    360371  aogroup->addTab(rgroup,tr("Miscellaneous"));
    361   aogroup->addTab(sergroup,tr("Serial Port"));
    362372
    363373  QGridLayout* pLayout = new QGridLayout;
     
    491501  serLayout->addWidget(new QLabel("               Stop bits  "),  3,2, Qt::AlignRight);
    492502  serLayout->addWidget(_serialStopBitsComboBox,                   3,3);
    493   serLayout->addWidget(new QLabel("Serial port settings."),       4,0,1,30);
    494   serLayout->addWidget(new QLabel("    "),5,0);
     503  serLayout->addWidget(new QLabel("Auto NMEA"),                   4, 0);
     504  serLayout->addWidget(_serialAutoNMEACheckBox,                   4, 1);
     505  serLayout->addWidget(new QLabel("Serial port settings to feed a serial connected device."),5,0,1,30);
    495506
    496507  sergroup->setLayout(serLayout);
     
    736747  settings.setValue("serialDataBits", _serialDataBitsComboBox->currentText());
    737748  settings.setValue("serialStopBits", _serialStopBitsComboBox->currentText());
     749  settings.setValue("serialAutoNMEA", _serialAutoNMEACheckBox->checkState());
    738750 
    739751  QStringList mountPoints;
  • trunk/BNC/bncwindow.h

    r1333 r1340  
    138138    QComboBox* _serialDataBitsComboBox;
    139139    QComboBox* _serialStopBitsComboBox;
     140    QCheckBox* _serialAutoNMEACheckBox;
    140141
    141142    QLineEdit*   _LatLineEdit;
Note: See TracChangeset for help on using the changeset viewer.