diff options
Diffstat (limited to 'gr-qtgui/src/lib/TimeDomainDisplayPlot.cc')
-rw-r--r-- | gr-qtgui/src/lib/TimeDomainDisplayPlot.cc | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/gr-qtgui/src/lib/TimeDomainDisplayPlot.cc b/gr-qtgui/src/lib/TimeDomainDisplayPlot.cc index 6d8ef6ee40..cb18b44184 100644 --- a/gr-qtgui/src/lib/TimeDomainDisplayPlot.cc +++ b/gr-qtgui/src/lib/TimeDomainDisplayPlot.cc @@ -141,8 +141,8 @@ TimeDomainDisplayPlot::set_xaxis(double min, double max) } -void TimeDomainDisplayPlot::replot(){ - +void TimeDomainDisplayPlot::replot() +{ const timespec startTime = get_highres_clock(); QwtPlot::replot(); @@ -156,9 +156,16 @@ void TimeDomainDisplayPlot::replot(){ } } +void +TimeDomainDisplayPlot::resizeSlot( QSize *s ) +{ + resize(s->width(), s->height()); +} + void TimeDomainDisplayPlot::PlotNewData(const double* realDataPoints, const double* imagDataPoints, - const int64_t numDataPoints){ + const int64_t numDataPoints) +{ if(numDataPoints > 0){ if(numDataPoints != _numPoints){ |