summaryrefslogtreecommitdiff
path: root/gr-qtgui/lib/spectrumUpdateEvents.h
diff options
context:
space:
mode:
authorNick Foster <nick@ettus.com>2012-04-14 12:28:18 -0700
committerNick Foster <nick@ettus.com>2012-04-14 12:28:18 -0700
commit8e083f7a66667178d8d35e75e93ef51e8786ceb0 (patch)
tree1f29e04ef7e7b74c3f39d86ecc718e32e90f5772 /gr-qtgui/lib/spectrumUpdateEvents.h
parentdbeddcf0acc94db58305be73ebe86b48e59b0bc4 (diff)
qtgui: make constants for update event types to keep them from being hardcoded in multiple locations.
there's probably a better way to have Qt dynamically assign them.
Diffstat (limited to 'gr-qtgui/lib/spectrumUpdateEvents.h')
-rw-r--r--gr-qtgui/lib/spectrumUpdateEvents.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gr-qtgui/lib/spectrumUpdateEvents.h b/gr-qtgui/lib/spectrumUpdateEvents.h
index cfaea1bc5f..090153c8d8 100644
--- a/gr-qtgui/lib/spectrumUpdateEvents.h
+++ b/gr-qtgui/lib/spectrumUpdateEvents.h
@@ -8,6 +8,11 @@
#include <vector>
#include <gruel/high_res_timer.h>
+static const int SpectrumUpdateEventType = 10005;
+static const int SpectrumWindowCaptionEventType = 10008;
+static const int SpectrumWindowResetEventType = 10009;
+static const int SpectrumFrequencyRangeEventType = 10010;
+
class SpectrumUpdateEvent:public QEvent{
public: