Quantcast
Channel: Jobs
Viewing all articles
Browse latest Browse all 18427

[SOLVED] QTextBrowser anchorClicked() signal ?

$
0
0
I have a QTextBrowser for my application and I have set the urls such as textBrowser->append("< href=\http://www.google.com\>Google</>"); //removed <a> as it was not showining in preview textBrowser->setOpenExternalLinks(true); and connecting using connect(textBrowser,SIGNAL(anchorClicked(QUrl)),this,SLOT(onAnchorClicked(QUrl))); but when i click on the link the achorClicked signal is not called but the links opens in the browser, what am i doing wrong ?

Viewing all articles
Browse latest Browse all 18427

Latest Images

Trending Articles



Latest Images