PDA

View Full Version : Clickable text?



hkvm
27th September 2008, 20:18
Hello,

I'm wondering if it is possible to make text in a read-only QTextEdit clickable -- not just a hyperlink pointing to a web page, but if clicking a word could trigger an arbitrary function. Any ideas how to achieve this (or something similar)? Thanks.

Junior
27th September 2008, 22:10
Yep - attached is an example of how to do this.

hkvm
27th September 2008, 22:49
Perfect! Thank you very much.