Changeset 78 for trigger


Ignore:
Timestamp:
06/30/09 11:58:28 (14 years ago)
Author:
daqct3
Message:
remove exe from repos
Location:
trigger/gui/t72
Files:
1 deleted
3 edited

Legend:

Unmodified
Added
Removed
  • trigger/gui/t72

    • Property svn:ignore set to
      t72
  • trigger/gui/t72/main.cpp

    r77 r78  
    358358          QString output = "Setting temperature of sensor  "+stri + " to " + list1[i]+"c\n";
    359359          SocketOutput->insertPlainText(output);
    360           tempsens[ListToTemperaturePixel[i]]->setValue((int)(temperature[i]));
     360          tempsens[ListToTemperaturePixel[i]]->setValue((float)(temperature[i]));
    361361        }
    362362      temperature[7]= list1[7].toFloat();
  • trigger/gui/t72/tempsens.cpp

    r77 r78  
    2020void Tempsens::paintEvent( QPaintEvent * )
    2121{
    22   QString s = QString( "%1c" ).arg((double)(val));
     22
     23  QString s = QString( "%1c" ).arg((double)(val),0,'g',3);
    2324  QFont sansFont( "Helvetica [Cronyx]", 12 );
    2425 
     
    2829    int width=this->width();
    2930    int height=this->height();
    30     p.drawText(width/3 , height/2, s );
     31    p.drawText(width/4 , height/2, s );
    3132}
    3233
Note: See TracChangeset for help on using the changeset viewer.