- Timestamp:
- Nov 12, 2009, 10:07:40 AM (15 years ago)
- Location:
- trunk/BNC
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/bncfigure.cpp
r1938 r1939 170 170 int yy = int(yLength * (it.value()->_mean / _maxRate)); 171 171 172 painter.drawText(xx, yMax-10, staID.left( 4));172 painter.drawText(xx, yMax-10, staID.left(5)); 173 173 174 174 painter.fillRect(xx, yMax-40-yy, 30, yy, -
trunk/BNC/bnctableitem.cpp
r1174 r1939 68 68 } 69 69 else if (_bytesRead < 1e6) { 70 setText(QString("%1 k b").arg(_bytesRead/1.e3, 5));70 setText(QString("%1 kB").arg(_bytesRead/1.e3, 5)); 71 71 } 72 72 else { 73 setText(QString("%1 M b").arg(_bytesRead/1.e6, 5));73 setText(QString("%1 MB").arg(_bytesRead/1.e6, 5)); 74 74 } 75 75 }
Note:
See TracChangeset
for help on using the changeset viewer.