March 18, 2012

umen242 umen242
Ant Farmer
328 posts

How to capture Qlabel link text and redirect it to my use

 

Hello
i have simple QLable that holds html link , now i need to be able to detect that user click on the link
and do something , and prevent the link to open in external browser .
where to start ?

1 reply

March 18, 2012

Lukas Geyer Lukas Geyer
Gene Splicer
2074 posts

Set QLabel::openExternalLinks [qt-project.org] to false and connect to the QLabel::linkActivated() signal.

 
  ‹‹ Qstring Problem      Two bugs of qt creator mac version ››

You must log in to post a reply. Not a member yet? Register here!