[Qt-creator] Custom lines formatting in Compile Output
petar.perisin at gmail.com
Mon Dec 9 09:12:36 CET 2013
There was recent addon: AnsiEscapeCodeHandler.
You can look into it, to see how to change text format..
in the same way you can implement your own formatter. I'm not 100% sure,
but you might be able to cast signal sender and in that way check if your
parser was sender of that signal.
On Sun, Dec 8, 2013 at 11:52 PM, Mateusz Loskot <mateusz at loskot.net> wrote:
> I think I've have learned most of details about Utils::OutputFormatter,
> how it relies on the predefined set of OutputFormat enumerators and how
> it's used by output window classes.
> I can't figure out how to customise format of lines appended by my custom
> For example, how can I print a line in green?
> Do I need to implement my own OutputFormatter and do setFormatter on an
> output window, e.g. Compile Output?
> Could anyone help or point me where to look in QtC code to learn it?
> Best regards,
> Mateusz Łoskot, http://mateusz. loskot.net
> (Sent from mobile, apology for top-posting or broken quotes)
> Qt-creator mailing list
> Qt-creator at qt-project.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Qt-creator