From e251c885f19281ef918987e09c2aac1af6a952c2 Mon Sep 17 00:00:00 2001 From: Tom Rondeau Date: Sun, 24 Apr 2011 00:31:39 -0400 Subject: gr-qtgui: provide function and slot for setting the labels of a time curve. --- gr-qtgui/lib/TimeDomainDisplayPlot.cc | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'gr-qtgui/lib/TimeDomainDisplayPlot.cc') 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() { -- cgit