Changeset 1083 in ntrip
- Timestamp:
- Aug 31, 2008, 6:58:02 PM (16 years ago)
- Location:
- trunk/BNS
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNS/bnseph.cpp
r1058 r1083 56 56 if (!_socket->waitForConnected(timeOut)) { 57 57 emit(newMessage("bnseph::run Connect Timeout")); 58 msleep(1000); 58 59 } 59 60 } -
trunk/BNS/bnswindow.cpp
r1071 r1083 153 153 154 154 _inpEchoLineEdit = new QLineEdit(settings.value("inpEcho").toString()); 155 _inpEchoLineEdit->setWhatsThis(tr("Specify the full path to a file where incoming clocks and orbits are saved. Beware that the size of this file can rapidly increase. Default is an empty option field meaning that incoming clocks and orbits are not saved.")); 155 156 156 157 _ephHostLineEdit = new QLineEdit(settings.value("ephHost").toString()); … … 161 162 162 163 _clkPortLineEdit = new QLineEdit(settings.value("clkPort").toString()); 163 _clkPortLineEdit->setWhatsThis(tr("BNS reads Clocks & Orbits referring to the IGS system (X,Y,Z, ECEF) in plain ASCII format from an IP port. Specify a local IP port e.g. foran RTNet installation to provide this information."));164 _clkPortLineEdit->setWhatsThis(tr("BNS reads Clocks & Orbits referring to the IGS system (X,Y,Z, ECEF) in plain ASCII format from an IP port. Specify a local IP port e.g. of an RTNet installation to provide this information.")); 164 165 _clkPortLineEdit->setMaximumWidth(9*ww); 165 166 … … 255 256 layout_prx->setColumnMinimumWidth(0,9*ww); 256 257 257 layout_prx->addWidget(new QLabel(" Proxy host"),0, 0, Qt::AlignLeft);258 layout_prx->addWidget(new QLabel("Host"), 0, 0, Qt::AlignLeft); 258 259 layout_prx->addWidget(_proxyHostLineEdit, 0, 1); 259 layout_prx->addWidget(new QLabel("P roxy port"),1, 0, Qt::AlignLeft);260 layout_prx->addWidget(new QLabel("Port"), 1, 0, Qt::AlignLeft); 260 261 layout_prx->addWidget(_proxyPortLineEdit, 1, 1); 261 262 layout_prx->addWidget(new QLabel("Settings for the proxy in protected networks, leave boxes blank if none."),2, 0, 1, 2, Qt::AlignLeft); 262 263 layout_prx->addWidget(new QLabel(" "), 3, 0); 263 layout_prx->addWidget(new QLabel(" "), 4, 0);264 264 265 265 tab_prx->setLayout(layout_prx); … … 277 277 layout_gen->addWidget(new QLabel("Append files"), 1, 0); 278 278 layout_gen->addWidget(_fileAppendCheckBox, 1, 1); 279 layout_gen->addWidget(new QLabel("General settings for logfile , file handling and target reference system."), 2, 0, 1, 2, Qt::AlignLeft);279 layout_gen->addWidget(new QLabel("General settings for logfile and file handling."), 2, 0, 1, 2, Qt::AlignLeft); 280 280 layout_gen->addWidget(new QLabel(" "), 3, 0); 281 281 282 282 tab_gen->setLayout(layout_gen); 283 283 284 // Input Tab 285 // --------- 286 QWidget* tab_inp = new QWidget(); 287 tabs->addTab(tab_inp, "Input"); 288 289 QGridLayout* layout_inp = new QGridLayout; 290 layout_inp->setColumnMinimumWidth(0, 9*ww); 291 292 layout_inp->addWidget(new QLabel("Clocks & Orbits"), 0, 0, Qt::AlignLeft); 293 layout_inp->addWidget(new QLabel("BNS listening on Port"), 0, 2, 1, 2, Qt::AlignRight); 294 layout_inp->addWidget(_clkPortLineEdit, 0, 4); 295 layout_inp->addWidget(new QLabel("Save"), 0, 5, Qt::AlignRight); 296 layout_inp->addWidget(_inpEchoLineEdit, 0, 6); 297 layout_inp->addWidget(new QLabel("Ephemeris"), 1, 0, Qt::AlignLeft); 298 layout_inp->addWidget(new QLabel("Host"), 1, 1, Qt::AlignRight); 299 layout_inp->addWidget(_ephHostLineEdit, 1, 2); 300 layout_inp->addWidget(new QLabel("Port"), 1, 3, Qt::AlignRight); 301 layout_inp->addWidget(_ephPortLineEdit, 1, 4); 302 layout_inp->addWidget(new QLabel("Read broadcast ephemeris and IGS clocks and orbits."), 2, 0, 1, 6, Qt::AlignLeft); 303 layout_inp->addWidget(new QLabel(""), 3, 0); 304 305 tab_inp->setLayout(layout_inp); 306 307 // NTRIP Caster Tab 308 // ---------------- 284 // Ephemeris Tab 285 // ------------- 286 QWidget* tab_eph = new QWidget(); 287 tabs->addTab(tab_eph, "Ephemeris"); 288 289 QGridLayout* layout_eph = new QGridLayout; 290 layout_eph->setColumnMinimumWidth(0, 9*ww); 291 292 layout_eph->addWidget(new QLabel("Host"), 0, 0); 293 layout_eph->addWidget(_ephHostLineEdit, 0, 1); 294 layout_eph->addWidget(new QLabel("Port"), 1, 0); 295 layout_eph->addWidget(_ephPortLineEdit, 1, 1); 296 layout_eph->addWidget(new QLabel("Read broadcast ephemeris."), 2, 0, 1, 2, Qt::AlignLeft); 297 layout_eph->addWidget(new QLabel(""), 3, 0); 298 299 tab_eph->setLayout(layout_eph); 300 301 // Clock & Orbit Tab 302 // ----------------- 303 QWidget* tab_co = new QWidget(); 304 tabs->addTab(tab_co,"Clocks && Orbits"); 305 306 307 QGridLayout* layout_co = new QGridLayout; 308 layout_co->setColumnMinimumWidth(0, 9*ww); 309 310 layout_co->addWidget(new QLabel("Listening port"), 0, 0); 311 layout_co->addWidget(_clkPortLineEdit, 0, 1); 312 layout_co->addWidget(new QLabel("Save (full path)"), 1, 0); 313 layout_co->addWidget(_inpEchoLineEdit, 1, 1); 314 layout_co->addWidget(new QLabel("Read IGS clocks and orbits."), 2, 0, 1, 2, Qt::AlignLeft); 315 layout_co->addWidget(new QLabel(""), 3, 0); 316 317 tab_co->setLayout(layout_co); 318 319 // Caster Tab 320 // ---------- 309 321 QWidget* tab_cas = new QWidget(); 310 tabs->addTab(tab_cas, " NTRIP Caster");322 tabs->addTab(tab_cas, "Corrections"); 311 323 312 324 QGridLayout* layout_cas = new QGridLayout; … … 314 326 315 327 layout_cas->addWidget(new QLabel("Host"), 0, 0, Qt::AlignLeft); 316 layout_cas->addWidget(_outHostLineEdit, 0, 1 );317 layout_cas->addWidget(new QLabel("Port"), 0, 2, Qt::AlignLeft);318 layout_cas->addWidget(_outPortLineEdit, 0, 3);319 layout_cas->addWidget(new QLabel("Password"), 0, 4, Qt::AlignLeft);320 layout_cas->addWidget(_passwordLineEdit, 0, 5);328 layout_cas->addWidget(_outHostLineEdit, 0, 1, 1, 2); 329 layout_cas->addWidget(new QLabel("Port"), 0, 3, Qt::AlignRight); 330 layout_cas->addWidget(_outPortLineEdit, 0, 4); 331 layout_cas->addWidget(new QLabel("Password"), 0, 5, Qt::AlignRight); 332 layout_cas->addWidget(_passwordLineEdit, 0, 6); 321 333 322 334 layout_cas->addWidget(new QLabel("Mountpoint 1"), 1, 0, Qt::AlignLeft); 323 335 layout_cas->addWidget(_mountpoint_1_LineEdit, 1, 1); 324 layout_cas->addWidget(new QLabel("S ave stream (full path)"), 1, 2, Qt::AlignLeft);325 layout_cas->addWidget(_ outFile_1_LineEdit,1, 3);326 layout_cas->addWidget(new QLabel("S ystem"), 1, 4);327 layout_cas->addWidget(_ refSys_1_ComboBox, 1, 5);336 layout_cas->addWidget(new QLabel("System"), 1, 2, Qt::AlignRight); 337 layout_cas->addWidget(_refSys_1_ComboBox, 1, 3); 338 layout_cas->addWidget(new QLabel("Save (full path)"), 1, 4, Qt::AlignRight); 339 layout_cas->addWidget(_outFile_1_LineEdit, 1, 5, 1, 6); 328 340 329 341 layout_cas->addWidget(new QLabel("Mountpoint 2"), 2, 0, Qt::AlignLeft); 330 342 layout_cas->addWidget(_mountpoint_2_LineEdit, 2, 1); 331 layout_cas->addWidget(new QLabel("Save stream (full path)"), 2, 2, Qt::AlignLeft); 332 layout_cas->addWidget(_outFile_2_LineEdit, 2, 3); 333 layout_cas->addWidget(new QLabel("System"), 2, 4); 334 layout_cas->addWidget(_refSys_2_ComboBox, 2, 5); 335 336 layout_cas->addWidget(new QLabel("Stream upload of clock and orbit corrections to NTRIP broadcaster."), 4, 0, 1, 4, Qt::AlignLeft); 337 layout_cas->addWidget(new QLabel(""), 5, 0); 343 layout_cas->addWidget(new QLabel("System"), 2, 2, Qt::AlignRight); 344 layout_cas->addWidget(_refSys_2_ComboBox, 2, 3); 345 layout_cas->addWidget(new QLabel("Save (full path)"), 2, 4, Qt::AlignRight); 346 layout_cas->addWidget(_outFile_2_LineEdit, 2, 5, 1, 6); 347 348 layout_cas->addWidget(new QLabel("Broadcast ephemeris corrections, upload to caster, reference system, local storage."), 3, 0, 1, 7, Qt::AlignLeft); 338 349 339 350 tab_cas->setLayout(layout_cas); … … 354 365 layout_rin->addWidget(_rnxSamplSpinBox, 2, 1); 355 366 layout_rin->addWidget(new QLabel("Save clock corrections in Clock RINEX file format."), 3, 0, 1, 2, Qt::AlignLeft); 356 layout_rin->addWidget(new QLabel(""), 4, 0);357 367 358 368 tab_rin->setLayout(layout_rin); … … 373 383 layout_sp3->addWidget(_sp3SamplSpinBox, 2, 1); 374 384 layout_sp3->addWidget(new QLabel("Save orbit corrections in SP3 file format."), 3, 0, 1, 2, Qt::AlignLeft); 375 layout_sp3->addWidget(new QLabel(""), 4, 0);376 385 377 386 tab_sp3->setLayout(layout_sp3); … … 385 394 // Status 386 395 // ------ 387 _status = new QWidget(); 396 //_status = new QWidget(); 397 _status = new QGroupBox(tr("Status")); 388 398 QGridLayout* layout_status = new QGridLayout; 389 399 … … 391 401 _statusLbl[1] = new QLabel("0 byte(s)"); _statusCnt[1] = 0; 392 402 _statusLbl[2] = new QLabel("0 byte(s)"); _statusCnt[2] = 0; 393 _statusLbl[3] = new QLabel("Input Ephemeris"); 394 _statusLbl[4] = new QLabel("Input Clocks & Orbits"); 395 _statusLbl[5] = new QLabel("Output"); 403 _statusLbl[3] = new QLabel("Ephemeris:"); 404 _statusLbl[4] = new QLabel("Clocks & Orbits:"); 405 _statusLbl[5] = new QLabel("Corrections:"); 406 407 _statusLbl[0]->setWhatsThis(tr("Status of incoming broadcast ephemeris.")); 408 _statusLbl[1]->setWhatsThis(tr("Status of incoming stream of clocks and orbits.")); 409 _statusLbl[2]->setWhatsThis(tr("Status of outgoing stream to NTRIP broadcaster.")); 410 _statusLbl[3]->setWhatsThis(tr("Status of incoming broadcast ephemeris.")); 411 _statusLbl[4]->setWhatsThis(tr("Status of incoming stream of clocks and orbits.")); 412 _statusLbl[5]->setWhatsThis(tr("Status of outgoing stream to NTRIP broadcaster.")); 396 413 397 414 layout_status->addWidget(_statusLbl[3], 0, 0); 398 415 layout_status->addWidget(_statusLbl[0], 0, 1); 399 layout_status->addWidget(_statusLbl[4], 0, 2);400 layout_status->addWidget(_statusLbl[1], 0, 3);401 layout_status->addWidget(_statusLbl[5], 1, 2);402 layout_status->addWidget(_statusLbl[2], 1, 3);416 layout_status->addWidget(_statusLbl[4], 1, 0); 417 layout_status->addWidget(_statusLbl[1], 1, 1); 418 layout_status->addWidget(_statusLbl[5], 0, 2); 419 layout_status->addWidget(_statusLbl[2], 0, 3); 403 420 _status->setLayout(layout_status); 404 421 -
trunk/BNS/bnswindow.h
r1071 r1083 96 96 QTextEdit* _log; 97 97 98 QWidget* _status; 98 //QWidget* _status; 99 QGroupBox* _status; 99 100 QLabel* _statusLbl[6]; 100 101 double _statusCnt[3];
Note:
See TracChangeset
for help on using the changeset viewer.