t9/lcdrange.h Example File

Qt 3.0.5

Home | All Classes | Main Classes | Annotated | Grouped Classes | Functions

t9/lcdrange.h Example File

/****************************************************************
**
** Definition of LCDRange class, Qt tutorial 8
**
****************************************************************/

#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 );
    void setRange( int minVal, int maxVal );

signals:
    void valueChanged( int );

private:
    QSlider  *slider;
};


#endif // LCDRANGE_H


Copyright © 2002 TrolltechTrademarks
Qt version 3.0.5