This commit is contained in:
2026-01-10 22:18:54 +01:00
parent aa4b2a1b84
commit 7780657d82
12 changed files with 160 additions and 52 deletions

33
bcvalueeditor.h Normal file
View File

@@ -0,0 +1,33 @@
#ifndef BCVALUEEDITOR_H
#define BCVALUEEDITOR_H
#include <QWidget>
class QSlider;
class QPushButton;
class BCValue;
class BCValueEditor : public QWidget
{
Q_OBJECT
public:
explicit BCValueEditor(const BCValue& bcValue, QWidget *parent = nullptr);
int getValue() const;
void setValue(int val);
signals:
void valueChanged(int value);
private:
const BCValue& _bcValue;
QSlider* _slider;
QPushButton* _commitButton;
};
#endif // BCVALUEEDITOR_H