when you click the mouse on the widget, an event is risen, right?
just catch that event (subclass and reimplement event()), and don't call the parent method.
See:
http://doc.trolltech.com/4.4/qwidget.html#event or http://doc.trolltech.com/4.4/qwidget...ousePressEvent
Bookmarks