diff options
author | trondeau | 2009-04-15 03:49:04 +0000 |
---|---|---|
committer | trondeau | 2009-04-15 03:49:04 +0000 |
commit | 322e065b19c922e2a9cc1710876e32d100453181 (patch) | |
tree | acc0c5d9643fd647d128ca4215147eef79189af3 /gr-qtgui/src/lib/FrequencyDisplayPlot.h | |
parent | ae5fa9430882f5140a3c9a9b61e4a5f7c4ed9127 (diff) | |
download | gnuradio-322e065b19c922e2a9cc1710876e32d100453181.tar.gz gnuradio-322e065b19c922e2a9cc1710876e32d100453181.tar.bz2 gnuradio-322e065b19c922e2a9cc1710876e32d100453181.zip |
Merging qtdevel2 branch -r10565:10849. This adds a lot of fixes and capabilities to the qtgui package. Most importantly, it allows interaction between PyQt and the C++ Qt routines in the gnuradio library.
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@10850 221aa14e-8319-0410-a670-987f0aec2ac5
Diffstat (limited to 'gr-qtgui/src/lib/FrequencyDisplayPlot.h')
-rw-r--r-- | gr-qtgui/src/lib/FrequencyDisplayPlot.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/gr-qtgui/src/lib/FrequencyDisplayPlot.h b/gr-qtgui/src/lib/FrequencyDisplayPlot.h index fb647d964..061ef6ef8 100644 --- a/gr-qtgui/src/lib/FrequencyDisplayPlot.h +++ b/gr-qtgui/src/lib/FrequencyDisplayPlot.h @@ -20,11 +20,16 @@ public: FrequencyDisplayPlot(QWidget*); virtual ~FrequencyDisplayPlot(); - void SetFrequencyRange(const double, const double, const double, const bool); + void SetFrequencyRange(const double, const double, + const double, const bool, + const double units=1000.0, + const std::string &strunits = "kHz"); double GetStartFrequency()const; double GetStopFrequency()const; - void PlotNewData(const double* dataPoints, const int64_t numDataPoints, const double noiseFloorAmplitude, const double peakFrequency, const double peakAmplitude); + void PlotNewData(const double* dataPoints, const int64_t numDataPoints, + const double noiseFloorAmplitude, const double peakFrequency, + const double peakAmplitude); void ClearMaxData(); void ClearMinData(); |