diff options
author | Gareth Stockwell <ext-gareth.stockwell@nokia.com> | 2010-01-11 15:03:29 (GMT) |
---|---|---|
committer | Gareth Stockwell <ext-gareth.stockwell@nokia.com> | 2010-01-11 15:03:29 (GMT) |
commit | 483893142dcec15c646ef997309dcede76466766 (patch) | |
tree | af4293d7b6caab658f07cabd52788cc01292871e /src/3rdparty/wintab | |
parent | e4f2a7f7aae733df87a60f0e9b32dd4d4f6ddcd0 (diff) | |
download | Qt-483893142dcec15c646ef997309dcede76466766.zip Qt-483893142dcec15c646ef997309dcede76466766.tar.gz Qt-483893142dcec15c646ef997309dcede76466766.tar.bz2 |
Modified effect parameter handling to improve user experience
This change is to work around a limitation in the Phonon::EffectWidget
class. This widget only displays sliders for parameters with numeric
values if the variant type of the parameter is QReal and the range is
exactly -1.0 to +1.0; otherwise, a spinbox is displayed. This is
rather inconvenient for many effects, such as the audio equalizer, for
which a slider is a much more natural UI control.
The MMF backend therefore reports the type of numeric parameters to
be QReal, and the range to be -1.0 to +1.0. Internally, the integer
range for the parameter is stored. Changes to the parameter value are
converted from the client-side, floating point representation to the
internal, integer representation.
Task-number: QTBUG-4659
Reviewed-by: Espen Riskedal
Diffstat (limited to 'src/3rdparty/wintab')
0 files changed, 0 insertions, 0 deletions