diff options
author | Tom Rondeau | 2010-05-11 21:19:15 -0400 |
---|---|---|
committer | Tom Rondeau | 2010-05-11 21:19:15 -0400 |
commit | 39cb5b8daee27ccca4d1919706910ccff116f45d (patch) | |
tree | d7c9287167e514f4411c5708bd2813a85418722e /gr-qtgui/src/lib/spectrumdisplayform.h | |
parent | 1fc7c57f778a9f05ded1d216247242ee13632d03 (diff) | |
parent | 55364771aee8933ded7e98bd3c873d767f717cec (diff) | |
download | gnuradio-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.h | 7 |
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 */ |