[Qt-interest] QTextEdit: tr with borders ?

Stephen Collyer scollyer at netspinner.co.uk
Fri Feb 12 19:58:53 CET 2010


Qt 4.6 on Linux.

I've been struggling to get a QTextEdit to display a tr with borders. I have
a style-sheet like so:

QString html = "<head><style type=\"text/css\"> tr {border-style: solid;
border-color: red; font-size:12pt; } </style></head>";

This seems to have no effect on tr elements in a table, and I've been unable
to get QTextEdit to display tr borders in any other way either.

Could someone tell me what I'm doing wrong ?

-- 
Stephen Collyer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100212/0227cc3f/attachment.html 


More information about the Qt-interest-old mailing list