Changeset 978 in ntrip


Ignore:
Timestamp:
Jul 26, 2008, 1:32:31 PM (16 years ago)
Author:
mervart
Message:

* empty log message *

Location:
trunk/BNS
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNS/bnseph.cpp

    r932 r978  
    4444
    4545  QSettings settings;
    46   QString host = "localhost";
     46  QString host = settings.value("ephHost").toString();
     47  if (host.isEmpty()) {
     48    host = "localhost";
     49  }
    4750  int     port = settings.value("ephPort").toInt();
    4851
  • trunk/BNS/bnswindow.cpp

    r977 r978  
    140140  _ephPortLineEdit->setMaximumWidth(9*ww);
    141141
    142   _clkHostLineEdit  = new QLineEdit(settings.value("clkHost").toString());
    143   _clkHostLineEdit->setWhatsThis(tr("BNS reads Clocks & Orbits referring to the IGS system (X,Y,Z, ECEF) in plain ASCII format from an IP address. Specify the host IP e.g. of an RTNet installation providing this information."));
    144142  _clkPortLineEdit  = new QLineEdit(settings.value("clkPort").toString());
    145143  _clkPortLineEdit->setWhatsThis(tr("BNS reads Clocks & Orbits referring to the IGS system (X,Y,Z, ECEF) in plain ASCII format from an IP address. Specify the IP port e.g. of a RTNet installation providing this information."));
     
    259257  layout_inp->addWidget(_ephPortLineEdit,              0, 4);
    260258  layout_inp->addWidget(new QLabel("Clocks & Orbits"), 1, 0, Qt::AlignLeft);
    261   layout_inp->addWidget(new QLabel("Host"),            1, 1, Qt::AlignRight);
    262   layout_inp->addWidget(_clkHostLineEdit,              1, 2);
    263   layout_inp->addWidget(new QLabel("Port"),            1, 3, Qt::AlignLeft);
     259  layout_inp->addWidget(new QLabel("Server listening on Port"), 1, 1, 1, 3, Qt::AlignRight);
    264260  layout_inp->addWidget(_clkPortLineEdit,              1, 4);
    265261  layout_inp->addWidget(new QLabel("Save Clocks & Orbits"), 2, 0, Qt::AlignLeft);
     
    442438  settings.setValue("ephHost",    _ephHostLineEdit->text());
    443439  settings.setValue("ephPort",    _ephPortLineEdit->text());
    444   settings.setValue("clkHost",    _clkHostLineEdit->text());
    445440  settings.setValue("clkPort",    _clkPortLineEdit->text());
    446441  settings.setValue("clkFile",    _clkFileLineEdit->text());
  • trunk/BNS/bnswindow.h

    r977 r978  
    6060  QLineEdit* _ephHostLineEdit;
    6161  QLineEdit* _ephPortLineEdit;
    62   QLineEdit* _clkHostLineEdit;
    6362  QLineEdit* _clkPortLineEdit;
    6463  QLineEdit* _clkFileLineEdit;
Note: See TracChangeset for help on using the changeset viewer.