Review Request 120003: Allow changing month with mouse wheel

Kai Uwe Broulik kde at privat.broulik.de
Sat Aug 30 12:25:43 UTC 2014


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/120003/
-----------------------------------------------------------

Review request for Plasma.


Repository: plasma-framework


Description
-------

This patch allows changing the month using the mouse wheel. I already tried that patch earlier but with the previous approach used in the month view ("Use a ton of rectangles") it was unusable. Performance is fine with the canvas now.

With Qt 5.3's high-precision touchpad scrolling, however, we get a wheelevent for the slightest finger movement which resulted in you easily ending up 5 years in the future in one movement. Hence this hack I added, which I'm not too fond of but it works rather nicely. Traditional mouse wheel works perfectly.


Diffs
-----

  src/declarativeimports/calendar/qml/MonthView.qml 2a14f28 

Diff: https://git.reviewboard.kde.org/r/120003/diff/


Testing
-------

Yup. Going back and forth between months using mouse wheel and touchpad.


Thanks,

Kai Uwe Broulik

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20140830/da45ad69/attachment.html>


More information about the Plasma-devel mailing list