I've been trying to figure out how to write what I know as "extended ascii" inside a QTextEdit in such a way that I can write a few of those characters in one color, then change colors (both foreground and background colors) for the next few letters printed and so on.
extended ascii as pictured here:
http://www.asciitable.com/
All of the text that I'm inserting is using QTextEdit::insertHtml. Is there a way to insert these characters in the textEdit?
Right now I've been trying something like:
Create a HTML span tag with color attributes
insert the text I want to print, like QChar (191) for a "top-right corner". But the top right corner character doesn't show up. The characters that I'm getting match these:
http://www.idevelopment.info/data/Pr...ii_table.shtml
How do I get the first set of so called "extended ascii" chars?
Paul
Bookmarks