rmagro
1st February 2008, 15:33
Hi all,
I have the following label in which I put a link..
I would like to open the google web site when I click to the text..
How to do it ?
The following code doen not work ...What am I missing?
QLbel *serverLabel = new QLabel();
serverLabel->setText(tr("<a style='color: red;' href='http://www.google.com'>HIT HERE</a>"));
I have the following label in which I put a link..
I would like to open the google web site when I click to the text..
How to do it ?
The following code doen not work ...What am I missing?
QLbel *serverLabel = new QLabel();
serverLabel->setText(tr("<a style='color: red;' href='http://www.google.com'>HIT HERE</a>"));