00001 #ifndef IGUANA_GL_BROWSERS_IG_QT_RANGE_CONTROL_INT_H
00002 # define IGUANA_GL_BROWSERS_IG_QT_RANGE_CONTROL_INT_H
00003
00004
00005
00006 # include "Iguana/GLBrowsers/interface/IgQtRangeControlImp.h"
00007
00008
00009
00010
00011
00012
00013
00014
00016
00017 class IGUANA_GL_BROWSERS_API IgQtRangeControlInt : public IgQtRangeControlImp<int>
00018 {
00019 Q_OBJECT
00020 public:
00021 IgQtRangeControlInt (QWidget *parent, int parts, int value = 0,
00022 const char *name = 0);
00023
00024
00025
00026
00027 int stringToNumber (const QString& val) const
00028 { return val.toInt (); }
00029
00030 signals:
00031 void valueChanged (int delta);
00032 void newValue (int newval);
00033
00034 protected:
00035 void emitSignals (void);
00036 };
00037
00038
00039
00040
00041 #endif // IGUANA_GL_BROWSERS_IG_QT_RANGE_CONTROL_INT_H