Summary: | conflicting directions of mouse scroll when zooming | ||
---|---|---|---|
Product: | [Applications] digikam | Reporter: | Mikolaj Machowski <mikmach> |
Component: | Usability-Mouse | Assignee: | Digikam Developers <digikam-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | 0.9.4 | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | 0.9.4 | |
Sentry Crash Report: |
Description
Mikolaj Machowski
2008-04-20 22:00:52 UTC
Gilles, is digikam/libs/widgets/common/statuszoombar.cpp the right place to modify? I think for 0.10, this can be easily done by defining the slider using http://doc.trolltech.com/4.3/qabstractslider.html#invertedControls-prop """If this property is false, scrolling the mouse wheel "up" and using keys like page up will increase the slider's value towards its maximum. Otherwise pressing page up will move value towards the slider's minimum.""" For 0.9.x: is it necessary to overwrite wheelEvent? Arnd, > is digikam/libs/widgets/common/statuszoombar.cpp the right place to modify? yes it is. > I think for 0.10, this can be easily done by defining the slider using > http://doc.trolltech.com/4.3/qabstractslider.html#invertedControls-prop right. > For 0.9.x: is it necessary to overwrite wheelEvent? yes. Gilles SVN commit 800977 by abaecker: Enforce consistent behaviour when using the mouse wheel over the zoom slider. CCBUGS: 161087 TODO:KDE4PORT M +2 -1 NEWS M +39 -3 libs/widgets/common/statuszoombar.cpp M +21 -0 libs/widgets/common/statuszoombar.h WebSVN link: http://websvn.kde.org/?view=rev&revision=800977 Note that the KDE4PORT will be much simpler: Adding d->zoomSlider->setInvertedControls(true); should do the job. SVN commit 800982 by cgilles: backport commit #800977 to KDE3 branch BUG: 161087 M +1 -0 statuszoombar.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=800982 |