Changeset 1965 in ntrip


Ignore:
Timestamp:
Nov 16, 2009, 10:56:35 AM (15 years ago)
Author:
weber
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/bncfigure.cpp

    r1964 r1965  
    152152  if      (8.0 * _maxRate < 1e3) {
    153153    maxRateStr = QString("%1 bps  ").arg(int(8.0 * _maxRate));
    154     painter.drawText(0, int((yMax-yMin)*xLine)-10, xMin+50,15,Qt::AlignRight,tr("0 bps  "));
     154    painter.drawText(0, int((yMax-yMin)*xLine)-5, xMin+50,15,Qt::AlignRight,tr("0 bps  "));
    155155  }
    156156  else if (8.0 * _maxRate < 1e6) {
    157157    maxRateStr = QString("%1 kbps  ").arg(int(8.0 * _maxRate / 1.e3));
    158     painter.drawText(0, int((yMax-yMin)*xLine)-10, xMin+50,15,Qt::AlignRight,tr("0 kbps  "));
     158    painter.drawText(0, int((yMax-yMin)*xLine)-5, xMin+50,15,Qt::AlignRight,tr("0 kbps  "));
    159159  }
    160160  else {
    161161    maxRateStr = QString("%1 Mbps  ").arg(int(8.0 * _maxRate / 1.e6));
    162     painter.drawText(0, int((yMax-yMin)*xLine)-10, xMin+50,15,Qt::AlignRight,tr("0 Mbps  "));
     162    painter.drawText(0, int((yMax-yMin)*xLine)-5, xMin+50,15,Qt::AlignRight,tr("0 Mbps  "));
    163163  }
    164164
    165165  if(_maxRate > 0.0) {
    166     painter.drawText(0, yMin+25-10, xMin+50,15,Qt::AlignRight,maxRateStr);
     166    painter.drawText(0, yMin+25-5, xMin+50,15,Qt::AlignRight,maxRateStr);
    167167  }
    168168
Note: See TracChangeset for help on using the changeset viewer.