comparison widgets/Fader.h @ 187:e7cf6044c2a0

* better icon * support range mappers in thumbwheel * supply range mapper for vertical zoom from spectrogram * fix bug in fftmodel for scaled ffts * make the various widgets all respond to double-click for edit, middle-click for reset, ctrl-left-click for reset
author Chris Cannam
date Fri, 12 Jan 2007 14:49:18 +0000
parents 5d3a483856ff
children 5b7472db612b
comparison
equal deleted inserted replaced
186:8dd247c4c5f1 187:e7cf6044c2a0
77 77
78 signals: 78 signals:
79 void valueChanged(float); // 0.0 -> 1.0 79 void valueChanged(float); // 0.0 -> 1.0
80 80
81 private: 81 private:
82 int getMaxX() const;
83
82 bool m_withoutKnob; 84 bool m_withoutKnob;
83 float m_value; 85 float m_value;
84 float m_peakLeft; 86 float m_peakLeft;
85 float m_peakRight; 87 float m_peakRight;
88
89 bool m_mousePressed;
90 int m_mousePressX;
91 float m_mousePressValue;
86 92
87 QPixmap m_back; 93 QPixmap m_back;
88 QPixmap m_leds; 94 QPixmap m_leds;
89 QPixmap m_knob; 95 QPixmap m_knob;
90 QPixmap m_clip; 96 QPixmap m_clip;