diff options
author | Tom Rondeau | 2011-04-24 00:31:39 -0400 |
---|---|---|
committer | Tom Rondeau | 2011-04-24 00:31:39 -0400 |
commit | e251c885f19281ef918987e09c2aac1af6a952c2 (patch) | |
tree | 6549d57d3afdb7ae60b3de984af9182eb669dbe6 /gr-qtgui/lib/TimeDomainDisplayPlot.cc | |
parent | 350611ddd9295ba8af6ea5913630ec0670208b43 (diff) | |
download | gnuradio-e251c885f19281ef918987e09c2aac1af6a952c2.tar.gz gnuradio-e251c885f19281ef918987e09c2aac1af6a952c2.tar.bz2 gnuradio-e251c885f19281ef918987e09c2aac1af6a952c2.zip |
gr-qtgui: provide function and slot for setting the labels of a time curve.
Diffstat (limited to 'gr-qtgui/lib/TimeDomainDisplayPlot.cc')
-rw-r--r-- | gr-qtgui/lib/TimeDomainDisplayPlot.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gr-qtgui/lib/TimeDomainDisplayPlot.cc b/gr-qtgui/lib/TimeDomainDisplayPlot.cc index 70b11dd0e..28cca3aaa 100644 --- a/gr-qtgui/lib/TimeDomainDisplayPlot.cc +++ b/gr-qtgui/lib/TimeDomainDisplayPlot.cc @@ -208,6 +208,11 @@ TimeDomainDisplayPlot::set_xaxis(double min, double max) _zoomer->setZoomBase(); } +void +TimeDomainDisplayPlot::set_title(int which, QString title) +{ + _plot_curve[which]->setTitle(title); +} void TimeDomainDisplayPlot::replot() { |