[Qt-interest] Scroll Wheel Events in QLineEdit

Michael Jackson mike.jackson at bluequartz.net
Tue Apr 5 00:40:43 CEST 2011


Does anyone have an example of a QLineEdit getting a Scroll Wheel Event? The
basics of what I am wanting to do would be to have the user place the cursor
in the QLine Edit that maybe only accepts Integers and if the mouse is
hovering over the QLineEdit and the user uses the scroll wheel the integers
would change one way of the other. I figure a subclass is on order and
implementing some sort of event handler but I am not sure which event
handlers are even available or what I Need. Just trying to get an idea if
this is even doable.

Thanks
Mike Jackson
Www.bluequartz.net




More information about the Qt-interest-old mailing list