diff options
Diffstat (limited to 'tutorial/t7/lcdrange.h')
-rw-r--r-- | tutorial/t7/lcdrange.h | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/tutorial/t7/lcdrange.h b/tutorial/t7/lcdrange.h new file mode 100644 index 000000000..365c73289 --- /dev/null +++ b/tutorial/t7/lcdrange.h @@ -0,0 +1,34 @@ +/**************************************************************** +** +** Definition of LCDRange class, TQt tutorial 7 +** +****************************************************************/ + +#ifndef LCDRANGE_H +#define LCDRANGE_H + +#include <qvbox.h> + +class TQSlider; + + +class LCDRange : public TQVBox +{ + Q_OBJECT +public: + LCDRange( TQWidget *parent=0, const char *name=0 ); + + int value() const; + +public slots: + void setValue( int ); + +signals: + void valueChanged( int ); + +private: + TQSlider *slider; +}; + + +#endif // LCDRANGE_H |