Changeset 1601 in ntrip
- Timestamp:
- Feb 17, 2009, 6:00:42 PM (16 years ago)
- Location:
- trunk/BNC
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/bncsettings.cpp
r1595 r1601 66 66 setValue("serialBaudRate", "9600"); 67 67 setValue("serialDataBits", "8"); 68 setValue("serialFileNMEA", ""); 68 69 setValue("serialHeightNMEA", ""); 69 70 setValue("serialMountPoint", ""); -
trunk/BNC/bncwindow.cpp
r1596 r1601 274 274 _serialAutoNMEAComboBox->setCurrentIndex(kk); 275 275 } 276 _serialFileNMEALineEdit = new QLineEdit(settings.value("serialFileNMEA").toString()); 276 277 _serialHeightNMEALineEdit = new QLineEdit(settings.value("serialHeightNMEA").toString()); 277 278 _perfIntrComboBox = new QComboBox(); … … 350 351 _serialStopBitsComboBox->setWhatsThis(tr("<p>Select the number of 'Stop bits' for the serial link.</p><p>Note that your selection must equal the number of stop bits configured to the serial connected device. Note further that often 1 stop bit is used.</p>")); 351 352 _serialAutoNMEAComboBox->setWhatsThis(tr("<p>Concerning virtual reference stations (VRS):<p></p>Select 'Auto' to automatically forward NMEA GGA messages coming from your serial connected device to the NTRIP broadcaster.</p><p>Note that this replaces the 'Manual' simulation of an initial NMEA GGA message based on the approximate (editable) VRS latitude/longitude from the broadcaster's sourcetable and an approximate VRS height to be specified.</p><p>The setting of this option is ignored in case of streams coming from physical reference stations.</p>")); 352 _serialHeightNMEALineEdit->setWhatsThis(tr("<p>Concerning virtual reference stations (VRS):<p></p>Specify an approximate 'Height' in meter for your VRS to simulate an inital NMEA GGA message.</p><p>The setting of this option is ignored in case of streams coming from physical reference stations.</p>")); 353 _serialFileNMEALineEdit->setWhatsThis(tr("<p>Save NMEA.</p>")); 354 _serialHeightNMEALineEdit->setWhatsThis(tr("<p>Concerning virtual reference stations (VRS):<p></p>Specify an approximate 'Height' above mean sea level in meter for your VRS to simulate an inital NMEA GGA message.</p><p>The setting of this option is ignored in case of streams coming from physical reference stations.</p>")); 353 355 354 356 // Canvas with Editable Fields … … 613 615 serLayout->addWidget(new QLabel("NMEA"), 4,0); 614 616 serLayout->addWidget(_serialAutoNMEAComboBox, 4,1); 615 serLayout->addWidget(new QLabel("Height"), 4,2, Qt::AlignRight); 616 serLayout->addWidget(_serialHeightNMEALineEdit, 4,3); 617 serLayout->addWidget(new QLabel("File (full path)"), 4,2, Qt::AlignRight); 618 serLayout->addWidget(_serialFileNMEALineEdit, 4,3,1,25); 619 serLayout->addWidget(new QLabel("Height"), 4,29, Qt::AlignRight); 620 serLayout->addWidget(_serialHeightNMEALineEdit, 4,30); 617 621 serLayout->addWidget(new QLabel("Serial port settings to feed a serial connected device."),5,0,1,30); 618 622 … … 628 632 _serialStopBitsComboBox->setStyleSheet("background-color: lightGray"); 629 633 _serialAutoNMEAComboBox->setStyleSheet("background-color: lightGray"); 634 _serialFileNMEALineEdit->setStyleSheet("background-color: lightGray"); 630 635 _serialHeightNMEALineEdit->setStyleSheet("background-color: lightGray"); 631 636 _serialPortNameLineEdit->setEnabled(false); … … 635 640 _serialStopBitsComboBox->setEnabled(false); 636 641 _serialAutoNMEAComboBox->setEnabled(false); 642 _serialFileNMEALineEdit->setEnabled(false); 637 643 _serialHeightNMEALineEdit->setEnabled(false); 638 644 } else { … … 640 646 _serialHeightNMEALineEdit->setStyleSheet("background-color: lightGray"); 641 647 _serialHeightNMEALineEdit->setEnabled(false); 648 } 649 if (_serialAutoNMEAComboBox->currentText() != "Auto" ) { 650 _serialFileNMEALineEdit->setStyleSheet("background-color: lightGray"); 651 _serialFileNMEALineEdit->setEnabled(false); 642 652 } 643 653 } … … 912 922 settings.setValue("rnxV3", _rnxV3CheckBox->checkState()); 913 923 settings.setValue("scanRTCM", _scanRTCMCheckBox->checkState()); 924 settings.setValue("serialFileNMEA",_serialFileNMEALineEdit->text()); 914 925 settings.setValue("serialHeightNMEA",_serialHeightNMEALineEdit->text()); 915 926 settings.setValue("serialAutoNMEA", _serialAutoNMEAComboBox->currentText()); … … 1330 1341 _serialHeightNMEALineEdit->setStyleSheet("background-color: white"); 1331 1342 _serialHeightNMEALineEdit->setEnabled(true); 1343 _serialFileNMEALineEdit->setStyleSheet("background-color: lightGray"); 1344 _serialFileNMEALineEdit->setEnabled(false); 1332 1345 } else { 1333 1346 _serialHeightNMEALineEdit->setStyleSheet("background-color: lightGray"); 1334 1347 _serialHeightNMEALineEdit->setEnabled(false); 1348 _serialFileNMEALineEdit->setStyleSheet("background-color: white"); 1349 _serialFileNMEALineEdit->setEnabled(true); 1335 1350 } 1336 1351 } else { … … 1341 1356 _serialStopBitsComboBox->setStyleSheet("background-color: lightGray"); 1342 1357 _serialAutoNMEAComboBox->setStyleSheet("background-color: lightGray"); 1358 _serialFileNMEALineEdit->setStyleSheet("background-color: lightGray"); 1343 1359 _serialHeightNMEALineEdit->setStyleSheet("background-color: lightGray"); 1344 1360 _serialPortNameLineEdit->setEnabled(false); … … 1349 1365 _serialAutoNMEAComboBox->setEnabled(false); 1350 1366 _serialHeightNMEALineEdit->setEnabled(false); 1367 _serialFileNMEALineEdit->setEnabled(false); 1351 1368 } 1352 1369 } -
trunk/BNC/bncwindow.h
r1595 r1601 139 139 QComboBox* _serialStopBitsComboBox; 140 140 QLineEdit* _serialHeightNMEALineEdit; 141 QLineEdit* _serialFileNMEALineEdit; 141 142 QComboBox* _serialAutoNMEAComboBox; 142 143
Note:
See TracChangeset
for help on using the changeset viewer.