Changeset 5304 in ntrip for trunk


Ignore:
Timestamp:
Jun 29, 2013, 7:00:31 PM (11 years ago)
Author:
weber
Message:

Color for track dots added

File:
1 edited

Legend:

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

    r5300 r5304  
    10371037  _pppPlotCoordinates = new QCheckBox();
    10381038  _pppPlotCoordinates->setCheckState(Qt::CheckState(settings.value("pppPlotCoordinates").toInt()));
    1039   ppp3LayoutHlp1->addWidget(new QLabel("PPP Plot         "));
     1039  ppp3LayoutHlp1->addWidget(new QLabel("PPP Plot           "));
    10401040  ppp3LayoutHlp1->addWidget(_pppPlotCoordinates);
    10411041  ppp3LayoutHlp1->addWidget(new QLabel("Nort-East-Up Time Series"));
     
    10451045
    10461046  QHBoxLayout* ppp3LayoutHlp2 = new QHBoxLayout;
    1047   ppp3LayoutHlp2->addWidget(new QLabel("Track Plot       "));
     1047  ppp3LayoutHlp2->addWidget(new QLabel("Track Plot         "));
    10481048  _mapWinButton = new QPushButton;
    10491049  _mapWinButton->setText("Open Map");
     
    10511051  ppp3LayoutHlp2->addWidget(_mapWinButton);
    10521052
    1053   ppp3LayoutHlp2->addSpacing(5*ww);
     1053  ppp3LayoutHlp2->addSpacing(1*ww);
    10541054
    10551055  _gmRadioButton  = new QRadioButton;
     
    10631063  ppp3LayoutHlp2->addWidget(_osmRadioButton);
    10641064
    1065   ppp3LayoutHlp2->addSpacing(5*ww);
     1065  ppp3LayoutHlp2->addSpacing(3*ww);
    10661066
    10671067  _mapWinDotSizeLineEdit  = new QLineEdit(settings.value("mapWinDotSize").toString());
    10681068  ppp3LayoutHlp2->addWidget(new QLabel("Dot Size"));
    1069   _mapWinDotSizeLineEdit->setMaximumWidth(9*ww);
     1069  _mapWinDotSizeLineEdit->setMaximumWidth(5*ww);
    10701070  ppp3LayoutHlp2->addWidget(_mapWinDotSizeLineEdit);
    10711071
    1072   ppp3LayoutHlp2->addSpacing(5*ww);
     1072  ppp3LayoutHlp2->addSpacing(3*ww);
     1073
     1074  _mapWinDotColorComboBox = new QComboBox();
     1075  ppp3LayoutHlp2->addWidget(new QLabel("Dot Color"));
     1076  _mapWinDotColorComboBox->setEditable(false);
     1077  _mapWinDotColorComboBox->addItems(QString("red,yellow").split(","));
     1078  ii = _mapWinDotColorComboBox->findText(settings.value("mapWinDotColor").toString());
     1079  if (ii != -1) {
     1080    _mapWinDotColorComboBox->setCurrentIndex(ii);
     1081  }
     1082  ppp3LayoutHlp2->addWidget(_mapWinDotColorComboBox);
     1083
     1084  ppp3LayoutHlp2->addSpacing(3*ww);
    10731085
    10741086  _mapSpeedSlider = new QSlider;
     
    14511463  _osmRadioButton->setWhatsThis(tr("<p>Specify Open Street Map as the background for your rover positions."));
    14521464  _mapWinDotSizeLineEdit->setWhatsThis(tr("<p>Specify the size of dots showing the rover positions.</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.</p>"));
     1465  _mapWinDotColorComboBox->setWhatsThis(tr("<p>Specify the color of dots showing the rover track.</p>"));
    14531466  _mapSpeedSlider->setWhatsThis(tr("<p>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."));
    14541467  _pppNMEALineEdit->setWhatsThis(tr("<p>Specify the full path to a file where PPP results are saved as NMEA messages.</p>"));
     
    19181931  settings.setValue("useOsmMap",          _osmRadioButton->isChecked());
    19191932  settings.setValue("mapWinDotSize",      _mapWinDotSizeLineEdit->text());
     1933  settings.setValue("mapWinDotColor",     _mapWinDotColorComboBox->currentText());
    19201934  settings.setValue("mapSpeed",           _mapSpeedSlider->value());
    19211935  settings.setValue("postObsFile",  _postObsFileChooser->fileName());
     
    25442558    enableWidget(enable, _mapWinButton);
    25452559    enableWidget(enable, _mapWinDotSizeLineEdit);
     2560    enableWidget(enable, _mapWinDotColorComboBox);
    25462561    enableWidget(enable, _gmRadioButton);
    25472562    enableWidget(enable, _osmRadioButton);
     
    29682983  enableWidget(false, _osmRadioButton);
    29692984  enableWidget(false, _mapWinDotSizeLineEdit);
     2985  enableWidget(false, _mapWinDotColorComboBox);
    29702986
    29712987  if (!_mapWin) {
Note: See TracChangeset for help on using the changeset viewer.