Merging trondeau/qtdigital branch r11210-11215 to add some QT GUI's to the digital...
[debian/gnuradio] / gr-qtgui / src / lib / spectrumdisplayform.h
index aed5d728e6afbd6fe97440a74cd895e7e157ba1e..a7c5201fe84cc3ca6e1db0dfce2153cfd96ad006 100644 (file)
@@ -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;