Changing trace or background colour in the QT GUI scope

Hello,

Is there a way to change the colour of the trace or background in the QT
GUI scope?

Thanks,
John

The individual QT Gui sinks have a set_color() method, and I think that
might be what you’re looking for.
Also, for GRC, in recent versions, there’s the “config” tab in the
property window of e.g. the QT time sink, where you can chouse colors.

Greetings,
Marcus

On Thu, Jul 17, 2014 at 11:02 AM, Marcus Müller
[email protected]
wrote:

The individual QT Gui sinks have a set_color() method, and I think that
might be what you’re looking for.
Also, for GRC, in recent versions, there’s the “config” tab in the
property window of e.g. the QT time sink, where you can chouse colors.

Greetings,
Marcus

Better I think would be to use a QSS file. Take a look at the last
paragraph on the qtgui manual page:

http://gnuradio.org/doc/doxygen/page_qtgui.html

If you look in $prefix/etc/gnuradio/conf.d/gr-qtgui.conf, you’ll see an
example of the location of a qss file. There are two defined with GR as
of
3.7.4, dark.qss and a slightly modified alt.qss.

Tom