Index: /trunk/BNC/src/PPP/pppWidgets.cpp =================================================================== --- /trunk/BNC/src/PPP/pppWidgets.cpp (revision 5894) +++ /trunk/BNC/src/PPP/pppWidgets.cpp (revision 5895) @@ -120,4 +120,11 @@ _mapSpeedSlider->setTickInterval(10); + _mapWinButton->setWhatsThis(tr("
You make like to track your rover position using Google Maps or Open Street Map as a background map. Track plots can be produced with BNC in 'Realtime-PPP', 'Realtime-SPP' and 'Post-Processing' mode.
The 'Open Map' button opens a windows showing a map according to specified options.
When in 'Post-Processing' mode you should not forget to specify a proxy under the 'Network' tab if that is operated in front of BNC.")); + _gmRadioButton->setWhatsThis(tr("
Specify Google Maps as the background for your rover positions.")); + _osmRadioButton->setWhatsThis(tr("
Specify Open Street Map as the background for your rover positions.")); + _mapWinDotSizeLineEdit->setWhatsThis(tr("
Specify the size of dots showing the rover positions.
A dot size of '3' may be appropriate. The maximum possible dot size is '10'. An empty option field or a size of '0' would mean that you don't want BNC to show the rover's track on the map.
")); + _mapWinDotColorComboBox->setWhatsThis(tr("Specify the color of dots showing the rover track.
")); + _mapSpeedSlider->setWhatsThis(tr("With BNC in PPP post-processing mode you can specify the speed of computations as appropriate for visualization. Note that you can adjust 'Speed' on-the-fly while BNC is already processing your observations.")); + readOptions(); } Index: /trunk/BNC/src/bncwindow.cpp =================================================================== --- /trunk/BNC/src/bncwindow.cpp (revision 5894) +++ /trunk/BNC/src/bncwindow.cpp (revision 5895) @@ -884,8 +884,6 @@ QHBoxLayout* pppLayout4Hlp1 = new QHBoxLayout; - _pppPlotCoordinates = new QCheckBox(); - _pppPlotCoordinates->setCheckState(Qt::CheckState(settings.value("pppPlotCoordinates").toInt())); pppLayout4Hlp1->addWidget(new QLabel("PPP Plot ")); - pppLayout4Hlp1->addWidget(_pppPlotCoordinates); + pppLayout4Hlp1->addWidget(_pppWidgets._plotCoordinates); pppLayout4Hlp1->addWidget(new QLabel("Nort-East-Up Time Series")); pppLayout4Hlp1->addStretch(); @@ -895,52 +893,28 @@ QHBoxLayout* pppLayout4Hlp2 = new QHBoxLayout; pppLayout4Hlp2->addWidget(new QLabel("Track Plot ")); - _mapWinButton = new QPushButton; - _mapWinButton->setText("Open Map"); - connect(_mapWinButton, SIGNAL(clicked()), SLOT(slotMapPPP())); - pppLayout4Hlp2->addWidget(_mapWinButton); + connect(_pppWidgets._mapWinButton, SIGNAL(clicked()), SLOT(slotMapPPP())); + pppLayout4Hlp2->addWidget(_pppWidgets._mapWinButton); pppLayout4Hlp2->addSpacing(1*ww); - _gmRadioButton = new QRadioButton; - _gmRadioButton->setChecked(!settings.value("useOsmMap").toBool()); pppLayout4Hlp2->addWidget(new QLabel("Google")); - pppLayout4Hlp2->addWidget(_gmRadioButton); - - _osmRadioButton = new QRadioButton; - _osmRadioButton->setChecked(settings.value("useOsmMap").toBool()); + pppLayout4Hlp2->addWidget(_pppWidgets._gmRadioButton); + pppLayout4Hlp2->addWidget(new QLabel("OSM")); - pppLayout4Hlp2->addWidget(_osmRadioButton); + pppLayout4Hlp2->addWidget(_pppWidgets._osmRadioButton); pppLayout4Hlp2->addSpacing(3*ww); - _mapWinDotSizeLineEdit = new QLineEdit(settings.value("mapWinDotSize").toString()); - pppLayout4Hlp2->addWidget(new QLabel("Dot Size")); - _mapWinDotSizeLineEdit->setMaximumWidth(5*ww); - pppLayout4Hlp2->addWidget(_mapWinDotSizeLineEdit); + _pppWidgets._mapWinDotSizeLineEdit->setMaximumWidth(5*ww); + pppLayout4Hlp2->addWidget(_pppWidgets._mapWinDotSizeLineEdit); pppLayout4Hlp2->addSpacing(3*ww); - _mapWinDotColorComboBox = new QComboBox(); - pppLayout4Hlp2->addWidget(new QLabel("Dot Color")); - _mapWinDotColorComboBox->setEditable(false); - _mapWinDotColorComboBox->addItems(QString("red,yellow").split(",")); - ii = _mapWinDotColorComboBox->findText(settings.value("mapWinDotColor").toString()); - if (ii != -1) { - _mapWinDotColorComboBox->setCurrentIndex(ii); - } - pppLayout4Hlp2->addWidget(_mapWinDotColorComboBox); + pppLayout4Hlp2->addWidget(_pppWidgets._mapWinDotColorComboBox); pppLayout4Hlp2->addSpacing(3*ww); - _mapSpeedSlider = new QSlider; - _mapSpeedSlider->setOrientation(Qt::Horizontal); - _mapSpeedSlider->setRange(1, 100); - _mapSpeedSlider->setTickPosition(QSlider::TicksBelow); - _mapSpeedSlider->setTickInterval(10); - int speed = settings.value("mapSpeed").toInt(); - if (speed == 0) speed = _mapSpeedSlider->maximum(); - _mapSpeedSlider->setSliderPosition(speed); pppLayout4Hlp2->addWidget(new QLabel("Speed")); - pppLayout4Hlp2->addWidget(_mapSpeedSlider); + pppLayout4Hlp2->addWidget(_pppWidgets._mapSpeedSlider); pppLayout4Hlp2->addStretch(); @@ -1197,10 +1171,4 @@ _reqcActionComboBox->setWhatsThis(tr("
BNC allows to edit or concatenate RINEX v2 or v3 files or to perform a quality check following UNAVCO's famous 'teqc' program.
")); _reqcEditOptionButton->setWhatsThis(tr("Specify options for editing RINEX v2 or v3 files.
")); - _mapWinButton->setWhatsThis(tr("You make like to track your rover position using Google Maps or Open Street Map as a background map. Track plots can be produced with BNC in 'Realtime-PPP', 'Realtime-SPP' and 'Post-Processing' mode.
The 'Open Map' button opens a windows showing a map according to specified options.
When in 'Post-Processing' mode you should not forget to specify a proxy under the 'Network' tab if that is operated in front of BNC.")); - _gmRadioButton->setWhatsThis(tr("
Specify Google Maps as the background for your rover positions.")); - _osmRadioButton->setWhatsThis(tr("
Specify Open Street Map as the background for your rover positions.")); - _mapWinDotSizeLineEdit->setWhatsThis(tr("
Specify the size of dots showing the rover positions.
A dot size of '3' may be appropriate. The maximum possible dot size is '10'. An empty option field or a size of '0' would mean that you don't want BNC to show the rover's track on the map.
")); - _mapWinDotColorComboBox->setWhatsThis(tr("Specify the color of dots showing the rover track.
")); - _mapSpeedSlider->setWhatsThis(tr("With BNC in PPP post-processing mode you can specify the speed of computations as appropriate for visualization. Note that you can adjust 'Speed' on-the-fly while BNC is already processing your observations.")); _bncFigurePPP->setWhatsThis(tr("PPP time series of North (red), East (green) and Up (blue) coordinate components are shown in the 'PPP Plot' tab when the corresponting option is selected above. Values are either referred to an XYZ reference coordinate (if specified) or referred to the first estimated set of coordinate compoments. The sliding PPP time series window covers the period of the latest 5 minutes.")); _cmbTable->setWhatsThis(tr("
BNC allows to process several orbit and clock corrections streams in real-time to produce, encode, upload and save a combination of correctors coming from various providers. Hit the 'Add Row' button, double click on the 'Mountpoint' field to enter a Broadcast Ephemeris corrections mountpoint from the 'Streams' section below and hit Enter. Then double click on the 'AC Name' field to enter your choice of an abbreviation for the Analysis Center (AC) providing the stream. Finally, double click on the 'Weight' field to enter the weight to be applied for this stream in the combination.
Note further that the orbit information in the final combination stream is just copied from one of the incoming streams. The stream used for providing the orbits may vary over time: if the orbit providing stream has an outage then BNC switches to the next remaining stream for getting hold of the orbit information.
The combination process requires Broadcast Ephemeris. Besides the orbit and clock corrections stream(s) BNC should therefore pull a stream carrying Broadcast Ephemeris in the form of RTCM Version 3 messages.
It is possible to specify only one Broadcast Ephemeris corrections stream in the combination table. Instead of combining corrections BNC will then merge them with Broadcast Ephemeris to save results in SP3 and/or Clock RINEX format.")); @@ -1623,9 +1591,4 @@ settings.setValue("perfIntr", _perfIntrComboBox->currentText()); settings.setValue("scanRTCM", _scanRTCMCheckBox->checkState()); - settings.setValue("pppPlotCoordinates", _pppPlotCoordinates->checkState()); - settings.setValue("useOsmMap", _osmRadioButton->isChecked()); - settings.setValue("mapWinDotSize", _mapWinDotSizeLineEdit->text()); - settings.setValue("mapWinDotColor", _mapWinDotColorComboBox->currentText()); - settings.setValue("mapSpeed", _mapSpeedSlider->value()); // Reqc settings.setValue("reqcAction", _reqcActionComboBox->currentText()); @@ -2467,9 +2430,9 @@ #ifdef QT_WEBKIT saveOptions(); - enableWidget(false, _mapWinButton); - enableWidget(false, _gmRadioButton); - enableWidget(false, _osmRadioButton); - enableWidget(false, _mapWinDotSizeLineEdit); - enableWidget(false, _mapWinDotColorComboBox); + enableWidget(false, _pppWidgets._mapWinButton); + enableWidget(false, _pppWidgets._gmRadioButton); + enableWidget(false, _pppWidgets._osmRadioButton); + enableWidget(false, _pppWidgets._mapWinDotSizeLineEdit); + enableWidget(false, _pppWidgets._mapWinDotColorComboBox); if (!_mapWin) {