Changeset 978 in ntrip
- Timestamp:
- Jul 26, 2008, 1:32:31 PM (17 years ago)
- Location:
- trunk/BNS
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNS/bnseph.cpp
r932 r978 44 44 45 45 QSettings settings; 46 QString host = "localhost"; 46 QString host = settings.value("ephHost").toString(); 47 if (host.isEmpty()) { 48 host = "localhost"; 49 } 47 50 int port = settings.value("ephPort").toInt(); 48 51 -
trunk/BNS/bnswindow.cpp
r977 r978 140 140 _ephPortLineEdit->setMaximumWidth(9*ww); 141 141 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."));144 142 _clkPortLineEdit = new QLineEdit(settings.value("clkPort").toString()); 145 143 _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.")); … … 259 257 layout_inp->addWidget(_ephPortLineEdit, 0, 4); 260 258 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); 264 260 layout_inp->addWidget(_clkPortLineEdit, 1, 4); 265 261 layout_inp->addWidget(new QLabel("Save Clocks & Orbits"), 2, 0, Qt::AlignLeft); … … 442 438 settings.setValue("ephHost", _ephHostLineEdit->text()); 443 439 settings.setValue("ephPort", _ephPortLineEdit->text()); 444 settings.setValue("clkHost", _clkHostLineEdit->text());445 440 settings.setValue("clkPort", _clkPortLineEdit->text()); 446 441 settings.setValue("clkFile", _clkFileLineEdit->text()); -
trunk/BNS/bnswindow.h
r977 r978 60 60 QLineEdit* _ephHostLineEdit; 61 61 QLineEdit* _ephPortLineEdit; 62 QLineEdit* _clkHostLineEdit;63 62 QLineEdit* _clkPortLineEdit; 64 63 QLineEdit* _clkFileLineEdit;
Note:
See TracChangeset
for help on using the changeset viewer.