[Qt-interest] Signals on QLabel

Andreas Pakulat apaku at gmx.de
Mon Jun 8 17:53:50 CEST 2009


On 08.06.09 20:31:25, Santhosh Y wrote:
> Hi,
> 
> Following is a simple QLabel derived class; I would like to know, when I 
> click on the QLabel
> which signal would be emitted.

None, unless you add a real link to the text you supply to the label.
QLabel isn't clickable itself, only links in its text are and thats good.
If you want some text thats clickable, that usually is called a Button not
a label.

Andreas

-- 
Many changes of mind and mood; do not hesitate too long.



More information about the Qt-interest-old mailing list