I have a structure with two members: word
:string and pos
:int (part of speech).
And I want to output words
with their pos
above in QTextEdit
like this
Is this even possible or it's easier to make colorful font and background with SyntaxHighlighter
?