[Qt-interest] how to generate a hyperlink like button?

Andre Somers andre at familiesomers.nl
Mon May 10 13:41:44 CEST 2010


On 10-5-2010 13:33, Gabriele Kahlout wrote:
> but I'm not doing a hyperlink, actually. It's still a slot signal 
> thing. I just want to imitate the gui aspect of it.
> So clicking on the label i want a signal emitted. Is that possible? I 
> didn't find it in the doc.
What makes you think a hyperlink is not a "slot signal thing"? I just 
referred you to the place in the docs where you can find the signal that 
will be emitted if you click such a hyperlink.

Signals:
     QLabel::linkActivated( const QString& link );


André




More information about the Qt-interest-old mailing list