Solved use color scheme in qtextedit
-
how can i use the color scheme that qt and other code editor use in qTextBrowser or qTextEdit?
-
@saber
about what color scheme are you talking exactly? -
@raven-worx
here is the how qt designer's color scheme setting.
like this multi-color text
-
@saber
see the Syntaxhighlighter example
I am not aware of any predefined schemes though.But since QtCreator is open-source you may want to check it's source.