[Qt-interest] Need to show a dialog on click of QLabel
Srdjan Todorovic
todorovic.s at googlemail.com
Thu May 14 16:33:09 CEST 2009
2009/5/14 Scott Aron Bloom <Scott.Bloom at sabgroup.com>:
>> 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
>
> +1... Unless you are re-implementing all the styles of the label
> necessary to give you the proper look and feel.. labels should not be
> clickable
In that case, what's this for?
http://doc.trolltech.com/4.5/qlabel.html#linkActivated
(as a side note: how does one use the above? There's no setLink() or
anything else on QLabel that seems relevant...)
Unless that is classed as having functionality for proper look and feel.
Hyperlinks? These are labels that are clickable...
Srdjan
More information about the Qt-interest-old
mailing list