From 09ac0c4c9a32cdba453812c4ac1199414fcc2719 Mon Sep 17 00:00:00 2001 From: "Tim E. Real" Date: Sat, 17 Nov 2012 10:03:17 +0000 Subject: Improved: Deicsonze soft synthesizer: Fixed crash, bugs, added ladspa plugins. TODO: No plugin control automation. Log slider/entry ranges. Add delay wet/dry? --- muse2/awl/floatentry.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'muse2/awl/floatentry.h') diff --git a/muse2/awl/floatentry.h b/muse2/awl/floatentry.h index 53d53bff..7d31498f 100644 --- a/muse2/awl/floatentry.h +++ b/muse2/awl/floatentry.h @@ -58,6 +58,8 @@ class FloatEntry : public QLineEdit { int _precision; bool _log; + double calcIncrement() const; + virtual void wheelEvent(QWheelEvent*); virtual void mousePressEvent(QMouseEvent*); virtual void mouseMoveEvent(QMouseEvent*); @@ -67,6 +69,7 @@ class FloatEntry : public QLineEdit { virtual bool setString(double); virtual void incValue(double); virtual void decValue(double); + void contextMenuEvent(QContextMenuEvent*); void updateValue(); @@ -96,11 +99,17 @@ class FloatEntry : public QLineEdit { double minValue() const { return _minValue; } double maxValue() const { return _maxValue; } void setMinValue(double v) { _minValue = v; } + void setMinLogValue(double v); void setMaxValue(double v) { _maxValue = v; } + void setMaxLogValue(double v); void setRange(double a, double b) { _minValue = a; _maxValue = b; } + void setLogRange(double a, double b) { + setMinLogValue(a); + setMaxLogValue(b); + } int precision() const { return _precision; } void setPrecision(int val); QString specialText() const { return _specialText; } -- cgit v1.2.3