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

Arnold Krille arnold at arnoldarts.de
Thu May 14 13:05:59 CEST 2009


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

Use a button instead of a label. Something clickable is a button, something 
just for display of text and/or graphic is a label. For the sake of 
userfriendlieness keep it that way. Otherwise you can't expect your users to 
know that they should click the label. Unless you want them to click on all 
labels and complain that for most of them nothing happens...

Arnold
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090514/83fd0c55/attachment.bin 


More information about the Qt-interest-old mailing list