[PATCH] Smooth mouse wheel scrolling

N.Cat trisk at quasarnet.org
Mon Mar 31 06:30:16 BST 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

I´ve modified KHTMLView to parse up/down QWheelEvents and scroll more or less 
smoothly up or down by a line or a page (accepts both Ctrl and Shift as 
modifiers for this since I´m not sure which one should be taken for zooming) 
for each event (wheelclick). It has a crude system to speed up the faster the 
wheel is scrolled, and slow down as the scrolling is reaches an end. Pressing 
an autoscroll key (or Up/Down) can stop the scrolling.

Hope this is useful,
 
- -Triskelios
- -- 
[ 49206C6F76652041657269616E61 ]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (GNU/Linux)

iD8DBQE+h9JtxWnCpsxamgcRAvMCAJsHPr1Xq25e+iEGyQ3DHNcUUqnyBgCePt0s
7fkRp4/leTLSzYbdhtvkGAY=
=78aI
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: khtml-smoothscroll.patch
Type: text/x-diff
Size: 5695 bytes
Desc: not available
URL: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20030331/3518afa9/attachment.patch>


More information about the kfm-devel mailing list