PDA

View Full Version : Looking for a hyperlink control



scarleton
2nd July 2010, 04:07
I am coming from a Microsoft C++ and .Net world, in the .Net world Microsoft has a really useful control called LinkLabel. It is a text label that can have different range of text set as links to make them look like hyperlinks in a web browser. It doesn't look like Qt has such a control, so I was wondering if there might be a 3rd party version out there somewhere.

Sam

tbscope
2nd July 2010, 04:46
QLabel can do that.
See: http://doc.qt.nokia.com/4.6/qlabel.html#linkActivated

To set the look of the text, you can add a simple css like you do with a html page.