Changeset 1327 in ntrip


Ignore:
Timestamp:
Dec 22, 2008, 4:04:04 PM (16 years ago)
Author:
mervart
Message:

* empty log message *

Location:
trunk/BNC
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/bncgetthread.cpp

    r1326 r1327  
    192192          this, SLOT(slotNewEphGPS(gpsephemeris)));
    193193
    194   if (settings.value("serial_staID").toString() == _staID) {
    195     _serialPort = new QextSerialPort( settings.value("serial_name").toString() );
     194  if (settings.value("serialMountPoint").toString() == _staID) {
     195    _serialPort = new QextSerialPort(
     196                               settings.value("serialPortName").toString() );
    196197    _serialPort->setBaudRate(BAUD9600);   
    197198    _serialPort->setParity(PAR_NONE);   
  • trunk/BNC/bncwindow.cpp

    r1309 r1327  
    230230  _logFileLineEdit    = new QLineEdit(settings.value("logFile").toString());
    231231  _adviseScriptLineEdit    = new QLineEdit(settings.value("adviseScript").toString());
     232  _serialPortNameLineEdit = new QLineEdit(settings.value("serialPortName").toString());
     233  _serialMountPointLineEdit = new QLineEdit(settings.value("serialMountPoint").toString());
    232234
    233235  _perfIntrComboBox    = new QComboBox();
     
    313315  QWidget* ogroup = new QWidget();
    314316  QWidget* rgroup = new QWidget();
     317  QWidget* sergroup = new QWidget();
    315318  aogroup->addTab(pgroup,tr("Proxy"));
    316319  aogroup->addTab(ggroup,tr("General"));
     
    321324  aogroup->addTab(agroup,tr("Outages"));
    322325  aogroup->addTab(rgroup,tr("Miscellaneous"));
     326  aogroup->addTab(sergroup,tr("Serial"));
    323327
    324328  QGridLayout* pLayout = new QGridLayout;
     
    436440  cLayout->addWidget(new QLabel("    "),5,0);
    437441  cgroup->setLayout(cLayout);
     442
     443  QGridLayout* serLayout = new QGridLayout;
     444  serLayout->addWidget(new QLabel("Port Name"),0,0, Qt::AlignLeft);
     445  serLayout->addWidget(_serialPortNameLineEdit,0, 1);
     446  serLayout->addWidget(new QLabel("MountPoint"),1,0, Qt::AlignLeft);
     447  serLayout->addWidget(_serialMountPointLineEdit,1, 1);
     448  sergroup->setLayout(serLayout);
    438449
    439450  QVBoxLayout* mLayout = new QVBoxLayout;
     
    664675  settings.setValue("miscMount",   _miscMountLineEdit->text());
    665676  settings.setValue("scanRTCM",    _scanRTCMCheckBox->checkState());
     677  settings.setValue("serialPortName", _serialPortNameLineEdit->text());
     678  settings.setValue("serialMountPoint", _serialMountPointLineEdit->text());
    666679 
    667 QStringList mountPoints;
     680  QStringList mountPoints;
    668681
    669682  for (int iRow = 0; iRow < _mountPointsTable->rowCount(); iRow++) {
  • trunk/BNC/bncwindow.h

    r1307 r1327  
    130130    QComboBox* _perfIntrComboBox;
    131131    QTableWidget* _mountPointsTable;
     132    QLineEdit* _serialPortNameLineEdit;
     133    QLineEdit* _serialMountPointLineEdit;
    132134
    133135    QLineEdit*   _LatLineEdit;
Note: See TracChangeset for help on using the changeset viewer.