PDA

View Full Version : ToolTip with hyperlink



Holiday21093
7th August 2015, 16:44
Hi all!

Task is - create a tooltip with hyperlink

I tryed to use QToolTip and QWhatsThis

Unfortunately I didn't find a way to force it work.

Is this real create such thing without making Tooltip from QLabel?

ChrisW67
7th August 2015, 21:37
Doesn't setting the tool tip text with HTML do that?


Tooltip->setText("stuff <a href='http://www.qtcentre.org'>Qt Centre</a> stuff");

Holiday21093
10th August 2015, 09:22
Doesn't setting the tool tip text with HTML do that?


Tooltip->setText("stuff <a href='http://www.qtcentre.org'>Qt Centre</a> stuff");


It looks like hyperlink, but, unfortunatelly, they are not clickable