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.
|
|
|
/****************************************************************
|
|
|
|
**
|
|
|
|
** Definition of LCDRange class, TQt tutorial 8
|
|
|
|
**
|
|
|
|
****************************************************************/
|
|
|
|
|
|
|
|
#ifndef LCDRANGE_H
|
|
|
|
#define LCDRANGE_H
|
|
|
|
|
|
|
|
#include <tqvbox.h>
|
|
|
|
|
|
|
|
class TQSlider;
|
|
|
|
|
|
|
|
|
|
|
|
class LCDRange : public TQVBox
|
|
|
|
{
|
|
|
|
TQ_OBJECT
|
|
|
|
public:
|
|
|
|
LCDRange( TQWidget *parent=0, const char *name=0 );
|
|
|
|
|
|
|
|
int value() const;
|
|
|
|
|
|
|
|
public slots:
|
|
|
|
void setValue( int );
|
|
|
|
void setRange( int minVal, int maxVal );
|
|
|
|
|
|
|
|
signals:
|
|
|
|
void valueChanged( int );
|
|
|
|
|
|
|
|
private:
|
|
|
|
TQSlider *slider;
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
#endif // LCDRANGE_H
|