diff options
author | Tom Rondeau <tom@trondeau.com> | 2015-03-29 14:02:24 -0700 |
---|---|---|
committer | Tom Rondeau <tom@trondeau.com> | 2015-03-29 14:10:45 -0700 |
commit | 2033bec807dcfeaaf174c99abcb4a8e67357cceb (patch) | |
tree | f38ffd005d6160b68522e041b4a5be2c6dfd46b7 | |
parent | c117e3232b32bb70d268932bcea025feb0a4cf25 (diff) |
qtgui: changing style of grid lines for better readability.
-rw-r--r-- | gr-qtgui/lib/displayform.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gr-qtgui/lib/displayform.cc b/gr-qtgui/lib/displayform.cc index bbf415ff40..370b30efbd 100644 --- a/gr-qtgui/lib/displayform.cc +++ b/gr-qtgui/lib/displayform.cc @@ -35,7 +35,10 @@ DisplayForm::DisplayForm(int nplots, QWidget* parent) // Set up a grid that can be turned on/off d_grid = new QwtPlotGrid(); - d_grid->setPen(QPen(QColor(Qt::gray))); + QPen *gridpen = new QPen(Qt::DashLine); + gridpen->setWidth(0.25); + gridpen->setColor(Qt::gray); + d_grid->setPen(*gridpen); // Create a set of actions for the menu d_stop_act = new QAction("Stop", this); |