diff options
author | trondeau | 2009-04-26 22:00:50 +0000 |
---|---|---|
committer | trondeau | 2009-04-26 22:00:50 +0000 |
commit | ba59e6384ac558f97a4530a69f8b8fc1b99ace0b (patch) | |
tree | 243010392d0f451edd224f0bbcbeeaacc0987885 /gr-qtgui/src/lib/SpectrumGUIClass.cc | |
parent | 9c3692b179b273ab6c21c3546c02c8b9226db13b (diff) | |
download | gnuradio-ba59e6384ac558f97a4530a69f8b8fc1b99ace0b.tar.gz gnuradio-ba59e6384ac558f97a4530a69f8b8fc1b99ace0b.tar.bz2 gnuradio-ba59e6384ac558f97a4530a69f8b8fc1b99ace0b.zip |
Bringing out set axis function to the qtgui sinks for user-settable axis ranges.
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@10922 221aa14e-8319-0410-a670-987f0aec2ac5
Diffstat (limited to 'gr-qtgui/src/lib/SpectrumGUIClass.cc')
-rw-r--r-- | gr-qtgui/src/lib/SpectrumGUIClass.cc | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/gr-qtgui/src/lib/SpectrumGUIClass.cc b/gr-qtgui/src/lib/SpectrumGUIClass.cc index 06450845a..58a4e78bc 100644 --- a/gr-qtgui/src/lib/SpectrumGUIClass.cc +++ b/gr-qtgui/src/lib/SpectrumGUIClass.cc @@ -430,5 +430,19 @@ SpectrumGUIClass::qwidget() return (QWidget*)_spectrumDisplayForm; } +void +SpectrumGUIClass::SetTimeDomainAxis(double min, double max) +{ + _spectrumDisplayForm->SetTimeDomainAxis(min, max); +} + +void +SpectrumGUIClass::SetConstellationAxis(double xmin, double xmax, + double ymin, double ymax) +{ + _spectrumDisplayForm->SetConstellationAxis(xmin, xmax, ymin, ymax); + +} + #endif /* SPECTRUM_GUI_CLASS_CPP */ |