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/timedisplayform.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/timedisplayform.cc')
-rw-r--r-- | gr-qtgui/lib/timedisplayform.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gr-qtgui/lib/timedisplayform.cc b/gr-qtgui/lib/timedisplayform.cc index 368e47c95..816331771 100644 --- a/gr-qtgui/lib/timedisplayform.cc +++ b/gr-qtgui/lib/timedisplayform.cc @@ -164,3 +164,8 @@ TimeDisplayForm::SetUpdateTime(double t) displayTimer->start(d_update_time*1000); } +void +TimeDisplayForm::SetTitle(int which, QString title) +{ + _timeDomainDisplayPlot->set_title(which, title); +} |