Files
BionxControl/bcvalueeditor.h
2026-01-18 18:52:30 +01:00

30 lines
466 B
C++

#ifndef BCValueEditor_H
#define BCValueEditor_H
#include <QWidget>
#include <ui_bcvalueeditor.h>
class QSlider;
class QPushButton;
class BCValue;
class BCValueEditor : public QWidget, private Ui::BCValueEditor
{
Q_OBJECT
public:
explicit BCValueEditor(int sliderValue, QWidget *parent = nullptr);
int getValue() const;
void setValue(int val);
signals:
void valueChanged(int value);
void valueCommited(int value);
};
#endif // BCValueEditor_H