Changeset 2185 in ntrip
- Timestamp:
- Jan 4, 2010, 3:52:26 PM (15 years ago)
- Location:
- trunk/BNC
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/bncwindow.cpp
r2177 r2185 338 338 _pppMountLineEdit = new QLineEdit(settings.value("pppMount").toString()); 339 339 _pppNMEALineEdit = new QLineEdit(settings.value("nmeaFile").toString()); 340 _pppNMEAPortLineEdit = new QLineEdit(settings.value("nmeaPort").toString()); 340 341 _pppRefCrdXLineEdit = new QLineEdit(settings.value("pppRefCrdX").toString()); 341 342 _pppRefCrdYLineEdit = new QLineEdit(settings.value("pppRefCrdY").toString()); … … 692 693 pppLayout->addWidget(new QLabel("NMEA file (full path)"), 3, 0); 693 694 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); 696 698 pppLayout->addWidget(new QLabel(" "), 6, 0); 699 pppLayout->addWidget(new QLabel(" "), 7, 0); 697 700 pppgroup->setLayout(pppLayout); 698 701 … … 1005 1008 settings.setValue("pppMount", _pppMountLineEdit->text()); 1006 1009 settings.setValue("nmeaFile", _pppNMEALineEdit->text()); 1010 settings.setValue("nmeaPort", _pppNMEAPortLineEdit->text()); 1007 1011 settings.setValue("pppRefCrdX", _pppRefCrdXLineEdit->text()); 1008 1012 settings.setValue("pppRefCrdY", _pppRefCrdYLineEdit->text()); … … 1545 1549 if (!_pppMountLineEdit->text().isEmpty()) { 1546 1550 _pppNMEALineEdit->setPalette(palette_white); 1551 _pppNMEAPortLineEdit->setPalette(palette_white); 1547 1552 _pppRefCrdXLineEdit->setPalette(palette_white); 1548 1553 _pppRefCrdYLineEdit->setPalette(palette_white); … … 1554 1559 _pppGLONASSCheckBox->setPalette(palette_gray); 1555 1560 _pppNMEALineEdit->setEnabled(true); 1561 _pppNMEAPortLineEdit->setEnabled(true); 1556 1562 _pppRefCrdXLineEdit->setEnabled(true); 1557 1563 _pppRefCrdYLineEdit->setEnabled(true); … … 1564 1570 } else { 1565 1571 _pppNMEALineEdit->setPalette(palette_gray); 1572 _pppNMEAPortLineEdit->setPalette(palette_gray); 1566 1573 _pppRefCrdXLineEdit->setPalette(palette_gray); 1567 1574 _pppRefCrdYLineEdit->setPalette(palette_gray); … … 1572 1579 _pppGLONASSCheckBox->setPalette(palette_gray); 1573 1580 _pppNMEALineEdit->setEnabled(false); 1581 _pppNMEAPortLineEdit->setEnabled(false); 1574 1582 _pppRefCrdXLineEdit->setEnabled(false); 1575 1583 _pppRefCrdYLineEdit->setEnabled(false); -
trunk/BNC/bncwindow.h
r2165 r2185 115 115 QLineEdit* _pppMountLineEdit; 116 116 QLineEdit* _pppNMEALineEdit; 117 QLineEdit* _pppNMEAPortLineEdit; 117 118 QLineEdit* _pppRefCrdXLineEdit; 118 119 QLineEdit* _pppRefCrdYLineEdit;
Note:
See TracChangeset
for help on using the changeset viewer.