Changed value handling.
This commit is contained in:
@@ -15,7 +15,7 @@ class BCValueEditor : public QWidget, private Ui::BCValueEditor
|
||||
|
||||
public:
|
||||
|
||||
explicit BCValueEditor(const BCValue& bcValue, QWidget *parent = nullptr);
|
||||
explicit BCValueEditor(int sliderValue, QWidget *parent = nullptr);
|
||||
|
||||
int getValue() const;
|
||||
void setValue(int val);
|
||||
@@ -23,10 +23,7 @@ public:
|
||||
signals:
|
||||
|
||||
void valueChanged(int value);
|
||||
|
||||
private:
|
||||
|
||||
const BCValue& _bcValue;
|
||||
void valueCommited(int value);
|
||||
|
||||
};
|
||||
#endif // BCValueEditor_H
|
||||
|
||||
Reference in New Issue
Block a user