[SOLVED] Link underlines the label..
-
so this code on a qlabel
@<html><head/><body><p><a href="“textPassedToLinkActivatedSignal”"><span >hh:mm</span></a></p></body></html>@
will make the hh:mm underlined even if there is nothing at the stylesheet saying to underline it...
anyway to remove the underlined line but still make the hh:mm linkable? -
[quote author="Andre" date="1360334691"]What makes you think that QLabel understands style sheets for formatting rich text? And why do you want to confuse your users by making things that don't look active clickable anyway?[/quote]
for example in adroid...
is the clock underlined? no and its clickable.. ;)that meas that there are a lot sircumnstances that u might want a linkable label not underlined..
so is it something simple, will i be able to do something like this with a custom label ?
-
Have you tried:
@<a href="...">Foobar</a>@--
[EDIT]
Okay, this board is horribly broken and destroyed my text.
Please look here:
http://pastie.org/private/jhnvsem0gnyah5akjx1uq -
[quote author="mlong" date="1360353635"]bq. is the clock underlined? no and its clickable.. ;)
Is it really a label you're needing, or is it just a customized QPushButton?
[/quote]It is a label....
[quote author="MuldeR" date="1360351158"]Have you tried:
@<a href="...">Foobar</a>@--
[EDIT]
Okay, this board is horribly broken and destroyed my text.
Please look here:
http://pastie.org/private/jhnvsem0gnyah5akjx1uq[/quote]Works, thank you :)