I would like to handle a click to the link in this application of mine:
When I click
Ok, for those interested, I got the answer:
openExternalLinks
" property of the QLabel
QLabel
to your handler.That's all: linkActivated
gives you the URL that the link refers to in argument, so my pseudo code works perfectly.
// header
private slots:
void on_description_linkActivated(const QString &link);
// cpp
void KernelBuild::on_description_linkActivated(const QString &link)
{
if( link == "#browse_output" ){
on_outfilebtn_clicked();
}
}