# Using theme with QTGUI qss files makes transition lines between points on QT GUI Constellation Sink

**URL:** <https://www.ruby-forum.com/t/using-theme-with-qtgui-qss-files-makes-transition-lines-between-points-on-qt-gui-constellation-sink/242149>\
**Category:** GNU Radio\
**Created:** [May 31, 2015, 6:37pm UTC](https://www.ruby-forum.com/t/using-theme-with-qtgui-qss-files-makes-transition-lines-between-points-on-qt-gui-constellation-sink/242149 "2015-05-31T18:37:12Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![musicdenotation](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/ea666f/32.png) [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Post date:** [May 31, 2015, 6:37pm UTC](https://www.ruby-forum.com/t/using-theme-with-qtgui-qss-files-makes-transition-lines-between-points-on-qt-gui-constellation-sink/242149/1 "2015-05-31T18:37:12Z")

</div>

The new GRC theme system using qss files looks pretty neat and seems  
very  
user configurable. Thanks.

To use this, with my build-gnuradio installed setup, I had to create a  
new  
file under my home user folder at /home/me/.gnuradio/config.conf and I  
had  
to add the following to that file.

[QTGUI]  
qss = /usr/local/share/gnuradio/themes/alt.qss

To go back to the normal theme I just commented out that line, like  
so…

[QTGUI]  
#qss = /usr/local/share/gnuradio/themes/alt.qss

All this works just fine.

_BUT_

I did run into one issue using this with a QT GUI Constellation Sink.

The constellation points have the lines turned on running between them  
(ie  
so they look like a transition diagram instead of what I think of as a  
constellation diagram).

So before I asked for help here I thought I’d have some fun with it and  
tried some stuff on my own.

I tried adding the following to the alt.qss file in my  
/usr/local/share/gnuradio/themes folder (had to change file permissions  
on  
the qss files to do this with my editor - but I am guessing the  
permissions  
change is not an issue).

ConstellationDisplayPlot {  
qproperty-line\_style1: None;  
qproperty-line\_style2: None;  
qproperty-line\_style3: None;  
}

I put this between the VectorDIsplayPlot entries and the QwtPlotCanvas  
entries.  
I also tried replacing the similar lines in DisplayPlot with the  
selections  
for “None” I show above.

None of that changed the constellation to remove the lines between  
points.

To make sure I was having ‘some’ effect, I tried making the background  
for  
the whole plot an ugly green color (changing the top QWidget  
background-color) and that worked, so I am at least affecting something  
with that file if I had the syntax and context correct.

I did the requesite Google search on “QtCore.Qt.DashLine” to see if  
there  
was a syntax aside from “None” that would be correct, but while I could  
find syntax for several other line choices I did not a find syntax for a  
choice for no line. So it is possible the issue is deeper than just a  
qss  
configuration line.

_SO_

Any idea how to make the QT constellation plots not have the transition  
lines between points when using one of the qss sheets?

Thanks,

- John

---

<div class="post-metadata">

**Author:** ![jmaenpaa](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/9de053/32.png) [@jmaenpaa](https://www.ruby-forum.com/u/jmaenpaa)\
**Post date:** [May 31, 2015, 9:48pm UTC](https://www.ruby-forum.com/t/using-theme-with-qtgui-qss-files-makes-transition-lines-between-points-on-qt-gui-constellation-sink/242149/2 "2015-05-31T21:48:48Z")

</div>

Try removing these lines from the DisplayPlot {} section:

```
qproperty-line_style1: SolidLine;
qproperty-line_style2: DashLine;
qproperty-line_style3: DotLine;

```

Since the lines are also in Frequency plot and Vector plot sections,  
that change should not affect them.  
It might mess up a Time plot, but then you can just add those lines to  
that section to fix it.

— Seth
