iCub-main
dc1394SliderBase.h
Go to the documentation of this file.
1 #ifndef DC1394SLIDERBASE_H
2 #define DC1394SLIDERBASE_H
3 
4 #include <QWidget>
5 #include <mainwindow.h>
6 #include <yarp/dev/IFrameGrabberControls.h>
7 #include <yarp/dev/IFrameGrabberControlsDC1394.h>
8 
9 
10 #define SLIDER 0
11 #define SLIDERWB 1
12 
13 class DC1394SliderBase : public QWidget
14 {
15  Q_OBJECT
16 
17 public:
18  DC1394SliderBase(QWidget *parent) : QWidget(parent){}
19  virtual ~DC1394SliderBase(){}
20  static int GetHeight(){ return m_Height; }
21  virtual void Refresh()=0;
22  virtual void Propagate()=0;
23  virtual void updateSliders()=0;
24  int getSliderType(){return type;}
25 protected:
26  static int m_Height;
28  int type;
29 
30 
31 signals:
32  void reload();
33  void featureDisabled(QObject*);
34 };
35 
36 
37 
38 #endif // DC1394SLIDERBASE_H
virtual ~DC1394SliderBase()
virtual void Refresh()=0
virtual void Propagate()=0
virtual void updateSliders()=0
void featureDisabled(QObject *)
static int GetHeight()
DC1394SliderBase(QWidget *parent)