source: trigger/gui/t72/tpixel.h@ 9492

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