YARP
Yet Another Robot Platform
 
Loading...
Searching...
No Matches
dc1394SliderBase.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2025-2025 Istituto Italiano di Tecnologia (IIT)
3 * SPDX-License-Identifier: LGPL-2.1-or-later
4 */
5
6#ifndef DC1394SLIDERBASE_H
7#define DC1394SLIDERBASE_H
8
9#include <QWidget>
10#include <mainwindow.h>
13
14
15#define SLIDER 0
16#define SLIDERWB 1
17
18class DC1394SliderBase : public QWidget
19{
20 Q_OBJECT
21
22public:
23 DC1394SliderBase(QWidget *parent) : QWidget(parent){}
25 static int GetHeight(){ return m_Height; }
26 virtual void Refresh()=0;
27 virtual void Propagate()=0;
28 virtual void updateSliders()=0;
29 int getSliderType(){return type;}
30protected:
31 static int m_Height;
33 int type;
34
35
36signals:
37 void reload();
38 void featureDisabled(QObject*);
39};
40
41#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)