Changeset 2185 in ntrip


Ignore:
Timestamp:
Jan 4, 2010, 3:52:26 PM (15 years ago)
Author:
mervart
Message:

* empty log message *

Location:
trunk/BNC
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/bncwindow.cpp

    r2177 r2185  
    338338  _pppMountLineEdit    = new QLineEdit(settings.value("pppMount").toString());
    339339  _pppNMEALineEdit     = new QLineEdit(settings.value("nmeaFile").toString());
     340  _pppNMEAPortLineEdit = new QLineEdit(settings.value("nmeaPort").toString());
    340341  _pppRefCrdXLineEdit  = new QLineEdit(settings.value("pppRefCrdX").toString());
    341342  _pppRefCrdYLineEdit  = new QLineEdit(settings.value("pppRefCrdY").toString());
     
    692693  pppLayout->addWidget(new QLabel("NMEA file (full path)"),  3, 0);
    693694  pppLayout->addWidget(_pppNMEALineEdit,                     3, 1, 1, 6);
    694   pppLayout->addWidget(new QLabel("Coordinates from Precise Point Positioning (PPP)."),4, 0,1,15);
    695   pppLayout->addWidget(new QLabel("    "),                   5, 0);
     695  pppLayout->addWidget(new QLabel("NMEA port"),              4, 0);
     696  pppLayout->addWidget(_pppNMEAPortLineEdit,                 4, 1, 1, 2);
     697  pppLayout->addWidget(new QLabel("Coordinates from Precise Point Positioning (PPP)."),5, 0,1,15);
    696698  pppLayout->addWidget(new QLabel("    "),                   6, 0);
     699  pppLayout->addWidget(new QLabel("    "),                   7, 0);
    697700  pppgroup->setLayout(pppLayout);
    698701
     
    10051008  settings.setValue("pppMount",    _pppMountLineEdit->text());
    10061009  settings.setValue("nmeaFile",    _pppNMEALineEdit->text());
     1010  settings.setValue("nmeaPort",    _pppNMEAPortLineEdit->text());
    10071011  settings.setValue("pppRefCrdX",  _pppRefCrdXLineEdit->text());
    10081012  settings.setValue("pppRefCrdY",  _pppRefCrdYLineEdit->text());
     
    15451549    if (!_pppMountLineEdit->text().isEmpty()) {
    15461550      _pppNMEALineEdit->setPalette(palette_white);
     1551      _pppNMEAPortLineEdit->setPalette(palette_white);
    15471552      _pppRefCrdXLineEdit->setPalette(palette_white);
    15481553      _pppRefCrdYLineEdit->setPalette(palette_white);
     
    15541559      _pppGLONASSCheckBox->setPalette(palette_gray);
    15551560      _pppNMEALineEdit->setEnabled(true);
     1561      _pppNMEAPortLineEdit->setEnabled(true);
    15561562      _pppRefCrdXLineEdit->setEnabled(true);
    15571563      _pppRefCrdYLineEdit->setEnabled(true);
     
    15641570    } else {
    15651571      _pppNMEALineEdit->setPalette(palette_gray);
     1572      _pppNMEAPortLineEdit->setPalette(palette_gray);
    15661573      _pppRefCrdXLineEdit->setPalette(palette_gray);
    15671574      _pppRefCrdYLineEdit->setPalette(palette_gray);
     
    15721579      _pppGLONASSCheckBox->setPalette(palette_gray);
    15731580      _pppNMEALineEdit->setEnabled(false);
     1581      _pppNMEAPortLineEdit->setEnabled(false);
    15741582      _pppRefCrdXLineEdit->setEnabled(false);
    15751583      _pppRefCrdYLineEdit->setEnabled(false);
  • trunk/BNC/bncwindow.h

    r2165 r2185  
    115115    QLineEdit* _pppMountLineEdit;
    116116    QLineEdit* _pppNMEALineEdit;
     117    QLineEdit* _pppNMEAPortLineEdit;
    117118    QLineEdit* _pppRefCrdXLineEdit;
    118119    QLineEdit* _pppRefCrdYLineEdit;
Note: See TracChangeset for help on using the changeset viewer.