Answer the question
In order to leave comments, you need to log in
QLabel: What's the best way to style hyperlinks?
At the moment we have many such places. Qlabel component.
<a href='action:start' style='color:yellow; text-decoration:none'>текст ссылки</a>
stylesheet
, I did not achieve any effect. Answer the question
In order to leave comments, you need to log in
So far the best solution is...
static const QString someCss = "<style>...</style>";
lbLabel->setText(someCss + MSG_LINK)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question