diff options
-rw-r--r-- | gr-qtgui/lib/plot_raster.cc | 6 | ||||
-rw-r--r-- | gr-qtgui/lib/plot_raster.h | 2 |
2 files changed, 8 insertions, 0 deletions
diff --git a/gr-qtgui/lib/plot_raster.cc b/gr-qtgui/lib/plot_raster.cc index 20a2b7e56c..bccff88f10 100644 --- a/gr-qtgui/lib/plot_raster.cc +++ b/gr-qtgui/lib/plot_raster.cc @@ -312,6 +312,12 @@ QImage PlotTimeRaster::renderImage(const QwtScaleMap &xMap, return image; } +QwtInterval +PlotTimeRaster::interval(Qt::Axis ax) const +{ + return d_data->data->interval(ax); +} + /*! \brief Draw the raster diff --git a/gr-qtgui/lib/plot_raster.h b/gr-qtgui/lib/plot_raster.h index 2e914e5753..e46dea568b 100644 --- a/gr-qtgui/lib/plot_raster.h +++ b/gr-qtgui/lib/plot_raster.h @@ -65,6 +65,8 @@ public: virtual int rtti() const; + virtual QwtInterval interval(Qt::Axis ax) const; + virtual void draw(QPainter *p, const QwtScaleMap &xMap, const QwtScaleMap &yMap, |