diff options
author | trondeau | 2009-06-17 04:32:16 +0000 |
---|---|---|
committer | trondeau | 2009-06-17 04:32:16 +0000 |
commit | 5f6f09b79e7b54b7130a26ff4ab6c5db6c4ab70e (patch) | |
tree | 96d23d0b3b099062c2f618216b5d31622db45ef2 /gr-qtgui/src/lib/qtgui_sink_c.h | |
parent | bc0a3ff98377e41fa1e31d448d45b2b377b54cea (diff) | |
download | gnuradio-5f6f09b79e7b54b7130a26ff4ab6c5db6c4ab70e.tar.gz gnuradio-5f6f09b79e7b54b7130a26ff4ab6c5db6c4ab70e.tar.bz2 gnuradio-5f6f09b79e7b54b7130a26ff4ab6c5db6c4ab70e.zip |
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/qtgui_sink_c.h')
-rw-r--r-- | gr-qtgui/src/lib/qtgui_sink_c.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/gr-qtgui/src/lib/qtgui_sink_c.h b/gr-qtgui/src/lib/qtgui_sink_c.h index 7618bae95..0b3ba99e2 100644 --- a/gr-qtgui/src/lib/qtgui_sink_c.h +++ b/gr-qtgui/src/lib/qtgui_sink_c.h @@ -40,6 +40,7 @@ qtgui_sink_c_sptr qtgui_make_sink_c (int fftsize, int wintype, bool plotfreq=true, bool plotwaterfall=true, bool plotwaterfall3d=true, bool plottime=true, bool plotconst=true, + bool use_openGL=true, QWidget *parent=NULL); class qtgui_sink_c : public gr_block @@ -51,6 +52,7 @@ private: bool plotfreq, bool plotwaterfall, bool plotwaterfall3d, bool plottime, bool plotconst, + bool use_openGL, QWidget *parent); qtgui_sink_c (int fftsize, int wintype, float fmin, float fmax, @@ -58,9 +60,12 @@ private: bool plotfreq, bool plotwaterfall, bool plotwaterfall3d, bool plottime, bool plotconst, + bool use_openGL, QWidget *parent); - void initialize(); + // use opengl to force OpenGL on or off + // this might be necessary for sessions over SSH + void initialize(const bool opengl); int d_fftsize; gr_firdes::win_type d_wintype; @@ -79,7 +84,7 @@ private: gr_complex *d_residbuf; bool d_plotfreq, d_plotwaterfall, d_plotwaterfall3d, d_plottime, d_plotconst; - + QWidget *d_parent; SpectrumGUIClass *d_main_gui; |