summaryrefslogtreecommitdiff
path: root/muse2/awl/floatentry.h
diff options
context:
space:
mode:
authorTim E. Real <termtech@rogers.com>2012-11-17 10:03:17 +0000
committerTim E. Real <termtech@rogers.com>2012-11-17 10:03:17 +0000
commit09ac0c4c9a32cdba453812c4ac1199414fcc2719 (patch)
tree88147e3b93dfd17142d0c80f2117cc3c313ac518 /muse2/awl/floatentry.h
parent499c8bfc244f631304fe0c15449a31b442ebe0d7 (diff)
Improved: Deicsonze soft synthesizer: Fixed crash, bugs, added ladspa plugins.
TODO: No plugin control automation. Log slider/entry ranges. Add delay wet/dry?
Diffstat (limited to 'muse2/awl/floatentry.h')
-rw-r--r--muse2/awl/floatentry.h9
1 files changed, 9 insertions, 0 deletions
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; }