00001 #ifndef IGUANA_GL_BROWSERS_IG_QT_RANGE_MCONTROL_UINT_H
00002 # define IGUANA_GL_BROWSERS_IG_QT_RANGE_MCONTROL_UINT_H
00003
00004
00005
00006 # include "Iguana/GLBrowsers/interface/IgQtRangeMControlImp.h"
00007
00008
00009
00010
00011
00012
00013
00014
00016
00017 class IGUANA_GL_BROWSERS_API IgQtRangeMControlUInt : public IgQtRangeMControlImp<unsigned int>
00018 {
00019 Q_OBJECT
00020 public:
00021 IgQtRangeMControlUInt (QWidget *parent, int parts,
00022 unsigned int value = 0,
00023 const char *name = 0);
00024
00025 IgQtRangeMControlUInt (QWidget *parent, int parts,
00026 unsigned int size,
00027 const unsigned int* values,
00028 const char *name = 0);
00029
00030 IgQtRangeMControlUInt (QWidget *parent, int parts,
00031 const rangeMValues& values,
00032 const char *name = 0);
00033
00034
00035
00036
00037
00038 unsigned int stringToNumber (const QString& val) const
00039 { return val.toUInt(); }
00040
00041 signals:
00042 void valueChanged (std::vector<unsigned int> delta);
00043 void newValue (std::vector<unsigned int> newval);
00044
00045 protected:
00046 void emitSignals (void);
00047 };
00048
00049
00050
00051
00052 #endif // IGUANA_GL_BROWSERS_IG_QT_RANGE_MCONTROL_UINT_H