Changeset 115 for trigger/gui/t72
- Timestamp:
- 09/24/09 15:45:24 (15 years ago)
- Location:
- trigger/gui/t72
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trigger/gui/t72/humidity.cpp
r77 r115 35 35 val=vall; 36 36 int bblue= (int)(((float)(val-MinVal)/(float)(MaxVal-MinVal))*255.); 37 37 //int white = 255-bblue; 38 38 //int bblue=255-(int)(((float)(val-MinVal)/(float)(MaxVal-MinVal))*255.); 39 39 //printf("%i %i\n",rred,bblue); 40 bgColor->setRgb( 0,0,bblue);40 bgColor->setRgb(255,bblue,0); 41 41 //QPalette::ColorRole 42 42 QPalette *mypalette=new QPalette(); -
trigger/gui/t72/main.cpp
r78 r115 213 213 connect(timer, SIGNAL(timeout()),this , SLOT(updateRates())); 214 214 215 timer->start( 7000);215 timer->start(5000); 216 216 217 217
Note:
See TracChangeset
for help on using the changeset viewer.