You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
532 B
35 lines
532 B
/****************************************************************
|
|
**
|
|
** 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
|