Mercurial > hg > svgui
comparison widgets/Fader.cpp @ 189:5b7472db612b
* Add large chunks of context help in the optional status bar
* Add an extra overlay mode in which even the centre frame is disabled
* Fixes to FTP retrieval
author | Chris Cannam |
---|---|
date | Fri, 19 Jan 2007 13:13:14 +0000 |
parents | e7cf6044c2a0 |
children | 8c00a4d4fc69 |
comparison
equal
deleted
inserted
replaced
188:dd573e090eed | 189:5b7472db612b |
---|---|
199 | 199 |
200 update(); | 200 update(); |
201 emit valueChanged(getValue()); | 201 emit valueChanged(getValue()); |
202 } | 202 } |
203 | 203 |
204 void | |
205 Fader::enterEvent(QEvent *) | |
206 { | |
207 emit mouseEntered(); | |
208 } | |
209 | |
210 void | |
211 Fader::leaveEvent(QEvent *) | |
212 { | |
213 emit mouseLeft(); | |
214 } | |
204 | 215 |
205 void | 216 void |
206 Fader::setValue(float v) | 217 Fader::setValue(float v) |
207 { | 218 { |
208 float max = AudioLevel::dB_to_multiplier(10.0); | 219 float max = AudioLevel::dB_to_multiplier(10.0); |