[Qt-interest] Need to show a dialog on click of QLabel

Frank Hemer frank at hemer.org
Thu May 14 16:43:16 CEST 2009


On Thursday 14 May 2009 11:25:40 Kamakshi Sivaraman wrote:
> Hi All,
>
> I need to show a dialog on click of QLabel.
> Please tell, how can I do that.

Take a look here:
http://doc.trolltech.com/4.5/qobject.html#installEventFilter

This will allow to handle mousePress events without using specialisation on 
QLabel.

Frank



More information about the Qt-interest-old mailing list