diff options
author | Tom Rondeau <tom@trondeau.com> | 2015-10-27 13:50:23 -0400 |
---|---|---|
committer | Tom Rondeau <tom@trondeau.com> | 2015-10-29 16:21:03 -0400 |
commit | bea941449edcb709f02f95c9f7cf1a47cd9d2ae8 (patch) | |
tree | 094bea3f3d53e9a35fb9619d52b727eb58c36436 /gr-qtgui/lib/timerasterdisplayform.cc | |
parent | 253e6c3d8ab51eb8d660a0d8f881498c33b2bb1b (diff) |
qtgui: time raster plotters support PDU message plotting.
Diffstat (limited to 'gr-qtgui/lib/timerasterdisplayform.cc')
-rw-r--r-- | gr-qtgui/lib/timerasterdisplayform.cc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gr-qtgui/lib/timerasterdisplayform.cc b/gr-qtgui/lib/timerasterdisplayform.cc index eb5405d112..9582f02973 100644 --- a/gr-qtgui/lib/timerasterdisplayform.cc +++ b/gr-qtgui/lib/timerasterdisplayform.cc @@ -183,6 +183,13 @@ TimeRasterDisplayForm::customEvent( QEvent * e) if(e->type() == TimeRasterUpdateEvent::Type()) { newData(e); } + else if(e->type() == TimeRasterSetSize::Type()) { + double r = ((TimeRasterSetSize*)e)->nRows(); + double c = ((TimeRasterSetSize*)e)->nCols(); + getPlot()->setNumRows(r); + getPlot()->setNumCols(c); + getPlot()->replot(); + } } void |