PDA

View Full Version : regarding QTextEdit control



vijay anandh
8th May 2006, 12:47
Hi All

I am vijay using Vs 2005 with Qt 4.1. I have QTextEdit control on the form. I want to display some plain text first and then i want to display "www.somelink.com" like this

see for example it should be like this

Welcome welcome welcome
click here "www.somelink.com"

link should be in blue color and it should get hand mouse cursor when we move on it

What can i do

Warm regards
vijayu

munna
8th May 2006, 15:16
If you want to catch the event when someone clicks on the link then use QTextBrowser otherwise use QTextEdit.

Try:

<p>Welcome welcome welcome</p>
<p>click here <a href = "#">www.somelink.com</a><p>