00001 #ifndef IGUANA_GL_BROWSERS_IG_QT_RANGE_MCONTROL_H
00002 # define IGUANA_GL_BROWSERS_IG_QT_RANGE_MCONTROL_H
00003
00004
00005
00006 # include "Iguana/GLBrowsers/interface/IgQtRangeControlCommon.h"
00007
00008
00009
00010
00011
00012 class QComboBox;
00013
00014
00015
00016
00017
00018 class IGUANA_GL_BROWSERS_API IgQtRangeMControl : public IgQtRangeControlCommon
00019 {
00020 Q_OBJECT
00021 public:
00022 IgQtRangeMControl (QWidget *parent, int parts,
00023 unsigned int size = 1,
00024 const char *name = 0);
00025
00026
00027
00028
00029
00030 int currentIndex (void) const;
00031
00032 virtual void resizeIndex (unsigned int size);
00033
00034 public slots:
00035 virtual void newIndex (int index);
00036
00037 protected slots:
00038 virtual void updateTextValue (void);
00039
00040 protected:
00041
00042 QComboBox *m_index;
00043 bool m_indexPart;
00044 };
00045
00046
00047
00048
00049 #endif // IGUANA_GL_BROWSERS_IG_QT_RANGE_MCONTROL_H