- Timestamp:
- Oct 23, 2012, 12:52:28 PM (12 years ago)
- Location:
- trunk/BNC/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/bncwindow.cpp
r4724 r4766 1188 1188 connect(_uploadEphHostLineEdit, SIGNAL(textChanged(const QString &)), 1189 1189 this, SLOT(slotBncTextChanged())); 1190 1191 #ifdef RTROVER_INTERFACE 1192 QWidget* rtroverGroup = new QWidget(); 1193 _aogroup->addTab(rtroverGroup,tr("RTRover")); 1194 QGridLayout* rtroverLayout = new QGridLayout(); 1195 1196 _rtroverModeComboBox = new QComboBox(); 1197 1198 _rtroverModeComboBox->setEditable(false); 1199 _rtroverModeComboBox->addItems(QString(",PPP,SPP,RTK").split(",")); 1200 ik = _rtroverModeComboBox->findText(settings.value("rtroverMode").toString()); 1201 if (ik != -1) { 1202 _rtroverModeComboBox->setCurrentIndex(ik); 1203 } 1204 _rtroverModeComboBox->setMinimumWidth(10*ww); 1205 1206 _rtroverRoverMountLineEdit = new QLineEdit(settings.value("rtroverRoverMount").toString()); 1207 _rtroverRoverMountLineEdit->setMaximumWidth(8*ww); 1208 _rtroverCorrMountLineEdit = new QLineEdit(settings.value("rtroverCorrMount").toString()); 1209 _rtroverCorrMountLineEdit->setMaximumWidth(8*ww); 1210 _rtroverBaseMountLineEdit = new QLineEdit(settings.value("rtroverBaseMount").toString()); 1211 _rtroverBaseMountLineEdit->setMaximumWidth(8*ww); 1212 _rtroverRoverRefCrdXLineEdit = new QLineEdit(settings.value("rtroverRoverRefCrdX").toString()); 1213 _rtroverRoverRefCrdYLineEdit = new QLineEdit(settings.value("rtroverRoverRefCrdY").toString()); 1214 _rtroverRoverRefCrdZLineEdit = new QLineEdit(settings.value("rtroverRoverRefCrdZ").toString()); 1215 _rtroverBaseRefCrdXLineEdit = new QLineEdit(settings.value("rtroverBaseRefCrdX").toString()); 1216 _rtroverBaseRefCrdYLineEdit = new QLineEdit(settings.value("rtroverBaseRefCrdY").toString()); 1217 _rtroverBaseCrdZLineEdit = new QLineEdit(settings.value("rtroverBaseRefCrdZ").toString()); 1218 _rtroverOutputLineEdit = new QLineEdit(settings.value("rtroverOutput").toString()); 1219 1220 ir = 0; 1221 rtroverLayout->addWidget(new QLabel("Real-Time Rover"), ir, 0, 1, 2, Qt::AlignLeft); 1222 ++ir; 1223 rtroverLayout->addWidget(new QLabel("Mode & mountpoints"),ir, 0, Qt::AlignLeft); 1224 rtroverLayout->addWidget(_rtroverModeComboBox, ir, 1, Qt::AlignRight); 1225 rtroverLayout->addWidget(_rtroverRoverMountLineEdit, ir, 3, Qt::AlignRight); 1226 rtroverLayout->addWidget(new QLabel("Rover"), ir, 4, Qt::AlignLeft); 1227 rtroverLayout->addWidget(_rtroverCorrMountLineEdit, ir, 5, Qt::AlignRight); 1228 rtroverLayout->addWidget(new QLabel("Corr."), ir, 6, Qt::AlignLeft); 1229 rtroverLayout->addWidget(_rtroverBaseMountLineEdit, ir, 7, Qt::AlignRight); 1230 rtroverLayout->addWidget(new QLabel("Base"), ir, 8, Qt::AlignLeft); 1231 ++ir; 1232 rtroverLayout->addWidget(new QLabel("Rover coordinates"), ir, 0, Qt::AlignLeft); 1233 rtroverLayout->addWidget(_rtroverRoverRefCrdXLineEdit, ir, 1, Qt::AlignRight); 1234 rtroverLayout->addWidget(new QLabel("X "), ir, 2, Qt::AlignLeft); 1235 rtroverLayout->addWidget(_rtroverRoverRefCrdYLineEdit, ir, 3, Qt::AlignRight); 1236 rtroverLayout->addWidget(new QLabel("Y"), ir, 4, Qt::AlignLeft); 1237 rtroverLayout->addWidget(_rtroverRoverRefCrdZLineEdit, ir, 5, Qt::AlignRight); 1238 rtroverLayout->addWidget(new QLabel("Z"), ir, 6, Qt::AlignLeft); 1239 ++ir; 1240 rtroverLayout->addWidget(new QLabel("Base coordinates"), ir, 0, Qt::AlignLeft); 1241 rtroverLayout->addWidget(_rtroverBaseRefCrdXLineEdit, ir, 1, Qt::AlignRight); 1242 rtroverLayout->addWidget(new QLabel("X "), ir, 2, Qt::AlignLeft); 1243 rtroverLayout->addWidget(_rtroverBaseRefCrdYLineEdit, ir, 3, Qt::AlignRight); 1244 rtroverLayout->addWidget(new QLabel("Y"), ir, 4, Qt::AlignLeft); 1245 rtroverLayout->addWidget(_rtroverBaseCrdZLineEdit, ir, 5, Qt::AlignRight); 1246 rtroverLayout->addWidget(new QLabel("Z"), ir, 6, Qt::AlignLeft); 1247 ++ir; 1248 rtroverLayout->addWidget(new QLabel("Output"), ir, 0, Qt::AlignLeft); 1249 rtroverLayout->addWidget(_rtroverOutputLineEdit, ir, 1, Qt::AlignRight); 1250 ++ir; 1251 rtroverLayout->addWidget(new QLabel(""), ir, 1); 1252 rtroverLayout->setRowStretch(ir, 999); 1253 1254 rtroverGroup->setLayout(rtroverLayout); 1255 #endif 1190 1256 1191 1257 // Main Layout … … 1782 1848 settings.setValue("uploadEphPassword", _uploadEphPasswordLineEdit->text()); 1783 1849 settings.setValue("uploadEphSample", _uploadEphSampleSpinBox->value()); 1850 1851 #ifdef RTROVER_INTERFACE 1852 settings.setValue("rtroverMode", _rtroverModeComboBox->currentText()); 1853 settings.setValue("rtroverRoverMount", _rtroverRoverMountLineEdit->text()); 1854 settings.setValue("rtroverCorrMount", _rtroverCorrMountLineEdit->text()); 1855 settings.setValue("rtroverBaseMount", _rtroverBaseMountLineEdit->text()); 1856 settings.setValue("rtroverRoverRefCrdX", _rtroverRoverRefCrdXLineEdit->text()); 1857 settings.setValue("rtroverRoverRefCrdY", _rtroverRoverRefCrdYLineEdit->text()); 1858 settings.setValue("rtroverRoverRefCrdZ", _rtroverRoverRefCrdZLineEdit->text()); 1859 settings.setValue("rtroverBaseRefCrdX", _rtroverBaseRefCrdXLineEdit->text()); 1860 settings.setValue("rtroverBaseRefCrdY", _rtroverBaseRefCrdYLineEdit->text()); 1861 settings.setValue("rtroverBaseRefCrdZ", _rtroverBaseCrdZLineEdit->text()); 1862 settings.setValue("rtroverOutput", _rtroverOutputLineEdit->text()); 1863 #endif 1864 1784 1865 if (_caster) { 1785 1866 _caster->readMountPoints(); -
trunk/BNC/src/bncwindow.h
r4646 r4766 256 256 bool _runningPostProcessingPPP; 257 257 bool _runningPostProcessingReqc; 258 259 #ifdef RTROVER_INTERFACE 260 QComboBox* _rtroverModeComboBox; 261 QLineEdit* _rtroverRoverMountLineEdit; 262 QLineEdit* _rtroverCorrMountLineEdit; 263 QLineEdit* _rtroverBaseMountLineEdit; 264 QLineEdit* _rtroverRoverRefCrdXLineEdit; 265 QLineEdit* _rtroverRoverRefCrdYLineEdit; 266 QLineEdit* _rtroverRoverRefCrdZLineEdit; 267 QLineEdit* _rtroverBaseRefCrdXLineEdit; 268 QLineEdit* _rtroverBaseRefCrdYLineEdit; 269 QLineEdit* _rtroverBaseCrdZLineEdit; 270 QLineEdit* _rtroverOutputLineEdit; 271 #endif 258 272 }; 259 273 #endif
Note:
See TracChangeset
for help on using the changeset viewer.