PDA

View Full Version : mouse click event



vijay anandh
1st May 2006, 10:15
Hi All

I am using VS2005 with Qt 4.I have four label on four frames and do drag and drop operation. it works fine everything. But what is the problem is when we do just one click on the frames instead of labels it get crossing. How do i implement mouse event for this.

Thanks and regards
vijay

zlatko
1st May 2006, 10:24
Reinplement mousePressEvent (http://doc.trolltech.com/4.0/qwidget.html#mousePressEvent) for your frame or use eventFilter (http://doc.trolltech.com/4.0/qobject.html#installEventFilter)