The QTextEdit widget is based on Unicode and not ascii, so probably you won't succeed in achieving what you want through ascii. I suggest using css instead.
The QTextEdit widget is based on Unicode and not ascii, so probably you won't succeed in achieving what you want through ascii. I suggest using css instead.
Actually, it turns out that it can be done. I just had to use the correct Unicode number when creating a QChar. I used the Windows Character Map to get the hex code and then converted that into decimal and created the QChar with that number. Seems to work fairly well!
Paul
pervlad (15th December 2011)
As I said, you wouldn't achieve it through ascii. Using Unicode is a different story.
Bookmarks