Changeset 5893 in ntrip for trunk/BNC/src
- Timestamp:
- Aug 8, 2014, 5:23:21 PM (11 years ago)
- Location:
- trunk/BNC/src
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/PPP/pppWidgets.cpp
r5810 r5893 70 70 _addStaButton = new QPushButton("Add Station"); _widgets << _addStaButton; 71 71 _delStaButton = new QPushButton("Delete Station"); _widgets << _delStaButton; 72 72 _plotCoordinates = new QLineEdit; _plotCoordinates ->setObjectName("PPP/plotCoordinates"); _widgets << _plotCoordinates; 73 _mapWinButton = new QPushButton; _mapWinButton ->setObjectName("PPP/mapWinButton"); _widgets << _mapWinButton; 74 _gmRadioButton = new QRadioButton; _gmRadioButton ->setObjectName("PPP/gmRadioButton"); _widgets << _gmRadioButton; 75 _osmRadioButton = new QRadioButton; _osmRadioButton ->setObjectName("PPP/osmRadioButton"); _widgets << _osmRadioButton; 76 _mapWinDotSizeLineEdit = new QLineEdit; _mapWinDotSizeLineEdit ->setObjectName("PPP/mapWinDotSizeLineEdit"); _widgets << _mapWinDotSizeLineEdit; 77 _mapWinDotColorComboBox = new QComboBox; _mapWinDotColorComboBox->setObjectName("PPP/mapWinDotColorComboBox"); _widgets << _mapWinDotColorComboBox; 78 _mapSpeedSlider = new QSlider; _mapSpeedSlider ->setObjectName("PPP/mapSpeedSlider"); _widgets << _mapSpeedSlider; 79 73 80 _dataSource->setEditable(false); 74 81 _dataSource->addItems(QString("no,Real-Time Streams,RINEX Files").split(",")); … … 103 110 connect(_delStaButton, SIGNAL(clicked()), this, SLOT(slotDelStation())); 104 111 112 _mapWinButton->setText("Open Map"); 113 114 _mapWinDotColorComboBox->setEditable(false); 115 _mapWinDotColorComboBox->addItems(QString("red,yellow").split(",")); 116 117 _mapSpeedSlider->setOrientation(Qt::Horizontal); 118 _mapSpeedSlider->setRange(1, 100); 119 _mapSpeedSlider->setTickPosition(QSlider::TicksBelow); 120 _mapSpeedSlider->setTickInterval(10); 121 105 122 readOptions(); 106 123 } … … 167 184 } 168 185 } 186 187 // Plots and Maps 188 // -------------- 189 _plotCoordinates ->setText(settings.value(_plotCoordinates->objectName()).toString()); 190 _gmRadioButton ->setChecked(!settings.value(_gmRadioButton->objectName()).toBool()); 191 _osmRadioButton ->setChecked(settings.value(_osmRadioButton->objectName()).toBool()); 192 _mapWinDotSizeLineEdit->setText(settings.value(_mapWinDotSizeLineEdit->objectName()).toString()); 193 194 ii = _mapWinDotColorComboBox->findText(settings.value(_mapWinDotColorComboBox->objectName()).toString()); 195 if (ii != -1) { 196 _mapWinDotColorComboBox->setCurrentIndex(ii); 197 } 198 199 int speed = settings.value(_mapSpeedSlider->objectName()).toInt(); 200 if (speed == 0) speed = _mapSpeedSlider->maximum(); 201 _mapSpeedSlider->setSliderPosition(speed); 169 202 } 170 203 -
trunk/BNC/src/PPP/pppWidgets.h
r5809 r5893 57 57 QPushButton* _delStaButton; 58 58 59 QLineEdit* _plotCoordinates; 60 QPushButton* _mapWinButton; 61 QRadioButton* _gmRadioButton; 62 QRadioButton* _osmRadioButton; 63 QLineEdit* _mapWinDotSizeLineEdit; 64 QComboBox* _mapWinDotColorComboBox; 65 QSlider* _mapSpeedSlider; 66 59 67 private slots: 60 68 void slotEnableWidgets(); -
trunk/BNC/src/bncwindow.cpp
r5887 r5893 880 880 // ------------------------ 881 881 QVBoxLayout* pppLayout4 = new QVBoxLayout; 882 pppLayout4->addWidget(new QLabel(" Precise Point Positioning, Panel 3."));882 pppLayout4->addWidget(new QLabel("<b>Precise Point Positioning (Plots)</b>")); 883 883 pppLayout4->addSpacing(ww); 884 884 -
trunk/BNC/src/bncwindow.h
r5863 r5893 132 132 QLineEdit* _proxyHostLineEdit; 133 133 QLineEdit* _proxyPortLineEdit; 134 QLineEdit* _mapWinDotSizeLineEdit;135 134 QLineEdit* _sslCaCertPathLineEdit; 136 135 QCheckBox* _ignoreSslErrorsCheckBox; … … 230 229 bool _runningPostProcessingReqc; 231 230 232 QPushButton* _mapWinButton;233 QRadioButton* _gmRadioButton;234 QCheckBox* _pppPlotCoordinates;235 QRadioButton* _osmRadioButton;236 QComboBox* _mapWinDotColorComboBox;237 QSlider* _mapSpeedSlider;238 231 bncMapWin* _mapWin; 239 232
Note:
See TracChangeset
for help on using the changeset viewer.