commit-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Commit-gnuradio] [gnuradio] 03/07: qtgui: changing style of grid lines


From: git
Subject: [Commit-gnuradio] [gnuradio] 03/07: qtgui: changing style of grid lines for better readability.
Date: Tue, 31 Mar 2015 14:51:20 +0000 (UTC)

This is an automated email from the git hooks/post-receive script.

jcorgan pushed a commit to branch master
in repository gnuradio.

commit 2033bec807dcfeaaf174c99abcb4a8e67357cceb
Author: Tom Rondeau <address@hidden>
Date:   Sun Mar 29 14:02:24 2015 -0700

    qtgui: changing style of grid lines for better readability.
---
 gr-qtgui/lib/displayform.cc | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/gr-qtgui/lib/displayform.cc b/gr-qtgui/lib/displayform.cc
index bbf415f..370b30e 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);



reply via email to

[Prev in Thread] Current Thread [Next in Thread]