- Timestamp:
- Jun 29, 2013, 7:00:31 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/bncwindow.cpp
r5300 r5304 1037 1037 _pppPlotCoordinates = new QCheckBox(); 1038 1038 _pppPlotCoordinates->setCheckState(Qt::CheckState(settings.value("pppPlotCoordinates").toInt())); 1039 ppp3LayoutHlp1->addWidget(new QLabel("PPP Plot "));1039 ppp3LayoutHlp1->addWidget(new QLabel("PPP Plot ")); 1040 1040 ppp3LayoutHlp1->addWidget(_pppPlotCoordinates); 1041 1041 ppp3LayoutHlp1->addWidget(new QLabel("Nort-East-Up Time Series")); … … 1045 1045 1046 1046 QHBoxLayout* ppp3LayoutHlp2 = new QHBoxLayout; 1047 ppp3LayoutHlp2->addWidget(new QLabel("Track Plot "));1047 ppp3LayoutHlp2->addWidget(new QLabel("Track Plot ")); 1048 1048 _mapWinButton = new QPushButton; 1049 1049 _mapWinButton->setText("Open Map"); … … 1051 1051 ppp3LayoutHlp2->addWidget(_mapWinButton); 1052 1052 1053 ppp3LayoutHlp2->addSpacing( 5*ww);1053 ppp3LayoutHlp2->addSpacing(1*ww); 1054 1054 1055 1055 _gmRadioButton = new QRadioButton; … … 1063 1063 ppp3LayoutHlp2->addWidget(_osmRadioButton); 1064 1064 1065 ppp3LayoutHlp2->addSpacing( 5*ww);1065 ppp3LayoutHlp2->addSpacing(3*ww); 1066 1066 1067 1067 _mapWinDotSizeLineEdit = new QLineEdit(settings.value("mapWinDotSize").toString()); 1068 1068 ppp3LayoutHlp2->addWidget(new QLabel("Dot Size")); 1069 _mapWinDotSizeLineEdit->setMaximumWidth( 9*ww);1069 _mapWinDotSizeLineEdit->setMaximumWidth(5*ww); 1070 1070 ppp3LayoutHlp2->addWidget(_mapWinDotSizeLineEdit); 1071 1071 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); 1073 1085 1074 1086 _mapSpeedSlider = new QSlider; … … 1451 1463 _osmRadioButton->setWhatsThis(tr("<p>Specify Open Street Map as the background for your rover positions.")); 1452 1464 _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>")); 1453 1466 _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.")); 1454 1467 _pppNMEALineEdit->setWhatsThis(tr("<p>Specify the full path to a file where PPP results are saved as NMEA messages.</p>")); … … 1918 1931 settings.setValue("useOsmMap", _osmRadioButton->isChecked()); 1919 1932 settings.setValue("mapWinDotSize", _mapWinDotSizeLineEdit->text()); 1933 settings.setValue("mapWinDotColor", _mapWinDotColorComboBox->currentText()); 1920 1934 settings.setValue("mapSpeed", _mapSpeedSlider->value()); 1921 1935 settings.setValue("postObsFile", _postObsFileChooser->fileName()); … … 2544 2558 enableWidget(enable, _mapWinButton); 2545 2559 enableWidget(enable, _mapWinDotSizeLineEdit); 2560 enableWidget(enable, _mapWinDotColorComboBox); 2546 2561 enableWidget(enable, _gmRadioButton); 2547 2562 enableWidget(enable, _osmRadioButton); … … 2968 2983 enableWidget(false, _osmRadioButton); 2969 2984 enableWidget(false, _mapWinDotSizeLineEdit); 2985 enableWidget(false, _mapWinDotColorComboBox); 2970 2986 2971 2987 if (!_mapWin) {
Note:
See TracChangeset
for help on using the changeset viewer.