[Qt-interest] Scroll Wheel Events in QLineEdit
Malyushytsky, Alex
alex at wai.com
Tue Apr 5 23:53:59 CEST 2011
You probably are looking for QWheelEvent.
Alex
-----Original Message-----
From: qt-interest-bounces+alex=wai.com at qt.nokia.com [mailto:qt-interest-bounces+alex=wai.com at qt.nokia.com] On Behalf Of Michael Jackson
Sent: Monday, April 04, 2011 3:41 PM
To: qt-interest at qt.nokia.com
Subject: [Qt-interest] Scroll Wheel Events in QLineEdit
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
_______________________________________________
Qt-interest mailing list
Qt-interest at qt.nokia.com
http://lists.qt.nokia.com/mailman/listinfo/qt-interest
---------------------------------------------------------------------------------------------------
Weidlinger Associates, Inc. made the following annotations.
“This message and any attachments are solely for the intended recipient and may contain confidential or privileged information. If you are not the intended recipient, any disclosure, copying, use, or distribution of the information included in this message and any attachments is prohibited. If you have received this communication in error, please notify us by reply e-mail and immediately and permanently delete this message and any attachments. Thank you.”
“Please consider our environment before printing this email.”
More information about the Qt-interest-old
mailing list