Changeset 9237 in ntrip for trunk/BNC/src/pppWidgets.cpp


Ignore:
Timestamp:
Nov 10, 2020, 11:53:58 AM (3 years ago)
Author:
stuerze
Message:

pppMap now with OSM only

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/pppWidgets.cpp

    r9158 r9237  
    103103  _plotCoordinates  = new QLineEdit;    _plotCoordinates ->setObjectName("PPP/plotCoordinates");  _widgets << _plotCoordinates;
    104104  _mapWinButton     = new QPushButton;  _mapWinButton    ->setObjectName("PPP/mapWinButton");     _widgets << _mapWinButton;
    105   _useGoogleMap     = new QRadioButton; _useGoogleMap    ->setObjectName("PPP/useGoogleMap");     _widgets << _useGoogleMap;
    106   _useOpenStreetMap = new QRadioButton; _useOpenStreetMap->setObjectName("PPP/useOpenStreetMap"); _widgets << _useOpenStreetMap;
    107105  _audioResponse    = new QLineEdit;    _audioResponse   ->setObjectName("PPP/audioResponse");    _widgets << _audioResponse;
    108106  _mapWinDotSize    = new QLineEdit;    _mapWinDotSize   ->setObjectName("PPP/mapWinDotSize");    _widgets << _mapWinDotSize;
     
    218216  _audioResponse->setWhatsThis(tr("<p>Specify an 'Audio response' threshold in meters. A beep is produced by BNC whenever a horizontal PPP coordinate component differs by more than the threshold value from the a priori marker coordinate.</p><p>Default is an empty option field, meaning that you don't want BNC to produce alarm signals. <i>[key: PPP/audioResponse]</i></p>"));
    219217  _mapWinButton->setWhatsThis(tr("<p>You may like to track your rover position using Google Maps or Open Street Map as a background map. A 'Track map' can be produced with BNC in 'Real-Time Streams' or 'RINEX files' PPP mode.</p><p>The 'Open Map' button opens a windows showing a map according to specified options.</p><p>Even in 'RINEX files' post processing mode you should not forget to specify a proxy under the 'Network' tab if that is operated in front of BNC because the program needs to download the map data.</p>"));
    220   _useGoogleMap->setWhatsThis(tr("<p>Specify Google Maps as the background for your rover positions. <i>[key: PPP/useGoogleMap]</i></p>"));
    221   _useOpenStreetMap->setWhatsThis(tr("<p>Specify Open Street Map as the background for your rover positions. <i>[key: PPP/useOpenStreetMap]</i></p>"));
    222218  _mapWinDotSize->setWhatsThis(tr("<p>Specify the size of dots showing rover positions on the track map.</p><p>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. <i>[key: PPP/mapWinDotSize]</i></p>"));
    223219  _mapWinDotColor->setWhatsThis(tr("<p>Specify the color of dots showing the rover track on the map. <i>[key: PPP/mapWinDotColor]</i></p>"));
     
    270266  delete _plotCoordinates;
    271267  delete _mapWinButton;
    272   delete _useGoogleMap;
    273   delete _useOpenStreetMap;
    274268  delete _audioResponse;
    275269  delete _mapWinDotSize;
     
    410404  _plotCoordinates ->setText(settings.value(_plotCoordinates->objectName()).toString());
    411405  _audioResponse   ->setText(settings.value(_audioResponse->objectName()).toString());
    412   _useGoogleMap    ->setChecked(settings.value(_useGoogleMap->objectName()).toBool());
    413   _useOpenStreetMap->setChecked(settings.value(_useOpenStreetMap->objectName()).toBool());
    414406  _mapWinDotSize   ->setText(settings.value(_mapWinDotSize->objectName()).toString());
    415407
     
    479471  settings.setValue(_plotCoordinates ->objectName(), _plotCoordinates ->text());
    480472  settings.setValue(_audioResponse   ->objectName(), _audioResponse   ->text());
    481   settings.setValue(_useGoogleMap    ->objectName(), _useGoogleMap    ->isChecked());
    482   settings.setValue(_useOpenStreetMap->objectName(), _useOpenStreetMap->isChecked());
    483473  settings.setValue(_mapWinDotSize   ->objectName(), _mapWinDotSize   ->text());
    484474  settings.setValue(_mapWinDotColor  ->objectName(), _mapWinDotColor  ->currentText());
Note: See TracChangeset for help on using the changeset viewer.