Changeset 1327 in ntrip
- Timestamp:
- Dec 22, 2008, 4:04:04 PM (16 years ago)
- Location:
- trunk/BNC
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/bncgetthread.cpp
r1326 r1327 192 192 this, SLOT(slotNewEphGPS(gpsephemeris))); 193 193 194 if (settings.value("serial_staID").toString() == _staID) { 195 _serialPort = new QextSerialPort( settings.value("serial_name").toString() ); 194 if (settings.value("serialMountPoint").toString() == _staID) { 195 _serialPort = new QextSerialPort( 196 settings.value("serialPortName").toString() ); 196 197 _serialPort->setBaudRate(BAUD9600); 197 198 _serialPort->setParity(PAR_NONE); -
trunk/BNC/bncwindow.cpp
r1309 r1327 230 230 _logFileLineEdit = new QLineEdit(settings.value("logFile").toString()); 231 231 _adviseScriptLineEdit = new QLineEdit(settings.value("adviseScript").toString()); 232 _serialPortNameLineEdit = new QLineEdit(settings.value("serialPortName").toString()); 233 _serialMountPointLineEdit = new QLineEdit(settings.value("serialMountPoint").toString()); 232 234 233 235 _perfIntrComboBox = new QComboBox(); … … 313 315 QWidget* ogroup = new QWidget(); 314 316 QWidget* rgroup = new QWidget(); 317 QWidget* sergroup = new QWidget(); 315 318 aogroup->addTab(pgroup,tr("Proxy")); 316 319 aogroup->addTab(ggroup,tr("General")); … … 321 324 aogroup->addTab(agroup,tr("Outages")); 322 325 aogroup->addTab(rgroup,tr("Miscellaneous")); 326 aogroup->addTab(sergroup,tr("Serial")); 323 327 324 328 QGridLayout* pLayout = new QGridLayout; … … 436 440 cLayout->addWidget(new QLabel(" "),5,0); 437 441 cgroup->setLayout(cLayout); 442 443 QGridLayout* serLayout = new QGridLayout; 444 serLayout->addWidget(new QLabel("Port Name"),0,0, Qt::AlignLeft); 445 serLayout->addWidget(_serialPortNameLineEdit,0, 1); 446 serLayout->addWidget(new QLabel("MountPoint"),1,0, Qt::AlignLeft); 447 serLayout->addWidget(_serialMountPointLineEdit,1, 1); 448 sergroup->setLayout(serLayout); 438 449 439 450 QVBoxLayout* mLayout = new QVBoxLayout; … … 664 675 settings.setValue("miscMount", _miscMountLineEdit->text()); 665 676 settings.setValue("scanRTCM", _scanRTCMCheckBox->checkState()); 677 settings.setValue("serialPortName", _serialPortNameLineEdit->text()); 678 settings.setValue("serialMountPoint", _serialMountPointLineEdit->text()); 666 679 667 QStringList mountPoints;680 QStringList mountPoints; 668 681 669 682 for (int iRow = 0; iRow < _mountPointsTable->rowCount(); iRow++) { -
trunk/BNC/bncwindow.h
r1307 r1327 130 130 QComboBox* _perfIntrComboBox; 131 131 QTableWidget* _mountPointsTable; 132 QLineEdit* _serialPortNameLineEdit; 133 QLineEdit* _serialMountPointLineEdit; 132 134 133 135 QLineEdit* _LatLineEdit;
Note:
See TracChangeset
for help on using the changeset viewer.