PDA

View Full Version : Qt doesn't respect Mac OS X mouse wheel scrolling speed setting



sfcheng77
4th January 2013, 05:59
I have qtwebkit-based application. When I scroll the mousewheel inside webview, the scrolling speed doesn't respect the settings set in system preferences->mouse->scrolling speed under Mac OS X. It does respect the system settings under Windows.

I guess I probably have to load the system settings manually and set it with QApplication::setWheelScrollLines . But I am not familiar with native Mac API. Can anyone tell what mac api can I call to get this value?

Thanks a lot.