summaryrefslogtreecommitdiff
path: root/gr-qtgui/src/lib/spectrumdisplayform.h
diff options
context:
space:
mode:
authorTom Rondeau2010-05-11 21:19:15 -0400
committerTom Rondeau2010-05-11 21:19:15 -0400
commit39cb5b8daee27ccca4d1919706910ccff116f45d (patch)
treed7c9287167e514f4411c5708bd2813a85418722e /gr-qtgui/src/lib/spectrumdisplayform.h
parent1fc7c57f778a9f05ded1d216247242ee13632d03 (diff)
parent55364771aee8933ded7e98bd3c873d767f717cec (diff)
downloadgnuradio-39cb5b8daee27ccca4d1919706910ccff116f45d.tar.gz
gnuradio-39cb5b8daee27ccca4d1919706910ccff116f45d.tar.bz2
gnuradio-39cb5b8daee27ccca4d1919706910ccff116f45d.zip
Merge branch 'qtupdate'
Diffstat (limited to 'gr-qtgui/src/lib/spectrumdisplayform.h')
-rw-r--r--gr-qtgui/src/lib/spectrumdisplayform.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/gr-qtgui/src/lib/spectrumdisplayform.h b/gr-qtgui/src/lib/spectrumdisplayform.h
index d89141f1e..bf2af7033 100644
--- a/gr-qtgui/src/lib/spectrumdisplayform.h
+++ b/gr-qtgui/src/lib/spectrumdisplayform.h
@@ -13,6 +13,7 @@ class SpectrumGUIClass;
#include <TimeDomainDisplayPlot.h>
#include <ConstellationDisplayPlot.h>
#include <QValidator>
+#include <QTimer>
#include <vector>
class SpectrumDisplayForm : public QWidget, public Ui::SpectrumDisplayForm
@@ -43,7 +44,6 @@ public slots:
void MaxHoldResetBtn_clicked();
void TabChanged(int index);
- void PowerLineEdit_textChanged( const QString& valueString );
void SetFrequencyRange( const double newCenterFrequency,
const double newStartFrequency,
const double newStopFrequency );
@@ -71,9 +71,11 @@ public slots:
double ymin, double ymax);
void SetConstellationPenSize(int size);
void SetFrequencyAxis(double min, double max);
+ void SetUpdateTime(double t);
private slots:
void newFrequencyData( const SpectrumUpdateEvent* );
+ void UpdateGuiTimer();
protected:
@@ -111,6 +113,9 @@ private:
int d_plot_waterfall3d;
int d_plot_time;
int d_plot_constellation;
+
+ QTimer *displayTimer;
+ double d_update_time;
};
#endif /* SPECTRUM_DISPLAY_FORM_H */