Changeset 2596 in ntrip
- Timestamp:
- Sep 8, 2010, 4:08:14 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/bncwindow.cpp
r2483 r2596 115 115 _actStop->setEnabled(false); 116 116 117 _actwhatsthis= new QAction(tr("Help=Shift+F1"),this); 117 _actwhatsthis= new QAction(tr("Help ?=Shift+F1"),this); 118 118 connect(_actwhatsthis, SIGNAL(triggered()), SLOT(slotWhatsThis())); 119 119 … … 342 342 _pppNMEAPortLineEdit = new QLineEdit(settings.value("nmeaPort").toString()); 343 343 _pppSigCLineEdit = new QLineEdit(settings.value("pppSigmaCode").toString()); 344 _pppAverageLineEdit = new QLineEdit(settings.value("pppAverage").toString()); 344 345 _pppRefCrdXLineEdit = new QLineEdit(settings.value("pppRefCrdX").toString()); 345 346 _pppRefCrdYLineEdit = new QLineEdit(settings.value("pppRefCrdY").toString()); … … 469 470 _pppOriginComboBox->setWhatsThis(tr("<p>Select an origin for North/East/Up time series plots in the 'PPP Plot' tab. This option makes only sense for a stationary receiver.</p>")); 470 471 _pppSigCLineEdit->setWhatsThis(tr("<p>Enter a sigma for your code observations in meters.</p><p>5.0 (default) is likely to be an appropriate choice.</p>")); 472 _pppAverageLineEdit->setWhatsThis(tr("<p>Enter the length of a sliding time window in minutes. BNC will continuously output moving average positions computed from those individual positions obtained most recently throughout this period.</p><p>An empty option field (default) means that you don't wont BNC to output moving average positions into the log file.</p>")); 471 473 _pppRefCrdXLineEdit->setWhatsThis(tr("<p>You may enter reference coordinates of the receiver position if known. The time series plots shown in the 'PPP Plot' tab will then be referred to these values.</p>")); 472 474 _pppRefCrdYLineEdit->setWhatsThis(tr("<p>You may enter reference coordinates of the receiver position if known. The time series plots shown in the 'PPP Plot' tab will then be referred to these values.</p>")); … … 707 709 QGridLayout* pppLayout = new QGridLayout; 708 710 _pppSigCLineEdit->setMaximumWidth(5*ww); 711 _pppAverageLineEdit->setMaximumWidth(5*ww); 709 712 _pppRefCrdXLineEdit->setMaximumWidth(14*ww); 710 713 _pppRefCrdYLineEdit->setMaximumWidth(14*ww); … … 726 729 pppLayout->addWidget(_pppGLONASSCheckBox, 1, 7); 727 730 pppLayout->addWidget(new QLabel("Use GLONASS"), 1, 8); 728 pppLayout->addWidget(new QLabel(" Sigma code"),2, 0);731 pppLayout->addWidget(new QLabel("Options cont'd"), 2, 0); 729 732 pppLayout->addWidget(_pppSigCLineEdit, 2, 1); 733 pppLayout->addWidget(new QLabel("Sigma code"), 2, 2); 734 pppLayout->addWidget(_pppAverageLineEdit, 2, 4); 735 pppLayout->addWidget(new QLabel("Averaging"), 2, 4, Qt::AlignRight); 730 736 pppLayout->addWidget(new QLabel("Plot origin"), 3, 0); 731 737 pppLayout->addWidget(_pppOriginComboBox, 3, 1, 1, 2); … … 1056 1062 settings.setValue("nmeaPort", _pppNMEAPortLineEdit->text()); 1057 1063 settings.setValue("pppSigmaCode",_pppSigCLineEdit->text()); 1064 settings.setValue("pppAverage", _pppAverageLineEdit->text()); 1058 1065 settings.setValue("pppRefCrdX", _pppRefCrdXLineEdit->text()); 1059 1066 settings.setValue("pppRefCrdY", _pppRefCrdYLineEdit->text()); … … 1638 1645 _pppRefCrdZLineEdit->setEnabled(false); 1639 1646 } 1647 if (_pppOriginComboBox->currentText() != "No plot" ) { 1648 _pppAverageLineEdit->setPalette(palette_white); 1649 _pppAverageLineEdit->setEnabled(true); 1650 } 1651 else { 1652 _pppAverageLineEdit->setPalette(palette_gray); 1653 _pppAverageLineEdit->setEnabled(false); 1654 } 1640 1655 if (_pppUsePhaseCheckBox->isChecked() 1641 1656 && !_pppMountLineEdit->text().isEmpty()) { … … 1660 1675 _pppOriginComboBox->setPalette(palette_gray); 1661 1676 _pppSigCLineEdit->setPalette(palette_gray); 1677 _pppAverageLineEdit->setPalette(palette_gray); 1662 1678 _pppSPPComboBox->setEnabled(false); 1663 1679 _pppNMEALineEdit->setEnabled(false); … … 1672 1688 _pppOriginComboBox->setEnabled(false); 1673 1689 _pppSigCLineEdit->setEnabled(false); 1674 } 1675 } 1676 } 1690 _pppAverageLineEdit->setEnabled(false); 1691 } 1692 } 1693 }
Note:
See TracChangeset
for help on using the changeset viewer.