PDA

View Full Version : how to catch event for LineEdit control



gauravg
16th September 2011, 13:10
hi all
pls guide me how to catch events for LineEdit control on mouse click event.


thanks with regards:
gauravg

riskio
16th September 2011, 16:44
Sorry but it looks like a common problem of OOP.
you have to inherit from QLineEdit and reimplement those methods that you need...
if i missed the point please make an example of what your app should do..

amleto
16th September 2011, 21:08
http://doc.qt.nokia.com/latest/qmouseevent.html

http://doc.qt.nokia.com/latest/qwidget.html
virtual void mousePressEvent ( QMouseEvent * event )