#ifndef BCValueEditor_H #define BCValueEditor_H #include #include class QSlider; class QPushButton; class BCValue; class BCValueEditor : public QWidget, private Ui::BCValueEditor { 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; }; #endif // BCValueEditor_H