summaryrefslogtreecommitdiff
path: root/gr-qtgui/lib/spectrumUpdateEvents.cc
diff options
context:
space:
mode:
authorTom Rondeau <tom@trondeau.com>2015-10-27 13:50:23 -0400
committerTom Rondeau <tom@trondeau.com>2015-10-29 16:21:03 -0400
commitbea941449edcb709f02f95c9f7cf1a47cd9d2ae8 (patch)
tree094bea3f3d53e9a35fb9619d52b727eb58c36436 /gr-qtgui/lib/spectrumUpdateEvents.cc
parent253e6c3d8ab51eb8d660a0d8f881498c33b2bb1b (diff)
qtgui: time raster plotters support PDU message plotting.
Diffstat (limited to 'gr-qtgui/lib/spectrumUpdateEvents.cc')
-rw-r--r--gr-qtgui/lib/spectrumUpdateEvents.cc26
1 files changed, 26 insertions, 0 deletions
diff --git a/gr-qtgui/lib/spectrumUpdateEvents.cc b/gr-qtgui/lib/spectrumUpdateEvents.cc
index 1294587409..60e07fc644 100644
--- a/gr-qtgui/lib/spectrumUpdateEvents.cc
+++ b/gr-qtgui/lib/spectrumUpdateEvents.cc
@@ -473,6 +473,32 @@ TimeRasterUpdateEvent::getNumDataPoints() const
return _numDataPoints;
}
+
+
+
+TimeRasterSetSize::TimeRasterSetSize(const double nrows,
+ const double ncols)
+ : QEvent(QEvent::Type(SpectrumUpdateEventType+1)),
+ _nrows(nrows), _ncols(ncols)
+{
+}
+
+TimeRasterSetSize::~TimeRasterSetSize()
+{
+}
+
+double
+TimeRasterSetSize::nRows() const
+{
+ return _nrows;
+}
+
+double
+TimeRasterSetSize::nCols() const
+{
+ return _ncols;
+}
+
/***************************************************************************/