diff options
author | Tom Rondeau | 2011-10-15 18:23:04 -0400 |
---|---|---|
committer | Tom Rondeau | 2011-10-15 18:23:04 -0400 |
commit | 25fd6e0324dc8296b66a3c9b8e628d6738f15fe7 (patch) | |
tree | 181953f37acdd502d10cf85fb6566b72bd0a0b8c /gr-qtgui/lib/TimeDomainDisplayPlot.h | |
parent | 32ef4974395913878f252434c21a63a259bb9b97 (diff) | |
download | gnuradio-25fd6e0324dc8296b66a3c9b8e628d6738f15fe7.tar.gz gnuradio-25fd6e0324dc8296b66a3c9b8e628d6738f15fe7.tar.bz2 gnuradio-25fd6e0324dc8296b66a3c9b8e628d6738f15fe7.zip |
qtgui: wip: updating qtgui to work with QWT 6 (and trying to maintain backwards compatability to 5.2). This wip works for just the fft plots.
Diffstat (limited to 'gr-qtgui/lib/TimeDomainDisplayPlot.h')
-rw-r--r-- | gr-qtgui/lib/TimeDomainDisplayPlot.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gr-qtgui/lib/TimeDomainDisplayPlot.h b/gr-qtgui/lib/TimeDomainDisplayPlot.h index af87e1b14..8e277bc81 100644 --- a/gr-qtgui/lib/TimeDomainDisplayPlot.h +++ b/gr-qtgui/lib/TimeDomainDisplayPlot.h @@ -39,6 +39,10 @@ #include <qwt_symbol.h> #include <qtgui_util.h> +#if QWT_VERSION >= 0x060000 +#include <qwt_compat.h> +#endif + class TimeDomainDisplayPlot:public QwtPlot{ Q_OBJECT @@ -61,7 +65,7 @@ public slots: void SetSampleRate(double sr, double units, const std::string &strunits); - void OnPickerPointSelected(const QwtDoublePoint & p); + void OnPickerPointSelected(const QPointF & p); signals: void plotPointSelected(const QPointF p); |