Changeset 6537 in ntrip
- Timestamp:
- Jan 2, 2015, 3:40:09 PM (10 years ago)
- Location:
- trunk/BNC/src
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/bncmap_svg.cpp
r4725 r6537 141 141 QwtText text(name.left(4)); 142 142 QFont font = text.font(); 143 font.setPointSize( font.pointSize()*0.8);143 font.setPointSize(int(font.pointSize()*0.8)); 144 144 text.setFont(font); 145 145 marker->setLabel(text); -
trunk/BNC/src/bncutils.cpp
r6168 r6537 589 589 //////////////////////////////////////////////////////////////////////////// 590 590 QString fortranFormat(double value, int width, int prec) { 591 int expo = value == 0.0 ? 0 : log10(fabs(value));591 int expo = value == 0.0 ? 0 : int(log10(fabs(value))); 592 592 double mant = value == 0.0 ? 0 : value / pow(10, expo); 593 593 if (fabs(mant) >= 1.0) { -
trunk/BNC/src/ephemeris.cpp
r6536 r6537 1453 1453 1454 1454 TOEw += 1356; // BDT -> GPS week number 1455 _TOE_bdt.set( TOEw, TOEs);1455 _TOE_bdt.set(int(TOEw), TOEs); 1456 1456 1457 1457 // GPS->BDT … … 1648 1648 out << QString(fmt) 1649 1649 .arg(_TOE_bdt.gpssec(), 19, 'e', 12) 1650 .arg(double(_AODC), 19, QChar(' '));1650 .arg(double(_AODC), 19, 'e', 12); 1651 1651 1652 1652 return rnxStr; -
trunk/BNC/src/pppRun.cpp
r6510 r6537 375 375 if (_speed < 100) { 376 376 double sleepTime = 2.0 / _speed; 377 t_pppThread::msleep( sleepTime*1.e3);377 t_pppThread::msleep(int(sleepTime*1.e3)); 378 378 } 379 379 -
trunk/BNC/src/rinex/availplot.cpp
r6272 r6537 63 63 public: 64 64 t_scaleDrawPrn() {} 65 virtual QwtText label( doubleiPrn) const {65 virtual QwtText label(int iPrn) const { 66 66 return _yLabels[iPrn]; 67 67 } -
trunk/BNC/src/rinex/dopplot.cpp
r6279 r6537 77 77 QwtText textPDOP("PDOP"); 78 78 QFont fontPDOP = textPDOP.font(); 79 fontPDOP.setPointSize( fontPDOP.pointSize()*0.8);79 fontPDOP.setPointSize(int(fontPDOP.pointSize()*0.8)); 80 80 textPDOP.setFont(fontPDOP); 81 81 textPDOP.setColor(Qt::red); … … 85 85 QwtText textNumSat("# Sat"); 86 86 QFont fontNumSat = textNumSat.font(); 87 fontNumSat.setPointSize( fontNumSat.pointSize()*0.8);87 fontNumSat.setPointSize(int(fontNumSat.pointSize()*0.8)); 88 88 textNumSat.setFont(fontNumSat); 89 89 textNumSat.setColor(Qt::blue); -
trunk/BNC/src/rinex/eleplot.cpp
r6272 r6537 96 96 const QVector<double>& xData = plotData._mjdX24; 97 97 const QVector<double>& yData = plotData._eleDeg; 98 QColor color = QColor::fromHsv( (iC-1)*(359.0/numCurves), 255, 255);98 QColor color = QColor::fromHsv(int((iC-1)*(359.0/numCurves)), 255, 255); 99 99 QwtSymbol symbol(QwtSymbol::Rect, QBrush(color), QPen(color), QSize(1,1)); 100 100 addCurve(prn, symbol, xData, yData); -
trunk/BNC/src/rinex/reqcedit.cpp
r6402 r6537 254 254 } 255 255 if (ii == 0) { 256 outObsFile.setHeader(obsFile->header(), _rnxVersion, &useObsTypes);256 outObsFile.setHeader(obsFile->header(), int(_rnxVersion), &useObsTypes); 257 257 if (_begTime.valid() && _begTime > outObsFile.startTime()) { 258 258 outObsFile.setStartTime(_begTime);
Note:
See TracChangeset
for help on using the changeset viewer.