summaryrefslogtreecommitdiff
path: root/gr-qtgui/src/python/qttest_f.py
diff options
context:
space:
mode:
authortrondeau <trondeau@221aa14e-8319-0410-a670-987f0aec2ac5>2009-04-15 03:49:04 +0000
committertrondeau <trondeau@221aa14e-8319-0410-a670-987f0aec2ac5>2009-04-15 03:49:04 +0000
commit322e065b19c922e2a9cc1710876e32d100453181 (patch)
treeacc0c5d9643fd647d128ca4215147eef79189af3 /gr-qtgui/src/python/qttest_f.py
parentae5fa9430882f5140a3c9a9b61e4a5f7c4ed9127 (diff)
Merging qtdevel2 branch -r10565:10849. This adds a lot of fixes and capabilities to the qtgui package. Most importantly, it allows interaction between PyQt and the C++ Qt routines in the gnuradio library.
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@10850 221aa14e-8319-0410-a670-987f0aec2ac5
Diffstat (limited to 'gr-qtgui/src/python/qttest_f.py')
-rwxr-xr-xgr-qtgui/src/python/qttest_f.py29
1 files changed, 0 insertions, 29 deletions
diff --git a/gr-qtgui/src/python/qttest_f.py b/gr-qtgui/src/python/qttest_f.py
deleted file mode 100755
index a950b35b15..0000000000
--- a/gr-qtgui/src/python/qttest_f.py
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/usr/bin/env python
-
-from gnuradio import gr
-from gnuradio.qtgui import qtgui
-
-class my_top_block(gr.top_block):
- def __init__(self):
- gr.top_block.__init__(self)
-
- fftsize = 8192
-
- win = gr.firdes.window(gr.firdes.WIN_HANN, fftsize, 0)
-
- src1 = gr.sig_source_f(1, gr.GR_SIN_WAVE, 0.1, 0.1, 0)
- src2 = gr.sig_source_f(1, gr.GR_SIN_WAVE, 0.015, 0.1, 0)
- src = gr.add_ff()
- thr = gr.throttle(gr.sizeof_float, 20*fftsize)
- self.snk = qtgui.sink_f(fftsize, win, -0.5, 0.5)
-
- self.connect(src1, (src,0))
- self.connect(src2, (src,1))
- self.connect(src, thr, self.snk)
-
-if __name__ == "__main__":
- tb = my_top_block();
- tb.start()
- tb.snk.start_app();
- #tb.wait();
-