/* -*- C++ -*- */ /************************************************************************* * Copyright(c) 1995~2005 Masaharu Goto (root-cint@cern.ch) * * For the licensing terms see the file COPYING * ************************************************************************/ /**************************************************************** ** ** Definition of LCDRange class, Qt tutorial 8 ** ****************************************************************/ #ifndef LCDRANGE_H #define LCDRANGE_H #include 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 ); void setRange( int minVal, int maxVal ); signals: void valueChanged( int ); private: QSlider *slider; }; #endif // LCDRANGE_H