diff options
author | trondeau <trondeau@221aa14e-8319-0410-a670-987f0aec2ac5> | 2009-06-17 04:32:16 +0000 |
---|---|---|
committer | trondeau <trondeau@221aa14e-8319-0410-a670-987f0aec2ac5> | 2009-06-17 04:32:16 +0000 |
commit | 5f6f09b79e7b54b7130a26ff4ab6c5db6c4ab70e (patch) | |
tree | 96d23d0b3b099062c2f618216b5d31622db45ef2 /gr-qtgui/src/lib/spectrumdisplayform.h | |
parent | bc0a3ff98377e41fa1e31d448d45b2b377b54cea (diff) |
Merging trondeau/qtdigital branch r11210-11215 to add some QT GUI's to the digital examples for better visualization and understanding of the signals and performance.
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@11216 221aa14e-8319-0410-a670-987f0aec2ac5
Diffstat (limited to 'gr-qtgui/src/lib/spectrumdisplayform.h')
-rw-r--r-- | gr-qtgui/src/lib/spectrumdisplayform.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gr-qtgui/src/lib/spectrumdisplayform.h b/gr-qtgui/src/lib/spectrumdisplayform.h index aed5d728e6..a7c5201fe8 100644 --- a/gr-qtgui/src/lib/spectrumdisplayform.h +++ b/gr-qtgui/src/lib/spectrumdisplayform.h @@ -20,7 +20,7 @@ class SpectrumDisplayForm : public QWidget, public Ui::SpectrumDisplayForm Q_OBJECT public: - SpectrumDisplayForm(QWidget* parent = 0); + SpectrumDisplayForm(bool useOpenGL = true, QWidget* parent = 0); ~SpectrumDisplayForm(); void setSystem( SpectrumGUIClass * newSystem, const uint64_t numFFTDataPoints, @@ -75,8 +75,9 @@ private slots: protected: private: - void _AverageHistory( const double * newBuffer ); + void _AverageHistory( const double * newBuffer ); + bool _useOpenGL; int _historyEntryCount; int _historyEntry; std::vector<double*>* _historyVector; |