source: trigger/gui/t72/tempsens.h@ 6724

Last change on this file since 6724 was 77, checked in by rissim, 16 years ago
trigger: gui added, interface modified
File size: 676 bytes
Line 
1#ifndef TEMPSENS_H
2#define TEMPSENS_H
3
4
5#include <QWidget>
6#include <QVBoxLayout>
7
8class Tempsens : public QWidget
9{
10 float MaxVal;
11 float MinVal;
12 Q_OBJECT
13public:
14 Tempsens( QWidget *parent=0 );
15 float value();
16 void setMaxVal(float val){MaxVal=val;};
17 void setMinVal(float val){MinVal=val;};
18 float getMaxVal(){return MaxVal;};
19 float getMinVal(){return MinVal;};
20 private:
21 float val;
22
23 QVBoxLayout* ColorWidg;
24 public slots:
25 void setValue( float );
26
27
28
29 signals:
30 void valueChanged( float );
31 protected:
32 void paintEvent( QPaintEvent * );
33 private:
34 QColor *bgColor;
35 //QSlider *slider;
36};
37
38
39#endif // TEMPSENS_H
40
Note: See TracBrowser for help on using the repository browser.