diff options
author | Ron Economos <w6rz@comcast.net> | 2020-07-19 16:08:56 -0700 |
---|---|---|
committer | mormj <34754695+mormj@users.noreply.github.com> | 2020-07-22 12:57:10 -0400 |
commit | c2f42238032e2315371aaec8a64687d99028ccd2 (patch) | |
tree | 141b0b63cb6eebe7ccd27b01da8832b0d7eca838 /gr-qtgui/examples | |
parent | b3de331436bfda3aa30575db698d181ee5d406f7 (diff) |
gr-qtgui: Repair qtgui examples for pybind11.
Diffstat (limited to 'gr-qtgui/examples')
-rw-r--r-- | gr-qtgui/examples/pyqt_const_c.py | 2 | ||||
-rw-r--r-- | gr-qtgui/examples/pyqt_example_c.py | 2 | ||||
-rw-r--r-- | gr-qtgui/examples/pyqt_example_f.py | 2 | ||||
-rw-r--r-- | gr-qtgui/examples/pyqt_freq_c.py | 2 | ||||
-rw-r--r-- | gr-qtgui/examples/pyqt_freq_f.py | 2 | ||||
-rw-r--r-- | gr-qtgui/examples/pyqt_histogram_f.py | 2 | ||||
-rw-r--r-- | gr-qtgui/examples/pyqt_time_c.py | 2 | ||||
-rw-r--r-- | gr-qtgui/examples/pyqt_time_f.py | 2 | ||||
-rw-r--r-- | gr-qtgui/examples/pyqt_time_raster_b.py | 2 | ||||
-rw-r--r-- | gr-qtgui/examples/pyqt_time_raster_f.py | 2 | ||||
-rw-r--r-- | gr-qtgui/examples/pyqt_waterfall_c.py | 2 | ||||
-rw-r--r-- | gr-qtgui/examples/pyqt_waterfall_f.py | 2 |
12 files changed, 12 insertions, 12 deletions
diff --git a/gr-qtgui/examples/pyqt_const_c.py b/gr-qtgui/examples/pyqt_const_c.py index a02deb78a1..d027206dd1 100644 --- a/gr-qtgui/examples/pyqt_const_c.py +++ b/gr-qtgui/examples/pyqt_const_c.py @@ -141,7 +141,7 @@ class my_top_block(gr.top_block): src = blocks.add_cc() channel = channels.channel_model(0.001) thr = blocks.throttle(gr.sizeof_gr_complex, 100*npts) - self.snk1 = qtgui.const_sink_c(npts, "Constellation Example", 1) + self.snk1 = qtgui.const_sink_c(npts, "Constellation Example", 1, None) self.snk1.disable_legend() self.connect(src1, (src,0)) diff --git a/gr-qtgui/examples/pyqt_example_c.py b/gr-qtgui/examples/pyqt_example_c.py index 675101c5a9..6e03138cdc 100644 --- a/gr-qtgui/examples/pyqt_example_c.py +++ b/gr-qtgui/examples/pyqt_example_c.py @@ -149,7 +149,7 @@ class my_top_block(gr.top_block): self.snk1 = qtgui.sink_c(fftsize, filter.firdes.WIN_BLACKMAN_hARRIS, 0, Rs, "Complex Signal Example", - True, True, True, False) + True, True, True, False, None) self.connect(src1, (src,0)) self.connect(src2, (src,1)) diff --git a/gr-qtgui/examples/pyqt_example_f.py b/gr-qtgui/examples/pyqt_example_f.py index 16d0f02681..b5099e581f 100644 --- a/gr-qtgui/examples/pyqt_example_f.py +++ b/gr-qtgui/examples/pyqt_example_f.py @@ -140,7 +140,7 @@ class my_top_block(gr.top_block): self.snk1 = qtgui.sink_f(fftsize, filter.firdes.WIN_BLACKMAN_hARRIS, 0, Rs, "Float Signal Example", - True, True, True, False) + True, True, True, False, None) self.connect(src1, (src,0)) self.connect(src2, (src,1)) diff --git a/gr-qtgui/examples/pyqt_freq_c.py b/gr-qtgui/examples/pyqt_freq_c.py index 3a7d57c93b..52523cd102 100644 --- a/gr-qtgui/examples/pyqt_freq_c.py +++ b/gr-qtgui/examples/pyqt_freq_c.py @@ -148,7 +148,7 @@ class my_top_block(gr.top_block): thr = blocks.throttle(gr.sizeof_gr_complex, 100*npts) self.snk1 = qtgui.freq_sink_c(npts, filter.firdes.WIN_BLACKMAN_hARRIS, 0, Rs, - "Complex Freq Example", 3) + "Complex Freq Example", 3, None) self.connect(src1, (src,0)) self.connect(src2, (src,1)) diff --git a/gr-qtgui/examples/pyqt_freq_f.py b/gr-qtgui/examples/pyqt_freq_f.py index 1059b967a7..fe72a73d59 100644 --- a/gr-qtgui/examples/pyqt_freq_f.py +++ b/gr-qtgui/examples/pyqt_freq_f.py @@ -138,7 +138,7 @@ class my_top_block(gr.top_block): thr = blocks.throttle(gr.sizeof_float, 100*npts) self.snk1 = qtgui.freq_sink_f(npts, filter.firdes.WIN_BLACKMAN_hARRIS, 0, Rs, - "Real freq Example", 3) + "Real freq Example", 3, None) self.connect(src1, (src,0)) self.connect(src2, (src,1)) diff --git a/gr-qtgui/examples/pyqt_histogram_f.py b/gr-qtgui/examples/pyqt_histogram_f.py index 5a7627475d..820db37820 100644 --- a/gr-qtgui/examples/pyqt_histogram_f.py +++ b/gr-qtgui/examples/pyqt_histogram_f.py @@ -154,7 +154,7 @@ class my_top_block(gr.top_block): src = blocks.add_ff() thr = blocks.throttle(gr.sizeof_float, 100*npts) self.snk1 = qtgui.histogram_sink_f(npts, 200, -5, 5, - "Histogram") + "Histogram", 1, None) self.snk1.disable_legend() self.connect(src1, (src,0)) diff --git a/gr-qtgui/examples/pyqt_time_c.py b/gr-qtgui/examples/pyqt_time_c.py index d8a177eb4d..80dd3f8e05 100644 --- a/gr-qtgui/examples/pyqt_time_c.py +++ b/gr-qtgui/examples/pyqt_time_c.py @@ -147,7 +147,7 @@ class my_top_block(gr.top_block): channel = channels.channel_model(0.01) thr = blocks.throttle(gr.sizeof_gr_complex, 100*npts) self.snk1 = qtgui.time_sink_c(npts, Rs, - "Complex Time Example", 1) + "Complex Time Example", 1, None) self.connect(src1, (src,0)) self.connect(src2, (src,1)) diff --git a/gr-qtgui/examples/pyqt_time_f.py b/gr-qtgui/examples/pyqt_time_f.py index 8f0d7a6e99..34ca6ca9e2 100644 --- a/gr-qtgui/examples/pyqt_time_f.py +++ b/gr-qtgui/examples/pyqt_time_f.py @@ -138,7 +138,7 @@ class my_top_block(gr.top_block): noise = analog.noise_source_f(analog.GR_GAUSSIAN, 0.001) add = blocks.add_ff() self.snk1 = qtgui.time_sink_f(npts, Rs, - "Complex Time Example", 3) + "Complex Time Example", 3, None) self.connect(src1, (src,0)) self.connect(src2, (src,1)) diff --git a/gr-qtgui/examples/pyqt_time_raster_b.py b/gr-qtgui/examples/pyqt_time_raster_b.py index b57e0592c8..cb136998a7 100644 --- a/gr-qtgui/examples/pyqt_time_raster_b.py +++ b/gr-qtgui/examples/pyqt_time_raster_b.py @@ -54,7 +54,7 @@ class my_top_block(gr.top_block): thr = blocks.throttle(gr.sizeof_char, 50000) head = blocks.head(gr.sizeof_char, 10000000) self.snk1 = qtgui.time_raster_sink_b(fs, nrows, ncols, [], [], - "Time Raster Example", 2) + "Time Raster Example", 2, None) self.connect(src0, thr, (self.snk1, 0)) self.connect(src1, (self.snk1, 1)) diff --git a/gr-qtgui/examples/pyqt_time_raster_f.py b/gr-qtgui/examples/pyqt_time_raster_f.py index a80bde5351..649bed1db4 100644 --- a/gr-qtgui/examples/pyqt_time_raster_f.py +++ b/gr-qtgui/examples/pyqt_time_raster_f.py @@ -53,7 +53,7 @@ class my_top_block(gr.top_block): thr = blocks.throttle(gr.sizeof_float, 50000) hed = blocks.head(gr.sizeof_float, 10000000) self.snk1 = qtgui.time_raster_sink_f(fs, nrows, ncols, [], [], - "Float Time Raster Example", 2) + "Float Time Raster Example", 2, None) self.connect(src0, thr, (self.snk1, 0)) self.connect(src1, (self.snk1, 1)) diff --git a/gr-qtgui/examples/pyqt_waterfall_c.py b/gr-qtgui/examples/pyqt_waterfall_c.py index 9d5ff333bb..0a24641b96 100644 --- a/gr-qtgui/examples/pyqt_waterfall_c.py +++ b/gr-qtgui/examples/pyqt_waterfall_c.py @@ -151,7 +151,7 @@ class my_top_block(gr.top_block): filt = filter.fft_filter_ccc(1, taps) self.snk1 = qtgui.waterfall_sink_c(npts, filter.firdes.WIN_BLACKMAN_hARRIS, 0, Rs, - "Complex Waterfall Example", 2) + "Complex Waterfall Example", 2, None) self.snk1.set_color_map(0, qtgui.INTENSITY_COLOR_MAP_TYPE_COOL) self.snk1.set_color_map(1, qtgui.INTENSITY_COLOR_MAP_TYPE_COOL) diff --git a/gr-qtgui/examples/pyqt_waterfall_f.py b/gr-qtgui/examples/pyqt_waterfall_f.py index 401fc81333..3b9b779a7e 100644 --- a/gr-qtgui/examples/pyqt_waterfall_f.py +++ b/gr-qtgui/examples/pyqt_waterfall_f.py @@ -137,7 +137,7 @@ class my_top_block(gr.top_block): thr = blocks.throttle(gr.sizeof_float, 100*npts) self.snk1 = qtgui.waterfall_sink_f(npts, filter.firdes.WIN_BLACKMAN_hARRIS, 0, Rs, - "Real Waterfall Example", 2) + "Real Waterfall Example", 2, None) self.snk1.set_color_map(0, qtgui.INTENSITY_COLOR_MAP_TYPE_COOL) self.snk1.set_color_map(1, qtgui.INTENSITY_COLOR_MAP_TYPE_COOL) |