Hi,

My very first Qt application calls for a text display, built by the application. Parts of it needs to be in color.

How can I:

-set the color or font of text in qTextEdit, by line&char? For example, start from line 5, character 4 and make next 10 characters bold with gray background?

-replace said characters with some other text, keeping the formatting?

And finally, am I using the right widget in the first place?

Thank you!