Changeset 12051
- Timestamp:
- 09/08/11 22:36:35 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/gui/QCameraWidget.cc
r12003 r12051 98 98 str.setf(ios::fixed,ios::floatfield); 99 99 str << "Med " << fmedian;// << unitsText; 100 renderText(3, height()-3-4*textSize-35, QString(str.str().c_str())); 101 str.str(""); 102 str << "Avg " << fmean;// << unitsText; 100 103 renderText(3, height()-3-3*textSize-27, QString(str.str().c_str())); 101 str.str("");102 str << "Avg " << fmean;// << unitsText;103 renderText(3, height()-3-4*textSize-35, QString(str.str().c_str()));104 104 str.str(""); 105 105 str << "RMS " << frms;// << unitsText; … … 107 107 str.str(""); 108 108 str << "Min " << fmin;// << unitsText; 109 renderText(3, height()-3-3, QString(str.str().c_str())); 110 str.str(""); 111 str << "Max " << fmax;// << unitsText; 109 112 renderText(3, height()-3-1*textSize-8, QString(str.str().c_str())); 110 str.str("");111 str << "Max " << fmax;// << unitsText;112 renderText(3, height()-2-3, QString(str.str().c_str()));113 113 //then draw the values beside the scale 114 114 //the difficulty here is to write the correct min/max besides the scale
Note:
See TracChangeset
for help on using the changeset viewer.