I have a QLabel setup as a hyperlink. The default is to underline it. Does anyone know how to turn off the underline?
I have a QLabel setup as a hyperlink. The default is to underline it. Does anyone know how to turn off the underline?
Have you tried to use a stylesheet?
I have not looked at a style sheet. I've never used style sheets, do you know what the style sheet would look like?
Qt Code:
label.setText("<a href=url style=\"text-decoration:none;\">here</a>");To copy to clipboard, switch view to plain text mode
HIH
Johannes
gmat4321 (13th April 2010)
Bookmarks