Changeset 4974 in ntrip
- Timestamp:
- Mar 8, 2013, 2:04:35 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/bncfigureppp.cpp
r4553 r4974 94 94 95 95 _pppMount = settings.value("pppMount").toString(); 96 _pppCorrMount = settings.value("pppCorrMount").toString(); 97 _pppSPP = settings.value("pppSPP").toString(); 96 98 97 99 for (int ii = 0; ii < _pos.size(); ++ii) { … … 298 300 // Start Time 299 301 // ---------- 302 300 303 _startTime.civil_time(hour, minute, second); 301 QString startStr = QString("%4 Start %1:%2:%3") 304 305 if (_pppSPP == "Realtime-PPP") { 306 307 QString startStr = QString("%1 %2 Start %3:%4:%5") 308 .arg(_pppMount) 309 .arg(_pppCorrMount) 302 310 .arg(hour, 2, 10, QChar('0')) 303 311 .arg(minute, 2, 10, QChar('0')) 304 .arg(int(second), 2, 10, QChar('0')) 305 .arg(_pppMount); 312 .arg(int(second), 2, 10, QChar('0')); 306 313 painter.setPen(QColor(Qt::black)); 307 314 painter.drawText(0, ww, pntP.x() + 21*ww, pntP.x(), 308 Qt::AlignRight, startStr); 309 } 310 } 311 } 312 315 Qt::AlignRight, startStr); 316 } 317 318 if (_pppSPP == "Realtime-SPP") { 319 320 QString startStr = QString("%1 Start %2:%3:%4") 321 .arg(_pppMount) 322 .arg(hour, 2, 10, QChar('0')) 323 .arg(minute, 2, 10, QChar('0')) 324 .arg(int(second), 2, 10, QChar('0')); 325 painter.setPen(QColor(Qt::black)); 326 painter.drawText(0, ww, pntP.x() + 21*ww, pntP.x(), 327 Qt::AlignRight, startStr); 328 } 329 330 331 332 } 333 } 334 } 335
Note:
See TracChangeset
for help on using the changeset viewer.