summaryrefslogtreecommitdiffstats
path: root/tutorial/t7/lcdrange.h
diff options
context:
space:
mode:
Diffstat (limited to 'tutorial/t7/lcdrange.h')
-rw-r--r--tutorial/t7/lcdrange.h34
1 files changed, 34 insertions, 0 deletions
diff --git a/tutorial/t7/lcdrange.h b/tutorial/t7/lcdrange.h
new file mode 100644
index 0000000..0c0219b
--- /dev/null
+++ b/tutorial/t7/lcdrange.h
@@ -0,0 +1,34 @@
+/****************************************************************
+**
+** Definition of LCDRange class, Qt tutorial 7
+**
+****************************************************************/
+
+#ifndef LCDRANGE_H
+#define LCDRANGE_H
+
+#include <qvbox.h>
+
+class QSlider;
+
+
+class LCDRange : public QVBox
+{
+ Q_OBJECT
+public:
+ LCDRange( QWidget *parent=0, const char *name=0 );
+
+ int value() const;
+
+public slots:
+ void setValue( int );
+
+signals:
+ void valueChanged( int );
+
+private:
+ QSlider *slider;
+};
+
+
+#endif // LCDRANGE_H