diff options
Diffstat (limited to 'gr-qtgui')
96 files changed, 7103 insertions, 221 deletions
diff --git a/gr-qtgui/CMakeLists.txt b/gr-qtgui/CMakeLists.txt index 5efc3221b8..f734d35d21 100644 --- a/gr-qtgui/CMakeLists.txt +++ b/gr-qtgui/CMakeLists.txt @@ -57,7 +57,6 @@ add_subdirectory(lib) add_subdirectory(docs) add_subdirectory(examples/c++) if(ENABLE_PYTHON) - add_subdirectory(swig) add_subdirectory(python/qtgui) add_subdirectory(examples) add_subdirectory(apps) diff --git a/gr-qtgui/grc/qtgui_ber_sink_b.block.yml b/gr-qtgui/grc/qtgui_ber_sink_b.block.yml index f2b1964321..46c279719f 100644 --- a/gr-qtgui/grc/qtgui_ber_sink_b.block.yml +++ b/gr-qtgui/grc/qtgui_ber_sink_b.block.yml @@ -336,7 +336,8 @@ templates: ${num_curves}, #number of curves ${berminerrors}, #ensure at least ${berlimit}, #cutoff - ${curvenames} #indiv. curve names + ${curvenames}, #indiv. curve names + None # parent ) self.${id}.set_update_time(${update_time}) self.${id}.set_y_axis(${ymin}, ${ymax}) diff --git a/gr-qtgui/grc/qtgui_const_sink_x.block.yml b/gr-qtgui/grc/qtgui_const_sink_x.block.yml index db1c8c9432..78cff1d1a5 100644 --- a/gr-qtgui/grc/qtgui_const_sink_x.block.yml +++ b/gr-qtgui/grc/qtgui_const_sink_x.block.yml @@ -409,7 +409,8 @@ templates: qtgui.${type.fcn}( ${size}, #size ${name}, #name - ${0 if type.startswith('msg') else nconnections} #number of inputs + ${0 if type.startswith('msg') else nconnections}, #number of inputs + None # parent ) self.${id}.set_update_time(${update_time}) self.${id}.set_y_axis(${ymin}, ${ymax}) diff --git a/gr-qtgui/grc/qtgui_freq_sink_x.block.yml b/gr-qtgui/grc/qtgui_freq_sink_x.block.yml index 7950fa6a89..d7f7203206 100644 --- a/gr-qtgui/grc/qtgui_freq_sink_x.block.yml +++ b/gr-qtgui/grc/qtgui_freq_sink_x.block.yml @@ -405,7 +405,8 @@ templates: ${fc}, #fc ${bw}, #bw ${name}, #name - ${ 0 if (type == 'msg_complex' or type == 'msg_float') else nconnections } + ${ 0 if (type == 'msg_complex' or type == 'msg_float') else nconnections }, + None # parent ) self.${id}.set_update_time(${update_time}) self.${id}.set_y_axis(${ymin}, ${ymax}) diff --git a/gr-qtgui/grc/qtgui_histogram_sink_x.block.yml b/gr-qtgui/grc/qtgui_histogram_sink_x.block.yml index 1159c2733a..8d1dda6146 100644 --- a/gr-qtgui/grc/qtgui_histogram_sink_x.block.yml +++ b/gr-qtgui/grc/qtgui_histogram_sink_x.block.yml @@ -376,7 +376,8 @@ templates: ${xmin}, ${xmax}, ${name}, - ${ 0 if type.startswith('msg') else nconnections} + ${ 0 if type.startswith('msg') else nconnections}, + None # parent ) self.${id}.set_update_time(${update_time}) diff --git a/gr-qtgui/grc/qtgui_number_sink.block.yml b/gr-qtgui/grc/qtgui_number_sink.block.yml index b672592102..ecfad56905 100644 --- a/gr-qtgui/grc/qtgui_number_sink.block.yml +++ b/gr-qtgui/grc/qtgui_number_sink.block.yml @@ -249,7 +249,8 @@ templates: ${type.size}, ${avg}, ${graph_type}, - ${nconnections} + ${nconnections}, + None # parent ) self.${id}.set_update_time(${update_time}) self.${id}.set_title(${name}) diff --git a/gr-qtgui/grc/qtgui_sink_x.block.yml b/gr-qtgui/grc/qtgui_sink_x.block.yml index 0424769169..e07f109034 100644 --- a/gr-qtgui/grc/qtgui_sink_x.block.yml +++ b/gr-qtgui/grc/qtgui_sink_x.block.yml @@ -21,7 +21,7 @@ parameters: default: '1024' - id: wintype label: Window Type - dtype: int + dtype: enum default: firdes.WIN_BLACKMAN_hARRIS options: [firdes.WIN_BLACKMAN_hARRIS, firdes.WIN_HAMMING, firdes.WIN_HANN, firdes.WIN_BLACKMAN, firdes.WIN_RECTANGULAR, firdes.WIN_KAISER] @@ -120,7 +120,8 @@ templates: ${plotfreq}, #plotfreq ${plotwaterfall}, #plotwaterfall ${plottime}, #plottime - ${plotconst} #plotconst + ${plotconst}, #plotconst + None # parent ) self.${id}.set_update_time(1.0/${rate}) ${win} = sip.wrapinstance(self.${id}.pyqwidget(), Qt.QWidget) diff --git a/gr-qtgui/grc/qtgui_time_sink_x.block.yml b/gr-qtgui/grc/qtgui_time_sink_x.block.yml index e512f98e19..8287b9bfad 100644 --- a/gr-qtgui/grc/qtgui_time_sink_x.block.yml +++ b/gr-qtgui/grc/qtgui_time_sink_x.block.yml @@ -1016,7 +1016,8 @@ templates: ${size}, #size ${srate}, #samp_rate ${name}, #name - ${0 if type.startswith('msg') else nconnections} #number of inputs + ${0 if type.startswith('msg') else nconnections}, #number of inputs + None # parent ) self.${id}.set_update_time(${update_time}) self.${id}.set_y_axis(${ymin}, ${ymax}) diff --git a/gr-qtgui/grc/qtgui_time_sink_x.block.yml.py b/gr-qtgui/grc/qtgui_time_sink_x.block.yml.py index 05f206b958..ef87a64559 100644 --- a/gr-qtgui/grc/qtgui_time_sink_x.block.yml.py +++ b/gr-qtgui/grc/qtgui_time_sink_x.block.yml.py @@ -275,7 +275,8 @@ templates: ${size}, #size ${srate}, #samp_rate ${name}, #name - ${0 if type.startswith('msg') else nconnections} #number of inputs + ${0 if type.startswith('msg') else nconnections}, #number of inputs + None # parent ) self.${id}.set_update_time(${update_time}) self.${id}.set_y_axis(${ymin}, ${ymax}) diff --git a/gr-qtgui/grc/qtgui_vector_sink_f.block.yml b/gr-qtgui/grc/qtgui_vector_sink_f.block.yml index 401957421b..0e16ff5879 100644 --- a/gr-qtgui/grc/qtgui_vector_sink_f.block.yml +++ b/gr-qtgui/grc/qtgui_vector_sink_f.block.yml @@ -312,7 +312,8 @@ templates: ${x_axis_label}, ${y_axis_label}, ${name}, - ${nconnections} # Number of inputs + ${nconnections}, # Number of inputs + None # parent ) self.${id}.set_update_time(${update_time}) self.${id}.set_y_axis(${ymin}, ${ymax}) diff --git a/gr-qtgui/grc/qtgui_waterfall_sink_x.block.yml b/gr-qtgui/grc/qtgui_waterfall_sink_x.block.yml index 7c67dee149..dfb9e44098 100644 --- a/gr-qtgui/grc/qtgui_waterfall_sink_x.block.yml +++ b/gr-qtgui/grc/qtgui_waterfall_sink_x.block.yml @@ -32,7 +32,7 @@ parameters: hide: ${ ('part' if type == "float" or type == "msg_float" else 'all') } - id: wintype label: Window Type - dtype: int + dtype: enum default: firdes.WIN_BLACKMAN_hARRIS options: [firdes.WIN_BLACKMAN_hARRIS, firdes.WIN_HAMMING, firdes.WIN_HANN, firdes.WIN_BLACKMAN, firdes.WIN_RECTANGULAR, firdes.WIN_KAISER, firdes.WIN_FLATTOP] @@ -266,7 +266,8 @@ templates: ${fc}, #fc ${bw}, #bw ${name}, #name - ${ (0 if type.startswith('msg') else nconnections) } #number of inputs + ${ (0 if type.startswith('msg') else nconnections) }, #number of inputs + None # parent ) self.${id}.set_update_time(${update_time}) self.${id}.enable_grid(${grid}) diff --git a/gr-qtgui/lib/const_sink_c_impl.cc b/gr-qtgui/lib/const_sink_c_impl.cc index 96d6e36d9c..a9dfe70d17 100644 --- a/gr-qtgui/lib/const_sink_c_impl.cc +++ b/gr-qtgui/lib/const_sink_c_impl.cc @@ -57,8 +57,7 @@ const_sink_c_impl::const_sink_c_impl(int size, // setup PDU handling input port message_port_register_in(pmt::mp("in")); - set_msg_handler(pmt::mp("in"), - boost::bind(&const_sink_c_impl::handle_pdus, this, _1)); + set_msg_handler(pmt::mp("in"), [this](pmt::pmt_t msg) { this->handle_pdus(msg); }); for (int i = 0; i < d_nconnections; i++) { d_residbufs_real.push_back( diff --git a/gr-qtgui/lib/edit_box_msg_impl.cc b/gr-qtgui/lib/edit_box_msg_impl.cc index cfc19201be..8f33adb322 100644 --- a/gr-qtgui/lib/edit_box_msg_impl.cc +++ b/gr-qtgui/lib/edit_box_msg_impl.cc @@ -149,7 +149,7 @@ edit_box_msg_impl::edit_box_msg_impl(data_type_t type, message_port_register_out(d_port); message_port_register_in(pmt::mp("val")); - set_msg_handler(pmt::mp("val"), boost::bind(&edit_box_msg_impl::set_value, this, _1)); + set_msg_handler(pmt::mp("val"), [this](pmt::pmt_t msg) { this->set_value(msg); }); } edit_box_msg_impl::~edit_box_msg_impl() diff --git a/gr-qtgui/lib/freq_sink_c_impl.cc b/gr-qtgui/lib/freq_sink_c_impl.cc index 6b6e2bda0e..63490e72ac 100644 --- a/gr-qtgui/lib/freq_sink_c_impl.cc +++ b/gr-qtgui/lib/freq_sink_c_impl.cc @@ -70,17 +70,17 @@ freq_sink_c_impl::freq_sink_c_impl(int fftsize, // setup bw input port message_port_register_in(d_port_bw); - set_msg_handler(d_port_bw, boost::bind(&freq_sink_c_impl::handle_set_bw, this, _1)); + set_msg_handler(d_port_bw, [this](pmt::pmt_t msg) { this->handle_set_bw(msg); }); // setup output message port to post frequency when display is // double-clicked message_port_register_out(d_port); message_port_register_in(d_port); - set_msg_handler(d_port, boost::bind(&freq_sink_c_impl::handle_set_freq, this, _1)); + set_msg_handler(d_port, [this](pmt::pmt_t msg) { this->handle_set_freq(msg); }); // setup PDU handling input port message_port_register_in(pmt::mp("in")); - set_msg_handler(pmt::mp("in"), boost::bind(&freq_sink_c_impl::handle_pdus, this, _1)); + set_msg_handler(pmt::mp("in"), [this](pmt::pmt_t msg) { this->handle_pdus(msg); }); d_main_gui = NULL; diff --git a/gr-qtgui/lib/freq_sink_f_impl.cc b/gr-qtgui/lib/freq_sink_f_impl.cc index 72eae1c7d2..0622fa2577 100644 --- a/gr-qtgui/lib/freq_sink_f_impl.cc +++ b/gr-qtgui/lib/freq_sink_f_impl.cc @@ -70,17 +70,17 @@ freq_sink_f_impl::freq_sink_f_impl(int fftsize, // setup bw input port message_port_register_in(d_port_bw); - set_msg_handler(d_port_bw, boost::bind(&freq_sink_f_impl::handle_set_bw, this, _1)); + set_msg_handler(d_port_bw, [this](pmt::pmt_t msg) { this->handle_set_bw(msg); }); // setup output message port to post frequency when display is // double-clicked message_port_register_out(d_port); message_port_register_in(d_port); - set_msg_handler(d_port, boost::bind(&freq_sink_f_impl::handle_set_freq, this, _1)); + set_msg_handler(d_port, [this](pmt::pmt_t msg) { this->handle_set_freq(msg); }); // setup PDU handling input port message_port_register_in(pmt::mp("in")); - set_msg_handler(pmt::mp("in"), boost::bind(&freq_sink_f_impl::handle_pdus, this, _1)); + set_msg_handler(pmt::mp("in"), [this](pmt::pmt_t msg) { this->handle_pdus(msg); }); d_main_gui = NULL; diff --git a/gr-qtgui/lib/histogram_sink_f_impl.cc b/gr-qtgui/lib/histogram_sink_f_impl.cc index 0b34bb1b32..06280b8397 100644 --- a/gr-qtgui/lib/histogram_sink_f_impl.cc +++ b/gr-qtgui/lib/histogram_sink_f_impl.cc @@ -69,8 +69,7 @@ histogram_sink_f_impl::histogram_sink_f_impl(int size, // setup PDU handling input port message_port_register_in(pmt::mp("in")); - set_msg_handler(pmt::mp("in"), - boost::bind(&histogram_sink_f_impl::handle_pdus, this, _1)); + set_msg_handler(pmt::mp("in"), [this](pmt::pmt_t msg) { this->handle_pdus(msg); }); // +1 for the PDU buffer for (int i = 0; i < d_nconnections + 1; i++) { diff --git a/gr-qtgui/lib/sink_c_impl.cc b/gr-qtgui/lib/sink_c_impl.cc index 42128a7d60..567f369e7e 100644 --- a/gr-qtgui/lib/sink_c_impl.cc +++ b/gr-qtgui/lib/sink_c_impl.cc @@ -84,7 +84,7 @@ sink_c_impl::sink_c_impl(int fftsize, // double-clicked message_port_register_out(d_port); message_port_register_in(d_port); - set_msg_handler(d_port, boost::bind(&sink_c_impl::handle_set_freq, this, _1)); + set_msg_handler(d_port, [this](pmt::pmt_t msg) { this->handle_set_freq(msg); }); d_main_gui = NULL; diff --git a/gr-qtgui/lib/sink_f_impl.cc b/gr-qtgui/lib/sink_f_impl.cc index 8bb4184b47..c7fb5d39f2 100644 --- a/gr-qtgui/lib/sink_f_impl.cc +++ b/gr-qtgui/lib/sink_f_impl.cc @@ -83,7 +83,7 @@ sink_f_impl::sink_f_impl(int fftsize, // double-clicked message_port_register_out(d_port); message_port_register_in(d_port); - set_msg_handler(d_port, boost::bind(&sink_f_impl::handle_set_freq, this, _1)); + set_msg_handler(d_port, [this](pmt::pmt_t msg) { this->handle_set_freq(msg); }); d_main_gui = NULL; diff --git a/gr-qtgui/lib/time_raster_sink_b_impl.cc b/gr-qtgui/lib/time_raster_sink_b_impl.cc index 0d401d3f0d..ddc5809111 100644 --- a/gr-qtgui/lib/time_raster_sink_b_impl.cc +++ b/gr-qtgui/lib/time_raster_sink_b_impl.cc @@ -71,8 +71,7 @@ time_raster_sink_b_impl::time_raster_sink_b_impl(double samp_rate, // setup PDU handling input port message_port_register_in(pmt::mp("in")); - set_msg_handler(pmt::mp("in"), - boost::bind(&time_raster_sink_b_impl::handle_pdus, this, _1)); + set_msg_handler(pmt::mp("in"), [this](pmt::pmt_t msg) { this->handle_pdus(msg); }); d_scale = 1.0f; diff --git a/gr-qtgui/lib/time_raster_sink_f_impl.cc b/gr-qtgui/lib/time_raster_sink_f_impl.cc index 242dd9910d..494860e37c 100644 --- a/gr-qtgui/lib/time_raster_sink_f_impl.cc +++ b/gr-qtgui/lib/time_raster_sink_f_impl.cc @@ -71,8 +71,7 @@ time_raster_sink_f_impl::time_raster_sink_f_impl(double samp_rate, // setup PDU handling input port message_port_register_in(pmt::mp("in")); - set_msg_handler(pmt::mp("in"), - boost::bind(&time_raster_sink_f_impl::handle_pdus, this, _1)); + set_msg_handler(pmt::mp("in"), [this](pmt::pmt_t msg) { this->handle_pdus(msg); }); d_icols = static_cast<int>(ceil(d_cols)); d_tmpflt = (float*)volk_malloc(d_icols * sizeof(float), volk_get_alignment()); diff --git a/gr-qtgui/lib/time_sink_c_impl.cc b/gr-qtgui/lib/time_sink_c_impl.cc index d295741db7..31e583583c 100644 --- a/gr-qtgui/lib/time_sink_c_impl.cc +++ b/gr-qtgui/lib/time_sink_c_impl.cc @@ -68,7 +68,7 @@ time_sink_c_impl::time_sink_c_impl(int size, // setup PDU handling input port message_port_register_in(pmt::mp("in")); - set_msg_handler(pmt::mp("in"), boost::bind(&time_sink_c_impl::handle_pdus, this, _1)); + set_msg_handler(pmt::mp("in"), [this](pmt::pmt_t msg) { this->handle_pdus(msg); }); // +2 for the PDU message buffers for (unsigned int n = 0; n < d_nconnections + 2; n++) { diff --git a/gr-qtgui/lib/time_sink_f_impl.cc b/gr-qtgui/lib/time_sink_f_impl.cc index ce6c4087dd..408c14c93b 100644 --- a/gr-qtgui/lib/time_sink_f_impl.cc +++ b/gr-qtgui/lib/time_sink_f_impl.cc @@ -69,7 +69,7 @@ time_sink_f_impl::time_sink_f_impl(int size, // setup PDU handling input port message_port_register_in(pmt::mp("in")); - set_msg_handler(pmt::mp("in"), boost::bind(&time_sink_f_impl::handle_pdus, this, _1)); + set_msg_handler(pmt::mp("in"), [this](pmt::pmt_t msg) { this->handle_pdus(msg); }); // +1 for the PDU buffer for (unsigned int n = 0; n < d_nconnections + 1; n++) { diff --git a/gr-qtgui/lib/waterfall_sink_c_impl.cc b/gr-qtgui/lib/waterfall_sink_c_impl.cc index a459ef76d4..7ca1e62137 100644 --- a/gr-qtgui/lib/waterfall_sink_c_impl.cc +++ b/gr-qtgui/lib/waterfall_sink_c_impl.cc @@ -105,20 +105,17 @@ waterfall_sink_c_impl::waterfall_sink_c_impl(int fftsize, // setup bw input port message_port_register_in(d_port_bw); - set_msg_handler(d_port_bw, - boost::bind(&waterfall_sink_c_impl::handle_set_bw, this, _1)); + set_msg_handler(d_port_bw, [this](pmt::pmt_t msg) { this->handle_set_bw(msg); }); // setup output message port to post frequency when display is // double-clicked message_port_register_out(d_port); message_port_register_in(d_port); - set_msg_handler(d_port, - boost::bind(&waterfall_sink_c_impl::handle_set_freq, this, _1)); + set_msg_handler(d_port, [this](pmt::pmt_t msg) { this->handle_set_freq(msg); }); // setup PDU handling input port message_port_register_in(pmt::mp("in")); - set_msg_handler(pmt::mp("in"), - boost::bind(&waterfall_sink_c_impl::handle_pdus, this, _1)); + set_msg_handler(pmt::mp("in"), [this](pmt::pmt_t msg) { this->handle_pdus(msg); }); } waterfall_sink_c_impl::~waterfall_sink_c_impl() diff --git a/gr-qtgui/lib/waterfall_sink_f_impl.cc b/gr-qtgui/lib/waterfall_sink_f_impl.cc index ad6c4fdb73..d101a97f57 100644 --- a/gr-qtgui/lib/waterfall_sink_f_impl.cc +++ b/gr-qtgui/lib/waterfall_sink_f_impl.cc @@ -103,20 +103,17 @@ waterfall_sink_f_impl::waterfall_sink_f_impl(int fftsize, // setup bw input port message_port_register_in(d_port_bw); - set_msg_handler(d_port_bw, - boost::bind(&waterfall_sink_f_impl::handle_set_bw, this, _1)); + set_msg_handler(d_port_bw, [this](pmt::pmt_t msg) { this->handle_set_bw(msg); }); // setup output message port to post frequency when display is // double-clicked message_port_register_out(d_port); message_port_register_in(d_port); - set_msg_handler(d_port, - boost::bind(&waterfall_sink_f_impl::handle_set_freq, this, _1)); + set_msg_handler(d_port, [this](pmt::pmt_t msg) { this->handle_set_freq(msg); }); // setup PDU handling input port message_port_register_in(pmt::mp("in")); - set_msg_handler(pmt::mp("in"), - boost::bind(&waterfall_sink_f_impl::handle_pdus, this, _1)); + set_msg_handler(pmt::mp("in"), [this](pmt::pmt_t msg) { this->handle_pdus(msg); }); } waterfall_sink_f_impl::~waterfall_sink_f_impl() diff --git a/gr-qtgui/python/qtgui/CMakeLists.txt b/gr-qtgui/python/qtgui/CMakeLists.txt index bdac9ede9c..09031cbc36 100644 --- a/gr-qtgui/python/qtgui/CMakeLists.txt +++ b/gr-qtgui/python/qtgui/CMakeLists.txt @@ -44,8 +44,6 @@ if(ENABLE_TESTING) set(GR_TEST_LIBRARY_DIRS "") set(GR_TEST_PYTHON_DIRS ${CMAKE_BINARY_DIR}/gnuradio-runtime/python - ${CMAKE_BINARY_DIR}/gnuradio-runtime/swig - ${CMAKE_BINARY_DIR}/gr-qtgui/swig ) include(GrTest) @@ -55,3 +53,5 @@ if(ENABLE_TESTING) GR_ADD_TEST(${py_qa_test_name} ${QA_PYTHON_EXECUTABLE} -B ${py_qa_test_file}) endforeach(py_qa_test_file) endif(ENABLE_TESTING) + +add_subdirectory(bindings) diff --git a/gr-qtgui/python/qtgui/__init__.py b/gr-qtgui/python/qtgui/__init__.py index 80c5e2c8f9..a5e583e354 100644 --- a/gr-qtgui/python/qtgui/__init__.py +++ b/gr-qtgui/python/qtgui/__init__.py @@ -17,11 +17,11 @@ import os try: - from .qtgui_swig import * + from .qtgui_python import * except ImportError: dirname, filename = os.path.split(os.path.abspath(__file__)) - __path__.append(os.path.join(dirname, "..", "..", "swig")) - from .qtgui_swig import * + __path__.append(os.path.join(dirname, "bindings")) + from .qtgui_python import * try: import matplotlib.pyplot as plt @@ -50,3 +50,4 @@ from .graphicoverlay import GrGraphicOverlay from .auto_correlator_sink import AutoCorrelatorSink from .auto_correlator_sink import AutoCorrelator from .auto_correlator_sink import Normalize + diff --git a/gr-qtgui/python/qtgui/bindings/CMakeLists.txt b/gr-qtgui/python/qtgui/bindings/CMakeLists.txt new file mode 100644 index 0000000000..c5433c3289 --- /dev/null +++ b/gr-qtgui/python/qtgui/bindings/CMakeLists.txt @@ -0,0 +1,64 @@ +include(GrPybind) + +######################################################################## +# Python Bindings +######################################################################## + +list(APPEND qtgui_python_files + # ConstellationDisplayPlot_python.cc + # DisplayPlot_python.cc + # FrequencyDisplayPlot_python.cc + # HistogramDisplayPlot_python.cc + # SpectrumGUIClass_python.cc + # TimeDomainDisplayPlot_python.cc + # TimeRasterDisplayPlot_python.cc + # VectorDisplayPlot_python.cc + # WaterfallDisplayPlot_python.cc + QWidget_python.cc + ber_sink_b_python.cc + const_sink_c_python.cc + constellationdisplayform_python.cc + displayform_python.cc + edit_box_msg_python.cc + eye_sink_c_python.cc + eye_sink_f_python.cc + form_menus_python.cc + freq_sink_c_python.cc + freq_sink_f_python.cc + freqcontrolpanel_python.cc + freqdisplayform_python.cc + histogram_sink_f_python.cc + histogramdisplayform_python.cc + number_sink_python.cc + numberdisplayform_python.cc + # plot_raster_python.cc + # plot_waterfall_python.cc + qtgui_types_python.cc + sink_c_python.cc + sink_f_python.cc + # spectrumUpdateEvents_python.cc + # spectrumdisplayform_python.cc + # timeRasterGlobalData_python.cc + time_raster_sink_b_python.cc + time_raster_sink_f_python.cc + time_sink_c_python.cc + time_sink_f_python.cc + timecontrolpanel_python.cc + timedisplayform_python.cc + timerasterdisplayform_python.cc + trigger_mode_python.cc + # utils_python.cc + vector_sink_f_python.cc + vectordisplayform_python.cc + # waterfallGlobalData_python.cc + waterfall_sink_c_python.cc + waterfall_sink_f_python.cc + waterfalldisplayform_python.cc + python_bindings.cc) + +GR_PYBIND_MAKE(qtgui + ../../.. + gr::qtgui + "${qtgui_python_files}") + +install(TARGETS qtgui_python DESTINATION ${GR_PYTHON_DIR}/gnuradio/qtgui COMPONENT pythonapi) diff --git a/gr-qtgui/python/qtgui/bindings/QWidget_python.cc b/gr-qtgui/python/qtgui/bindings/QWidget_python.cc new file mode 100644 index 0000000000..6331b3067e --- /dev/null +++ b/gr-qtgui/python/qtgui/bindings/QWidget_python.cc @@ -0,0 +1,27 @@ +#include <pybind11/complex.h> +#include <pybind11/pybind11.h> +#include <pybind11/stl.h> + +namespace py = pybind11; + +#include <qwt_legend.h> +#include <qwt_painter.h> +#include <qwt_plot.h> +#include <qwt_plot_canvas.h> +#include <qwt_plot_curve.h> +#include <qwt_plot_magnifier.h> +#include <qwt_plot_marker.h> +#include <qwt_plot_panner.h> +#include <qwt_plot_zoomer.h> +#include <qwt_scale_engine.h> +#include <qwt_scale_widget.h> +#include <qwt_symbol.h> + + +#include <QtWidgets/qwidget.h> + +void bind_QWidget(py::module& m) +{ + + py::class_<QWidget, std::shared_ptr<QWidget>>(m, "QWidget"); +}
\ No newline at end of file diff --git a/gr-qtgui/python/qtgui/bindings/ber_sink_b_python.cc b/gr-qtgui/python/qtgui/bindings/ber_sink_b_python.cc new file mode 100644 index 0000000000..da8dce680f --- /dev/null +++ b/gr-qtgui/python/qtgui/bindings/ber_sink_b_python.cc @@ -0,0 +1,198 @@ +/* + * Copyright 2020 Free Software Foundation, Inc. + * + * This file is part of GNU Radio + * + * SPDX-License-Identifier: GPL-3.0-or-later + * + */ + +/* This file is automatically generated using bindtool */ + +#include <pybind11/complex.h> +#include <pybind11/pybind11.h> +#include <pybind11/stl.h> + +namespace py = pybind11; + +#include <gnuradio/qtgui/utils.h> +#include <qwt_legend.h> +#include <qwt_painter.h> +#include <qwt_plot.h> +#include <qwt_plot_canvas.h> +#include <qwt_plot_curve.h> +#include <qwt_plot_magnifier.h> +#include <qwt_plot_marker.h> +#include <qwt_plot_panner.h> +#include <qwt_plot_zoomer.h> +#include <qwt_scale_engine.h> +#include <qwt_scale_widget.h> +#include <qwt_symbol.h> + +#include <gnuradio/qtgui/ber_sink_b.h> +// pydoc.h is automatically generated in the build directory +#include <ber_sink_b_pydoc.h> + +void bind_ber_sink_b(py::module& m) +{ + + using ber_sink_b = ::gr::qtgui::ber_sink_b; + + + py::class_<ber_sink_b, gr::block, gr::basic_block, std::shared_ptr<ber_sink_b>>( + m, "ber_sink_b", D(ber_sink_b)) + + .def(py::init(&ber_sink_b::make), + py::arg("esnos"), + py::arg("curves") = 1, + py::arg("berminerrors") = 100, + py::arg("berLimit") = -7., + py::arg("curvenames") = std::vector<std::string>(), + py::arg("parent") = __null, + D(ber_sink_b, make)) + + + .def("exec_", &ber_sink_b::exec_, D(ber_sink_b, exec_)) + + + // .def("pyqwidget",&ber_sink_b::pyqwidget, + // D(ber_sink_b,pyqwidget) + // ) + // For the sip conversion to python to work, the widget object + // needs to be explicitly converted to Long + .def( + "pyqwidget", + [](std::shared_ptr<ber_sink_b> p) { return PyLong_AsLong(p->pyqwidget()); }, + D(ber_sink_b, pyqwidget)) + + + .def("set_y_axis", + &ber_sink_b::set_y_axis, + py::arg("min"), + py::arg("max"), + D(ber_sink_b, set_y_axis)) + + + .def("set_x_axis", + &ber_sink_b::set_x_axis, + py::arg("min"), + py::arg("max"), + D(ber_sink_b, set_x_axis)) + + + .def("set_update_time", + &ber_sink_b::set_update_time, + py::arg("t"), + D(ber_sink_b, set_update_time)) + + + .def("set_title", + &ber_sink_b::set_title, + py::arg("title"), + D(ber_sink_b, set_title)) + + + .def("set_line_label", + &ber_sink_b::set_line_label, + py::arg("which"), + py::arg("label"), + D(ber_sink_b, set_line_label)) + + + .def("set_line_color", + &ber_sink_b::set_line_color, + py::arg("which"), + py::arg("color"), + D(ber_sink_b, set_line_color)) + + + .def("set_line_width", + &ber_sink_b::set_line_width, + py::arg("which"), + py::arg("width"), + D(ber_sink_b, set_line_width)) + + + .def("set_line_style", + &ber_sink_b::set_line_style, + py::arg("which"), + py::arg("style"), + D(ber_sink_b, set_line_style)) + + + .def("set_line_marker", + &ber_sink_b::set_line_marker, + py::arg("which"), + py::arg("marker"), + D(ber_sink_b, set_line_marker)) + + + .def("set_line_alpha", + &ber_sink_b::set_line_alpha, + py::arg("which"), + py::arg("alpha"), + D(ber_sink_b, set_line_alpha)) + + + .def("title", &ber_sink_b::title, D(ber_sink_b, title)) + + + .def("line_label", + &ber_sink_b::line_label, + py::arg("which"), + D(ber_sink_b, line_label)) + + + .def("line_color", + &ber_sink_b::line_color, + py::arg("which"), + D(ber_sink_b, line_color)) + + + .def("line_width", + &ber_sink_b::line_width, + py::arg("which"), + D(ber_sink_b, line_width)) + + + .def("line_style", + &ber_sink_b::line_style, + py::arg("which"), + D(ber_sink_b, line_style)) + + + .def("line_marker", + &ber_sink_b::line_marker, + py::arg("which"), + D(ber_sink_b, line_marker)) + + + .def("line_alpha", + &ber_sink_b::line_alpha, + py::arg("which"), + D(ber_sink_b, line_alpha)) + + + .def("set_size", + &ber_sink_b::set_size, + py::arg("width"), + py::arg("height"), + D(ber_sink_b, set_size)) + + + .def("enable_menu", + &ber_sink_b::enable_menu, + py::arg("en") = true, + D(ber_sink_b, enable_menu)) + + + .def("enable_autoscale", + &ber_sink_b::enable_autoscale, + py::arg("en"), + D(ber_sink_b, enable_autoscale)) + + + .def("nsamps", &ber_sink_b::nsamps, D(ber_sink_b, nsamps)) + + ; +} diff --git a/gr-qtgui/python/qtgui/bindings/const_sink_c_python.cc b/gr-qtgui/python/qtgui/bindings/const_sink_c_python.cc new file mode 100644 index 0000000000..f273282046 --- /dev/null +++ b/gr-qtgui/python/qtgui/bindings/const_sink_c_python.cc @@ -0,0 +1,238 @@ +/* + * Copyright 2020 Free Software Foundation, Inc. + * + * This file is part of GNU Radio + * + * SPDX-License-Identifier: GPL-3.0-or-later + * + */ + +/* This file is automatically generated using bindtool */ + +#include <pybind11/complex.h> +#include <pybind11/pybind11.h> +#include <pybind11/stl.h> + +namespace py = pybind11; + +#include <gnuradio/qtgui/utils.h> +#include <qwt_legend.h> +#include <qwt_painter.h> +#include <qwt_plot.h> +#include <qwt_plot_canvas.h> +#include <qwt_plot_curve.h> +#include <qwt_plot_magnifier.h> +#include <qwt_plot_marker.h> +#include <qwt_plot_panner.h> +#include <qwt_plot_zoomer.h> +#include <qwt_scale_engine.h> +#include <qwt_scale_widget.h> +#include <qwt_symbol.h> + +#include <gnuradio/qtgui/const_sink_c.h> +// pydoc.h is automatically generated in the build directory +#include <const_sink_c_pydoc.h> + +void bind_const_sink_c(py::module& m) +{ + + using const_sink_c = ::gr::qtgui::const_sink_c; + + + py::class_<const_sink_c, + gr::sync_block, + gr::block, + gr::basic_block, + std::shared_ptr<const_sink_c>>(m, "const_sink_c", D(const_sink_c)) + + .def(py::init(&const_sink_c::make), + py::arg("size"), + py::arg("name"), + py::arg("nconnections") = 1, + py::arg("parent") = __null, + D(const_sink_c, make)) + + + .def("exec_", &const_sink_c::exec_, D(const_sink_c, exec_)) + + + .def("qwidget", &const_sink_c::qwidget, D(const_sink_c, qwidget)) + + + // .def("pyqwidget",&const_sink_c::pyqwidget, + // D(const_sink_c,pyqwidget) + // ) + // For the sip conversion to python to work, the widget object + // needs to be explicitly converted to Long + .def( + "pyqwidget", + [](std::shared_ptr<const_sink_c> p) { return PyLong_AsLong(p->pyqwidget()); }, + D(const_sink_c, pyqwidget)) + + + .def("set_y_axis", + &const_sink_c::set_y_axis, + py::arg("min"), + py::arg("max"), + D(const_sink_c, set_y_axis)) + + + .def("set_x_axis", + &const_sink_c::set_x_axis, + py::arg("min"), + py::arg("max"), + D(const_sink_c, set_x_axis)) + + + .def("set_update_time", + &const_sink_c::set_update_time, + py::arg("t"), + D(const_sink_c, set_update_time)) + + + .def("set_title", + &const_sink_c::set_title, + py::arg("title"), + D(const_sink_c, set_title)) + + + .def("set_line_label", + &const_sink_c::set_line_label, + py::arg("which"), + py::arg("label"), + D(const_sink_c, set_line_label)) + + + .def("set_line_color", + &const_sink_c::set_line_color, + py::arg("which"), + py::arg("color"), + D(const_sink_c, set_line_color)) + + + .def("set_line_width", + &const_sink_c::set_line_width, + py::arg("which"), + py::arg("width"), + D(const_sink_c, set_line_width)) + + + .def("set_line_style", + &const_sink_c::set_line_style, + py::arg("which"), + py::arg("style"), + D(const_sink_c, set_line_style)) + + + .def("set_line_marker", + &const_sink_c::set_line_marker, + py::arg("which"), + py::arg("marker"), + D(const_sink_c, set_line_marker)) + + + .def("set_nsamps", + &const_sink_c::set_nsamps, + py::arg("newsize"), + D(const_sink_c, set_nsamps)) + + + .def("set_line_alpha", + &const_sink_c::set_line_alpha, + py::arg("which"), + py::arg("alpha"), + D(const_sink_c, set_line_alpha)) + + + .def("set_trigger_mode", + &const_sink_c::set_trigger_mode, + py::arg("mode"), + py::arg("slope"), + py::arg("level"), + py::arg("channel"), + py::arg("tag_key") = "", + D(const_sink_c, set_trigger_mode)) + + + .def("title", &const_sink_c::title, D(const_sink_c, title)) + + + .def("line_label", + &const_sink_c::line_label, + py::arg("which"), + D(const_sink_c, line_label)) + + + .def("line_color", + &const_sink_c::line_color, + py::arg("which"), + D(const_sink_c, line_color)) + + + .def("line_width", + &const_sink_c::line_width, + py::arg("which"), + D(const_sink_c, line_width)) + + + .def("line_style", + &const_sink_c::line_style, + py::arg("which"), + D(const_sink_c, line_style)) + + + .def("line_marker", + &const_sink_c::line_marker, + py::arg("which"), + D(const_sink_c, line_marker)) + + + .def("line_alpha", + &const_sink_c::line_alpha, + py::arg("which"), + D(const_sink_c, line_alpha)) + + + .def("set_size", + &const_sink_c::set_size, + py::arg("width"), + py::arg("height"), + D(const_sink_c, set_size)) + + + .def("enable_menu", + &const_sink_c::enable_menu, + py::arg("en") = true, + D(const_sink_c, enable_menu)) + + + .def("enable_autoscale", + &const_sink_c::enable_autoscale, + py::arg("en"), + D(const_sink_c, enable_autoscale)) + + + .def("enable_grid", + &const_sink_c::enable_grid, + py::arg("en"), + D(const_sink_c, enable_grid)) + + + .def("enable_axis_labels", + &const_sink_c::enable_axis_labels, + py::arg("en") = true, + D(const_sink_c, enable_axis_labels)) + + + .def("disable_legend", + &const_sink_c::disable_legend, + D(const_sink_c, disable_legend)) + + + .def("nsamps", &const_sink_c::nsamps, D(const_sink_c, nsamps)) + + + .def("reset", &const_sink_c::reset, D(const_sink_c, reset)) + + ; +} diff --git a/gr-qtgui/python/qtgui/bindings/constellationdisplayform_python.cc b/gr-qtgui/python/qtgui/bindings/constellationdisplayform_python.cc new file mode 100644 index 0000000000..20374ab5e5 --- /dev/null +++ b/gr-qtgui/python/qtgui/bindings/constellationdisplayform_python.cc @@ -0,0 +1,22 @@ +/* + * Copyright 2020 Free Software Foundation, Inc. + * + * This file is part of GNU Radio + * + * SPDX-License-Identifier: GPL-3.0-or-later + * + */ + +/* This file is automatically generated using bindtool */ + +#include <pybind11/complex.h> +#include <pybind11/pybind11.h> +#include <pybind11/stl.h> + +namespace py = pybind11; + +#include <gnuradio/qtgui/constellationdisplayform.h> +// pydoc.h is automatically generated in the build directory +#include <constellationdisplayform_pydoc.h> + +void bind_constellationdisplayform(py::module& m) {} diff --git a/gr-qtgui/python/qtgui/bindings/displayform_python.cc b/gr-qtgui/python/qtgui/bindings/displayform_python.cc new file mode 100644 index 0000000000..e0a57873e1 --- /dev/null +++ b/gr-qtgui/python/qtgui/bindings/displayform_python.cc @@ -0,0 +1,22 @@ +/* + * Copyright 2020 Free Software Foundation, Inc. + * + * This file is part of GNU Radio + * + * SPDX-License-Identifier: GPL-3.0-or-later + * + */ + +/* This file is automatically generated using bindtool */ + +#include <pybind11/complex.h> +#include <pybind11/pybind11.h> +#include <pybind11/stl.h> + +namespace py = pybind11; + +#include <gnuradio/qtgui/displayform.h> +// pydoc.h is automatically generated in the build directory +#include <displayform_pydoc.h> + +void bind_displayform(py::module& m) {} diff --git a/gr-qtgui/python/qtgui/bindings/docstrings/ber_sink_b_pydoc_template.h b/gr-qtgui/python/qtgui/bindings/docstrings/ber_sink_b_pydoc_template.h new file mode 100644 index 0000000000..9af5de6831 --- /dev/null +++ b/gr-qtgui/python/qtgui/bindings/docstrings/ber_sink_b_pydoc_template.h @@ -0,0 +1,96 @@ +/* + * Copyright 2020 Free Software Foundation, Inc. + * + * This file is part of GNU Radio + * + * SPDX-License-Identifier: GPL-3.0-or-later + * + */ +#include "pydoc_macros.h" +#define D(...) DOC(gr, qtgui, __VA_ARGS__) +/* + This file contains placeholders for docstrings for the Python bindings. + Do not edit! These were automatically extracted during the binding process + and will be overwritten during the build process + */ + + +static const char* __doc_gr_qtgui_ber_sink_b = R"doc()doc"; + + +static const char* __doc_gr_qtgui_ber_sink_b_ber_sink_b_0 = R"doc()doc"; + + +static const char* __doc_gr_qtgui_ber_sink_b_ber_sink_b_1 = R"doc()doc"; + + +static const char* __doc_gr_qtgui_ber_sink_b_make = R"doc()doc"; + + +static const char* __doc_gr_qtgui_ber_sink_b_exec_ = R"doc()doc"; + + +static const char* __doc_gr_qtgui_ber_sink_b_pyqwidget = R"doc()doc"; + + +static const char* __doc_gr_qtgui_ber_sink_b_set_y_axis = R"doc()doc"; + + +static const char* __doc_gr_qtgui_ber_sink_b_set_x_axis = R"doc()doc"; + + +static const char* __doc_gr_qtgui_ber_sink_b_set_update_time = R"doc()doc"; + + +static const char* __doc_gr_qtgui_ber_sink_b_set_title = R"doc()doc"; + + +static const char* __doc_gr_qtgui_ber_sink_b_set_line_label = R"doc()doc"; + + +static const char* __doc_gr_qtgui_ber_sink_b_set_line_color = R"doc()doc"; + + +static const char* __doc_gr_qtgui_ber_sink_b_set_line_width = R"doc()doc"; + + +static const char* __doc_gr_qtgui_ber_sink_b_set_line_style = R"doc()doc"; + + +static const char* __doc_gr_qtgui_ber_sink_b_set_line_marker = R"doc()doc"; + + +static const char* __doc_gr_qtgui_ber_sink_b_set_line_alpha = R"doc()doc"; + + +static const char* __doc_gr_qtgui_ber_sink_b_title = R"doc()doc"; + + +static const char* __doc_gr_qtgui_ber_sink_b_line_label = R"doc()doc"; + + +static const char* __doc_gr_qtgui_ber_sink_b_line_color = R"doc()doc"; + + +static const char* __doc_gr_qtgui_ber_sink_b_line_width = R"doc()doc"; + + +static const char* __doc_gr_qtgui_ber_sink_b_line_style = R"doc()doc"; + + +static const char* __doc_gr_qtgui_ber_sink_b_line_marker = R"doc()doc"; + + +static const char* __doc_gr_qtgui_ber_sink_b_line_alpha = R"doc()doc"; + + +static const char* __doc_gr_qtgui_ber_sink_b_set_size = R"doc()doc"; + + +static const char* __doc_gr_qtgui_ber_sink_b_enable_menu = R"doc()doc"; + + +static const char* __doc_gr_qtgui_ber_sink_b_enable_autoscale = R"doc()doc"; + + +static const char* __doc_gr_qtgui_ber_sink_b_nsamps = R"doc()doc"; diff --git a/gr-qtgui/python/qtgui/bindings/docstrings/const_sink_c_pydoc_template.h b/gr-qtgui/python/qtgui/bindings/docstrings/const_sink_c_pydoc_template.h new file mode 100644 index 0000000000..09bda38572 --- /dev/null +++ b/gr-qtgui/python/qtgui/bindings/docstrings/const_sink_c_pydoc_template.h @@ -0,0 +1,117 @@ +/* + * Copyright 2020 Free Software Foundation, Inc. + * + * This file is part of GNU Radio + * + * SPDX-License-Identifier: GPL-3.0-or-later + * + */ +#include "pydoc_macros.h" +#define D(...) DOC(gr, qtgui, __VA_ARGS__) +/* + This file contains placeholders for docstrings for the Python bindings. + Do not edit! These were automatically extracted during the binding process + and will be overwritten during the build process + */ + + +static const char* __doc_gr_qtgui_const_sink_c = R"doc()doc"; + + +static const char* __doc_gr_qtgui_const_sink_c_const_sink_c_0 = R"doc()doc"; + + +static const char* __doc_gr_qtgui_const_sink_c_const_sink_c_1 = R"doc()doc"; + + +static const char* __doc_gr_qtgui_const_sink_c_make = R"doc()doc"; + + +static const char* __doc_gr_qtgui_const_sink_c_exec_ = R"doc()doc"; + + +static const char* __doc_gr_qtgui_const_sink_c_qwidget = R"doc()doc"; + + +static const char* __doc_gr_qtgui_const_sink_c_pyqwidget = R"doc()doc"; + + +static const char* __doc_gr_qtgui_const_sink_c_set_y_axis = R"doc()doc"; + + +static const char* __doc_gr_qtgui_const_sink_c_set_x_axis = R"doc()doc"; + + +static const char* __doc_gr_qtgui_const_sink_c_set_update_time = R"doc()doc"; + + +static const char* __doc_gr_qtgui_const_sink_c_set_title = R"doc()doc"; + + +static const char* __doc_gr_qtgui_const_sink_c_set_line_label = R"doc()doc"; + + +static const char* __doc_gr_qtgui_const_sink_c_set_line_color = R"doc()doc"; + + +static const char* __doc_gr_qtgui_const_sink_c_set_line_width = R"doc()doc"; + + +static const char* __doc_gr_qtgui_const_sink_c_set_line_style = R"doc()doc"; + + +static const char* __doc_gr_qtgui_const_sink_c_set_line_marker = R"doc()doc"; + + +static const char* __doc_gr_qtgui_const_sink_c_set_nsamps = R"doc()doc"; + + +static const char* __doc_gr_qtgui_const_sink_c_set_line_alpha = R"doc()doc"; + + +static const char* __doc_gr_qtgui_const_sink_c_set_trigger_mode = R"doc()doc"; + + +static const char* __doc_gr_qtgui_const_sink_c_title = R"doc()doc"; + + +static const char* __doc_gr_qtgui_const_sink_c_line_label = R"doc()doc"; + + +static const char* __doc_gr_qtgui_const_sink_c_line_color = R"doc()doc"; + + +static const char* __doc_gr_qtgui_const_sink_c_line_width = R"doc()doc"; + + +static const char* __doc_gr_qtgui_const_sink_c_line_style = R"doc()doc"; + + +static const char* __doc_gr_qtgui_const_sink_c_line_marker = R"doc()doc"; + + +static const char* __doc_gr_qtgui_const_sink_c_line_alpha = R"doc()doc"; + + +static const char* __doc_gr_qtgui_const_sink_c_set_size = R"doc()doc"; + + +static const char* __doc_gr_qtgui_const_sink_c_enable_menu = R"doc()doc"; + + +static const char* __doc_gr_qtgui_const_sink_c_enable_autoscale = R"doc()doc"; + + +static const char* __doc_gr_qtgui_const_sink_c_enable_grid = R"doc()doc"; + + +static const char* __doc_gr_qtgui_const_sink_c_enable_axis_labels = R"doc()doc"; + + +static const char* __doc_gr_qtgui_const_sink_c_disable_legend = R"doc()doc"; + + +static const char* __doc_gr_qtgui_const_sink_c_nsamps = R"doc()doc"; + + +static const char* __doc_gr_qtgui_const_sink_c_reset = R"doc()doc"; diff --git a/gr-qtgui/python/qtgui/bindings/docstrings/constellationdisplayform_pydoc_template.h b/gr-qtgui/python/qtgui/bindings/docstrings/constellationdisplayform_pydoc_template.h new file mode 100644 index 0000000000..db225012b1 --- /dev/null +++ b/gr-qtgui/python/qtgui/bindings/docstrings/constellationdisplayform_pydoc_template.h @@ -0,0 +1,15 @@ +/* + * Copyright 2020 Free Software Foundation, Inc. + * + * This file is part of GNU Radio + * + * SPDX-License-Identifier: GPL-3.0-or-later + * + */ +#include "pydoc_macros.h" +#define D(...) DOC(gr, qtgui, __VA_ARGS__) +/* + This file contains placeholders for docstrings for the Python bindings. + Do not edit! These were automatically extracted during the binding process + and will be overwritten during the build process + */ diff --git a/gr-qtgui/python/qtgui/bindings/docstrings/displayform_pydoc_template.h b/gr-qtgui/python/qtgui/bindings/docstrings/displayform_pydoc_template.h new file mode 100644 index 0000000000..db225012b1 --- /dev/null +++ b/gr-qtgui/python/qtgui/bindings/docstrings/displayform_pydoc_template.h @@ -0,0 +1,15 @@ +/* + * Copyright 2020 Free Software Foundation, Inc. + * + * This file is part of GNU Radio + * + * SPDX-License-Identifier: GPL-3.0-or-later + * + */ +#include "pydoc_macros.h" +#define D(...) DOC(gr, qtgui, __VA_ARGS__) +/* + This file contains placeholders for docstrings for the Python bindings. + Do not edit! These were automatically extracted during the binding process + and will be overwritten during the build process + */ diff --git a/gr-qtgui/python/qtgui/bindings/docstrings/edit_box_msg_pydoc_template.h b/gr-qtgui/python/qtgui/bindings/docstrings/edit_box_msg_pydoc_template.h new file mode 100644 index 0000000000..80c299d0c0 --- /dev/null +++ b/gr-qtgui/python/qtgui/bindings/docstrings/edit_box_msg_pydoc_template.h @@ -0,0 +1,36 @@ +/* + * Copyright 2020 Free Software Foundation, Inc. + * + * This file is part of GNU Radio + * + * SPDX-License-Identifier: GPL-3.0-or-later + * + */ +#include "pydoc_macros.h" +#define D(...) DOC(gr, qtgui, __VA_ARGS__) +/* + This file contains placeholders for docstrings for the Python bindings. + Do not edit! These were automatically extracted during the binding process + and will be overwritten during the build process + */ + + +static const char* __doc_gr_qtgui_edit_box_msg = R"doc()doc"; + + +static const char* __doc_gr_qtgui_edit_box_msg_edit_box_msg_0 = R"doc()doc"; + + +static const char* __doc_gr_qtgui_edit_box_msg_edit_box_msg_1 = R"doc()doc"; + + +static const char* __doc_gr_qtgui_edit_box_msg_make = R"doc()doc"; + + +static const char* __doc_gr_qtgui_edit_box_msg_exec_ = R"doc()doc"; + + +static const char* __doc_gr_qtgui_edit_box_msg_qwidget = R"doc()doc"; + + +static const char* __doc_gr_qtgui_edit_box_msg_pyqwidget = R"doc()doc"; diff --git a/gr-qtgui/python/qtgui/bindings/docstrings/eye_sink_c_pydoc_template.h b/gr-qtgui/python/qtgui/bindings/docstrings/eye_sink_c_pydoc_template.h new file mode 100644 index 0000000000..ae461f5548 --- /dev/null +++ b/gr-qtgui/python/qtgui/bindings/docstrings/eye_sink_c_pydoc_template.h @@ -0,0 +1,138 @@ +/* + * Copyright 2020 Free Software Foundation, Inc. + * + * This file is part of GNU Radio + * + * SPDX-License-Identifier: GPL-3.0-or-later + * + */ +#include "pydoc_macros.h" +#define D(...) DOC(gr, qtgui, __VA_ARGS__) +/* + This file contains placeholders for docstrings for the Python bindings. + Do not edit! These were automatically extracted during the binding process + and will be overwritten during the build process + */ + + +static const char* __doc_gr_qtgui_eye_sink_c = R"doc()doc"; + + +static const char* __doc_gr_qtgui_eye_sink_c_eye_sink_c_0 = R"doc()doc"; + + +static const char* __doc_gr_qtgui_eye_sink_c_eye_sink_c_1 = R"doc()doc"; + + +static const char* __doc_gr_qtgui_eye_sink_c_make = R"doc()doc"; + + +static const char* __doc_gr_qtgui_eye_sink_c_exec_ = R"doc()doc"; + + +static const char* __doc_gr_qtgui_eye_sink_c_qwidget = R"doc()doc"; + + +static const char* __doc_gr_qtgui_eye_sink_c_pyqwidget = R"doc()doc"; + + +static const char* __doc_gr_qtgui_eye_sink_c_set_y_axis = R"doc()doc"; + + +static const char* __doc_gr_qtgui_eye_sink_c_set_y_label = R"doc()doc"; + + +static const char* __doc_gr_qtgui_eye_sink_c_set_update_time = R"doc()doc"; + + +static const char* __doc_gr_qtgui_eye_sink_c_set_title = R"doc()doc"; + + +static const char* __doc_gr_qtgui_eye_sink_c_set_line_label = R"doc()doc"; + + +static const char* __doc_gr_qtgui_eye_sink_c_set_line_color = R"doc()doc"; + + +static const char* __doc_gr_qtgui_eye_sink_c_set_line_width = R"doc()doc"; + + +static const char* __doc_gr_qtgui_eye_sink_c_set_line_style = R"doc()doc"; + + +static const char* __doc_gr_qtgui_eye_sink_c_set_line_marker = R"doc()doc"; + + +static const char* __doc_gr_qtgui_eye_sink_c_set_nsamps = R"doc()doc"; + + +static const char* __doc_gr_qtgui_eye_sink_c_set_samp_rate = R"doc()doc"; + + +static const char* __doc_gr_qtgui_eye_sink_c_set_line_alpha = R"doc()doc"; + + +static const char* __doc_gr_qtgui_eye_sink_c_set_trigger_mode = R"doc()doc"; + + +static const char* __doc_gr_qtgui_eye_sink_c_title = R"doc()doc"; + + +static const char* __doc_gr_qtgui_eye_sink_c_line_label = R"doc()doc"; + + +static const char* __doc_gr_qtgui_eye_sink_c_line_color = R"doc()doc"; + + +static const char* __doc_gr_qtgui_eye_sink_c_line_width = R"doc()doc"; + + +static const char* __doc_gr_qtgui_eye_sink_c_line_style = R"doc()doc"; + + +static const char* __doc_gr_qtgui_eye_sink_c_line_marker = R"doc()doc"; + + +static const char* __doc_gr_qtgui_eye_sink_c_line_alpha = R"doc()doc"; + + +static const char* __doc_gr_qtgui_eye_sink_c_set_size = R"doc()doc"; + + +static const char* __doc_gr_qtgui_eye_sink_c_enable_menu = R"doc()doc"; + + +static const char* __doc_gr_qtgui_eye_sink_c_enable_grid = R"doc()doc"; + + +static const char* __doc_gr_qtgui_eye_sink_c_enable_autoscale = R"doc()doc"; + + +static const char* __doc_gr_qtgui_eye_sink_c_enable_stem_plot = R"doc()doc"; + + +static const char* __doc_gr_qtgui_eye_sink_c_enable_semilogx = R"doc()doc"; + + +static const char* __doc_gr_qtgui_eye_sink_c_enable_semilogy = R"doc()doc"; + + +static const char* __doc_gr_qtgui_eye_sink_c_enable_control_panel = R"doc()doc"; + + +static const char* __doc_gr_qtgui_eye_sink_c_enable_tags_0 = R"doc()doc"; + + +static const char* __doc_gr_qtgui_eye_sink_c_enable_tags_1 = R"doc()doc"; + + +static const char* __doc_gr_qtgui_eye_sink_c_enable_axis_labels = R"doc()doc"; + + +static const char* __doc_gr_qtgui_eye_sink_c_disable_legend = R"doc()doc"; + + +static const char* __doc_gr_qtgui_eye_sink_c_nsamps = R"doc()doc"; + + +static const char* __doc_gr_qtgui_eye_sink_c_reset = R"doc()doc"; diff --git a/gr-qtgui/python/qtgui/bindings/docstrings/eye_sink_f_pydoc_template.h b/gr-qtgui/python/qtgui/bindings/docstrings/eye_sink_f_pydoc_template.h new file mode 100644 index 0000000000..4ffa10e909 --- /dev/null +++ b/gr-qtgui/python/qtgui/bindings/docstrings/eye_sink_f_pydoc_template.h @@ -0,0 +1,138 @@ +/* + * Copyright 2020 Free Software Foundation, Inc. + * + * This file is part of GNU Radio + * + * SPDX-License-Identifier: GPL-3.0-or-later + * + */ +#include "pydoc_macros.h" +#define D(...) DOC(gr, qtgui, __VA_ARGS__) +/* + This file contains placeholders for docstrings for the Python bindings. + Do not edit! These were automatically extracted during the binding process + and will be overwritten during the build process + */ + + +static const char* __doc_gr_qtgui_eye_sink_f = R"doc()doc"; + + +static const char* __doc_gr_qtgui_eye_sink_f_eye_sink_f_0 = R"doc()doc"; + + +static const char* __doc_gr_qtgui_eye_sink_f_eye_sink_f_1 = R"doc()doc"; + + +static const char* __doc_gr_qtgui_eye_sink_f_make = R"doc()doc"; + + +static const char* __doc_gr_qtgui_eye_sink_f_exec_ = R"doc()doc"; + + +static const char* __doc_gr_qtgui_eye_sink_f_qwidget = R"doc()doc"; + + +static const char* __doc_gr_qtgui_eye_sink_f_pyqwidget = R"doc()doc"; + + +static const char* __doc_gr_qtgui_eye_sink_f_set_y_axis = R"doc()doc"; + + +static const char* __doc_gr_qtgui_eye_sink_f_set_y_label = R"doc()doc"; + + +static const char* __doc_gr_qtgui_eye_sink_f_set_update_time = R"doc()doc"; + + +static const char* __doc_gr_qtgui_eye_sink_f_set_title = R"doc()doc"; + + +static const char* __doc_gr_qtgui_eye_sink_f_set_line_label = R"doc()doc"; + + +static const char* __doc_gr_qtgui_eye_sink_f_set_line_color = R"doc()doc"; + + +static const char* __doc_gr_qtgui_eye_sink_f_set_line_width = R"doc()doc"; + + +static const char* __doc_gr_qtgui_eye_sink_f_set_line_style = R"doc()doc"; + + +static const char* __doc_gr_qtgui_eye_sink_f_set_line_marker = R"doc()doc"; + + +static const char* __doc_gr_qtgui_eye_sink_f_set_nsamps = R"doc()doc"; + + +static const char* __doc_gr_qtgui_eye_sink_f_set_samp_rate = R"doc()doc"; + + +static const char* __doc_gr_qtgui_eye_sink_f_set_line_alpha = R"doc()doc"; + + +static const char* __doc_gr_qtgui_eye_sink_f_set_trigger_mode = R"doc()doc"; + + +static const char* __doc_gr_qtgui_eye_sink_f_title = R"doc()doc"; + + +static const char* __doc_gr_qtgui_eye_sink_f_line_label = R"doc()doc"; + + +static const char* __doc_gr_qtgui_eye_sink_f_line_color = R"doc()doc"; + + +static const char* __doc_gr_qtgui_eye_sink_f_line_width = R"doc()doc"; + + +static const char* __doc_gr_qtgui_eye_sink_f_line_style = R"doc()doc"; + + +static const char* __doc_gr_qtgui_eye_sink_f_line_marker = R"doc()doc"; + + +static const char* __doc_gr_qtgui_eye_sink_f_line_alpha = R"doc()doc"; + + +static const char* __doc_gr_qtgui_eye_sink_f_set_size = R"doc()doc"; + + +static const char* __doc_gr_qtgui_eye_sink_f_enable_menu = R"doc()doc"; + + +static const char* __doc_gr_qtgui_eye_sink_f_enable_grid = R"doc()doc"; + + +static const char* __doc_gr_qtgui_eye_sink_f_enable_autoscale = R"doc()doc"; + + +static const char* __doc_gr_qtgui_eye_sink_f_enable_stem_plot = R"doc()doc"; + + +static const char* __doc_gr_qtgui_eye_sink_f_enable_semilogx = R"doc()doc"; + + +static const char* __doc_gr_qtgui_eye_sink_f_enable_semilogy = R"doc()doc"; + + +static const char* __doc_gr_qtgui_eye_sink_f_enable_control_panel = R"doc()doc"; + + +static const char* __doc_gr_qtgui_eye_sink_f_enable_tags_0 = R"doc()doc"; + + +static const char* __doc_gr_qtgui_eye_sink_f_enable_tags_1 = R"doc()doc"; + + +static const char* __doc_gr_qtgui_eye_sink_f_enable_axis_labels = R"doc()doc"; + + +static const char* __doc_gr_qtgui_eye_sink_f_disable_legend = R"doc()doc"; + + +static const char* __doc_gr_qtgui_eye_sink_f_nsamps = R"doc()doc"; + + +static const char* __doc_gr_qtgui_eye_sink_f_reset = R"doc()doc"; diff --git a/gr-qtgui/python/qtgui/bindings/docstrings/form_menus_pydoc_template.h b/gr-qtgui/python/qtgui/bindings/docstrings/form_menus_pydoc_template.h new file mode 100644 index 0000000000..db225012b1 --- /dev/null +++ b/gr-qtgui/python/qtgui/bindings/docstrings/form_menus_pydoc_template.h @@ -0,0 +1,15 @@ +/* + * Copyright 2020 Free Software Foundation, Inc. + * + * This file is part of GNU Radio + * + * SPDX-License-Identifier: GPL-3.0-or-later + * + */ +#include "pydoc_macros.h" +#define D(...) DOC(gr, qtgui, __VA_ARGS__) +/* + This file contains placeholders for docstrings for the Python bindings. + Do not edit! These were automatically extracted during the binding process + and will be overwritten during the build process + */ diff --git a/gr-qtgui/python/qtgui/bindings/docstrings/freq_sink_c_pydoc_template.h b/gr-qtgui/python/qtgui/bindings/docstrings/freq_sink_c_pydoc_template.h new file mode 100644 index 0000000000..e0f09db46c --- /dev/null +++ b/gr-qtgui/python/qtgui/bindings/docstrings/freq_sink_c_pydoc_template.h @@ -0,0 +1,147 @@ +/* + * Copyright 2020 Free Software Foundation, Inc. + * + * This file is part of GNU Radio + * + * SPDX-License-Identifier: GPL-3.0-or-later + * + */ +#include "pydoc_macros.h" +#define D(...) DOC(gr, qtgui, __VA_ARGS__) +/* + This file contains placeholders for docstrings for the Python bindings. + Do not edit! These were automatically extracted during the binding process + and will be overwritten during the build process + */ + + +static const char* __doc_gr_qtgui_freq_sink_c = R"doc()doc"; + + +static const char* __doc_gr_qtgui_freq_sink_c_freq_sink_c_0 = R"doc()doc"; + + +static const char* __doc_gr_qtgui_freq_sink_c_freq_sink_c_1 = R"doc()doc"; + + +static const char* __doc_gr_qtgui_freq_sink_c_make = R"doc()doc"; + + +static const char* __doc_gr_qtgui_freq_sink_c_exec_ = R"doc()doc"; + + +static const char* __doc_gr_qtgui_freq_sink_c_qwidget = R"doc()doc"; + + +static const char* __doc_gr_qtgui_freq_sink_c_pyqwidget = R"doc()doc"; + + +static const char* __doc_gr_qtgui_freq_sink_c_set_fft_size = R"doc()doc"; + + +static const char* __doc_gr_qtgui_freq_sink_c_fft_size = R"doc()doc"; + + +static const char* __doc_gr_qtgui_freq_sink_c_set_fft_average = R"doc()doc"; + + +static const char* __doc_gr_qtgui_freq_sink_c_fft_average = R"doc()doc"; + + +static const char* __doc_gr_qtgui_freq_sink_c_set_fft_window = R"doc()doc"; + + +static const char* __doc_gr_qtgui_freq_sink_c_fft_window = R"doc()doc"; + + +static const char* __doc_gr_qtgui_freq_sink_c_set_frequency_range = R"doc()doc"; + + +static const char* __doc_gr_qtgui_freq_sink_c_set_y_axis = R"doc()doc"; + + +static const char* __doc_gr_qtgui_freq_sink_c_set_update_time = R"doc()doc"; + + +static const char* __doc_gr_qtgui_freq_sink_c_set_title = R"doc()doc"; + + +static const char* __doc_gr_qtgui_freq_sink_c_set_y_label = R"doc()doc"; + + +static const char* __doc_gr_qtgui_freq_sink_c_set_line_label = R"doc()doc"; + + +static const char* __doc_gr_qtgui_freq_sink_c_set_line_color = R"doc()doc"; + + +static const char* __doc_gr_qtgui_freq_sink_c_set_line_width = R"doc()doc"; + + +static const char* __doc_gr_qtgui_freq_sink_c_set_line_style = R"doc()doc"; + + +static const char* __doc_gr_qtgui_freq_sink_c_set_line_marker = R"doc()doc"; + + +static const char* __doc_gr_qtgui_freq_sink_c_set_line_alpha = R"doc()doc"; + + +static const char* __doc_gr_qtgui_freq_sink_c_set_trigger_mode = R"doc()doc"; + + +static const char* __doc_gr_qtgui_freq_sink_c_title = R"doc()doc"; + + +static const char* __doc_gr_qtgui_freq_sink_c_line_label = R"doc()doc"; + + +static const char* __doc_gr_qtgui_freq_sink_c_line_color = R"doc()doc"; + + +static const char* __doc_gr_qtgui_freq_sink_c_line_width = R"doc()doc"; + + +static const char* __doc_gr_qtgui_freq_sink_c_line_style = R"doc()doc"; + + +static const char* __doc_gr_qtgui_freq_sink_c_line_marker = R"doc()doc"; + + +static const char* __doc_gr_qtgui_freq_sink_c_line_alpha = R"doc()doc"; + + +static const char* __doc_gr_qtgui_freq_sink_c_set_size = R"doc()doc"; + + +static const char* __doc_gr_qtgui_freq_sink_c_enable_menu = R"doc()doc"; + + +static const char* __doc_gr_qtgui_freq_sink_c_enable_grid = R"doc()doc"; + + +static const char* __doc_gr_qtgui_freq_sink_c_enable_autoscale = R"doc()doc"; + + +static const char* __doc_gr_qtgui_freq_sink_c_enable_control_panel = R"doc()doc"; + + +static const char* __doc_gr_qtgui_freq_sink_c_enable_max_hold = R"doc()doc"; + + +static const char* __doc_gr_qtgui_freq_sink_c_enable_min_hold = R"doc()doc"; + + +static const char* __doc_gr_qtgui_freq_sink_c_clear_max_hold = R"doc()doc"; + + +static const char* __doc_gr_qtgui_freq_sink_c_clear_min_hold = R"doc()doc"; + + +static const char* __doc_gr_qtgui_freq_sink_c_disable_legend = R"doc()doc"; + + +static const char* __doc_gr_qtgui_freq_sink_c_reset = R"doc()doc"; + + +static const char* __doc_gr_qtgui_freq_sink_c_enable_axis_labels = R"doc()doc"; diff --git a/gr-qtgui/python/qtgui/bindings/docstrings/freq_sink_f_pydoc_template.h b/gr-qtgui/python/qtgui/bindings/docstrings/freq_sink_f_pydoc_template.h new file mode 100644 index 0000000000..3c5e2ce3d7 --- /dev/null +++ b/gr-qtgui/python/qtgui/bindings/docstrings/freq_sink_f_pydoc_template.h @@ -0,0 +1,150 @@ +/* + * Copyright 2020 Free Software Foundation, Inc. + * + * This file is part of GNU Radio + * + * SPDX-License-Identifier: GPL-3.0-or-later + * + */ +#include "pydoc_macros.h" +#define D(...) DOC(gr, qtgui, __VA_ARGS__) +/* + This file contains placeholders for docstrings for the Python bindings. + Do not edit! These were automatically extracted during the binding process + and will be overwritten during the build process + */ + + +static const char* __doc_gr_qtgui_freq_sink_f = R"doc()doc"; + + +static const char* __doc_gr_qtgui_freq_sink_f_freq_sink_f_0 = R"doc()doc"; + + +static const char* __doc_gr_qtgui_freq_sink_f_freq_sink_f_1 = R"doc()doc"; + + +static const char* __doc_gr_qtgui_freq_sink_f_make = R"doc()doc"; + + +static const char* __doc_gr_qtgui_freq_sink_f_exec_ = R"doc()doc"; + + +static const char* __doc_gr_qtgui_freq_sink_f_qwidget = R"doc()doc"; + + +static const char* __doc_gr_qtgui_freq_sink_f_pyqwidget = R"doc()doc"; + + +static const char* __doc_gr_qtgui_freq_sink_f_set_fft_size = R"doc()doc"; + + +static const char* __doc_gr_qtgui_freq_sink_f_fft_size = R"doc()doc"; + + +static const char* __doc_gr_qtgui_freq_sink_f_set_fft_average = R"doc()doc"; + + +static const char* __doc_gr_qtgui_freq_sink_f_fft_average = R"doc()doc"; + + +static const char* __doc_gr_qtgui_freq_sink_f_set_fft_window = R"doc()doc"; + + +static const char* __doc_gr_qtgui_freq_sink_f_fft_window = R"doc()doc"; + + +static const char* __doc_gr_qtgui_freq_sink_f_set_frequency_range = R"doc()doc"; + + +static const char* __doc_gr_qtgui_freq_sink_f_set_y_axis = R"doc()doc"; + + +static const char* __doc_gr_qtgui_freq_sink_f_set_update_time = R"doc()doc"; + + +static const char* __doc_gr_qtgui_freq_sink_f_set_title = R"doc()doc"; + + +static const char* __doc_gr_qtgui_freq_sink_f_set_y_label = R"doc()doc"; + + +static const char* __doc_gr_qtgui_freq_sink_f_set_line_label = R"doc()doc"; + + +static const char* __doc_gr_qtgui_freq_sink_f_set_line_color = R"doc()doc"; + + +static const char* __doc_gr_qtgui_freq_sink_f_set_line_width = R"doc()doc"; + + +static const char* __doc_gr_qtgui_freq_sink_f_set_line_style = R"doc()doc"; + + +static const char* __doc_gr_qtgui_freq_sink_f_set_line_marker = R"doc()doc"; + + +static const char* __doc_gr_qtgui_freq_sink_f_set_line_alpha = R"doc()doc"; + + +static const char* __doc_gr_qtgui_freq_sink_f_set_plot_pos_half = R"doc()doc"; + + +static const char* __doc_gr_qtgui_freq_sink_f_set_trigger_mode = R"doc()doc"; + + +static const char* __doc_gr_qtgui_freq_sink_f_title = R"doc()doc"; + + +static const char* __doc_gr_qtgui_freq_sink_f_line_label = R"doc()doc"; + + +static const char* __doc_gr_qtgui_freq_sink_f_line_color = R"doc()doc"; + + +static const char* __doc_gr_qtgui_freq_sink_f_line_width = R"doc()doc"; + + +static const char* __doc_gr_qtgui_freq_sink_f_line_style = R"doc()doc"; + + +static const char* __doc_gr_qtgui_freq_sink_f_line_marker = R"doc()doc"; + + +static const char* __doc_gr_qtgui_freq_sink_f_line_alpha = R"doc()doc"; + + +static const char* __doc_gr_qtgui_freq_sink_f_set_size = R"doc()doc"; + + +static const char* __doc_gr_qtgui_freq_sink_f_enable_menu = R"doc()doc"; + + +static const char* __doc_gr_qtgui_freq_sink_f_enable_grid = R"doc()doc"; + + +static const char* __doc_gr_qtgui_freq_sink_f_enable_autoscale = R"doc()doc"; + + +static const char* __doc_gr_qtgui_freq_sink_f_enable_control_panel = R"doc()doc"; + + +static const char* __doc_gr_qtgui_freq_sink_f_enable_max_hold = R"doc()doc"; + + +static const char* __doc_gr_qtgui_freq_sink_f_enable_min_hold = R"doc()doc"; + + +static const char* __doc_gr_qtgui_freq_sink_f_clear_max_hold = R"doc()doc"; + + +static const char* __doc_gr_qtgui_freq_sink_f_clear_min_hold = R"doc()doc"; + + +static const char* __doc_gr_qtgui_freq_sink_f_disable_legend = R"doc()doc"; + + +static const char* __doc_gr_qtgui_freq_sink_f_reset = R"doc()doc"; + + +static const char* __doc_gr_qtgui_freq_sink_f_enable_axis_labels = R"doc()doc"; diff --git a/gr-qtgui/python/qtgui/bindings/docstrings/freqcontrolpanel_pydoc_template.h b/gr-qtgui/python/qtgui/bindings/docstrings/freqcontrolpanel_pydoc_template.h new file mode 100644 index 0000000000..db225012b1 --- /dev/null +++ b/gr-qtgui/python/qtgui/bindings/docstrings/freqcontrolpanel_pydoc_template.h @@ -0,0 +1,15 @@ +/* + * Copyright 2020 Free Software Foundation, Inc. + * + * This file is part of GNU Radio + * + * SPDX-License-Identifier: GPL-3.0-or-later + * + */ +#include "pydoc_macros.h" +#define D(...) DOC(gr, qtgui, __VA_ARGS__) +/* + This file contains placeholders for docstrings for the Python bindings. + Do not edit! These were automatically extracted during the binding process + and will be overwritten during the build process + */ diff --git a/gr-qtgui/python/qtgui/bindings/docstrings/freqdisplayform_pydoc_template.h b/gr-qtgui/python/qtgui/bindings/docstrings/freqdisplayform_pydoc_template.h new file mode 100644 index 0000000000..db225012b1 --- /dev/null +++ b/gr-qtgui/python/qtgui/bindings/docstrings/freqdisplayform_pydoc_template.h @@ -0,0 +1,15 @@ +/* + * Copyright 2020 Free Software Foundation, Inc. + * + * This file is part of GNU Radio + * + * SPDX-License-Identifier: GPL-3.0-or-later + * + */ +#include "pydoc_macros.h" +#define D(...) DOC(gr, qtgui, __VA_ARGS__) +/* + This file contains placeholders for docstrings for the Python bindings. + Do not edit! These were automatically extracted during the binding process + and will be overwritten during the build process + */ diff --git a/gr-qtgui/python/qtgui/bindings/docstrings/histogram_sink_f_pydoc_template.h b/gr-qtgui/python/qtgui/bindings/docstrings/histogram_sink_f_pydoc_template.h new file mode 100644 index 0000000000..a6804fd279 --- /dev/null +++ b/gr-qtgui/python/qtgui/bindings/docstrings/histogram_sink_f_pydoc_template.h @@ -0,0 +1,132 @@ +/* + * Copyright 2020 Free Software Foundation, Inc. + * + * This file is part of GNU Radio + * + * SPDX-License-Identifier: GPL-3.0-or-later + * + */ +#include "pydoc_macros.h" +#define D(...) DOC(gr, qtgui, __VA_ARGS__) +/* + This file contains placeholders for docstrings for the Python bindings. + Do not edit! These were automatically extracted during the binding process + and will be overwritten during the build process + */ + + +static const char* __doc_gr_qtgui_histogram_sink_f = R"doc()doc"; + + +static const char* __doc_gr_qtgui_histogram_sink_f_histogram_sink_f_0 = R"doc()doc"; + + +static const char* __doc_gr_qtgui_histogram_sink_f_histogram_sink_f_1 = R"doc()doc"; + + +static const char* __doc_gr_qtgui_histogram_sink_f_make = R"doc()doc"; + + +static const char* __doc_gr_qtgui_histogram_sink_f_exec_ = R"doc()doc"; + + +static const char* __doc_gr_qtgui_histogram_sink_f_qwidget = R"doc()doc"; + + +static const char* __doc_gr_qtgui_histogram_sink_f_pyqwidget = R"doc()doc"; + + +static const char* __doc_gr_qtgui_histogram_sink_f_title = R"doc()doc"; + + +static const char* __doc_gr_qtgui_histogram_sink_f_line_label = R"doc()doc"; + + +static const char* __doc_gr_qtgui_histogram_sink_f_line_color = R"doc()doc"; + + +static const char* __doc_gr_qtgui_histogram_sink_f_line_width = R"doc()doc"; + + +static const char* __doc_gr_qtgui_histogram_sink_f_line_style = R"doc()doc"; + + +static const char* __doc_gr_qtgui_histogram_sink_f_line_marker = R"doc()doc"; + + +static const char* __doc_gr_qtgui_histogram_sink_f_line_alpha = R"doc()doc"; + + +static const char* __doc_gr_qtgui_histogram_sink_f_set_size = R"doc()doc"; + + +static const char* __doc_gr_qtgui_histogram_sink_f_enable_menu = R"doc()doc"; + + +static const char* __doc_gr_qtgui_histogram_sink_f_enable_grid = R"doc()doc"; + + +static const char* __doc_gr_qtgui_histogram_sink_f_enable_autoscale = R"doc()doc"; + + +static const char* __doc_gr_qtgui_histogram_sink_f_enable_semilogx = R"doc()doc"; + + +static const char* __doc_gr_qtgui_histogram_sink_f_enable_semilogy = R"doc()doc"; + + +static const char* __doc_gr_qtgui_histogram_sink_f_enable_accumulate = R"doc()doc"; + + +static const char* __doc_gr_qtgui_histogram_sink_f_enable_axis_labels = R"doc()doc"; + + +static const char* __doc_gr_qtgui_histogram_sink_f_autoscalex = R"doc()doc"; + + +static const char* __doc_gr_qtgui_histogram_sink_f_nsamps = R"doc()doc"; + + +static const char* __doc_gr_qtgui_histogram_sink_f_bins = R"doc()doc"; + + +static const char* __doc_gr_qtgui_histogram_sink_f_reset = R"doc()doc"; + + +static const char* __doc_gr_qtgui_histogram_sink_f_set_y_axis = R"doc()doc"; + + +static const char* __doc_gr_qtgui_histogram_sink_f_set_x_axis = R"doc()doc"; + + +static const char* __doc_gr_qtgui_histogram_sink_f_set_update_time = R"doc()doc"; + + +static const char* __doc_gr_qtgui_histogram_sink_f_set_title = R"doc()doc"; + + +static const char* __doc_gr_qtgui_histogram_sink_f_set_line_label = R"doc()doc"; + + +static const char* __doc_gr_qtgui_histogram_sink_f_set_line_color = R"doc()doc"; + + +static const char* __doc_gr_qtgui_histogram_sink_f_set_line_width = R"doc()doc"; + + +static const char* __doc_gr_qtgui_histogram_sink_f_set_line_style = R"doc()doc"; + + +static const char* __doc_gr_qtgui_histogram_sink_f_set_line_marker = R"doc()doc"; + + +static const char* __doc_gr_qtgui_histogram_sink_f_set_line_alpha = R"doc()doc"; + + +static const char* __doc_gr_qtgui_histogram_sink_f_set_nsamps = R"doc()doc"; + + +static const char* __doc_gr_qtgui_histogram_sink_f_set_bins = R"doc()doc"; + + +static const char* __doc_gr_qtgui_histogram_sink_f_disable_legend = R"doc()doc"; diff --git a/gr-qtgui/python/qtgui/bindings/docstrings/histogramdisplayform_pydoc_template.h b/gr-qtgui/python/qtgui/bindings/docstrings/histogramdisplayform_pydoc_template.h new file mode 100644 index 0000000000..db225012b1 --- /dev/null +++ b/gr-qtgui/python/qtgui/bindings/docstrings/histogramdisplayform_pydoc_template.h @@ -0,0 +1,15 @@ +/* + * Copyright 2020 Free Software Foundation, Inc. + * + * This file is part of GNU Radio + * + * SPDX-License-Identifier: GPL-3.0-or-later + * + */ +#include "pydoc_macros.h" +#define D(...) DOC(gr, qtgui, __VA_ARGS__) +/* + This file contains placeholders for docstrings for the Python bindings. + Do not edit! These were automatically extracted during the binding process + and will be overwritten during the build process + */ diff --git a/gr-qtgui/python/qtgui/bindings/docstrings/number_sink_pydoc_template.h b/gr-qtgui/python/qtgui/bindings/docstrings/number_sink_pydoc_template.h new file mode 100644 index 0000000000..4d69a0b6a1 --- /dev/null +++ b/gr-qtgui/python/qtgui/bindings/docstrings/number_sink_pydoc_template.h @@ -0,0 +1,108 @@ +/* + * Copyright 2020 Free Software Foundation, Inc. + * + * This file is part of GNU Radio + * + * SPDX-License-Identifier: GPL-3.0-or-later + * + */ +#include "pydoc_macros.h" +#define D(...) DOC(gr, qtgui, __VA_ARGS__) +/* + This file contains placeholders for docstrings for the Python bindings. + Do not edit! These were automatically extracted during the binding process + and will be overwritten during the build process + */ + + +static const char* __doc_gr_qtgui_number_sink = R"doc()doc"; + + +static const char* __doc_gr_qtgui_number_sink_number_sink_0 = R"doc()doc"; + + +static const char* __doc_gr_qtgui_number_sink_number_sink_1 = R"doc()doc"; + + +static const char* __doc_gr_qtgui_number_sink_make = R"doc()doc"; + + +static const char* __doc_gr_qtgui_number_sink_exec_ = R"doc()doc"; + + +static const char* __doc_gr_qtgui_number_sink_qwidget = R"doc()doc"; + + +static const char* __doc_gr_qtgui_number_sink_pyqwidget = R"doc()doc"; + + +static const char* __doc_gr_qtgui_number_sink_set_update_time = R"doc()doc"; + + +static const char* __doc_gr_qtgui_number_sink_set_average = R"doc()doc"; + + +static const char* __doc_gr_qtgui_number_sink_set_graph_type = R"doc()doc"; + + +static const char* __doc_gr_qtgui_number_sink_set_color_0 = R"doc()doc"; + + +static const char* __doc_gr_qtgui_number_sink_set_color_1 = R"doc()doc"; + + +static const char* __doc_gr_qtgui_number_sink_set_label = R"doc()doc"; + + +static const char* __doc_gr_qtgui_number_sink_set_min = R"doc()doc"; + + +static const char* __doc_gr_qtgui_number_sink_set_max = R"doc()doc"; + + +static const char* __doc_gr_qtgui_number_sink_set_title = R"doc()doc"; + + +static const char* __doc_gr_qtgui_number_sink_set_unit = R"doc()doc"; + + +static const char* __doc_gr_qtgui_number_sink_set_factor = R"doc()doc"; + + +static const char* __doc_gr_qtgui_number_sink_average = R"doc()doc"; + + +static const char* __doc_gr_qtgui_number_sink_graph_type = R"doc()doc"; + + +static const char* __doc_gr_qtgui_number_sink_color_min = R"doc()doc"; + + +static const char* __doc_gr_qtgui_number_sink_color_max = R"doc()doc"; + + +static const char* __doc_gr_qtgui_number_sink_label = R"doc()doc"; + + +static const char* __doc_gr_qtgui_number_sink_min = R"doc()doc"; + + +static const char* __doc_gr_qtgui_number_sink_max = R"doc()doc"; + + +static const char* __doc_gr_qtgui_number_sink_title = R"doc()doc"; + + +static const char* __doc_gr_qtgui_number_sink_unit = R"doc()doc"; + + +static const char* __doc_gr_qtgui_number_sink_factor = R"doc()doc"; + + +static const char* __doc_gr_qtgui_number_sink_enable_menu = R"doc()doc"; + + +static const char* __doc_gr_qtgui_number_sink_enable_autoscale = R"doc()doc"; + + +static const char* __doc_gr_qtgui_number_sink_reset = R"doc()doc"; diff --git a/gr-qtgui/python/qtgui/bindings/docstrings/numberdisplayform_pydoc_template.h b/gr-qtgui/python/qtgui/bindings/docstrings/numberdisplayform_pydoc_template.h new file mode 100644 index 0000000000..db225012b1 --- /dev/null +++ b/gr-qtgui/python/qtgui/bindings/docstrings/numberdisplayform_pydoc_template.h @@ -0,0 +1,15 @@ +/* + * Copyright 2020 Free Software Foundation, Inc. + * + * This file is part of GNU Radio + * + * SPDX-License-Identifier: GPL-3.0-or-later + * + */ +#include "pydoc_macros.h" +#define D(...) DOC(gr, qtgui, __VA_ARGS__) +/* + This file contains placeholders for docstrings for the Python bindings. + Do not edit! These were automatically extracted during the binding process + and will be overwritten during the build process + */ diff --git a/gr-qtgui/python/qtgui/bindings/docstrings/qtgui_types_pydoc_template.h b/gr-qtgui/python/qtgui/bindings/docstrings/qtgui_types_pydoc_template.h new file mode 100644 index 0000000000..db225012b1 --- /dev/null +++ b/gr-qtgui/python/qtgui/bindings/docstrings/qtgui_types_pydoc_template.h @@ -0,0 +1,15 @@ +/* + * Copyright 2020 Free Software Foundation, Inc. + * + * This file is part of GNU Radio + * + * SPDX-License-Identifier: GPL-3.0-or-later + * + */ +#include "pydoc_macros.h" +#define D(...) DOC(gr, qtgui, __VA_ARGS__) +/* + This file contains placeholders for docstrings for the Python bindings. + Do not edit! These were automatically extracted during the binding process + and will be overwritten during the build process + */ diff --git a/gr-qtgui/python/qtgui/bindings/docstrings/sink_c_pydoc_template.h b/gr-qtgui/python/qtgui/bindings/docstrings/sink_c_pydoc_template.h new file mode 100644 index 0000000000..5422434a7b --- /dev/null +++ b/gr-qtgui/python/qtgui/bindings/docstrings/sink_c_pydoc_template.h @@ -0,0 +1,54 @@ +/* + * Copyright 2020 Free Software Foundation, Inc. + * + * This file is part of GNU Radio + * + * SPDX-License-Identifier: GPL-3.0-or-later + * + */ +#include "pydoc_macros.h" +#define D(...) DOC(gr, qtgui, __VA_ARGS__) +/* + This file contains placeholders for docstrings for the Python bindings. + Do not edit! These were automatically extracted during the binding process + and will be overwritten during the build process + */ + + +static const char* __doc_gr_qtgui_sink_c = R"doc()doc"; + + +static const char* __doc_gr_qtgui_sink_c_sink_c_0 = R"doc()doc"; + + +static const char* __doc_gr_qtgui_sink_c_sink_c_1 = R"doc()doc"; + + +static const char* __doc_gr_qtgui_sink_c_make = R"doc()doc"; + + +static const char* __doc_gr_qtgui_sink_c_exec_ = R"doc()doc"; + + +static const char* __doc_gr_qtgui_sink_c_qwidget = R"doc()doc"; + + +static const char* __doc_gr_qtgui_sink_c_pyqwidget = R"doc()doc"; + + +static const char* __doc_gr_qtgui_sink_c_set_fft_size = R"doc()doc"; + + +static const char* __doc_gr_qtgui_sink_c_fft_size = R"doc()doc"; + + +static const char* __doc_gr_qtgui_sink_c_set_frequency_range = R"doc()doc"; + + +static const char* __doc_gr_qtgui_sink_c_set_fft_power_db = R"doc()doc"; + + +static const char* __doc_gr_qtgui_sink_c_enable_rf_freq = R"doc()doc"; + + +static const char* __doc_gr_qtgui_sink_c_set_update_time = R"doc()doc"; diff --git a/gr-qtgui/python/qtgui/bindings/docstrings/sink_f_pydoc_template.h b/gr-qtgui/python/qtgui/bindings/docstrings/sink_f_pydoc_template.h new file mode 100644 index 0000000000..d0e4fb4b20 --- /dev/null +++ b/gr-qtgui/python/qtgui/bindings/docstrings/sink_f_pydoc_template.h @@ -0,0 +1,54 @@ +/* + * Copyright 2020 Free Software Foundation, Inc. + * + * This file is part of GNU Radio + * + * SPDX-License-Identifier: GPL-3.0-or-later + * + */ +#include "pydoc_macros.h" +#define D(...) DOC(gr, qtgui, __VA_ARGS__) +/* + This file contains placeholders for docstrings for the Python bindings. + Do not edit! These were automatically extracted during the binding process + and will be overwritten during the build process + */ + + +static const char* __doc_gr_qtgui_sink_f = R"doc()doc"; + + +static const char* __doc_gr_qtgui_sink_f_sink_f_0 = R"doc()doc"; + + +static const char* __doc_gr_qtgui_sink_f_sink_f_1 = R"doc()doc"; + + +static const char* __doc_gr_qtgui_sink_f_make = R"doc()doc"; + + +static const char* __doc_gr_qtgui_sink_f_exec_ = R"doc()doc"; + + +static const char* __doc_gr_qtgui_sink_f_qwidget = R"doc()doc"; + + +static const char* __doc_gr_qtgui_sink_f_pyqwidget = R"doc()doc"; + + +static const char* __doc_gr_qtgui_sink_f_set_fft_size = R"doc()doc"; + + +static const char* __doc_gr_qtgui_sink_f_fft_size = R"doc()doc"; + + +static const char* __doc_gr_qtgui_sink_f_set_frequency_range = R"doc()doc"; + + +static const char* __doc_gr_qtgui_sink_f_set_fft_power_db = R"doc()doc"; + + +static const char* __doc_gr_qtgui_sink_f_enable_rf_freq = R"doc()doc"; + + +static const char* __doc_gr_qtgui_sink_f_set_update_time = R"doc()doc"; diff --git a/gr-qtgui/python/qtgui/bindings/docstrings/time_raster_sink_b_pydoc_template.h b/gr-qtgui/python/qtgui/bindings/docstrings/time_raster_sink_b_pydoc_template.h new file mode 100644 index 0000000000..90ab0ec5fd --- /dev/null +++ b/gr-qtgui/python/qtgui/bindings/docstrings/time_raster_sink_b_pydoc_template.h @@ -0,0 +1,129 @@ +/* + * Copyright 2020 Free Software Foundation, Inc. + * + * This file is part of GNU Radio + * + * SPDX-License-Identifier: GPL-3.0-or-later + * + */ +#include "pydoc_macros.h" +#define D(...) DOC(gr, qtgui, __VA_ARGS__) +/* + This file contains placeholders for docstrings for the Python bindings. + Do not edit! These were automatically extracted during the binding process + and will be overwritten during the build process + */ + + +static const char* __doc_gr_qtgui_time_raster_sink_b = R"doc()doc"; + + +static const char* __doc_gr_qtgui_time_raster_sink_b_time_raster_sink_b_0 = R"doc()doc"; + + +static const char* __doc_gr_qtgui_time_raster_sink_b_time_raster_sink_b_1 = R"doc()doc"; + + +static const char* __doc_gr_qtgui_time_raster_sink_b_make = R"doc()doc"; + + +static const char* __doc_gr_qtgui_time_raster_sink_b_exec_ = R"doc()doc"; + + +static const char* __doc_gr_qtgui_time_raster_sink_b_qwidget = R"doc()doc"; + + +static const char* __doc_gr_qtgui_time_raster_sink_b_pyqwidget = R"doc()doc"; + + +static const char* __doc_gr_qtgui_time_raster_sink_b_set_update_time = R"doc()doc"; + + +static const char* __doc_gr_qtgui_time_raster_sink_b_set_title = R"doc()doc"; + + +static const char* __doc_gr_qtgui_time_raster_sink_b_set_line_label = R"doc()doc"; + + +static const char* __doc_gr_qtgui_time_raster_sink_b_set_line_color = R"doc()doc"; + + +static const char* __doc_gr_qtgui_time_raster_sink_b_set_line_width = R"doc()doc"; + + +static const char* __doc_gr_qtgui_time_raster_sink_b_set_line_style = R"doc()doc"; + + +static const char* __doc_gr_qtgui_time_raster_sink_b_set_line_marker = R"doc()doc"; + + +static const char* __doc_gr_qtgui_time_raster_sink_b_set_line_alpha = R"doc()doc"; + + +static const char* __doc_gr_qtgui_time_raster_sink_b_set_color_map = R"doc()doc"; + + +static const char* __doc_gr_qtgui_time_raster_sink_b_title = R"doc()doc"; + + +static const char* __doc_gr_qtgui_time_raster_sink_b_line_label = R"doc()doc"; + + +static const char* __doc_gr_qtgui_time_raster_sink_b_line_color = R"doc()doc"; + + +static const char* __doc_gr_qtgui_time_raster_sink_b_line_width = R"doc()doc"; + + +static const char* __doc_gr_qtgui_time_raster_sink_b_line_style = R"doc()doc"; + + +static const char* __doc_gr_qtgui_time_raster_sink_b_line_marker = R"doc()doc"; + + +static const char* __doc_gr_qtgui_time_raster_sink_b_line_alpha = R"doc()doc"; + + +static const char* __doc_gr_qtgui_time_raster_sink_b_color_map = R"doc()doc"; + + +static const char* __doc_gr_qtgui_time_raster_sink_b_set_size = R"doc()doc"; + + +static const char* __doc_gr_qtgui_time_raster_sink_b_set_samp_rate = R"doc()doc"; + + +static const char* __doc_gr_qtgui_time_raster_sink_b_set_num_rows = R"doc()doc"; + + +static const char* __doc_gr_qtgui_time_raster_sink_b_set_num_cols = R"doc()doc"; + + +static const char* __doc_gr_qtgui_time_raster_sink_b_num_rows = R"doc()doc"; + + +static const char* __doc_gr_qtgui_time_raster_sink_b_num_cols = R"doc()doc"; + + +static const char* __doc_gr_qtgui_time_raster_sink_b_set_multiplier = R"doc()doc"; + + +static const char* __doc_gr_qtgui_time_raster_sink_b_set_offset = R"doc()doc"; + + +static const char* __doc_gr_qtgui_time_raster_sink_b_set_intensity_range = R"doc()doc"; + + +static const char* __doc_gr_qtgui_time_raster_sink_b_enable_menu = R"doc()doc"; + + +static const char* __doc_gr_qtgui_time_raster_sink_b_enable_grid = R"doc()doc"; + + +static const char* __doc_gr_qtgui_time_raster_sink_b_enable_autoscale = R"doc()doc"; + + +static const char* __doc_gr_qtgui_time_raster_sink_b_enable_axis_labels = R"doc()doc"; + + +static const char* __doc_gr_qtgui_time_raster_sink_b_reset = R"doc()doc"; diff --git a/gr-qtgui/python/qtgui/bindings/docstrings/time_raster_sink_f_pydoc_template.h b/gr-qtgui/python/qtgui/bindings/docstrings/time_raster_sink_f_pydoc_template.h new file mode 100644 index 0000000000..7d2420c628 --- /dev/null +++ b/gr-qtgui/python/qtgui/bindings/docstrings/time_raster_sink_f_pydoc_template.h @@ -0,0 +1,129 @@ +/* + * Copyright 2020 Free Software Foundation, Inc. + * + * This file is part of GNU Radio + * + * SPDX-License-Identifier: GPL-3.0-or-later + * + */ +#include "pydoc_macros.h" +#define D(...) DOC(gr, qtgui, __VA_ARGS__) +/* + This file contains placeholders for docstrings for the Python bindings. + Do not edit! These were automatically extracted during the binding process + and will be overwritten during the build process + */ + + +static const char* __doc_gr_qtgui_time_raster_sink_f = R"doc()doc"; + + +static const char* __doc_gr_qtgui_time_raster_sink_f_time_raster_sink_f_0 = R"doc()doc"; + + +static const char* __doc_gr_qtgui_time_raster_sink_f_time_raster_sink_f_1 = R"doc()doc"; + + +static const char* __doc_gr_qtgui_time_raster_sink_f_make = R"doc()doc"; + + +static const char* __doc_gr_qtgui_time_raster_sink_f_exec_ = R"doc()doc"; + + +static const char* __doc_gr_qtgui_time_raster_sink_f_qwidget = R"doc()doc"; + + +static const char* __doc_gr_qtgui_time_raster_sink_f_pyqwidget = R"doc()doc"; + + +static const char* __doc_gr_qtgui_time_raster_sink_f_set_update_time = R"doc()doc"; + + +static const char* __doc_gr_qtgui_time_raster_sink_f_set_title = R"doc()doc"; + + +static const char* __doc_gr_qtgui_time_raster_sink_f_set_line_label = R"doc()doc"; + + +static const char* __doc_gr_qtgui_time_raster_sink_f_set_line_color = R"doc()doc"; + + +static const char* __doc_gr_qtgui_time_raster_sink_f_set_line_width = R"doc()doc"; + + +static const char* __doc_gr_qtgui_time_raster_sink_f_set_line_style = R"doc()doc"; + + +static const char* __doc_gr_qtgui_time_raster_sink_f_set_line_marker = R"doc()doc"; + + +static const char* __doc_gr_qtgui_time_raster_sink_f_set_line_alpha = R"doc()doc"; + + +static const char* __doc_gr_qtgui_time_raster_sink_f_set_color_map = R"doc()doc"; + + +static const char* __doc_gr_qtgui_time_raster_sink_f_title = R"doc()doc"; + + +static const char* __doc_gr_qtgui_time_raster_sink_f_line_label = R"doc()doc"; + + +static const char* __doc_gr_qtgui_time_raster_sink_f_line_color = R"doc()doc"; + + +static const char* __doc_gr_qtgui_time_raster_sink_f_line_width = R"doc()doc"; + + +static const char* __doc_gr_qtgui_time_raster_sink_f_line_style = R"doc()doc"; + + +static const char* __doc_gr_qtgui_time_raster_sink_f_line_marker = R"doc()doc"; + + +static const char* __doc_gr_qtgui_time_raster_sink_f_line_alpha = R"doc()doc"; + + +static const char* __doc_gr_qtgui_time_raster_sink_f_color_map = R"doc()doc"; + + +static const char* __doc_gr_qtgui_time_raster_sink_f_set_size = R"doc()doc"; + + +static const char* __doc_gr_qtgui_time_raster_sink_f_set_samp_rate = R"doc()doc"; + + +static const char* __doc_gr_qtgui_time_raster_sink_f_set_num_rows = R"doc()doc"; + + +static const char* __doc_gr_qtgui_time_raster_sink_f_set_num_cols = R"doc()doc"; + + +static const char* __doc_gr_qtgui_time_raster_sink_f_num_rows = R"doc()doc"; + + +static const char* __doc_gr_qtgui_time_raster_sink_f_num_cols = R"doc()doc"; + + +static const char* __doc_gr_qtgui_time_raster_sink_f_set_multiplier = R"doc()doc"; + + +static const char* __doc_gr_qtgui_time_raster_sink_f_set_offset = R"doc()doc"; + + +static const char* __doc_gr_qtgui_time_raster_sink_f_set_intensity_range = R"doc()doc"; + + +static const char* __doc_gr_qtgui_time_raster_sink_f_enable_menu = R"doc()doc"; + + +static const char* __doc_gr_qtgui_time_raster_sink_f_enable_grid = R"doc()doc"; + + +static const char* __doc_gr_qtgui_time_raster_sink_f_enable_autoscale = R"doc()doc"; + + +static const char* __doc_gr_qtgui_time_raster_sink_f_enable_axis_labels = R"doc()doc"; + + +static const char* __doc_gr_qtgui_time_raster_sink_f_reset = R"doc()doc"; diff --git a/gr-qtgui/python/qtgui/bindings/docstrings/time_sink_c_pydoc_template.h b/gr-qtgui/python/qtgui/bindings/docstrings/time_sink_c_pydoc_template.h new file mode 100644 index 0000000000..aab6d92778 --- /dev/null +++ b/gr-qtgui/python/qtgui/bindings/docstrings/time_sink_c_pydoc_template.h @@ -0,0 +1,138 @@ +/* + * Copyright 2020 Free Software Foundation, Inc. + * + * This file is part of GNU Radio + * + * SPDX-License-Identifier: GPL-3.0-or-later + * + */ +#include "pydoc_macros.h" +#define D(...) DOC(gr, qtgui, __VA_ARGS__) +/* + This file contains placeholders for docstrings for the Python bindings. + Do not edit! These were automatically extracted during the binding process + and will be overwritten during the build process + */ + + +static const char* __doc_gr_qtgui_time_sink_c = R"doc()doc"; + + +static const char* __doc_gr_qtgui_time_sink_c_time_sink_c_0 = R"doc()doc"; + + +static const char* __doc_gr_qtgui_time_sink_c_time_sink_c_1 = R"doc()doc"; + + +static const char* __doc_gr_qtgui_time_sink_c_make = R"doc()doc"; + + +static const char* __doc_gr_qtgui_time_sink_c_exec_ = R"doc()doc"; + + +static const char* __doc_gr_qtgui_time_sink_c_qwidget = R"doc()doc"; + + +static const char* __doc_gr_qtgui_time_sink_c_pyqwidget = R"doc()doc"; + + +static const char* __doc_gr_qtgui_time_sink_c_set_y_axis = R"doc()doc"; + + +static const char* __doc_gr_qtgui_time_sink_c_set_y_label = R"doc()doc"; + + +static const char* __doc_gr_qtgui_time_sink_c_set_update_time = R"doc()doc"; + + +static const char* __doc_gr_qtgui_time_sink_c_set_title = R"doc()doc"; + + +static const char* __doc_gr_qtgui_time_sink_c_set_line_label = R"doc()doc"; + + +static const char* __doc_gr_qtgui_time_sink_c_set_line_color = R"doc()doc"; + + +static const char* __doc_gr_qtgui_time_sink_c_set_line_width = R"doc()doc"; + + +static const char* __doc_gr_qtgui_time_sink_c_set_line_style = R"doc()doc"; + + +static const char* __doc_gr_qtgui_time_sink_c_set_line_marker = R"doc()doc"; + + +static const char* __doc_gr_qtgui_time_sink_c_set_nsamps = R"doc()doc"; + + +static const char* __doc_gr_qtgui_time_sink_c_set_samp_rate = R"doc()doc"; + + +static const char* __doc_gr_qtgui_time_sink_c_set_line_alpha = R"doc()doc"; + + +static const char* __doc_gr_qtgui_time_sink_c_set_trigger_mode = R"doc()doc"; + + +static const char* __doc_gr_qtgui_time_sink_c_title = R"doc()doc"; + + +static const char* __doc_gr_qtgui_time_sink_c_line_label = R"doc()doc"; + + +static const char* __doc_gr_qtgui_time_sink_c_line_color = R"doc()doc"; + + +static const char* __doc_gr_qtgui_time_sink_c_line_width = R"doc()doc"; + + +static const char* __doc_gr_qtgui_time_sink_c_line_style = R"doc()doc"; + + +static const char* __doc_gr_qtgui_time_sink_c_line_marker = R"doc()doc"; + + +static const char* __doc_gr_qtgui_time_sink_c_line_alpha = R"doc()doc"; + + +static const char* __doc_gr_qtgui_time_sink_c_set_size = R"doc()doc"; + + +static const char* __doc_gr_qtgui_time_sink_c_enable_menu = R"doc()doc"; + + +static const char* __doc_gr_qtgui_time_sink_c_enable_grid = R"doc()doc"; + + +static const char* __doc_gr_qtgui_time_sink_c_enable_autoscale = R"doc()doc"; + + +static const char* __doc_gr_qtgui_time_sink_c_enable_stem_plot = R"doc()doc"; + + +static const char* __doc_gr_qtgui_time_sink_c_enable_semilogx = R"doc()doc"; + + +static const char* __doc_gr_qtgui_time_sink_c_enable_semilogy = R"doc()doc"; + + +static const char* __doc_gr_qtgui_time_sink_c_enable_control_panel = R"doc()doc"; + + +static const char* __doc_gr_qtgui_time_sink_c_enable_tags_0 = R"doc()doc"; + + +static const char* __doc_gr_qtgui_time_sink_c_enable_tags_1 = R"doc()doc"; + + +static const char* __doc_gr_qtgui_time_sink_c_enable_axis_labels = R"doc()doc"; + + +static const char* __doc_gr_qtgui_time_sink_c_disable_legend = R"doc()doc"; + + +static const char* __doc_gr_qtgui_time_sink_c_nsamps = R"doc()doc"; + + +static const char* __doc_gr_qtgui_time_sink_c_reset = R"doc()doc"; diff --git a/gr-qtgui/python/qtgui/bindings/docstrings/time_sink_f_pydoc_template.h b/gr-qtgui/python/qtgui/bindings/docstrings/time_sink_f_pydoc_template.h new file mode 100644 index 0000000000..42c319490c --- /dev/null +++ b/gr-qtgui/python/qtgui/bindings/docstrings/time_sink_f_pydoc_template.h @@ -0,0 +1,138 @@ +/* + * Copyright 2020 Free Software Foundation, Inc. + * + * This file is part of GNU Radio + * + * SPDX-License-Identifier: GPL-3.0-or-later + * + */ +#include "pydoc_macros.h" +#define D(...) DOC(gr, qtgui, __VA_ARGS__) +/* + This file contains placeholders for docstrings for the Python bindings. + Do not edit! These were automatically extracted during the binding process + and will be overwritten during the build process + */ + + +static const char* __doc_gr_qtgui_time_sink_f = R"doc()doc"; + + +static const char* __doc_gr_qtgui_time_sink_f_time_sink_f_0 = R"doc()doc"; + + +static const char* __doc_gr_qtgui_time_sink_f_time_sink_f_1 = R"doc()doc"; + + +static const char* __doc_gr_qtgui_time_sink_f_make = R"doc()doc"; + + +static const char* __doc_gr_qtgui_time_sink_f_exec_ = R"doc()doc"; + + +static const char* __doc_gr_qtgui_time_sink_f_qwidget = R"doc()doc"; + + +static const char* __doc_gr_qtgui_time_sink_f_pyqwidget = R"doc()doc"; + + +static const char* __doc_gr_qtgui_time_sink_f_set_y_axis = R"doc()doc"; + + +static const char* __doc_gr_qtgui_time_sink_f_set_y_label = R"doc()doc"; + + +static const char* __doc_gr_qtgui_time_sink_f_set_update_time = R"doc()doc"; + + +static const char* __doc_gr_qtgui_time_sink_f_set_title = R"doc()doc"; + + +static const char* __doc_gr_qtgui_time_sink_f_set_line_label = R"doc()doc"; + + +static const char* __doc_gr_qtgui_time_sink_f_set_line_color = R"doc()doc"; + + +static const char* __doc_gr_qtgui_time_sink_f_set_line_width = R"doc()doc"; + + +static const char* __doc_gr_qtgui_time_sink_f_set_line_style = R"doc()doc"; + + +static const char* __doc_gr_qtgui_time_sink_f_set_line_marker = R"doc()doc"; + + +static const char* __doc_gr_qtgui_time_sink_f_set_nsamps = R"doc()doc"; + + +static const char* __doc_gr_qtgui_time_sink_f_set_samp_rate = R"doc()doc"; + + +static const char* __doc_gr_qtgui_time_sink_f_set_line_alpha = R"doc()doc"; + + +static const char* __doc_gr_qtgui_time_sink_f_set_trigger_mode = R"doc()doc"; + + +static const char* __doc_gr_qtgui_time_sink_f_title = R"doc()doc"; + + +static const char* __doc_gr_qtgui_time_sink_f_line_label = R"doc()doc"; + + +static const char* __doc_gr_qtgui_time_sink_f_line_color = R"doc()doc"; + + +static const char* __doc_gr_qtgui_time_sink_f_line_width = R"doc()doc"; + + +static const char* __doc_gr_qtgui_time_sink_f_line_style = R"doc()doc"; + + +static const char* __doc_gr_qtgui_time_sink_f_line_marker = R"doc()doc"; + + +static const char* __doc_gr_qtgui_time_sink_f_line_alpha = R"doc()doc"; + + +static const char* __doc_gr_qtgui_time_sink_f_set_size = R"doc()doc"; + + +static const char* __doc_gr_qtgui_time_sink_f_enable_menu = R"doc()doc"; + + +static const char* __doc_gr_qtgui_time_sink_f_enable_grid = R"doc()doc"; + + +static const char* __doc_gr_qtgui_time_sink_f_enable_autoscale = R"doc()doc"; + + +static const char* __doc_gr_qtgui_time_sink_f_enable_stem_plot = R"doc()doc"; + + +static const char* __doc_gr_qtgui_time_sink_f_enable_semilogx = R"doc()doc"; + + +static const char* __doc_gr_qtgui_time_sink_f_enable_semilogy = R"doc()doc"; + + +static const char* __doc_gr_qtgui_time_sink_f_enable_control_panel = R"doc()doc"; + + +static const char* __doc_gr_qtgui_time_sink_f_enable_tags_0 = R"doc()doc"; + + +static const char* __doc_gr_qtgui_time_sink_f_enable_tags_1 = R"doc()doc"; + + +static const char* __doc_gr_qtgui_time_sink_f_enable_axis_labels = R"doc()doc"; + + +static const char* __doc_gr_qtgui_time_sink_f_disable_legend = R"doc()doc"; + + +static const char* __doc_gr_qtgui_time_sink_f_nsamps = R"doc()doc"; + + +static const char* __doc_gr_qtgui_time_sink_f_reset = R"doc()doc"; diff --git a/gr-qtgui/python/qtgui/bindings/docstrings/timecontrolpanel_pydoc_template.h b/gr-qtgui/python/qtgui/bindings/docstrings/timecontrolpanel_pydoc_template.h new file mode 100644 index 0000000000..db225012b1 --- /dev/null +++ b/gr-qtgui/python/qtgui/bindings/docstrings/timecontrolpanel_pydoc_template.h @@ -0,0 +1,15 @@ +/* + * Copyright 2020 Free Software Foundation, Inc. + * + * This file is part of GNU Radio + * + * SPDX-License-Identifier: GPL-3.0-or-later + * + */ +#include "pydoc_macros.h" +#define D(...) DOC(gr, qtgui, __VA_ARGS__) +/* + This file contains placeholders for docstrings for the Python bindings. + Do not edit! These were automatically extracted during the binding process + and will be overwritten during the build process + */ diff --git a/gr-qtgui/python/qtgui/bindings/docstrings/timedisplayform_pydoc_template.h b/gr-qtgui/python/qtgui/bindings/docstrings/timedisplayform_pydoc_template.h new file mode 100644 index 0000000000..db225012b1 --- /dev/null +++ b/gr-qtgui/python/qtgui/bindings/docstrings/timedisplayform_pydoc_template.h @@ -0,0 +1,15 @@ +/* + * Copyright 2020 Free Software Foundation, Inc. + * + * This file is part of GNU Radio + * + * SPDX-License-Identifier: GPL-3.0-or-later + * + */ +#include "pydoc_macros.h" +#define D(...) DOC(gr, qtgui, __VA_ARGS__) +/* + This file contains placeholders for docstrings for the Python bindings. + Do not edit! These were automatically extracted during the binding process + and will be overwritten during the build process + */ diff --git a/gr-qtgui/python/qtgui/bindings/docstrings/timerasterdisplayform_pydoc_template.h b/gr-qtgui/python/qtgui/bindings/docstrings/timerasterdisplayform_pydoc_template.h new file mode 100644 index 0000000000..db225012b1 --- /dev/null +++ b/gr-qtgui/python/qtgui/bindings/docstrings/timerasterdisplayform_pydoc_template.h @@ -0,0 +1,15 @@ +/* + * Copyright 2020 Free Software Foundation, Inc. + * + * This file is part of GNU Radio + * + * SPDX-License-Identifier: GPL-3.0-or-later + * + */ +#include "pydoc_macros.h" +#define D(...) DOC(gr, qtgui, __VA_ARGS__) +/* + This file contains placeholders for docstrings for the Python bindings. + Do not edit! These were automatically extracted during the binding process + and will be overwritten during the build process + */ diff --git a/gr-qtgui/python/qtgui/bindings/docstrings/trigger_mode_pydoc_template.h b/gr-qtgui/python/qtgui/bindings/docstrings/trigger_mode_pydoc_template.h new file mode 100644 index 0000000000..db225012b1 --- /dev/null +++ b/gr-qtgui/python/qtgui/bindings/docstrings/trigger_mode_pydoc_template.h @@ -0,0 +1,15 @@ +/* + * Copyright 2020 Free Software Foundation, Inc. + * + * This file is part of GNU Radio + * + * SPDX-License-Identifier: GPL-3.0-or-later + * + */ +#include "pydoc_macros.h" +#define D(...) DOC(gr, qtgui, __VA_ARGS__) +/* + This file contains placeholders for docstrings for the Python bindings. + Do not edit! These were automatically extracted during the binding process + and will be overwritten during the build process + */ diff --git a/gr-qtgui/python/qtgui/bindings/docstrings/vector_sink_f_pydoc_template.h b/gr-qtgui/python/qtgui/bindings/docstrings/vector_sink_f_pydoc_template.h new file mode 100644 index 0000000000..a420fe3b7c --- /dev/null +++ b/gr-qtgui/python/qtgui/bindings/docstrings/vector_sink_f_pydoc_template.h @@ -0,0 +1,132 @@ +/* + * Copyright 2020 Free Software Foundation, Inc. + * + * This file is part of GNU Radio + * + * SPDX-License-Identifier: GPL-3.0-or-later + * + */ +#include "pydoc_macros.h" +#define D(...) DOC(gr, qtgui, __VA_ARGS__) +/* + This file contains placeholders for docstrings for the Python bindings. + Do not edit! These were automatically extracted during the binding process + and will be overwritten during the build process + */ + + +static const char* __doc_gr_qtgui_vector_sink_f = R"doc()doc"; + + +static const char* __doc_gr_qtgui_vector_sink_f_vector_sink_f_0 = R"doc()doc"; + + +static const char* __doc_gr_qtgui_vector_sink_f_vector_sink_f_1 = R"doc()doc"; + + +static const char* __doc_gr_qtgui_vector_sink_f_make = R"doc()doc"; + + +static const char* __doc_gr_qtgui_vector_sink_f_exec_ = R"doc()doc"; + + +static const char* __doc_gr_qtgui_vector_sink_f_qwidget = R"doc()doc"; + + +static const char* __doc_gr_qtgui_vector_sink_f_pyqwidget = R"doc()doc"; + + +static const char* __doc_gr_qtgui_vector_sink_f_vlen = R"doc()doc"; + + +static const char* __doc_gr_qtgui_vector_sink_f_set_vec_average = R"doc()doc"; + + +static const char* __doc_gr_qtgui_vector_sink_f_vec_average = R"doc()doc"; + + +static const char* __doc_gr_qtgui_vector_sink_f_set_x_axis = R"doc()doc"; + + +static const char* __doc_gr_qtgui_vector_sink_f_set_y_axis = R"doc()doc"; + + +static const char* __doc_gr_qtgui_vector_sink_f_set_ref_level = R"doc()doc"; + + +static const char* __doc_gr_qtgui_vector_sink_f_set_x_axis_label = R"doc()doc"; + + +static const char* __doc_gr_qtgui_vector_sink_f_set_y_axis_label = R"doc()doc"; + + +static const char* __doc_gr_qtgui_vector_sink_f_set_x_axis_units = R"doc()doc"; + + +static const char* __doc_gr_qtgui_vector_sink_f_set_y_axis_units = R"doc()doc"; + + +static const char* __doc_gr_qtgui_vector_sink_f_set_update_time = R"doc()doc"; + + +static const char* __doc_gr_qtgui_vector_sink_f_set_title = R"doc()doc"; + + +static const char* __doc_gr_qtgui_vector_sink_f_set_line_label = R"doc()doc"; + + +static const char* __doc_gr_qtgui_vector_sink_f_set_line_color = R"doc()doc"; + + +static const char* __doc_gr_qtgui_vector_sink_f_set_line_width = R"doc()doc"; + + +static const char* __doc_gr_qtgui_vector_sink_f_set_line_style = R"doc()doc"; + + +static const char* __doc_gr_qtgui_vector_sink_f_set_line_marker = R"doc()doc"; + + +static const char* __doc_gr_qtgui_vector_sink_f_set_line_alpha = R"doc()doc"; + + +static const char* __doc_gr_qtgui_vector_sink_f_title = R"doc()doc"; + + +static const char* __doc_gr_qtgui_vector_sink_f_line_label = R"doc()doc"; + + +static const char* __doc_gr_qtgui_vector_sink_f_line_color = R"doc()doc"; + + +static const char* __doc_gr_qtgui_vector_sink_f_line_width = R"doc()doc"; + + +static const char* __doc_gr_qtgui_vector_sink_f_line_style = R"doc()doc"; + + +static const char* __doc_gr_qtgui_vector_sink_f_line_marker = R"doc()doc"; + + +static const char* __doc_gr_qtgui_vector_sink_f_line_alpha = R"doc()doc"; + + +static const char* __doc_gr_qtgui_vector_sink_f_set_size = R"doc()doc"; + + +static const char* __doc_gr_qtgui_vector_sink_f_enable_menu = R"doc()doc"; + + +static const char* __doc_gr_qtgui_vector_sink_f_enable_grid = R"doc()doc"; + + +static const char* __doc_gr_qtgui_vector_sink_f_enable_autoscale = R"doc()doc"; + + +static const char* __doc_gr_qtgui_vector_sink_f_clear_max_hold = R"doc()doc"; + + +static const char* __doc_gr_qtgui_vector_sink_f_clear_min_hold = R"doc()doc"; + + +static const char* __doc_gr_qtgui_vector_sink_f_reset = R"doc()doc"; diff --git a/gr-qtgui/python/qtgui/bindings/docstrings/vectordisplayform_pydoc_template.h b/gr-qtgui/python/qtgui/bindings/docstrings/vectordisplayform_pydoc_template.h new file mode 100644 index 0000000000..db225012b1 --- /dev/null +++ b/gr-qtgui/python/qtgui/bindings/docstrings/vectordisplayform_pydoc_template.h @@ -0,0 +1,15 @@ +/* + * Copyright 2020 Free Software Foundation, Inc. + * + * This file is part of GNU Radio + * + * SPDX-License-Identifier: GPL-3.0-or-later + * + */ +#include "pydoc_macros.h" +#define D(...) DOC(gr, qtgui, __VA_ARGS__) +/* + This file contains placeholders for docstrings for the Python bindings. + Do not edit! These were automatically extracted during the binding process + and will be overwritten during the build process + */ diff --git a/gr-qtgui/python/qtgui/bindings/docstrings/waterfall_sink_c_pydoc_template.h b/gr-qtgui/python/qtgui/bindings/docstrings/waterfall_sink_c_pydoc_template.h new file mode 100644 index 0000000000..8beacb4201 --- /dev/null +++ b/gr-qtgui/python/qtgui/bindings/docstrings/waterfall_sink_c_pydoc_template.h @@ -0,0 +1,120 @@ +/* + * Copyright 2020 Free Software Foundation, Inc. + * + * This file is part of GNU Radio + * + * SPDX-License-Identifier: GPL-3.0-or-later + * + */ +#include "pydoc_macros.h" +#define D(...) DOC(gr, qtgui, __VA_ARGS__) +/* + This file contains placeholders for docstrings for the Python bindings. + Do not edit! These were automatically extracted during the binding process + and will be overwritten during the build process + */ + + +static const char* __doc_gr_qtgui_waterfall_sink_c = R"doc()doc"; + + +static const char* __doc_gr_qtgui_waterfall_sink_c_waterfall_sink_c_0 = R"doc()doc"; + + +static const char* __doc_gr_qtgui_waterfall_sink_c_waterfall_sink_c_1 = R"doc()doc"; + + +static const char* __doc_gr_qtgui_waterfall_sink_c_make = R"doc()doc"; + + +static const char* __doc_gr_qtgui_waterfall_sink_c_exec_ = R"doc()doc"; + + +static const char* __doc_gr_qtgui_waterfall_sink_c_qwidget = R"doc()doc"; + + +static const char* __doc_gr_qtgui_waterfall_sink_c_pyqwidget = R"doc()doc"; + + +static const char* __doc_gr_qtgui_waterfall_sink_c_clear_data = R"doc()doc"; + + +static const char* __doc_gr_qtgui_waterfall_sink_c_set_fft_size = R"doc()doc"; + + +static const char* __doc_gr_qtgui_waterfall_sink_c_fft_size = R"doc()doc"; + + +static const char* __doc_gr_qtgui_waterfall_sink_c_set_time_per_fft = R"doc()doc"; + + +static const char* __doc_gr_qtgui_waterfall_sink_c_set_fft_average = R"doc()doc"; + + +static const char* __doc_gr_qtgui_waterfall_sink_c_fft_average = R"doc()doc"; + + +static const char* __doc_gr_qtgui_waterfall_sink_c_set_fft_window = R"doc()doc"; + + +static const char* __doc_gr_qtgui_waterfall_sink_c_fft_window = R"doc()doc"; + + +static const char* __doc_gr_qtgui_waterfall_sink_c_set_frequency_range = R"doc()doc"; + + +static const char* __doc_gr_qtgui_waterfall_sink_c_set_intensity_range = R"doc()doc"; + + +static const char* __doc_gr_qtgui_waterfall_sink_c_set_update_time = R"doc()doc"; + + +static const char* __doc_gr_qtgui_waterfall_sink_c_set_title = R"doc()doc"; + + +static const char* __doc_gr_qtgui_waterfall_sink_c_set_time_title = R"doc()doc"; + + +static const char* __doc_gr_qtgui_waterfall_sink_c_set_line_label = R"doc()doc"; + + +static const char* __doc_gr_qtgui_waterfall_sink_c_set_line_alpha = R"doc()doc"; + + +static const char* __doc_gr_qtgui_waterfall_sink_c_set_color_map = R"doc()doc"; + + +static const char* __doc_gr_qtgui_waterfall_sink_c_title = R"doc()doc"; + + +static const char* __doc_gr_qtgui_waterfall_sink_c_line_label = R"doc()doc"; + + +static const char* __doc_gr_qtgui_waterfall_sink_c_line_alpha = R"doc()doc"; + + +static const char* __doc_gr_qtgui_waterfall_sink_c_color_map = R"doc()doc"; + + +static const char* __doc_gr_qtgui_waterfall_sink_c_set_size = R"doc()doc"; + + +static const char* __doc_gr_qtgui_waterfall_sink_c_auto_scale = R"doc()doc"; + + +static const char* __doc_gr_qtgui_waterfall_sink_c_min_intensity = R"doc()doc"; + + +static const char* __doc_gr_qtgui_waterfall_sink_c_max_intensity = R"doc()doc"; + + +static const char* __doc_gr_qtgui_waterfall_sink_c_enable_menu = R"doc()doc"; + + +static const char* __doc_gr_qtgui_waterfall_sink_c_enable_grid = R"doc()doc"; + + +static const char* __doc_gr_qtgui_waterfall_sink_c_disable_legend = R"doc()doc"; + + +static const char* __doc_gr_qtgui_waterfall_sink_c_enable_axis_labels = R"doc()doc"; diff --git a/gr-qtgui/python/qtgui/bindings/docstrings/waterfall_sink_f_pydoc_template.h b/gr-qtgui/python/qtgui/bindings/docstrings/waterfall_sink_f_pydoc_template.h new file mode 100644 index 0000000000..ed9b5b2bfe --- /dev/null +++ b/gr-qtgui/python/qtgui/bindings/docstrings/waterfall_sink_f_pydoc_template.h @@ -0,0 +1,123 @@ +/* + * Copyright 2020 Free Software Foundation, Inc. + * + * This file is part of GNU Radio + * + * SPDX-License-Identifier: GPL-3.0-or-later + * + */ +#include "pydoc_macros.h" +#define D(...) DOC(gr, qtgui, __VA_ARGS__) +/* + This file contains placeholders for docstrings for the Python bindings. + Do not edit! These were automatically extracted during the binding process + and will be overwritten during the build process + */ + + +static const char* __doc_gr_qtgui_waterfall_sink_f = R"doc()doc"; + + +static const char* __doc_gr_qtgui_waterfall_sink_f_waterfall_sink_f_0 = R"doc()doc"; + + +static const char* __doc_gr_qtgui_waterfall_sink_f_waterfall_sink_f_1 = R"doc()doc"; + + +static const char* __doc_gr_qtgui_waterfall_sink_f_make = R"doc()doc"; + + +static const char* __doc_gr_qtgui_waterfall_sink_f_exec_ = R"doc()doc"; + + +static const char* __doc_gr_qtgui_waterfall_sink_f_qwidget = R"doc()doc"; + + +static const char* __doc_gr_qtgui_waterfall_sink_f_pyqwidget = R"doc()doc"; + + +static const char* __doc_gr_qtgui_waterfall_sink_f_clear_data = R"doc()doc"; + + +static const char* __doc_gr_qtgui_waterfall_sink_f_set_fft_size = R"doc()doc"; + + +static const char* __doc_gr_qtgui_waterfall_sink_f_fft_size = R"doc()doc"; + + +static const char* __doc_gr_qtgui_waterfall_sink_f_set_time_per_fft = R"doc()doc"; + + +static const char* __doc_gr_qtgui_waterfall_sink_f_set_fft_average = R"doc()doc"; + + +static const char* __doc_gr_qtgui_waterfall_sink_f_fft_average = R"doc()doc"; + + +static const char* __doc_gr_qtgui_waterfall_sink_f_set_fft_window = R"doc()doc"; + + +static const char* __doc_gr_qtgui_waterfall_sink_f_fft_window = R"doc()doc"; + + +static const char* __doc_gr_qtgui_waterfall_sink_f_set_frequency_range = R"doc()doc"; + + +static const char* __doc_gr_qtgui_waterfall_sink_f_set_intensity_range = R"doc()doc"; + + +static const char* __doc_gr_qtgui_waterfall_sink_f_set_update_time = R"doc()doc"; + + +static const char* __doc_gr_qtgui_waterfall_sink_f_set_title = R"doc()doc"; + + +static const char* __doc_gr_qtgui_waterfall_sink_f_set_time_title = R"doc()doc"; + + +static const char* __doc_gr_qtgui_waterfall_sink_f_set_line_label = R"doc()doc"; + + +static const char* __doc_gr_qtgui_waterfall_sink_f_set_line_alpha = R"doc()doc"; + + +static const char* __doc_gr_qtgui_waterfall_sink_f_set_color_map = R"doc()doc"; + + +static const char* __doc_gr_qtgui_waterfall_sink_f_set_plot_pos_half = R"doc()doc"; + + +static const char* __doc_gr_qtgui_waterfall_sink_f_title = R"doc()doc"; + + +static const char* __doc_gr_qtgui_waterfall_sink_f_line_label = R"doc()doc"; + + +static const char* __doc_gr_qtgui_waterfall_sink_f_line_alpha = R"doc()doc"; + + +static const char* __doc_gr_qtgui_waterfall_sink_f_color_map = R"doc()doc"; + + +static const char* __doc_gr_qtgui_waterfall_sink_f_set_size = R"doc()doc"; + + +static const char* __doc_gr_qtgui_waterfall_sink_f_auto_scale = R"doc()doc"; + + +static const char* __doc_gr_qtgui_waterfall_sink_f_min_intensity = R"doc()doc"; + + +static const char* __doc_gr_qtgui_waterfall_sink_f_max_intensity = R"doc()doc"; + + +static const char* __doc_gr_qtgui_waterfall_sink_f_enable_menu = R"doc()doc"; + + +static const char* __doc_gr_qtgui_waterfall_sink_f_enable_grid = R"doc()doc"; + + +static const char* __doc_gr_qtgui_waterfall_sink_f_disable_legend = R"doc()doc"; + + +static const char* __doc_gr_qtgui_waterfall_sink_f_enable_axis_labels = R"doc()doc"; diff --git a/gr-qtgui/python/qtgui/bindings/docstrings/waterfalldisplayform_pydoc_template.h b/gr-qtgui/python/qtgui/bindings/docstrings/waterfalldisplayform_pydoc_template.h new file mode 100644 index 0000000000..db225012b1 --- /dev/null +++ b/gr-qtgui/python/qtgui/bindings/docstrings/waterfalldisplayform_pydoc_template.h @@ -0,0 +1,15 @@ +/* + * Copyright 2020 Free Software Foundation, Inc. + * + * This file is part of GNU Radio + * + * SPDX-License-Identifier: GPL-3.0-or-later + * + */ +#include "pydoc_macros.h" +#define D(...) DOC(gr, qtgui, __VA_ARGS__) +/* + This file contains placeholders for docstrings for the Python bindings. + Do not edit! These were automatically extracted during the binding process + and will be overwritten during the build process + */ diff --git a/gr-qtgui/python/qtgui/bindings/edit_box_msg_python.cc b/gr-qtgui/python/qtgui/bindings/edit_box_msg_python.cc new file mode 100644 index 0000000000..17d36ad979 --- /dev/null +++ b/gr-qtgui/python/qtgui/bindings/edit_box_msg_python.cc @@ -0,0 +1,65 @@ +/* + * Copyright 2020 Free Software Foundation, Inc. + * + * This file is part of GNU Radio + * + * SPDX-License-Identifier: GPL-3.0-or-later + * + */ + +/* This file is automatically generated using bindtool */ + +#include <pybind11/complex.h> +#include <pybind11/pybind11.h> +#include <pybind11/stl.h> + +#include <gnuradio/qtgui/utils.h> +#include <qwt_legend.h> +#include <qwt_painter.h> +#include <qwt_plot.h> +#include <qwt_plot_canvas.h> +#include <qwt_plot_curve.h> +#include <qwt_plot_magnifier.h> +#include <qwt_plot_marker.h> +#include <qwt_plot_panner.h> +#include <qwt_plot_zoomer.h> +#include <qwt_scale_engine.h> +#include <qwt_scale_widget.h> +#include <qwt_symbol.h> + +namespace py = pybind11; + +#include <gnuradio/qtgui/edit_box_msg.h> +// pydoc.h is automatically generated in the build directory +#include <edit_box_msg_pydoc.h> + +void bind_edit_box_msg(py::module& m) +{ + + using edit_box_msg = ::gr::qtgui::edit_box_msg; + + + py::class_<edit_box_msg, gr::block, gr::basic_block, std::shared_ptr<edit_box_msg>>( + m, "edit_box_msg", D(edit_box_msg)) + + .def(py::init(&edit_box_msg::make), + py::arg("type"), + py::arg("value") = "", + py::arg("label") = "", + py::arg("is_pair") = true, + py::arg("is_static") = true, + py::arg("key") = "", + py::arg("parent") = __null, + D(edit_box_msg, make)) + + + .def("exec_", &edit_box_msg::exec_, D(edit_box_msg, exec_)) + + + .def("qwidget", &edit_box_msg::qwidget, D(edit_box_msg, qwidget)) + + + .def("pyqwidget", &edit_box_msg::pyqwidget, D(edit_box_msg, pyqwidget)) + + ; +} diff --git a/gr-qtgui/python/qtgui/bindings/eye_sink_c_python.cc b/gr-qtgui/python/qtgui/bindings/eye_sink_c_python.cc new file mode 100644 index 0000000000..8ca2b4413f --- /dev/null +++ b/gr-qtgui/python/qtgui/bindings/eye_sink_c_python.cc @@ -0,0 +1,283 @@ +/* + * Copyright 2020 Free Software Foundation, Inc. + * + * This file is part of GNU Radio + * + * SPDX-License-Identifier: GPL-3.0-or-later + * + */ + +/* This file is automatically generated using bindtool */ + +#include <pybind11/buffer_info.h> +#include <pybind11/complex.h> +#include <pybind11/embed.h> +#include <pybind11/pybind11.h> +#include <pybind11/pytypes.h> +#include <pybind11/stl.h> + +namespace py = pybind11; + +#include <gnuradio/qtgui/utils.h> +#include <qwt_legend.h> +#include <qwt_painter.h> +#include <qwt_plot.h> +#include <qwt_plot_canvas.h> +#include <qwt_plot_curve.h> +#include <qwt_plot_magnifier.h> +#include <qwt_plot_marker.h> +#include <qwt_plot_panner.h> +#include <qwt_plot_zoomer.h> +#include <qwt_scale_engine.h> +#include <qwt_scale_widget.h> +#include <qwt_symbol.h> + +#include <gnuradio/qtgui/eye_sink_c.h> +// pydoc.h is automatically generated in the build directory +#include <eye_sink_c_pydoc.h> + +void bind_eye_sink_c(py::module& m) +{ + + using eye_sink_c = ::gr::qtgui::eye_sink_c; + + + py::class_<eye_sink_c, + gr::sync_block, + gr::block, + gr::basic_block, + std::shared_ptr<eye_sink_c>>(m, "eye_sink_c", D(eye_sink_c)) + + .def(py::init(&eye_sink_c::make), + py::arg("size"), + py::arg("samp_rate"), + py::arg("name"), + py::arg("nconnections") = 1, + py::arg("parent") = __null, + D(eye_sink_c, make)) + + + .def("exec_", &eye_sink_c::exec_, D(eye_sink_c, exec_)) + + + .def("qwidget", &eye_sink_c::qwidget, D(eye_sink_c, qwidget)) + + + // .def("pyqwidget",&eye_sink_c::pyqwidget, + // D(eye_sink_c,pyqwidget) + // ) + // For the sip conversion to python to work, the widget object + // needs to be explicitly converted to Long + .def( + "pyqwidget", + [](std::shared_ptr<eye_sink_c> p) { return PyLong_AsLong(p->pyqwidget()); }, + D(eye_sink_c, pyqwidget)) + + .def("set_y_axis", + &eye_sink_c::set_y_axis, + py::arg("min"), + py::arg("max"), + D(eye_sink_c, set_y_axis)) + + + .def("set_y_label", + &eye_sink_c::set_y_label, + py::arg("label"), + py::arg("unit") = "", + D(eye_sink_c, set_y_label)) + + + .def("set_update_time", + &eye_sink_c::set_update_time, + py::arg("t"), + D(eye_sink_c, set_update_time)) + + + .def("set_title", + &eye_sink_c::set_title, + py::arg("title"), + D(eye_sink_c, set_title)) + + + .def("set_line_label", + &eye_sink_c::set_line_label, + py::arg("which"), + py::arg("label"), + D(eye_sink_c, set_line_label)) + + + .def("set_line_color", + &eye_sink_c::set_line_color, + py::arg("which"), + py::arg("color"), + D(eye_sink_c, set_line_color)) + + + .def("set_line_width", + &eye_sink_c::set_line_width, + py::arg("which"), + py::arg("width"), + D(eye_sink_c, set_line_width)) + + + .def("set_line_style", + &eye_sink_c::set_line_style, + py::arg("which"), + py::arg("style"), + D(eye_sink_c, set_line_style)) + + + .def("set_line_marker", + &eye_sink_c::set_line_marker, + py::arg("which"), + py::arg("marker"), + D(eye_sink_c, set_line_marker)) + + + .def("set_nsamps", + &eye_sink_c::set_nsamps, + py::arg("newsize"), + D(eye_sink_c, set_nsamps)) + + + .def("set_samp_rate", + &eye_sink_c::set_samp_rate, + py::arg("samp_rate"), + D(eye_sink_c, set_samp_rate)) + + + .def("set_line_alpha", + &eye_sink_c::set_line_alpha, + py::arg("which"), + py::arg("alpha"), + D(eye_sink_c, set_line_alpha)) + + + .def("set_trigger_mode", + &eye_sink_c::set_trigger_mode, + py::arg("mode"), + py::arg("slope"), + py::arg("level"), + py::arg("delay"), + py::arg("channel"), + py::arg("tag_key") = "", + D(eye_sink_c, set_trigger_mode)) + + + .def("title", &eye_sink_c::title, D(eye_sink_c, title)) + + + .def("line_label", + &eye_sink_c::line_label, + py::arg("which"), + D(eye_sink_c, line_label)) + + + .def("line_color", + &eye_sink_c::line_color, + py::arg("which"), + D(eye_sink_c, line_color)) + + + .def("line_width", + &eye_sink_c::line_width, + py::arg("which"), + D(eye_sink_c, line_width)) + + + .def("line_style", + &eye_sink_c::line_style, + py::arg("which"), + D(eye_sink_c, line_style)) + + + .def("line_marker", + &eye_sink_c::line_marker, + py::arg("which"), + D(eye_sink_c, line_marker)) + + + .def("line_alpha", + &eye_sink_c::line_alpha, + py::arg("which"), + D(eye_sink_c, line_alpha)) + + + .def("set_size", + &eye_sink_c::set_size, + py::arg("width"), + py::arg("height"), + D(eye_sink_c, set_size)) + + + .def("enable_menu", + &eye_sink_c::enable_menu, + py::arg("en") = true, + D(eye_sink_c, enable_menu)) + + + .def("enable_grid", + &eye_sink_c::enable_grid, + py::arg("en") = true, + D(eye_sink_c, enable_grid)) + + + .def("enable_autoscale", + &eye_sink_c::enable_autoscale, + py::arg("en") = true, + D(eye_sink_c, enable_autoscale)) + + + .def("enable_stem_plot", + &eye_sink_c::enable_stem_plot, + py::arg("en") = true, + D(eye_sink_c, enable_stem_plot)) + + + .def("enable_semilogx", + &eye_sink_c::enable_semilogx, + py::arg("en") = true, + D(eye_sink_c, enable_semilogx)) + + + .def("enable_semilogy", + &eye_sink_c::enable_semilogy, + py::arg("en") = true, + D(eye_sink_c, enable_semilogy)) + + + .def("enable_control_panel", + &eye_sink_c::enable_control_panel, + py::arg("en") = true, + D(eye_sink_c, enable_control_panel)) + + + .def("enable_tags", + (void (eye_sink_c::*)(unsigned int, bool)) & eye_sink_c::enable_tags, + py::arg("which"), + py::arg("en"), + D(eye_sink_c, enable_tags, 0)) + + + .def("enable_tags", + (void (eye_sink_c::*)(bool)) & eye_sink_c::enable_tags, + py::arg("en"), + D(eye_sink_c, enable_tags, 1)) + + + .def("enable_axis_labels", + &eye_sink_c::enable_axis_labels, + py::arg("en") = true, + D(eye_sink_c, enable_axis_labels)) + + + .def("disable_legend", &eye_sink_c::disable_legend, D(eye_sink_c, disable_legend)) + + + .def("nsamps", &eye_sink_c::nsamps, D(eye_sink_c, nsamps)) + + + .def("reset", &eye_sink_c::reset, D(eye_sink_c, reset)) + + ; +} diff --git a/gr-qtgui/python/qtgui/bindings/eye_sink_f_python.cc b/gr-qtgui/python/qtgui/bindings/eye_sink_f_python.cc new file mode 100644 index 0000000000..76d52917e7 --- /dev/null +++ b/gr-qtgui/python/qtgui/bindings/eye_sink_f_python.cc @@ -0,0 +1,280 @@ +/* + * Copyright 2020 Free Software Foundation, Inc. + * + * This file is part of GNU Radio + * + * SPDX-License-Identifier: GPL-3.0-or-later + * + */ + +/* This file is automatically generated using bindtool */ + +#include <pybind11/complex.h> +#include <pybind11/pybind11.h> +#include <pybind11/stl.h> + +namespace py = pybind11; + +#include <gnuradio/qtgui/utils.h> +#include <qwt_legend.h> +#include <qwt_painter.h> +#include <qwt_plot.h> +#include <qwt_plot_canvas.h> +#include <qwt_plot_curve.h> +#include <qwt_plot_magnifier.h> +#include <qwt_plot_marker.h> +#include <qwt_plot_panner.h> +#include <qwt_plot_zoomer.h> +#include <qwt_scale_engine.h> +#include <qwt_scale_widget.h> +#include <qwt_symbol.h> + +#include <gnuradio/qtgui/eye_sink_f.h> +// pydoc.h is automatically generated in the build directory +#include <eye_sink_f_pydoc.h> + +void bind_eye_sink_f(py::module& m) +{ + + using eye_sink_f = ::gr::qtgui::eye_sink_f; + + + py::class_<eye_sink_f, + gr::sync_block, + gr::block, + gr::basic_block, + std::shared_ptr<eye_sink_f>>(m, "eye_sink_f", D(eye_sink_f)) + + .def(py::init(&eye_sink_f::make), + py::arg("size"), + py::arg("samp_rate"), + py::arg("name"), + py::arg("nconnections") = 1, + py::arg("parent") = __null, + D(eye_sink_f, make)) + + + .def("exec_", &eye_sink_f::exec_, D(eye_sink_f, exec_)) + + + .def("qwidget", &eye_sink_f::qwidget, D(eye_sink_f, qwidget)) + + + // .def("pyqwidget",&eye_sink_f::pyqwidget, + // D(eye_sink_f,pyqwidget) + // ) + // For the sip conversion to python to work, the widget object + // needs to be explicitly converted to Long + .def( + "pyqwidget", + [](std::shared_ptr<eye_sink_f> p) { return PyLong_AsLong(p->pyqwidget()); }, + D(eye_sink_f, pyqwidget)) + + .def("set_y_axis", + &eye_sink_f::set_y_axis, + py::arg("min"), + py::arg("max"), + D(eye_sink_f, set_y_axis)) + + + .def("set_y_label", + &eye_sink_f::set_y_label, + py::arg("label"), + py::arg("unit") = "", + D(eye_sink_f, set_y_label)) + + + .def("set_update_time", + &eye_sink_f::set_update_time, + py::arg("t"), + D(eye_sink_f, set_update_time)) + + + .def("set_title", + &eye_sink_f::set_title, + py::arg("title"), + D(eye_sink_f, set_title)) + + + .def("set_line_label", + &eye_sink_f::set_line_label, + py::arg("which"), + py::arg("line"), + D(eye_sink_f, set_line_label)) + + + .def("set_line_color", + &eye_sink_f::set_line_color, + py::arg("which"), + py::arg("color"), + D(eye_sink_f, set_line_color)) + + + .def("set_line_width", + &eye_sink_f::set_line_width, + py::arg("which"), + py::arg("width"), + D(eye_sink_f, set_line_width)) + + + .def("set_line_style", + &eye_sink_f::set_line_style, + py::arg("which"), + py::arg("style"), + D(eye_sink_f, set_line_style)) + + + .def("set_line_marker", + &eye_sink_f::set_line_marker, + py::arg("which"), + py::arg("marker"), + D(eye_sink_f, set_line_marker)) + + + .def("set_nsamps", + &eye_sink_f::set_nsamps, + py::arg("newsize"), + D(eye_sink_f, set_nsamps)) + + + .def("set_samp_rate", + &eye_sink_f::set_samp_rate, + py::arg("samp_rate"), + D(eye_sink_f, set_samp_rate)) + + + .def("set_line_alpha", + &eye_sink_f::set_line_alpha, + py::arg("which"), + py::arg("alpha"), + D(eye_sink_f, set_line_alpha)) + + + .def("set_trigger_mode", + &eye_sink_f::set_trigger_mode, + py::arg("mode"), + py::arg("slope"), + py::arg("level"), + py::arg("delay"), + py::arg("channel"), + py::arg("tag_key") = "", + D(eye_sink_f, set_trigger_mode)) + + + .def("title", &eye_sink_f::title, D(eye_sink_f, title)) + + + .def("line_label", + &eye_sink_f::line_label, + py::arg("which"), + D(eye_sink_f, line_label)) + + + .def("line_color", + &eye_sink_f::line_color, + py::arg("which"), + D(eye_sink_f, line_color)) + + + .def("line_width", + &eye_sink_f::line_width, + py::arg("which"), + D(eye_sink_f, line_width)) + + + .def("line_style", + &eye_sink_f::line_style, + py::arg("which"), + D(eye_sink_f, line_style)) + + + .def("line_marker", + &eye_sink_f::line_marker, + py::arg("which"), + D(eye_sink_f, line_marker)) + + + .def("line_alpha", + &eye_sink_f::line_alpha, + py::arg("which"), + D(eye_sink_f, line_alpha)) + + + .def("set_size", + &eye_sink_f::set_size, + py::arg("width"), + py::arg("height"), + D(eye_sink_f, set_size)) + + + .def("enable_menu", + &eye_sink_f::enable_menu, + py::arg("en") = true, + D(eye_sink_f, enable_menu)) + + + .def("enable_grid", + &eye_sink_f::enable_grid, + py::arg("en") = true, + D(eye_sink_f, enable_grid)) + + + .def("enable_autoscale", + &eye_sink_f::enable_autoscale, + py::arg("en") = true, + D(eye_sink_f, enable_autoscale)) + + + .def("enable_stem_plot", + &eye_sink_f::enable_stem_plot, + py::arg("en") = true, + D(eye_sink_f, enable_stem_plot)) + + + .def("enable_semilogx", + &eye_sink_f::enable_semilogx, + py::arg("en") = true, + D(eye_sink_f, enable_semilogx)) + + + .def("enable_semilogy", + &eye_sink_f::enable_semilogy, + py::arg("en") = true, + D(eye_sink_f, enable_semilogy)) + + + .def("enable_control_panel", + &eye_sink_f::enable_control_panel, + py::arg("en") = true, + D(eye_sink_f, enable_control_panel)) + + + .def("enable_tags", + (void (eye_sink_f::*)(unsigned int, bool)) & eye_sink_f::enable_tags, + py::arg("which"), + py::arg("en"), + D(eye_sink_f, enable_tags, 0)) + + + .def("enable_tags", + (void (eye_sink_f::*)(bool)) & eye_sink_f::enable_tags, + py::arg("en"), + D(eye_sink_f, enable_tags, 1)) + + + .def("enable_axis_labels", + &eye_sink_f::enable_axis_labels, + py::arg("en") = true, + D(eye_sink_f, enable_axis_labels)) + + + .def("disable_legend", &eye_sink_f::disable_legend, D(eye_sink_f, disable_legend)) + + + .def("nsamps", &eye_sink_f::nsamps, D(eye_sink_f, nsamps)) + + + .def("reset", &eye_sink_f::reset, D(eye_sink_f, reset)) + + ; +} diff --git a/gr-qtgui/python/qtgui/bindings/form_menus_python.cc b/gr-qtgui/python/qtgui/bindings/form_menus_python.cc new file mode 100644 index 0000000000..946bcec1c9 --- /dev/null +++ b/gr-qtgui/python/qtgui/bindings/form_menus_python.cc @@ -0,0 +1,22 @@ +/* + * Copyright 2020 Free Software Foundation, Inc. + * + * This file is part of GNU Radio + * + * SPDX-License-Identifier: GPL-3.0-or-later + * + */ + +/* This file is automatically generated using bindtool */ + +#include <pybind11/complex.h> +#include <pybind11/pybind11.h> +#include <pybind11/stl.h> + +namespace py = pybind11; + +#include <gnuradio/qtgui/form_menus.h> +// pydoc.h is automatically generated in the build directory +#include <form_menus_pydoc.h> + +void bind_form_menus(py::module& m) {} diff --git a/gr-qtgui/python/qtgui/bindings/freq_sink_c_python.cc b/gr-qtgui/python/qtgui/bindings/freq_sink_c_python.cc new file mode 100644 index 0000000000..43b9ec2cc8 --- /dev/null +++ b/gr-qtgui/python/qtgui/bindings/freq_sink_c_python.cc @@ -0,0 +1,293 @@ +/* + * Copyright 2020 Free Software Foundation, Inc. + * + * This file is part of GNU Radio + * + * SPDX-License-Identifier: GPL-3.0-or-later + * + */ + +/* This file is automatically generated using bindtool */ + +#include <pybind11/complex.h> +#include <pybind11/pybind11.h> +#include <pybind11/stl.h> + +namespace py = pybind11; + +#include <gnuradio/qtgui/utils.h> +#include <qwt_legend.h> +#include <qwt_painter.h> +#include <qwt_plot.h> +#include <qwt_plot_canvas.h> +#include <qwt_plot_curve.h> +#include <qwt_plot_magnifier.h> +#include <qwt_plot_marker.h> +#include <qwt_plot_panner.h> +#include <qwt_plot_zoomer.h> +#include <qwt_scale_engine.h> +#include <qwt_scale_widget.h> +#include <qwt_symbol.h> + +#include <gnuradio/qtgui/freq_sink_c.h> +// pydoc.h is automatically generated in the build directory +#include <freq_sink_c_pydoc.h> + +void bind_freq_sink_c(py::module& m) +{ + + using freq_sink_c = ::gr::qtgui::freq_sink_c; + + + py::class_<freq_sink_c, + gr::sync_block, + gr::block, + gr::basic_block, + std::shared_ptr<freq_sink_c>>(m, "freq_sink_c", D(freq_sink_c)) + + .def(py::init(&freq_sink_c::make), + py::arg("fftsize"), + py::arg("wintype"), + py::arg("fc"), + py::arg("bw"), + py::arg("name"), + py::arg("nconnections") = 1, + py::arg("parent") = __null, + D(freq_sink_c, make)) + + + .def("exec_", &freq_sink_c::exec_, D(freq_sink_c, exec_)) + + + .def("qwidget", &freq_sink_c::qwidget, D(freq_sink_c, qwidget)) + + + // .def("pyqwidget",&freq_sink_c::pyqwidget, + // D(freq_sink_c,pyqwidget) + // ) + // For the sip conversion to python to work, the widget object + // needs to be explicitly converted to Long + .def( + "pyqwidget", + [](std::shared_ptr<freq_sink_c> p) { return PyLong_AsLong(p->pyqwidget()); }, + D(freq_sink_c, pyqwidget)) + + + .def("set_fft_size", + &freq_sink_c::set_fft_size, + py::arg("fftsize"), + D(freq_sink_c, set_fft_size)) + + + .def("fft_size", &freq_sink_c::fft_size, D(freq_sink_c, fft_size)) + + + .def("set_fft_average", + &freq_sink_c::set_fft_average, + py::arg("fftavg"), + D(freq_sink_c, set_fft_average)) + + + .def("fft_average", &freq_sink_c::fft_average, D(freq_sink_c, fft_average)) + + + .def("set_fft_window", + &freq_sink_c::set_fft_window, + py::arg("win"), + D(freq_sink_c, set_fft_window)) + + + .def("fft_window", &freq_sink_c::fft_window, D(freq_sink_c, fft_window)) + + + .def("set_frequency_range", + &freq_sink_c::set_frequency_range, + py::arg("centerfreq"), + py::arg("bandwidth"), + D(freq_sink_c, set_frequency_range)) + + + .def("set_y_axis", + &freq_sink_c::set_y_axis, + py::arg("min"), + py::arg("max"), + D(freq_sink_c, set_y_axis)) + + + .def("set_update_time", + &freq_sink_c::set_update_time, + py::arg("t"), + D(freq_sink_c, set_update_time)) + + + .def("set_title", + &freq_sink_c::set_title, + py::arg("title"), + D(freq_sink_c, set_title)) + + + .def("set_y_label", + &freq_sink_c::set_y_label, + py::arg("label"), + py::arg("unit"), + D(freq_sink_c, set_y_label)) + + + .def("set_line_label", + &freq_sink_c::set_line_label, + py::arg("which"), + py::arg("label"), + D(freq_sink_c, set_line_label)) + + + .def("set_line_color", + &freq_sink_c::set_line_color, + py::arg("which"), + py::arg("color"), + D(freq_sink_c, set_line_color)) + + + .def("set_line_width", + &freq_sink_c::set_line_width, + py::arg("which"), + py::arg("width"), + D(freq_sink_c, set_line_width)) + + + .def("set_line_style", + &freq_sink_c::set_line_style, + py::arg("which"), + py::arg("style"), + D(freq_sink_c, set_line_style)) + + + .def("set_line_marker", + &freq_sink_c::set_line_marker, + py::arg("which"), + py::arg("marker"), + D(freq_sink_c, set_line_marker)) + + + .def("set_line_alpha", + &freq_sink_c::set_line_alpha, + py::arg("which"), + py::arg("alpha"), + D(freq_sink_c, set_line_alpha)) + + + .def("set_trigger_mode", + &freq_sink_c::set_trigger_mode, + py::arg("mode"), + py::arg("level"), + py::arg("channel"), + py::arg("tag_key") = "", + D(freq_sink_c, set_trigger_mode)) + + + .def("title", &freq_sink_c::title, D(freq_sink_c, title)) + + + .def("line_label", + &freq_sink_c::line_label, + py::arg("which"), + D(freq_sink_c, line_label)) + + + .def("line_color", + &freq_sink_c::line_color, + py::arg("which"), + D(freq_sink_c, line_color)) + + + .def("line_width", + &freq_sink_c::line_width, + py::arg("which"), + D(freq_sink_c, line_width)) + + + .def("line_style", + &freq_sink_c::line_style, + py::arg("which"), + D(freq_sink_c, line_style)) + + + .def("line_marker", + &freq_sink_c::line_marker, + py::arg("which"), + D(freq_sink_c, line_marker)) + + + .def("line_alpha", + &freq_sink_c::line_alpha, + py::arg("which"), + D(freq_sink_c, line_alpha)) + + + .def("set_size", + &freq_sink_c::set_size, + py::arg("width"), + py::arg("height"), + D(freq_sink_c, set_size)) + + + .def("enable_menu", + &freq_sink_c::enable_menu, + py::arg("en") = true, + D(freq_sink_c, enable_menu)) + + + .def("enable_grid", + &freq_sink_c::enable_grid, + py::arg("en") = true, + D(freq_sink_c, enable_grid)) + + + .def("enable_autoscale", + &freq_sink_c::enable_autoscale, + py::arg("en") = true, + D(freq_sink_c, enable_autoscale)) + + + .def("enable_control_panel", + &freq_sink_c::enable_control_panel, + py::arg("en") = true, + D(freq_sink_c, enable_control_panel)) + + + .def("enable_max_hold", + &freq_sink_c::enable_max_hold, + py::arg("en"), + D(freq_sink_c, enable_max_hold)) + + + .def("enable_min_hold", + &freq_sink_c::enable_min_hold, + py::arg("en"), + D(freq_sink_c, enable_min_hold)) + + + .def("clear_max_hold", + &freq_sink_c::clear_max_hold, + D(freq_sink_c, clear_max_hold)) + + + .def("clear_min_hold", + &freq_sink_c::clear_min_hold, + D(freq_sink_c, clear_min_hold)) + + + .def("disable_legend", + &freq_sink_c::disable_legend, + D(freq_sink_c, disable_legend)) + + + .def("reset", &freq_sink_c::reset, D(freq_sink_c, reset)) + + + .def("enable_axis_labels", + &freq_sink_c::enable_axis_labels, + py::arg("en") = true, + D(freq_sink_c, enable_axis_labels)) + + ; +} diff --git a/gr-qtgui/python/qtgui/bindings/freq_sink_f_python.cc b/gr-qtgui/python/qtgui/bindings/freq_sink_f_python.cc new file mode 100644 index 0000000000..7371e4afd4 --- /dev/null +++ b/gr-qtgui/python/qtgui/bindings/freq_sink_f_python.cc @@ -0,0 +1,299 @@ +/* + * Copyright 2020 Free Software Foundation, Inc. + * + * This file is part of GNU Radio + * + * SPDX-License-Identifier: GPL-3.0-or-later + * + */ + +/* This file is automatically generated using bindtool */ + +#include <pybind11/complex.h> +#include <pybind11/pybind11.h> +#include <pybind11/stl.h> + +namespace py = pybind11; + +#include <gnuradio/qtgui/utils.h> +#include <qwt_legend.h> +#include <qwt_painter.h> +#include <qwt_plot.h> +#include <qwt_plot_canvas.h> +#include <qwt_plot_curve.h> +#include <qwt_plot_magnifier.h> +#include <qwt_plot_marker.h> +#include <qwt_plot_panner.h> +#include <qwt_plot_zoomer.h> +#include <qwt_scale_engine.h> +#include <qwt_scale_widget.h> +#include <qwt_symbol.h> + +#include <gnuradio/qtgui/freq_sink_f.h> +// pydoc.h is automatically generated in the build directory +#include <freq_sink_f_pydoc.h> + +void bind_freq_sink_f(py::module& m) +{ + + using freq_sink_f = ::gr::qtgui::freq_sink_f; + + + py::class_<freq_sink_f, + gr::sync_block, + gr::block, + gr::basic_block, + std::shared_ptr<freq_sink_f>>(m, "freq_sink_f", D(freq_sink_f)) + + .def(py::init(&freq_sink_f::make), + py::arg("fftsize"), + py::arg("wintype"), + py::arg("fc"), + py::arg("bw"), + py::arg("name"), + py::arg("nconnections") = 1, + py::arg("parent") = __null, + D(freq_sink_f, make)) + + + .def("exec_", &freq_sink_f::exec_, D(freq_sink_f, exec_)) + + + .def("qwidget", &freq_sink_f::qwidget, D(freq_sink_f, qwidget)) + + + // .def("pyqwidget",&freq_sink_f::pyqwidget, + // D(freq_sink_f,pyqwidget) + // ) + // For the sip conversion to python to work, the widget object + // needs to be explicitly converted to Long + .def( + "pyqwidget", + [](std::shared_ptr<freq_sink_f> p) { return PyLong_AsLong(p->pyqwidget()); }, + D(freq_sink_f, pyqwidget)) + + + .def("set_fft_size", + &freq_sink_f::set_fft_size, + py::arg("fftsize"), + D(freq_sink_f, set_fft_size)) + + + .def("fft_size", &freq_sink_f::fft_size, D(freq_sink_f, fft_size)) + + + .def("set_fft_average", + &freq_sink_f::set_fft_average, + py::arg("fftavg"), + D(freq_sink_f, set_fft_average)) + + + .def("fft_average", &freq_sink_f::fft_average, D(freq_sink_f, fft_average)) + + + .def("set_fft_window", + &freq_sink_f::set_fft_window, + py::arg("win"), + D(freq_sink_f, set_fft_window)) + + + .def("fft_window", &freq_sink_f::fft_window, D(freq_sink_f, fft_window)) + + + .def("set_frequency_range", + &freq_sink_f::set_frequency_range, + py::arg("centerfreq"), + py::arg("bandwidth"), + D(freq_sink_f, set_frequency_range)) + + + .def("set_y_axis", + &freq_sink_f::set_y_axis, + py::arg("min"), + py::arg("max"), + D(freq_sink_f, set_y_axis)) + + + .def("set_update_time", + &freq_sink_f::set_update_time, + py::arg("t"), + D(freq_sink_f, set_update_time)) + + + .def("set_title", + &freq_sink_f::set_title, + py::arg("title"), + D(freq_sink_f, set_title)) + + + .def("set_y_label", + &freq_sink_f::set_y_label, + py::arg("label"), + py::arg("unit"), + D(freq_sink_f, set_y_label)) + + + .def("set_line_label", + &freq_sink_f::set_line_label, + py::arg("which"), + py::arg("label"), + D(freq_sink_f, set_line_label)) + + + .def("set_line_color", + &freq_sink_f::set_line_color, + py::arg("which"), + py::arg("color"), + D(freq_sink_f, set_line_color)) + + + .def("set_line_width", + &freq_sink_f::set_line_width, + py::arg("which"), + py::arg("width"), + D(freq_sink_f, set_line_width)) + + + .def("set_line_style", + &freq_sink_f::set_line_style, + py::arg("which"), + py::arg("style"), + D(freq_sink_f, set_line_style)) + + + .def("set_line_marker", + &freq_sink_f::set_line_marker, + py::arg("which"), + py::arg("marker"), + D(freq_sink_f, set_line_marker)) + + + .def("set_line_alpha", + &freq_sink_f::set_line_alpha, + py::arg("which"), + py::arg("alpha"), + D(freq_sink_f, set_line_alpha)) + + + .def("set_plot_pos_half", + &freq_sink_f::set_plot_pos_half, + py::arg("half"), + D(freq_sink_f, set_plot_pos_half)) + + + .def("set_trigger_mode", + &freq_sink_f::set_trigger_mode, + py::arg("mode"), + py::arg("level"), + py::arg("channel"), + py::arg("tag_key") = "", + D(freq_sink_f, set_trigger_mode)) + + + .def("title", &freq_sink_f::title, D(freq_sink_f, title)) + + + .def("line_label", + &freq_sink_f::line_label, + py::arg("which"), + D(freq_sink_f, line_label)) + + + .def("line_color", + &freq_sink_f::line_color, + py::arg("which"), + D(freq_sink_f, line_color)) + + + .def("line_width", + &freq_sink_f::line_width, + py::arg("which"), + D(freq_sink_f, line_width)) + + + .def("line_style", + &freq_sink_f::line_style, + py::arg("which"), + D(freq_sink_f, line_style)) + + + .def("line_marker", + &freq_sink_f::line_marker, + py::arg("which"), + D(freq_sink_f, line_marker)) + + + .def("line_alpha", + &freq_sink_f::line_alpha, + py::arg("which"), + D(freq_sink_f, line_alpha)) + + + .def("set_size", + &freq_sink_f::set_size, + py::arg("width"), + py::arg("height"), + D(freq_sink_f, set_size)) + + + .def("enable_menu", + &freq_sink_f::enable_menu, + py::arg("en") = true, + D(freq_sink_f, enable_menu)) + + + .def("enable_grid", + &freq_sink_f::enable_grid, + py::arg("en") = true, + D(freq_sink_f, enable_grid)) + + + .def("enable_autoscale", + &freq_sink_f::enable_autoscale, + py::arg("en") = true, + D(freq_sink_f, enable_autoscale)) + + + .def("enable_control_panel", + &freq_sink_f::enable_control_panel, + py::arg("en") = true, + D(freq_sink_f, enable_control_panel)) + + + .def("enable_max_hold", + &freq_sink_f::enable_max_hold, + py::arg("en"), + D(freq_sink_f, enable_max_hold)) + + + .def("enable_min_hold", + &freq_sink_f::enable_min_hold, + py::arg("en"), + D(freq_sink_f, enable_min_hold)) + + + .def("clear_max_hold", + &freq_sink_f::clear_max_hold, + D(freq_sink_f, clear_max_hold)) + + + .def("clear_min_hold", + &freq_sink_f::clear_min_hold, + D(freq_sink_f, clear_min_hold)) + + + .def("disable_legend", + &freq_sink_f::disable_legend, + D(freq_sink_f, disable_legend)) + + + .def("reset", &freq_sink_f::reset, D(freq_sink_f, reset)) + + + .def("enable_axis_labels", + &freq_sink_f::enable_axis_labels, + py::arg("en") = true, + D(freq_sink_f, enable_axis_labels)) + + ; +} diff --git a/gr-qtgui/python/qtgui/bindings/freqcontrolpanel_python.cc b/gr-qtgui/python/qtgui/bindings/freqcontrolpanel_python.cc new file mode 100644 index 0000000000..930bfb7c7b --- /dev/null +++ b/gr-qtgui/python/qtgui/bindings/freqcontrolpanel_python.cc @@ -0,0 +1,22 @@ +/* + * Copyright 2020 Free Software Foundation, Inc. + * + * This file is part of GNU Radio + * + * SPDX-License-Identifier: GPL-3.0-or-later + * + */ + +/* This file is automatically generated using bindtool */ + +#include <pybind11/complex.h> +#include <pybind11/pybind11.h> +#include <pybind11/stl.h> + +namespace py = pybind11; + +#include <gnuradio/qtgui/freqcontrolpanel.h> +// pydoc.h is automatically generated in the build directory +#include <freqcontrolpanel_pydoc.h> + +void bind_freqcontrolpanel(py::module& m) {} diff --git a/gr-qtgui/python/qtgui/bindings/freqdisplayform_python.cc b/gr-qtgui/python/qtgui/bindings/freqdisplayform_python.cc new file mode 100644 index 0000000000..0868ee4bf7 --- /dev/null +++ b/gr-qtgui/python/qtgui/bindings/freqdisplayform_python.cc @@ -0,0 +1,22 @@ +/* + * Copyright 2020 Free Software Foundation, Inc. + * + * This file is part of GNU Radio + * + * SPDX-License-Identifier: GPL-3.0-or-later + * + */ + +/* This file is automatically generated using bindtool */ + +#include <pybind11/complex.h> +#include <pybind11/pybind11.h> +#include <pybind11/stl.h> + +namespace py = pybind11; + +#include <gnuradio/qtgui/freqdisplayform.h> +// pydoc.h is automatically generated in the build directory +#include <freqdisplayform_pydoc.h> + +void bind_freqdisplayform(py::module& m) {} diff --git a/gr-qtgui/python/qtgui/bindings/histogram_sink_f_python.cc b/gr-qtgui/python/qtgui/bindings/histogram_sink_f_python.cc new file mode 100644 index 0000000000..6ddef112e5 --- /dev/null +++ b/gr-qtgui/python/qtgui/bindings/histogram_sink_f_python.cc @@ -0,0 +1,264 @@ +/* + * Copyright 2020 Free Software Foundation, Inc. + * + * This file is part of GNU Radio + * + * SPDX-License-Identifier: GPL-3.0-or-later + * + */ + +/* This file is automatically generated using bindtool */ + +#include <pybind11/complex.h> +#include <pybind11/pybind11.h> +#include <pybind11/stl.h> + +namespace py = pybind11; + +#include <gnuradio/qtgui/utils.h> +#include <qwt_legend.h> +#include <qwt_painter.h> +#include <qwt_plot.h> +#include <qwt_plot_canvas.h> +#include <qwt_plot_curve.h> +#include <qwt_plot_magnifier.h> +#include <qwt_plot_marker.h> +#include <qwt_plot_panner.h> +#include <qwt_plot_zoomer.h> +#include <qwt_scale_engine.h> +#include <qwt_scale_widget.h> +#include <qwt_symbol.h> + +#include <gnuradio/qtgui/histogram_sink_f.h> +// pydoc.h is automatically generated in the build directory +#include <histogram_sink_f_pydoc.h> + +void bind_histogram_sink_f(py::module& m) +{ + + using histogram_sink_f = ::gr::qtgui::histogram_sink_f; + + + py::class_<histogram_sink_f, + gr::sync_block, + gr::block, + gr::basic_block, + std::shared_ptr<histogram_sink_f>>( + m, "histogram_sink_f", D(histogram_sink_f)) + + .def(py::init(&histogram_sink_f::make), + py::arg("size"), + py::arg("bins"), + py::arg("xmin"), + py::arg("xmax"), + py::arg("name"), + py::arg("nconnections") = 1, + py::arg("parent") = __null, + D(histogram_sink_f, make)) + + + .def("exec_", &histogram_sink_f::exec_, D(histogram_sink_f, exec_)) + + + .def("qwidget", &histogram_sink_f::qwidget, D(histogram_sink_f, qwidget)) + + + // .def("pyqwidget",&histogram_sink_f::pyqwidget, + // D(histogram_sink_f,pyqwidget) + // ) + // For the sip conversion to python to work, the widget object + // needs to be explicitly converted to Long + .def( + "pyqwidget", + [](std::shared_ptr<histogram_sink_f> p) { + return PyLong_AsLong(p->pyqwidget()); + }, + D(histogram_sink_f, pyqwidget)) + + + .def("title", &histogram_sink_f::title, D(histogram_sink_f, title)) + + + .def("line_label", + &histogram_sink_f::line_label, + py::arg("which"), + D(histogram_sink_f, line_label)) + + + .def("line_color", + &histogram_sink_f::line_color, + py::arg("which"), + D(histogram_sink_f, line_color)) + + + .def("line_width", + &histogram_sink_f::line_width, + py::arg("which"), + D(histogram_sink_f, line_width)) + + + .def("line_style", + &histogram_sink_f::line_style, + py::arg("which"), + D(histogram_sink_f, line_style)) + + + .def("line_marker", + &histogram_sink_f::line_marker, + py::arg("which"), + D(histogram_sink_f, line_marker)) + + + .def("line_alpha", + &histogram_sink_f::line_alpha, + py::arg("which"), + D(histogram_sink_f, line_alpha)) + + + .def("set_size", + &histogram_sink_f::set_size, + py::arg("width"), + py::arg("height"), + D(histogram_sink_f, set_size)) + + + .def("enable_menu", + &histogram_sink_f::enable_menu, + py::arg("en") = true, + D(histogram_sink_f, enable_menu)) + + + .def("enable_grid", + &histogram_sink_f::enable_grid, + py::arg("en") = true, + D(histogram_sink_f, enable_grid)) + + + .def("enable_autoscale", + &histogram_sink_f::enable_autoscale, + py::arg("en") = true, + D(histogram_sink_f, enable_autoscale)) + + + .def("enable_semilogx", + &histogram_sink_f::enable_semilogx, + py::arg("en") = true, + D(histogram_sink_f, enable_semilogx)) + + + .def("enable_semilogy", + &histogram_sink_f::enable_semilogy, + py::arg("en") = true, + D(histogram_sink_f, enable_semilogy)) + + + .def("enable_accumulate", + &histogram_sink_f::enable_accumulate, + py::arg("en") = true, + D(histogram_sink_f, enable_accumulate)) + + + .def("enable_axis_labels", + &histogram_sink_f::enable_axis_labels, + py::arg("en") = true, + D(histogram_sink_f, enable_axis_labels)) + + + .def("autoscalex", &histogram_sink_f::autoscalex, D(histogram_sink_f, autoscalex)) + + + .def("nsamps", &histogram_sink_f::nsamps, D(histogram_sink_f, nsamps)) + + + .def("bins", &histogram_sink_f::bins, D(histogram_sink_f, bins)) + + + .def("reset", &histogram_sink_f::reset, D(histogram_sink_f, reset)) + + + .def("set_y_axis", + &histogram_sink_f::set_y_axis, + py::arg("min"), + py::arg("max"), + D(histogram_sink_f, set_y_axis)) + + + .def("set_x_axis", + &histogram_sink_f::set_x_axis, + py::arg("min"), + py::arg("max"), + D(histogram_sink_f, set_x_axis)) + + + .def("set_update_time", + &histogram_sink_f::set_update_time, + py::arg("t"), + D(histogram_sink_f, set_update_time)) + + + .def("set_title", + &histogram_sink_f::set_title, + py::arg("title"), + D(histogram_sink_f, set_title)) + + + .def("set_line_label", + &histogram_sink_f::set_line_label, + py::arg("which"), + py::arg("line"), + D(histogram_sink_f, set_line_label)) + + + .def("set_line_color", + &histogram_sink_f::set_line_color, + py::arg("which"), + py::arg("color"), + D(histogram_sink_f, set_line_color)) + + + .def("set_line_width", + &histogram_sink_f::set_line_width, + py::arg("which"), + py::arg("width"), + D(histogram_sink_f, set_line_width)) + + + .def("set_line_style", + &histogram_sink_f::set_line_style, + py::arg("which"), + py::arg("style"), + D(histogram_sink_f, set_line_style)) + + + .def("set_line_marker", + &histogram_sink_f::set_line_marker, + py::arg("which"), + py::arg("marker"), + D(histogram_sink_f, set_line_marker)) + + + .def("set_line_alpha", + &histogram_sink_f::set_line_alpha, + py::arg("which"), + py::arg("alpha"), + D(histogram_sink_f, set_line_alpha)) + + + .def("set_nsamps", + &histogram_sink_f::set_nsamps, + py::arg("newsize"), + D(histogram_sink_f, set_nsamps)) + + + .def("set_bins", + &histogram_sink_f::set_bins, + py::arg("bins"), + D(histogram_sink_f, set_bins)) + + + .def("disable_legend", + &histogram_sink_f::disable_legend, + D(histogram_sink_f, disable_legend)) + + ; +} diff --git a/gr-qtgui/python/qtgui/bindings/histogramdisplayform_python.cc b/gr-qtgui/python/qtgui/bindings/histogramdisplayform_python.cc new file mode 100644 index 0000000000..1e2f0e4523 --- /dev/null +++ b/gr-qtgui/python/qtgui/bindings/histogramdisplayform_python.cc @@ -0,0 +1,22 @@ +/* + * Copyright 2020 Free Software Foundation, Inc. + * + * This file is part of GNU Radio + * + * SPDX-License-Identifier: GPL-3.0-or-later + * + */ + +/* This file is automatically generated using bindtool */ + +#include <pybind11/complex.h> +#include <pybind11/pybind11.h> +#include <pybind11/stl.h> + +namespace py = pybind11; + +#include <gnuradio/qtgui/histogramdisplayform.h> +// pydoc.h is automatically generated in the build directory +#include <histogramdisplayform_pydoc.h> + +void bind_histogramdisplayform(py::module& m) {} diff --git a/gr-qtgui/python/qtgui/bindings/number_sink_python.cc b/gr-qtgui/python/qtgui/bindings/number_sink_python.cc new file mode 100644 index 0000000000..e753d333a4 --- /dev/null +++ b/gr-qtgui/python/qtgui/bindings/number_sink_python.cc @@ -0,0 +1,202 @@ +/* + * Copyright 2020 Free Software Foundation, Inc. + * + * This file is part of GNU Radio + * + * SPDX-License-Identifier: GPL-3.0-or-later + * + */ + +/* This file is automatically generated using bindtool */ + +#include <pybind11/complex.h> +#include <pybind11/pybind11.h> +#include <pybind11/stl.h> + +namespace py = pybind11; + +#include <gnuradio/qtgui/utils.h> +#include <qwt_legend.h> +#include <qwt_painter.h> +#include <qwt_plot.h> +#include <qwt_plot_canvas.h> +#include <qwt_plot_curve.h> +#include <qwt_plot_magnifier.h> +#include <qwt_plot_marker.h> +#include <qwt_plot_panner.h> +#include <qwt_plot_zoomer.h> +#include <qwt_scale_engine.h> +#include <qwt_scale_widget.h> +#include <qwt_symbol.h> + +#include <gnuradio/qtgui/number_sink.h> +// pydoc.h is automatically generated in the build directory +#include <number_sink_pydoc.h> + +void bind_number_sink(py::module& m) +{ + + using number_sink = ::gr::qtgui::number_sink; + + + py::class_<number_sink, + gr::sync_block, + gr::block, + gr::basic_block, + std::shared_ptr<number_sink>>(m, "number_sink", D(number_sink)) + + .def(py::init(&number_sink::make), + py::arg("itemsize"), + py::arg("average") = 0, + py::arg("graph_type") = ::gr::qtgui::graph_t::NUM_GRAPH_HORIZ, + py::arg("nconnections") = 1, + py::arg("parent") = __null, + D(number_sink, make)) + + + .def("exec_", &number_sink::exec_, D(number_sink, exec_)) + + + .def("qwidget", &number_sink::qwidget, D(number_sink, qwidget)) + + + // .def("pyqwidget",&number_sink::pyqwidget, + // D(number_sink,pyqwidget) + // ) + // For the sip conversion to python to work, the widget object + // needs to be explicitly converted to Long + .def( + "pyqwidget", + [](std::shared_ptr<number_sink> p) { return PyLong_AsLong(p->pyqwidget()); }, + D(number_sink, pyqwidget)) + + + .def("set_update_time", + &number_sink::set_update_time, + py::arg("t"), + D(number_sink, set_update_time)) + + + .def("set_average", + &number_sink::set_average, + py::arg("avg"), + D(number_sink, set_average)) + + + .def("set_graph_type", + &number_sink::set_graph_type, + py::arg("type"), + D(number_sink, set_graph_type)) + + + .def("set_color", + (void (number_sink::*)( + unsigned int, std::string const&, std::string const&)) & + number_sink::set_color, + py::arg("which"), + py::arg("min"), + py::arg("max"), + D(number_sink, set_color, 0)) + + + .def("set_color", + (void (number_sink::*)(unsigned int, int, int)) & number_sink::set_color, + py::arg("which"), + py::arg("min"), + py::arg("max"), + D(number_sink, set_color, 1)) + + + .def("set_label", + &number_sink::set_label, + py::arg("which"), + py::arg("label"), + D(number_sink, set_label)) + + + .def("set_min", + &number_sink::set_min, + py::arg("which"), + py::arg("min"), + D(number_sink, set_min)) + + + .def("set_max", + &number_sink::set_max, + py::arg("which"), + py::arg("max"), + D(number_sink, set_max)) + + + .def("set_title", + &number_sink::set_title, + py::arg("title"), + D(number_sink, set_title)) + + + .def("set_unit", + &number_sink::set_unit, + py::arg("which"), + py::arg("unit"), + D(number_sink, set_unit)) + + + .def("set_factor", + &number_sink::set_factor, + py::arg("which"), + py::arg("factor"), + D(number_sink, set_factor)) + + + .def("average", &number_sink::average, D(number_sink, average)) + + + .def("graph_type", &number_sink::graph_type, D(number_sink, graph_type)) + + + .def("color_min", + &number_sink::color_min, + py::arg("which"), + D(number_sink, color_min)) + + + .def("color_max", + &number_sink::color_max, + py::arg("which"), + D(number_sink, color_max)) + + + .def("label", &number_sink::label, py::arg("which"), D(number_sink, label)) + + + .def("min", &number_sink::min, py::arg("which"), D(number_sink, min)) + + + .def("max", &number_sink::max, py::arg("which"), D(number_sink, max)) + + + .def("title", &number_sink::title, D(number_sink, title)) + + + .def("unit", &number_sink::unit, py::arg("which"), D(number_sink, unit)) + + + .def("factor", &number_sink::factor, py::arg("which"), D(number_sink, factor)) + + + .def("enable_menu", + &number_sink::enable_menu, + py::arg("en") = true, + D(number_sink, enable_menu)) + + + .def("enable_autoscale", + &number_sink::enable_autoscale, + py::arg("en") = true, + D(number_sink, enable_autoscale)) + + + .def("reset", &number_sink::reset, D(number_sink, reset)) + + ; +} diff --git a/gr-qtgui/python/qtgui/bindings/numberdisplayform_python.cc b/gr-qtgui/python/qtgui/bindings/numberdisplayform_python.cc new file mode 100644 index 0000000000..4c7219e767 --- /dev/null +++ b/gr-qtgui/python/qtgui/bindings/numberdisplayform_python.cc @@ -0,0 +1,22 @@ +/* + * Copyright 2020 Free Software Foundation, Inc. + * + * This file is part of GNU Radio + * + * SPDX-License-Identifier: GPL-3.0-or-later + * + */ + +/* This file is automatically generated using bindtool */ + +#include <pybind11/complex.h> +#include <pybind11/pybind11.h> +#include <pybind11/stl.h> + +namespace py = pybind11; + +#include <gnuradio/qtgui/numberdisplayform.h> +// pydoc.h is automatically generated in the build directory +#include <numberdisplayform_pydoc.h> + +void bind_numberdisplayform(py::module& m) {} diff --git a/gr-qtgui/python/qtgui/bindings/python_bindings.cc b/gr-qtgui/python/qtgui/bindings/python_bindings.cc new file mode 100644 index 0000000000..35bf303cf6 --- /dev/null +++ b/gr-qtgui/python/qtgui/bindings/python_bindings.cc @@ -0,0 +1,136 @@ + +/* + * Copyright 2020 Free Software Foundation, Inc. + * + * This file is part of GNU Radio + * + * SPDX-License-Identifier: GPL-3.0-or-later + * + */ + +#include <pybind11/pybind11.h> + +#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION +#include <numpy/arrayobject.h> + +namespace py = pybind11; + +void bind_QWidget(py::module&); +// void bind_ConstellationDisplayPlot(py::module&); +// void bind_DisplayPlot(py::module&); +// void bind_FrequencyDisplayPlot(py::module&); +// void bind_HistogramDisplayPlot(py::module&); +// void bind_SpectrumGUIClass(py::module&); +// void bind_TimeDomainDisplayPlot(py::module&); +// void bind_TimeRasterDisplayPlot(py::module&); +// void bind_VectorDisplayPlot(py::module&); +// void bind_WaterfallDisplayPlot(py::module&); +void bind_ber_sink_b(py::module&); +void bind_const_sink_c(py::module&); +void bind_constellationdisplayform(py::module&); +void bind_displayform(py::module&); +void bind_edit_box_msg(py::module&); +void bind_eye_sink_c(py::module&); +void bind_eye_sink_f(py::module&); +void bind_form_menus(py::module&); +void bind_freq_sink_c(py::module&); +void bind_freq_sink_f(py::module&); +void bind_freqcontrolpanel(py::module&); +void bind_freqdisplayform(py::module&); +void bind_histogram_sink_f(py::module&); +void bind_histogramdisplayform(py::module&); +void bind_number_sink(py::module&); +void bind_numberdisplayform(py::module&); +// void bind_plot_raster(py::module&); +// void bind_plot_waterfall(py::module&); +void bind_qtgui_types(py::module&); +void bind_sink_c(py::module&); +void bind_sink_f(py::module&); +// void bind_spectrumUpdateEvents(py::module&); +// void bind_spectrumdisplayform(py::module&); +// void bind_timeRasterGlobalData(py::module&); +void bind_time_raster_sink_b(py::module&); +void bind_time_raster_sink_f(py::module&); +void bind_time_sink_c(py::module&); +void bind_time_sink_f(py::module&); +void bind_timecontrolpanel(py::module&); +void bind_timedisplayform(py::module&); +void bind_timerasterdisplayform(py::module&); +void bind_trigger_mode(py::module&); +// void bind_utils(py::module&); +void bind_vector_sink_f(py::module&); +void bind_vectordisplayform(py::module&); +// void bind_waterfallGlobalData(py::module&); +void bind_waterfall_sink_c(py::module&); +void bind_waterfall_sink_f(py::module&); +void bind_waterfalldisplayform(py::module&); + +// We need this hack because import_array() returns NULL +// for newer Python versions. +// This function is also necessary because it ensures access to the C API +// and removes a warning. +void* init_numpy() +{ + import_array(); + return NULL; +} + +PYBIND11_MODULE(qtgui_python, m) +{ + // Initialize the numpy C API + // (otherwise we will see segmentation faults) + init_numpy(); + + // Allow access to base block methods + py::module::import("gnuradio.gr"); + + bind_QWidget(m); + // bind_ConstellationDisplayPlot(m); + // bind_DisplayPlot(m); + // bind_FrequencyDisplayPlot(m); + // bind_HistogramDisplayPlot(m); + // bind_SpectrumGUIClass(m); + // bind_TimeDomainDisplayPlot(m); + // bind_TimeRasterDisplayPlot(m); + // bind_VectorDisplayPlot(m); + // bind_WaterfallDisplayPlot(m); + bind_ber_sink_b(m); + bind_const_sink_c(m); + // bind_constellationdisplayform(m); + // bind_displayform(m); + // bind_edit_box_msg(m); + bind_eye_sink_c(m); + bind_eye_sink_f(m); + // bind_form_menus(m); + bind_freq_sink_c(m); + bind_freq_sink_f(m); + // bind_freqcontrolpanel(m); + // bind_freqdisplayform(m); + bind_histogram_sink_f(m); + // bind_histogramdisplayform(m); + // bind_number_sink(m); + // bind_numberdisplayform(m); + // // bind_plot_raster(m); + // // bind_plot_waterfall(m); + // bind_qtgui_types(m); + bind_sink_c(m); + bind_sink_f(m); + // // bind_spectrumUpdateEvents(m); + // // bind_spectrumdisplayform(m); + // // bind_timeRasterGlobalData(m); + bind_time_raster_sink_b(m); + bind_time_raster_sink_f(m); + bind_time_sink_c(m); + bind_time_sink_f(m); + // bind_timecontrolpanel(m); + // bind_timedisplayform(m); + // bind_timerasterdisplayform(m); + bind_trigger_mode(m); + // // bind_utils(m); + bind_vector_sink_f(m); + // bind_vectordisplayform(m); + // // bind_waterfallGlobalData(m); + bind_waterfall_sink_c(m); + bind_waterfall_sink_f(m); + // bind_waterfalldisplayform(m); +} diff --git a/gr-qtgui/python/qtgui/bindings/qtgui_types_python.cc b/gr-qtgui/python/qtgui/bindings/qtgui_types_python.cc new file mode 100644 index 0000000000..2cc5a2d524 --- /dev/null +++ b/gr-qtgui/python/qtgui/bindings/qtgui_types_python.cc @@ -0,0 +1,42 @@ +/* + * Copyright 2020 Free Software Foundation, Inc. + * + * This file is part of GNU Radio + * + * SPDX-License-Identifier: GPL-3.0-or-later + * + */ + +/* This file is automatically generated using bindtool */ + +#include <pybind11/complex.h> +#include <pybind11/pybind11.h> +#include <pybind11/stl.h> + +namespace py = pybind11; + +#include <gnuradio/qtgui/qtgui_types.h> +// pydoc.h is automatically generated in the build directory +#include <qtgui_types_pydoc.h> + +void bind_qtgui_types(py::module& m) +{ + + + py::enum_<::gr::qtgui::data_type_t>(m, "data_type_t") + .value("INT", ::gr::qtgui::INT) // 0 + .value("FLOAT", ::gr::qtgui::FLOAT) // 1 + .value("DOUBLE", ::gr::qtgui::DOUBLE) // 2 + .value("COMPLEX", ::gr::qtgui::COMPLEX) // 3 + .value("STRING", ::gr::qtgui::STRING) // 4 + .value("INT_VEC", ::gr::qtgui::INT_VEC) // 5 + .value("FLOAT_VEC", ::gr::qtgui::FLOAT_VEC) // 6 + .value("DOUBLE_VEC", ::gr::qtgui::DOUBLE_VEC) // 7 + .value("COMPLEX_VEC", ::gr::qtgui::COMPLEX_VEC) // 8 + .export_values(); + py::enum_<::gr::qtgui::graph_t>(m, "graph_t") + .value("NUM_GRAPH_NONE", ::gr::qtgui::NUM_GRAPH_NONE) // 0 + .value("NUM_GRAPH_HORIZ", ::gr::qtgui::NUM_GRAPH_HORIZ) // 1 + .value("NUM_GRAPH_VERT", ::gr::qtgui::NUM_GRAPH_VERT) // 2 + .export_values(); +} diff --git a/gr-qtgui/python/qtgui/bindings/sink_c_python.cc b/gr-qtgui/python/qtgui/bindings/sink_c_python.cc new file mode 100644 index 0000000000..67efaed3db --- /dev/null +++ b/gr-qtgui/python/qtgui/bindings/sink_c_python.cc @@ -0,0 +1,111 @@ +/* + * Copyright 2020 Free Software Foundation, Inc. + * + * This file is part of GNU Radio + * + * SPDX-License-Identifier: GPL-3.0-or-later + * + */ + +/* This file is automatically generated using bindtool */ + +#include <pybind11/complex.h> +#include <pybind11/pybind11.h> +#include <pybind11/stl.h> + +namespace py = pybind11; + +#include <gnuradio/qtgui/utils.h> +#include <qwt_legend.h> +#include <qwt_painter.h> +#include <qwt_plot.h> +#include <qwt_plot_canvas.h> +#include <qwt_plot_curve.h> +#include <qwt_plot_magnifier.h> +#include <qwt_plot_marker.h> +#include <qwt_plot_panner.h> +#include <qwt_plot_zoomer.h> +#include <qwt_scale_engine.h> +#include <qwt_scale_widget.h> +#include <qwt_symbol.h> + +#include <gnuradio/qtgui/sink_c.h> +// pydoc.h is automatically generated in the build directory +#include <sink_c_pydoc.h> + +void bind_sink_c(py::module& m) +{ + + using sink_c = ::gr::qtgui::sink_c; + + + py::class_<sink_c, gr::block, gr::basic_block, std::shared_ptr<sink_c>>( + m, "sink_c", D(sink_c)) + + .def(py::init(&sink_c::make), + py::arg("fftsize"), + py::arg("wintype"), + py::arg("fc"), + py::arg("bw"), + py::arg("name"), + py::arg("plotfreq"), + py::arg("plotwaterfall"), + py::arg("plottime"), + py::arg("plotconst"), + py::arg("parent") = NULL, + D(sink_c, make)) + + + .def("exec_", &sink_c::exec_, D(sink_c, exec_)) + + + .def("qwidget", &sink_c::qwidget, D(sink_c, qwidget)) + + + // .def("pyqwidget",&sink_c::pyqwidget, + // D(sink_c,pyqwidget) + // ) + // For the sip conversion to python to work, the widget object + // needs to be explicitly converted to Long + .def( + "pyqwidget", + [](std::shared_ptr<sink_c> p) { return PyLong_AsLong(p->pyqwidget()); }, + D(sink_c, pyqwidget)) + + + .def("set_fft_size", + &sink_c::set_fft_size, + py::arg("fftsize"), + D(sink_c, set_fft_size)) + + + .def("fft_size", &sink_c::fft_size, D(sink_c, fft_size)) + + + .def("set_frequency_range", + &sink_c::set_frequency_range, + py::arg("centerfreq"), + py::arg("bandwidth"), + D(sink_c, set_frequency_range)) + + + .def("set_fft_power_db", + &sink_c::set_fft_power_db, + py::arg("min"), + py::arg("max"), + D(sink_c, set_fft_power_db)) + + + .def("enable_rf_freq", + &sink_c::enable_rf_freq, + py::arg("en"), + D(sink_c, enable_rf_freq)) + + + .def("set_update_time", + &sink_c::set_update_time, + py::arg("t"), + D(sink_c, set_update_time)) + + ; +} diff --git a/gr-qtgui/python/qtgui/bindings/sink_f_python.cc b/gr-qtgui/python/qtgui/bindings/sink_f_python.cc new file mode 100644 index 0000000000..7bb98f0ec3 --- /dev/null +++ b/gr-qtgui/python/qtgui/bindings/sink_f_python.cc @@ -0,0 +1,111 @@ +/* + * Copyright 2020 Free Software Foundation, Inc. + * + * This file is part of GNU Radio + * + * SPDX-License-Identifier: GPL-3.0-or-later + * + */ + +/* This file is automatically generated using bindtool */ + +#include <pybind11/complex.h> +#include <pybind11/pybind11.h> +#include <pybind11/stl.h> + +namespace py = pybind11; + +#include <gnuradio/qtgui/utils.h> +#include <qwt_legend.h> +#include <qwt_painter.h> +#include <qwt_plot.h> +#include <qwt_plot_canvas.h> +#include <qwt_plot_curve.h> +#include <qwt_plot_magnifier.h> +#include <qwt_plot_marker.h> +#include <qwt_plot_panner.h> +#include <qwt_plot_zoomer.h> +#include <qwt_scale_engine.h> +#include <qwt_scale_widget.h> +#include <qwt_symbol.h> + +#include <gnuradio/qtgui/sink_f.h> +// pydoc.h is automatically generated in the build directory +#include <sink_f_pydoc.h> + +void bind_sink_f(py::module& m) +{ + + using sink_f = ::gr::qtgui::sink_f; + + + py::class_<sink_f, gr::block, gr::basic_block, std::shared_ptr<sink_f>>( + m, "sink_f", D(sink_f)) + + .def(py::init(&sink_f::make), + py::arg("fftsize"), + py::arg("wintype"), + py::arg("fc"), + py::arg("bw"), + py::arg("name"), + py::arg("plotfreq"), + py::arg("plotwaterfall"), + py::arg("plottime"), + py::arg("plotconst"), + py::arg("parent") = __null, + D(sink_f, make)) + + + .def("exec_", &sink_f::exec_, D(sink_f, exec_)) + + + .def("qwidget", &sink_f::qwidget, D(sink_f, qwidget)) + + + // .def("pyqwidget",&sink_f::pyqwidget, + // D(sink_f,pyqwidget) + // ) + // For the sip conversion to python to work, the widget object + // needs to be explicitly converted to Long + .def( + "pyqwidget", + [](std::shared_ptr<sink_f> p) { return PyLong_AsLong(p->pyqwidget()); }, + D(sink_f, pyqwidget)) + + + .def("set_fft_size", + &sink_f::set_fft_size, + py::arg("fftsize"), + D(sink_f, set_fft_size)) + + + .def("fft_size", &sink_f::fft_size, D(sink_f, fft_size)) + + + .def("set_frequency_range", + &sink_f::set_frequency_range, + py::arg("centerfreq"), + py::arg("bandwidth"), + D(sink_f, set_frequency_range)) + + + .def("set_fft_power_db", + &sink_f::set_fft_power_db, + py::arg("min"), + py::arg("max"), + D(sink_f, set_fft_power_db)) + + + .def("enable_rf_freq", + &sink_f::enable_rf_freq, + py::arg("en"), + D(sink_f, enable_rf_freq)) + + + .def("set_update_time", + &sink_f::set_update_time, + py::arg("t"), + D(sink_f, set_update_time)) + + ; +} diff --git a/gr-qtgui/python/qtgui/bindings/time_raster_sink_b_python.cc b/gr-qtgui/python/qtgui/bindings/time_raster_sink_b_python.cc new file mode 100644 index 0000000000..558e5a7220 --- /dev/null +++ b/gr-qtgui/python/qtgui/bindings/time_raster_sink_b_python.cc @@ -0,0 +1,263 @@ +/* + * Copyright 2020 Free Software Foundation, Inc. + * + * This file is part of GNU Radio + * + * SPDX-License-Identifier: GPL-3.0-or-later + * + */ + +/* This file is automatically generated using bindtool */ + +#include <pybind11/complex.h> +#include <pybind11/pybind11.h> +#include <pybind11/stl.h> + +#include <gnuradio/qtgui/utils.h> +#include <qwt_legend.h> +#include <qwt_painter.h> +#include <qwt_plot.h> +#include <qwt_plot_canvas.h> +#include <qwt_plot_curve.h> +#include <qwt_plot_magnifier.h> +#include <qwt_plot_marker.h> +#include <qwt_plot_panner.h> +#include <qwt_plot_zoomer.h> +#include <qwt_scale_engine.h> +#include <qwt_scale_widget.h> +#include <qwt_symbol.h> + +namespace py = pybind11; + +#include <gnuradio/qtgui/time_raster_sink_b.h> +// pydoc.h is automatically generated in the build directory +#include <time_raster_sink_b_pydoc.h> + +void bind_time_raster_sink_b(py::module& m) +{ + + using time_raster_sink_b = ::gr::qtgui::time_raster_sink_b; + + + py::class_<time_raster_sink_b, + gr::sync_block, + gr::block, + gr::basic_block, + std::shared_ptr<time_raster_sink_b>>( + m, "time_raster_sink_b", D(time_raster_sink_b)) + + .def(py::init(&time_raster_sink_b::make), + py::arg("samp_rate"), + py::arg("rows"), + py::arg("cols"), + py::arg("mult"), + py::arg("offset"), + py::arg("name"), + py::arg("nconnections") = 1, + py::arg("parent") = __null, + D(time_raster_sink_b, make)) + + + .def("exec_", &time_raster_sink_b::exec_, D(time_raster_sink_b, exec_)) + + + .def("qwidget", &time_raster_sink_b::qwidget, D(time_raster_sink_b, qwidget)) + + + // .def("pyqwidget",&time_raster_sink_b::pyqwidget, + // D(time_raster_sink_b,pyqwidget) + // ) + // For the sip conversion to python to work, the widget object + // needs to be explicitly converted to Long + .def( + "pyqwidget", + [](std::shared_ptr<time_raster_sink_b> p) { + return PyLong_AsLong(p->pyqwidget()); + }, + D(time_raster_sink_b, pyqwidget)) + + + .def("set_update_time", + &time_raster_sink_b::set_update_time, + py::arg("t"), + D(time_raster_sink_b, set_update_time)) + + + .def("set_title", + &time_raster_sink_b::set_title, + py::arg("title"), + D(time_raster_sink_b, set_title)) + + + .def("set_line_label", + &time_raster_sink_b::set_line_label, + py::arg("which"), + py::arg("label"), + D(time_raster_sink_b, set_line_label)) + + + .def("set_line_color", + &time_raster_sink_b::set_line_color, + py::arg("which"), + py::arg("color"), + D(time_raster_sink_b, set_line_color)) + + + .def("set_line_width", + &time_raster_sink_b::set_line_width, + py::arg("which"), + py::arg("width"), + D(time_raster_sink_b, set_line_width)) + + + .def("set_line_style", + &time_raster_sink_b::set_line_style, + py::arg("which"), + py::arg("style"), + D(time_raster_sink_b, set_line_style)) + + + .def("set_line_marker", + &time_raster_sink_b::set_line_marker, + py::arg("which"), + py::arg("marker"), + D(time_raster_sink_b, set_line_marker)) + + + .def("set_line_alpha", + &time_raster_sink_b::set_line_alpha, + py::arg("which"), + py::arg("alpha"), + D(time_raster_sink_b, set_line_alpha)) + + + .def("set_color_map", + &time_raster_sink_b::set_color_map, + py::arg("which"), + py::arg("color"), + D(time_raster_sink_b, set_color_map)) + + + .def("title", &time_raster_sink_b::title, D(time_raster_sink_b, title)) + + + .def("line_label", + &time_raster_sink_b::line_label, + py::arg("which"), + D(time_raster_sink_b, line_label)) + + + .def("line_color", + &time_raster_sink_b::line_color, + py::arg("which"), + D(time_raster_sink_b, line_color)) + + + .def("line_width", + &time_raster_sink_b::line_width, + py::arg("which"), + D(time_raster_sink_b, line_width)) + + + .def("line_style", + &time_raster_sink_b::line_style, + py::arg("which"), + D(time_raster_sink_b, line_style)) + + + .def("line_marker", + &time_raster_sink_b::line_marker, + py::arg("which"), + D(time_raster_sink_b, line_marker)) + + + .def("line_alpha", + &time_raster_sink_b::line_alpha, + py::arg("which"), + D(time_raster_sink_b, line_alpha)) + + + .def("color_map", + &time_raster_sink_b::color_map, + py::arg("which"), + D(time_raster_sink_b, color_map)) + + + .def("set_size", + &time_raster_sink_b::set_size, + py::arg("width"), + py::arg("height"), + D(time_raster_sink_b, set_size)) + + + .def("set_samp_rate", + &time_raster_sink_b::set_samp_rate, + py::arg("samp_rate"), + D(time_raster_sink_b, set_samp_rate)) + + + .def("set_num_rows", + &time_raster_sink_b::set_num_rows, + py::arg("rows"), + D(time_raster_sink_b, set_num_rows)) + + + .def("set_num_cols", + &time_raster_sink_b::set_num_cols, + py::arg("cols"), + D(time_raster_sink_b, set_num_cols)) + + + .def("num_rows", &time_raster_sink_b::num_rows, D(time_raster_sink_b, num_rows)) + + + .def("num_cols", &time_raster_sink_b::num_cols, D(time_raster_sink_b, num_cols)) + + + .def("set_multiplier", + &time_raster_sink_b::set_multiplier, + py::arg("mult"), + D(time_raster_sink_b, set_multiplier)) + + + .def("set_offset", + &time_raster_sink_b::set_offset, + py::arg("offset"), + D(time_raster_sink_b, set_offset)) + + + .def("set_intensity_range", + &time_raster_sink_b::set_intensity_range, + py::arg("min"), + py::arg("max"), + D(time_raster_sink_b, set_intensity_range)) + + + .def("enable_menu", + &time_raster_sink_b::enable_menu, + py::arg("en"), + D(time_raster_sink_b, enable_menu)) + + + .def("enable_grid", + &time_raster_sink_b::enable_grid, + py::arg("en"), + D(time_raster_sink_b, enable_grid)) + + + .def("enable_autoscale", + &time_raster_sink_b::enable_autoscale, + py::arg("en"), + D(time_raster_sink_b, enable_autoscale)) + + + .def("enable_axis_labels", + &time_raster_sink_b::enable_axis_labels, + py::arg("en") = true, + D(time_raster_sink_b, enable_axis_labels)) + + + .def("reset", &time_raster_sink_b::reset, D(time_raster_sink_b, reset)) + + ; +} diff --git a/gr-qtgui/python/qtgui/bindings/time_raster_sink_f_python.cc b/gr-qtgui/python/qtgui/bindings/time_raster_sink_f_python.cc new file mode 100644 index 0000000000..02b4f27aba --- /dev/null +++ b/gr-qtgui/python/qtgui/bindings/time_raster_sink_f_python.cc @@ -0,0 +1,262 @@ +/* + * Copyright 2020 Free Software Foundation, Inc. + * + * This file is part of GNU Radio + * + * SPDX-License-Identifier: GPL-3.0-or-later + * + */ + +/* This file is automatically generated using bindtool */ + +#include <pybind11/complex.h> +#include <pybind11/pybind11.h> +#include <pybind11/stl.h> + +namespace py = pybind11; + +#include <gnuradio/qtgui/utils.h> +#include <qwt_legend.h> +#include <qwt_painter.h> +#include <qwt_plot.h> +#include <qwt_plot_canvas.h> +#include <qwt_plot_curve.h> +#include <qwt_plot_magnifier.h> +#include <qwt_plot_marker.h> +#include <qwt_plot_panner.h> +#include <qwt_plot_zoomer.h> +#include <qwt_scale_engine.h> +#include <qwt_scale_widget.h> +#include <qwt_symbol.h> + +#include <gnuradio/qtgui/time_raster_sink_f.h> +// pydoc.h is automatically generated in the build directory +#include <time_raster_sink_f_pydoc.h> + +void bind_time_raster_sink_f(py::module& m) +{ + + using time_raster_sink_f = ::gr::qtgui::time_raster_sink_f; + + + py::class_<time_raster_sink_f, + gr::sync_block, + gr::block, + gr::basic_block, + std::shared_ptr<time_raster_sink_f>>( + m, "time_raster_sink_f", D(time_raster_sink_f)) + + .def(py::init(&time_raster_sink_f::make), + py::arg("samp_rate"), + py::arg("rows"), + py::arg("cols"), + py::arg("mult"), + py::arg("offset"), + py::arg("name"), + py::arg("nconnections") = 1, + py::arg("parent") = __null, + D(time_raster_sink_f, make)) + + + .def("exec_", &time_raster_sink_f::exec_, D(time_raster_sink_f, exec_)) + + + .def("qwidget", &time_raster_sink_f::qwidget, D(time_raster_sink_f, qwidget)) + + + // .def("pyqwidget",&time_raster_sink_f::pyqwidget, + // D(time_raster_sink_f,pyqwidget) + // ) + // For the sip conversion to python to work, the widget object + // needs to be explicitly converted to Long + .def( + "pyqwidget", + [](std::shared_ptr<time_raster_sink_f> p) { + return PyLong_AsLong(p->pyqwidget()); + }, + D(time_raster_sink_f, pyqwidget)) + + .def("set_update_time", + &time_raster_sink_f::set_update_time, + py::arg("t"), + D(time_raster_sink_f, set_update_time)) + + + .def("set_title", + &time_raster_sink_f::set_title, + py::arg("title"), + D(time_raster_sink_f, set_title)) + + + .def("set_line_label", + &time_raster_sink_f::set_line_label, + py::arg("which"), + py::arg("label"), + D(time_raster_sink_f, set_line_label)) + + + .def("set_line_color", + &time_raster_sink_f::set_line_color, + py::arg("which"), + py::arg("color"), + D(time_raster_sink_f, set_line_color)) + + + .def("set_line_width", + &time_raster_sink_f::set_line_width, + py::arg("which"), + py::arg("width"), + D(time_raster_sink_f, set_line_width)) + + + .def("set_line_style", + &time_raster_sink_f::set_line_style, + py::arg("which"), + py::arg("style"), + D(time_raster_sink_f, set_line_style)) + + + .def("set_line_marker", + &time_raster_sink_f::set_line_marker, + py::arg("which"), + py::arg("marker"), + D(time_raster_sink_f, set_line_marker)) + + + .def("set_line_alpha", + &time_raster_sink_f::set_line_alpha, + py::arg("which"), + py::arg("alpha"), + D(time_raster_sink_f, set_line_alpha)) + + + .def("set_color_map", + &time_raster_sink_f::set_color_map, + py::arg("which"), + py::arg("color"), + D(time_raster_sink_f, set_color_map)) + + + .def("title", &time_raster_sink_f::title, D(time_raster_sink_f, title)) + + + .def("line_label", + &time_raster_sink_f::line_label, + py::arg("which"), + D(time_raster_sink_f, line_label)) + + + .def("line_color", + &time_raster_sink_f::line_color, + py::arg("which"), + D(time_raster_sink_f, line_color)) + + + .def("line_width", + &time_raster_sink_f::line_width, + py::arg("which"), + D(time_raster_sink_f, line_width)) + + + .def("line_style", + &time_raster_sink_f::line_style, + py::arg("which"), + D(time_raster_sink_f, line_style)) + + + .def("line_marker", + &time_raster_sink_f::line_marker, + py::arg("which"), + D(time_raster_sink_f, line_marker)) + + + .def("line_alpha", + &time_raster_sink_f::line_alpha, + py::arg("which"), + D(time_raster_sink_f, line_alpha)) + + + .def("color_map", + &time_raster_sink_f::color_map, + py::arg("which"), + D(time_raster_sink_f, color_map)) + + + .def("set_size", + &time_raster_sink_f::set_size, + py::arg("width"), + py::arg("height"), + D(time_raster_sink_f, set_size)) + + + .def("set_samp_rate", + &time_raster_sink_f::set_samp_rate, + py::arg("samp_rate"), + D(time_raster_sink_f, set_samp_rate)) + + + .def("set_num_rows", + &time_raster_sink_f::set_num_rows, + py::arg("rows"), + D(time_raster_sink_f, set_num_rows)) + + + .def("set_num_cols", + &time_raster_sink_f::set_num_cols, + py::arg("cols"), + D(time_raster_sink_f, set_num_cols)) + + + .def("num_rows", &time_raster_sink_f::num_rows, D(time_raster_sink_f, num_rows)) + + + .def("num_cols", &time_raster_sink_f::num_cols, D(time_raster_sink_f, num_cols)) + + + .def("set_multiplier", + &time_raster_sink_f::set_multiplier, + py::arg("mult"), + D(time_raster_sink_f, set_multiplier)) + + + .def("set_offset", + &time_raster_sink_f::set_offset, + py::arg("offset"), + D(time_raster_sink_f, set_offset)) + + + .def("set_intensity_range", + &time_raster_sink_f::set_intensity_range, + py::arg("min"), + py::arg("max"), + D(time_raster_sink_f, set_intensity_range)) + + + .def("enable_menu", + &time_raster_sink_f::enable_menu, + py::arg("en"), + D(time_raster_sink_f, enable_menu)) + + + .def("enable_grid", + &time_raster_sink_f::enable_grid, + py::arg("en"), + D(time_raster_sink_f, enable_grid)) + + + .def("enable_autoscale", + &time_raster_sink_f::enable_autoscale, + py::arg("en"), + D(time_raster_sink_f, enable_autoscale)) + + + .def("enable_axis_labels", + &time_raster_sink_f::enable_axis_labels, + py::arg("en") = true, + D(time_raster_sink_f, enable_axis_labels)) + + + .def("reset", &time_raster_sink_f::reset, D(time_raster_sink_f, reset)) + + ; +} diff --git a/gr-qtgui/python/qtgui/bindings/time_sink_c_python.cc b/gr-qtgui/python/qtgui/bindings/time_sink_c_python.cc new file mode 100644 index 0000000000..1c1a026446 --- /dev/null +++ b/gr-qtgui/python/qtgui/bindings/time_sink_c_python.cc @@ -0,0 +1,285 @@ +/* + * Copyright 2020 Free Software Foundation, Inc. + * + * This file is part of GNU Radio + * + * SPDX-License-Identifier: GPL-3.0-or-later + * + */ + +/* This file is automatically generated using bindtool */ + +#include <pybind11/buffer_info.h> +#include <pybind11/complex.h> +#include <pybind11/embed.h> +#include <pybind11/pybind11.h> +#include <pybind11/pytypes.h> +#include <pybind11/stl.h> + +namespace py = pybind11; + +#include <gnuradio/qtgui/utils.h> +#include <qwt_legend.h> +#include <qwt_painter.h> +#include <qwt_plot.h> +#include <qwt_plot_canvas.h> +#include <qwt_plot_curve.h> +#include <qwt_plot_magnifier.h> +#include <qwt_plot_marker.h> +#include <qwt_plot_panner.h> +#include <qwt_plot_zoomer.h> +#include <qwt_scale_engine.h> +#include <qwt_scale_widget.h> +#include <qwt_symbol.h> + +#include <gnuradio/qtgui/time_sink_c.h> +// pydoc.h is automatically generated in the build directory +#include <time_sink_c_pydoc.h> + +void bind_time_sink_c(py::module& m) +{ + + using time_sink_c = ::gr::qtgui::time_sink_c; + + + py::class_<time_sink_c, + gr::sync_block, + gr::block, + gr::basic_block, + std::shared_ptr<time_sink_c>>(m, "time_sink_c", D(time_sink_c)) + + .def(py::init(&time_sink_c::make), + py::arg("size"), + py::arg("samp_rate"), + py::arg("name"), + py::arg("nconnections") = 1, + py::arg("parent") = __null, + D(time_sink_c, make)) + + + .def("exec_", &time_sink_c::exec_, D(time_sink_c, exec_)) + + + .def("qwidget", &time_sink_c::qwidget, D(time_sink_c, qwidget)) + + + // .def("pyqwidget",&time_sink_c::pyqwidget, + // D(time_sink_c,pyqwidget) + // ) + // For the sip conversion to python to work, the widget object + // needs to be explicitly converted to Long + .def( + "pyqwidget", + [](std::shared_ptr<time_sink_c> p) { return PyLong_AsLong(p->pyqwidget()); }, + D(time_sink_c, pyqwidget)) + + .def("set_y_axis", + &time_sink_c::set_y_axis, + py::arg("min"), + py::arg("max"), + D(time_sink_c, set_y_axis)) + + + .def("set_y_label", + &time_sink_c::set_y_label, + py::arg("label"), + py::arg("unit") = "", + D(time_sink_c, set_y_label)) + + + .def("set_update_time", + &time_sink_c::set_update_time, + py::arg("t"), + D(time_sink_c, set_update_time)) + + + .def("set_title", + &time_sink_c::set_title, + py::arg("title"), + D(time_sink_c, set_title)) + + + .def("set_line_label", + &time_sink_c::set_line_label, + py::arg("which"), + py::arg("label"), + D(time_sink_c, set_line_label)) + + + .def("set_line_color", + &time_sink_c::set_line_color, + py::arg("which"), + py::arg("color"), + D(time_sink_c, set_line_color)) + + + .def("set_line_width", + &time_sink_c::set_line_width, + py::arg("which"), + py::arg("width"), + D(time_sink_c, set_line_width)) + + + .def("set_line_style", + &time_sink_c::set_line_style, + py::arg("which"), + py::arg("style"), + D(time_sink_c, set_line_style)) + + + .def("set_line_marker", + &time_sink_c::set_line_marker, + py::arg("which"), + py::arg("marker"), + D(time_sink_c, set_line_marker)) + + + .def("set_nsamps", + &time_sink_c::set_nsamps, + py::arg("newsize"), + D(time_sink_c, set_nsamps)) + + + .def("set_samp_rate", + &time_sink_c::set_samp_rate, + py::arg("samp_rate"), + D(time_sink_c, set_samp_rate)) + + + .def("set_line_alpha", + &time_sink_c::set_line_alpha, + py::arg("which"), + py::arg("alpha"), + D(time_sink_c, set_line_alpha)) + + + .def("set_trigger_mode", + &time_sink_c::set_trigger_mode, + py::arg("mode"), + py::arg("slope"), + py::arg("level"), + py::arg("delay"), + py::arg("channel"), + py::arg("tag_key") = "", + D(time_sink_c, set_trigger_mode)) + + + .def("title", &time_sink_c::title, D(time_sink_c, title)) + + + .def("line_label", + &time_sink_c::line_label, + py::arg("which"), + D(time_sink_c, line_label)) + + + .def("line_color", + &time_sink_c::line_color, + py::arg("which"), + D(time_sink_c, line_color)) + + + .def("line_width", + &time_sink_c::line_width, + py::arg("which"), + D(time_sink_c, line_width)) + + + .def("line_style", + &time_sink_c::line_style, + py::arg("which"), + D(time_sink_c, line_style)) + + + .def("line_marker", + &time_sink_c::line_marker, + py::arg("which"), + D(time_sink_c, line_marker)) + + + .def("line_alpha", + &time_sink_c::line_alpha, + py::arg("which"), + D(time_sink_c, line_alpha)) + + + .def("set_size", + &time_sink_c::set_size, + py::arg("width"), + py::arg("height"), + D(time_sink_c, set_size)) + + + .def("enable_menu", + &time_sink_c::enable_menu, + py::arg("en") = true, + D(time_sink_c, enable_menu)) + + + .def("enable_grid", + &time_sink_c::enable_grid, + py::arg("en") = true, + D(time_sink_c, enable_grid)) + + + .def("enable_autoscale", + &time_sink_c::enable_autoscale, + py::arg("en") = true, + D(time_sink_c, enable_autoscale)) + + + .def("enable_stem_plot", + &time_sink_c::enable_stem_plot, + py::arg("en") = true, + D(time_sink_c, enable_stem_plot)) + + + .def("enable_semilogx", + &time_sink_c::enable_semilogx, + py::arg("en") = true, + D(time_sink_c, enable_semilogx)) + + + .def("enable_semilogy", + &time_sink_c::enable_semilogy, + py::arg("en") = true, + D(time_sink_c, enable_semilogy)) + + + .def("enable_control_panel", + &time_sink_c::enable_control_panel, + py::arg("en") = true, + D(time_sink_c, enable_control_panel)) + + + .def("enable_tags", + (void (time_sink_c::*)(unsigned int, bool)) & time_sink_c::enable_tags, + py::arg("which"), + py::arg("en"), + D(time_sink_c, enable_tags, 0)) + + + .def("enable_tags", + (void (time_sink_c::*)(bool)) & time_sink_c::enable_tags, + py::arg("en"), + D(time_sink_c, enable_tags, 1)) + + + .def("enable_axis_labels", + &time_sink_c::enable_axis_labels, + py::arg("en") = true, + D(time_sink_c, enable_axis_labels)) + + + .def("disable_legend", + &time_sink_c::disable_legend, + D(time_sink_c, disable_legend)) + + + .def("nsamps", &time_sink_c::nsamps, D(time_sink_c, nsamps)) + + + .def("reset", &time_sink_c::reset, D(time_sink_c, reset)) + + ; +} diff --git a/gr-qtgui/python/qtgui/bindings/time_sink_f_python.cc b/gr-qtgui/python/qtgui/bindings/time_sink_f_python.cc new file mode 100644 index 0000000000..799e3827bb --- /dev/null +++ b/gr-qtgui/python/qtgui/bindings/time_sink_f_python.cc @@ -0,0 +1,282 @@ +/* + * Copyright 2020 Free Software Foundation, Inc. + * + * This file is part of GNU Radio + * + * SPDX-License-Identifier: GPL-3.0-or-later + * + */ + +/* This file is automatically generated using bindtool */ + +#include <pybind11/complex.h> +#include <pybind11/pybind11.h> +#include <pybind11/stl.h> + +namespace py = pybind11; + +#include <gnuradio/qtgui/utils.h> +#include <qwt_legend.h> +#include <qwt_painter.h> +#include <qwt_plot.h> +#include <qwt_plot_canvas.h> +#include <qwt_plot_curve.h> +#include <qwt_plot_magnifier.h> +#include <qwt_plot_marker.h> +#include <qwt_plot_panner.h> +#include <qwt_plot_zoomer.h> +#include <qwt_scale_engine.h> +#include <qwt_scale_widget.h> +#include <qwt_symbol.h> + +#include <gnuradio/qtgui/time_sink_f.h> +// pydoc.h is automatically generated in the build directory +#include <time_sink_f_pydoc.h> + +void bind_time_sink_f(py::module& m) +{ + + using time_sink_f = ::gr::qtgui::time_sink_f; + + + py::class_<time_sink_f, + gr::sync_block, + gr::block, + gr::basic_block, + std::shared_ptr<time_sink_f>>(m, "time_sink_f", D(time_sink_f)) + + .def(py::init(&time_sink_f::make), + py::arg("size"), + py::arg("samp_rate"), + py::arg("name"), + py::arg("nconnections") = 1, + py::arg("parent") = __null, + D(time_sink_f, make)) + + + .def("exec_", &time_sink_f::exec_, D(time_sink_f, exec_)) + + + .def("qwidget", &time_sink_f::qwidget, D(time_sink_f, qwidget)) + + + // .def("pyqwidget",&time_sink_f::pyqwidget, + // D(time_sink_f,pyqwidget) + // ) + // For the sip conversion to python to work, the widget object + // needs to be explicitly converted to Long + .def( + "pyqwidget", + [](std::shared_ptr<time_sink_f> p) { return PyLong_AsLong(p->pyqwidget()); }, + D(time_sink_f, pyqwidget)) + + .def("set_y_axis", + &time_sink_f::set_y_axis, + py::arg("min"), + py::arg("max"), + D(time_sink_f, set_y_axis)) + + + .def("set_y_label", + &time_sink_f::set_y_label, + py::arg("label"), + py::arg("unit") = "", + D(time_sink_f, set_y_label)) + + + .def("set_update_time", + &time_sink_f::set_update_time, + py::arg("t"), + D(time_sink_f, set_update_time)) + + + .def("set_title", + &time_sink_f::set_title, + py::arg("title"), + D(time_sink_f, set_title)) + + + .def("set_line_label", + &time_sink_f::set_line_label, + py::arg("which"), + py::arg("line"), + D(time_sink_f, set_line_label)) + + + .def("set_line_color", + &time_sink_f::set_line_color, + py::arg("which"), + py::arg("color"), + D(time_sink_f, set_line_color)) + + + .def("set_line_width", + &time_sink_f::set_line_width, + py::arg("which"), + py::arg("width"), + D(time_sink_f, set_line_width)) + + + .def("set_line_style", + &time_sink_f::set_line_style, + py::arg("which"), + py::arg("style"), + D(time_sink_f, set_line_style)) + + + .def("set_line_marker", + &time_sink_f::set_line_marker, + py::arg("which"), + py::arg("marker"), + D(time_sink_f, set_line_marker)) + + + .def("set_nsamps", + &time_sink_f::set_nsamps, + py::arg("newsize"), + D(time_sink_f, set_nsamps)) + + + .def("set_samp_rate", + &time_sink_f::set_samp_rate, + py::arg("samp_rate"), + D(time_sink_f, set_samp_rate)) + + + .def("set_line_alpha", + &time_sink_f::set_line_alpha, + py::arg("which"), + py::arg("alpha"), + D(time_sink_f, set_line_alpha)) + + + .def("set_trigger_mode", + &time_sink_f::set_trigger_mode, + py::arg("mode"), + py::arg("slope"), + py::arg("level"), + py::arg("delay"), + py::arg("channel"), + py::arg("tag_key") = "", + D(time_sink_f, set_trigger_mode)) + + + .def("title", &time_sink_f::title, D(time_sink_f, title)) + + + .def("line_label", + &time_sink_f::line_label, + py::arg("which"), + D(time_sink_f, line_label)) + + + .def("line_color", + &time_sink_f::line_color, + py::arg("which"), + D(time_sink_f, line_color)) + + + .def("line_width", + &time_sink_f::line_width, + py::arg("which"), + D(time_sink_f, line_width)) + + + .def("line_style", + &time_sink_f::line_style, + py::arg("which"), + D(time_sink_f, line_style)) + + + .def("line_marker", + &time_sink_f::line_marker, + py::arg("which"), + D(time_sink_f, line_marker)) + + + .def("line_alpha", + &time_sink_f::line_alpha, + py::arg("which"), + D(time_sink_f, line_alpha)) + + + .def("set_size", + &time_sink_f::set_size, + py::arg("width"), + py::arg("height"), + D(time_sink_f, set_size)) + + + .def("enable_menu", + &time_sink_f::enable_menu, + py::arg("en") = true, + D(time_sink_f, enable_menu)) + + + .def("enable_grid", + &time_sink_f::enable_grid, + py::arg("en") = true, + D(time_sink_f, enable_grid)) + + + .def("enable_autoscale", + &time_sink_f::enable_autoscale, + py::arg("en") = true, + D(time_sink_f, enable_autoscale)) + + + .def("enable_stem_plot", + &time_sink_f::enable_stem_plot, + py::arg("en") = true, + D(time_sink_f, enable_stem_plot)) + + + .def("enable_semilogx", + &time_sink_f::enable_semilogx, + py::arg("en") = true, + D(time_sink_f, enable_semilogx)) + + + .def("enable_semilogy", + &time_sink_f::enable_semilogy, + py::arg("en") = true, + D(time_sink_f, enable_semilogy)) + + + .def("enable_control_panel", + &time_sink_f::enable_control_panel, + py::arg("en") = true, + D(time_sink_f, enable_control_panel)) + + + .def("enable_tags", + (void (time_sink_f::*)(unsigned int, bool)) & time_sink_f::enable_tags, + py::arg("which"), + py::arg("en"), + D(time_sink_f, enable_tags, 0)) + + + .def("enable_tags", + (void (time_sink_f::*)(bool)) & time_sink_f::enable_tags, + py::arg("en"), + D(time_sink_f, enable_tags, 1)) + + + .def("enable_axis_labels", + &time_sink_f::enable_axis_labels, + py::arg("en") = true, + D(time_sink_f, enable_axis_labels)) + + + .def("disable_legend", + &time_sink_f::disable_legend, + D(time_sink_f, disable_legend)) + + + .def("nsamps", &time_sink_f::nsamps, D(time_sink_f, nsamps)) + + + .def("reset", &time_sink_f::reset, D(time_sink_f, reset)) + + ; +} diff --git a/gr-qtgui/python/qtgui/bindings/timecontrolpanel_python.cc b/gr-qtgui/python/qtgui/bindings/timecontrolpanel_python.cc new file mode 100644 index 0000000000..d28f979d31 --- /dev/null +++ b/gr-qtgui/python/qtgui/bindings/timecontrolpanel_python.cc @@ -0,0 +1,22 @@ +/* + * Copyright 2020 Free Software Foundation, Inc. + * + * This file is part of GNU Radio + * + * SPDX-License-Identifier: GPL-3.0-or-later + * + */ + +/* This file is automatically generated using bindtool */ + +#include <pybind11/complex.h> +#include <pybind11/pybind11.h> +#include <pybind11/stl.h> + +namespace py = pybind11; + +#include <gnuradio/qtgui/timecontrolpanel.h> +// pydoc.h is automatically generated in the build directory +#include <timecontrolpanel_pydoc.h> + +void bind_timecontrolpanel(py::module& m) {} diff --git a/gr-qtgui/python/qtgui/bindings/timedisplayform_python.cc b/gr-qtgui/python/qtgui/bindings/timedisplayform_python.cc new file mode 100644 index 0000000000..a7be1f95a0 --- /dev/null +++ b/gr-qtgui/python/qtgui/bindings/timedisplayform_python.cc @@ -0,0 +1,22 @@ +/* + * Copyright 2020 Free Software Foundation, Inc. + * + * This file is part of GNU Radio + * + * SPDX-License-Identifier: GPL-3.0-or-later + * + */ + +/* This file is automatically generated using bindtool */ + +#include <pybind11/complex.h> +#include <pybind11/pybind11.h> +#include <pybind11/stl.h> + +namespace py = pybind11; + +#include <gnuradio/qtgui/timedisplayform.h> +// pydoc.h is automatically generated in the build directory +#include <timedisplayform_pydoc.h> + +void bind_timedisplayform(py::module& m) {} diff --git a/gr-qtgui/python/qtgui/bindings/timerasterdisplayform_python.cc b/gr-qtgui/python/qtgui/bindings/timerasterdisplayform_python.cc new file mode 100644 index 0000000000..c653a7121d --- /dev/null +++ b/gr-qtgui/python/qtgui/bindings/timerasterdisplayform_python.cc @@ -0,0 +1,22 @@ +/* + * Copyright 2020 Free Software Foundation, Inc. + * + * This file is part of GNU Radio + * + * SPDX-License-Identifier: GPL-3.0-or-later + * + */ + +/* This file is automatically generated using bindtool */ + +#include <pybind11/complex.h> +#include <pybind11/pybind11.h> +#include <pybind11/stl.h> + +namespace py = pybind11; + +#include <gnuradio/qtgui/timerasterdisplayform.h> +// pydoc.h is automatically generated in the build directory +#include <timerasterdisplayform_pydoc.h> + +void bind_timerasterdisplayform(py::module& m) {} diff --git a/gr-qtgui/python/qtgui/bindings/trigger_mode_python.cc b/gr-qtgui/python/qtgui/bindings/trigger_mode_python.cc new file mode 100644 index 0000000000..e53446bf13 --- /dev/null +++ b/gr-qtgui/python/qtgui/bindings/trigger_mode_python.cc @@ -0,0 +1,36 @@ +/* + * Copyright 2020 Free Software Foundation, Inc. + * + * This file is part of GNU Radio + * + * SPDX-License-Identifier: GPL-3.0-or-later + * + */ + +/* This file is automatically generated using bindtool */ + +#include <pybind11/complex.h> +#include <pybind11/pybind11.h> +#include <pybind11/stl.h> + +namespace py = pybind11; + +#include <gnuradio/qtgui/trigger_mode.h> +// pydoc.h is automatically generated in the build directory +#include <trigger_mode_pydoc.h> + +void bind_trigger_mode(py::module& m) +{ + + + py::enum_<::gr::qtgui::trigger_mode>(m, "trigger_mode") + .value("TRIG_MODE_FREE", ::gr::qtgui::TRIG_MODE_FREE) // 0 + .value("TRIG_MODE_AUTO", ::gr::qtgui::TRIG_MODE_AUTO) // 1 + .value("TRIG_MODE_NORM", ::gr::qtgui::TRIG_MODE_NORM) // 2 + .value("TRIG_MODE_TAG", ::gr::qtgui::TRIG_MODE_TAG) // 3 + .export_values(); + py::enum_<::gr::qtgui::trigger_slope>(m, "trigger_slope") + .value("TRIG_SLOPE_POS", ::gr::qtgui::TRIG_SLOPE_POS) // 0 + .value("TRIG_SLOPE_NEG", ::gr::qtgui::TRIG_SLOPE_NEG) // 1 + .export_values(); +} diff --git a/gr-qtgui/python/qtgui/bindings/vector_sink_f_python.cc b/gr-qtgui/python/qtgui/bindings/vector_sink_f_python.cc new file mode 100644 index 0000000000..4e815209fc --- /dev/null +++ b/gr-qtgui/python/qtgui/bindings/vector_sink_f_python.cc @@ -0,0 +1,266 @@ +/* + * Copyright 2020 Free Software Foundation, Inc. + * + * This file is part of GNU Radio + * + * SPDX-License-Identifier: GPL-3.0-or-later + * + */ + +/* This file is automatically generated using bindtool */ + +#include <pybind11/complex.h> +#include <pybind11/pybind11.h> +#include <pybind11/stl.h> + +namespace py = pybind11; + +#include <gnuradio/qtgui/utils.h> +#include <qwt_legend.h> +#include <qwt_painter.h> +#include <qwt_plot.h> +#include <qwt_plot_canvas.h> +#include <qwt_plot_curve.h> +#include <qwt_plot_magnifier.h> +#include <qwt_plot_marker.h> +#include <qwt_plot_panner.h> +#include <qwt_plot_zoomer.h> +#include <qwt_scale_engine.h> +#include <qwt_scale_widget.h> +#include <qwt_symbol.h> + +#include <gnuradio/qtgui/vector_sink_f.h> +// pydoc.h is automatically generated in the build directory +#include <vector_sink_f_pydoc.h> + +void bind_vector_sink_f(py::module& m) +{ + + using vector_sink_f = ::gr::qtgui::vector_sink_f; + + + py::class_<vector_sink_f, + gr::sync_block, + gr::block, + gr::basic_block, + std::shared_ptr<vector_sink_f>>(m, "vector_sink_f", D(vector_sink_f)) + + .def(py::init(&vector_sink_f::make), + py::arg("vlen"), + py::arg("x_start"), + py::arg("x_step"), + py::arg("x_axis_label"), + py::arg("y_axis_label"), + py::arg("name"), + py::arg("nconnections") = 1, + py::arg("parent") = __null, + D(vector_sink_f, make)) + + + .def("exec_", &vector_sink_f::exec_, D(vector_sink_f, exec_)) + + + .def("qwidget", &vector_sink_f::qwidget, D(vector_sink_f, qwidget)) + + + // .def("pyqwidget",&time_sink_c::pyqwidget, + // D(vector_sink_f,pyqwidget) + // ) + // For the sip conversion to python to work, the widget object + // needs to be explicitly converted to Long + .def( + "pyqwidget", + [](std::shared_ptr<vector_sink_f> p) { + return PyLong_AsLong(p->pyqwidget()); + }, + D(vector_sink_f, pyqwidget)) + + + .def("vlen", &vector_sink_f::vlen, D(vector_sink_f, vlen)) + + + .def("set_vec_average", + &vector_sink_f::set_vec_average, + py::arg("avg"), + D(vector_sink_f, set_vec_average)) + + + .def("vec_average", &vector_sink_f::vec_average, D(vector_sink_f, vec_average)) + + + .def("set_x_axis", + &vector_sink_f::set_x_axis, + py::arg("start"), + py::arg("step"), + D(vector_sink_f, set_x_axis)) + + + .def("set_y_axis", + &vector_sink_f::set_y_axis, + py::arg("min"), + py::arg("max"), + D(vector_sink_f, set_y_axis)) + + + .def("set_ref_level", + &vector_sink_f::set_ref_level, + py::arg("ref_level"), + D(vector_sink_f, set_ref_level)) + + + .def("set_x_axis_label", + &vector_sink_f::set_x_axis_label, + py::arg("label"), + D(vector_sink_f, set_x_axis_label)) + + + .def("set_y_axis_label", + &vector_sink_f::set_y_axis_label, + py::arg("label"), + D(vector_sink_f, set_y_axis_label)) + + + .def("set_x_axis_units", + &vector_sink_f::set_x_axis_units, + py::arg("units"), + D(vector_sink_f, set_x_axis_units)) + + + .def("set_y_axis_units", + &vector_sink_f::set_y_axis_units, + py::arg("units"), + D(vector_sink_f, set_y_axis_units)) + + + .def("set_update_time", + &vector_sink_f::set_update_time, + py::arg("t"), + D(vector_sink_f, set_update_time)) + + + .def("set_title", + &vector_sink_f::set_title, + py::arg("title"), + D(vector_sink_f, set_title)) + + + .def("set_line_label", + &vector_sink_f::set_line_label, + py::arg("which"), + py::arg("label"), + D(vector_sink_f, set_line_label)) + + + .def("set_line_color", + &vector_sink_f::set_line_color, + py::arg("which"), + py::arg("color"), + D(vector_sink_f, set_line_color)) + + + .def("set_line_width", + &vector_sink_f::set_line_width, + py::arg("which"), + py::arg("width"), + D(vector_sink_f, set_line_width)) + + + .def("set_line_style", + &vector_sink_f::set_line_style, + py::arg("which"), + py::arg("style"), + D(vector_sink_f, set_line_style)) + + + .def("set_line_marker", + &vector_sink_f::set_line_marker, + py::arg("which"), + py::arg("marker"), + D(vector_sink_f, set_line_marker)) + + + .def("set_line_alpha", + &vector_sink_f::set_line_alpha, + py::arg("which"), + py::arg("alpha"), + D(vector_sink_f, set_line_alpha)) + + + .def("title", &vector_sink_f::title, D(vector_sink_f, title)) + + + .def("line_label", + &vector_sink_f::line_label, + py::arg("which"), + D(vector_sink_f, line_label)) + + + .def("line_color", + &vector_sink_f::line_color, + py::arg("which"), + D(vector_sink_f, line_color)) + + + .def("line_width", + &vector_sink_f::line_width, + py::arg("which"), + D(vector_sink_f, line_width)) + + + .def("line_style", + &vector_sink_f::line_style, + py::arg("which"), + D(vector_sink_f, line_style)) + + + .def("line_marker", + &vector_sink_f::line_marker, + py::arg("which"), + D(vector_sink_f, line_marker)) + + + .def("line_alpha", + &vector_sink_f::line_alpha, + py::arg("which"), + D(vector_sink_f, line_alpha)) + + + .def("set_size", + &vector_sink_f::set_size, + py::arg("width"), + py::arg("height"), + D(vector_sink_f, set_size)) + + + .def("enable_menu", + &vector_sink_f::enable_menu, + py::arg("en") = true, + D(vector_sink_f, enable_menu)) + + + .def("enable_grid", + &vector_sink_f::enable_grid, + py::arg("en") = true, + D(vector_sink_f, enable_grid)) + + + .def("enable_autoscale", + &vector_sink_f::enable_autoscale, + py::arg("en") = true, + D(vector_sink_f, enable_autoscale)) + + + .def("clear_max_hold", + &vector_sink_f::clear_max_hold, + D(vector_sink_f, clear_max_hold)) + + + .def("clear_min_hold", + &vector_sink_f::clear_min_hold, + D(vector_sink_f, clear_min_hold)) + + + .def("reset", &vector_sink_f::reset, D(vector_sink_f, reset)) + + ; +} diff --git a/gr-qtgui/python/qtgui/bindings/vectordisplayform_python.cc b/gr-qtgui/python/qtgui/bindings/vectordisplayform_python.cc new file mode 100644 index 0000000000..1d7eb56893 --- /dev/null +++ b/gr-qtgui/python/qtgui/bindings/vectordisplayform_python.cc @@ -0,0 +1,22 @@ +/* + * Copyright 2020 Free Software Foundation, Inc. + * + * This file is part of GNU Radio + * + * SPDX-License-Identifier: GPL-3.0-or-later + * + */ + +/* This file is automatically generated using bindtool */ + +#include <pybind11/complex.h> +#include <pybind11/pybind11.h> +#include <pybind11/stl.h> + +namespace py = pybind11; + +#include <gnuradio/qtgui/vectordisplayform.h> +// pydoc.h is automatically generated in the build directory +#include <vectordisplayform_pydoc.h> + +void bind_vectordisplayform(py::module& m) {} diff --git a/gr-qtgui/python/qtgui/bindings/waterfall_sink_c_python.cc b/gr-qtgui/python/qtgui/bindings/waterfall_sink_c_python.cc new file mode 100644 index 0000000000..2bca9829a5 --- /dev/null +++ b/gr-qtgui/python/qtgui/bindings/waterfall_sink_c_python.cc @@ -0,0 +1,236 @@ +/* + * Copyright 2020 Free Software Foundation, Inc. + * + * This file is part of GNU Radio + * + * SPDX-License-Identifier: GPL-3.0-or-later + * + */ + +/* This file is automatically generated using bindtool */ + +#include <pybind11/complex.h> +#include <pybind11/pybind11.h> +#include <pybind11/stl.h> + +namespace py = pybind11; + +#include <gnuradio/qtgui/utils.h> +#include <qwt_legend.h> +#include <qwt_painter.h> +#include <qwt_plot.h> +#include <qwt_plot_canvas.h> +#include <qwt_plot_curve.h> +#include <qwt_plot_magnifier.h> +#include <qwt_plot_marker.h> +#include <qwt_plot_panner.h> +#include <qwt_plot_zoomer.h> +#include <qwt_scale_engine.h> +#include <qwt_scale_widget.h> +#include <qwt_symbol.h> + +#include <gnuradio/qtgui/waterfall_sink_c.h> +// pydoc.h is automatically generated in the build directory +#include <waterfall_sink_c_pydoc.h> + +void bind_waterfall_sink_c(py::module& m) +{ + + using waterfall_sink_c = ::gr::qtgui::waterfall_sink_c; + + + py::class_<waterfall_sink_c, + gr::sync_block, + gr::block, + gr::basic_block, + std::shared_ptr<waterfall_sink_c>>( + m, "waterfall_sink_c", D(waterfall_sink_c)) + + .def(py::init(&waterfall_sink_c::make), + py::arg("fftsize"), + py::arg("wintype"), + py::arg("fc"), + py::arg("bw"), + py::arg("name"), + py::arg("nconnections") = 1, + py::arg("parent") = __null, + D(waterfall_sink_c, make)) + + + .def("exec_", &waterfall_sink_c::exec_, D(waterfall_sink_c, exec_)) + + + .def("qwidget", &waterfall_sink_c::qwidget, D(waterfall_sink_c, qwidget)) + + + // .def("pyqwidget",&waterfall_sink_c::pyqwidget, + // D(waterfall_sink_c,pyqwidget) + // ) + // For the sip conversion to python to work, the widget object + // needs to be explicitly converted to Long + .def( + "pyqwidget", + [](std::shared_ptr<waterfall_sink_c> p) { + return PyLong_AsLong(p->pyqwidget()); + }, + D(waterfall_sink_c, pyqwidget)) + + + .def("clear_data", &waterfall_sink_c::clear_data, D(waterfall_sink_c, clear_data)) + + + .def("set_fft_size", + &waterfall_sink_c::set_fft_size, + py::arg("fftsize"), + D(waterfall_sink_c, set_fft_size)) + + + .def("fft_size", &waterfall_sink_c::fft_size, D(waterfall_sink_c, fft_size)) + + + .def("set_time_per_fft", + &waterfall_sink_c::set_time_per_fft, + py::arg("t"), + D(waterfall_sink_c, set_time_per_fft)) + + + .def("set_fft_average", + &waterfall_sink_c::set_fft_average, + py::arg("fftavg"), + D(waterfall_sink_c, set_fft_average)) + + + .def("fft_average", + &waterfall_sink_c::fft_average, + D(waterfall_sink_c, fft_average)) + + + .def("set_fft_window", + &waterfall_sink_c::set_fft_window, + py::arg("win"), + D(waterfall_sink_c, set_fft_window)) + + + .def("fft_window", &waterfall_sink_c::fft_window, D(waterfall_sink_c, fft_window)) + + + .def("set_frequency_range", + &waterfall_sink_c::set_frequency_range, + py::arg("centerfreq"), + py::arg("bandwidth"), + D(waterfall_sink_c, set_frequency_range)) + + + .def("set_intensity_range", + &waterfall_sink_c::set_intensity_range, + py::arg("min"), + py::arg("max"), + D(waterfall_sink_c, set_intensity_range)) + + + .def("set_update_time", + &waterfall_sink_c::set_update_time, + py::arg("t"), + D(waterfall_sink_c, set_update_time)) + + + .def("set_title", + &waterfall_sink_c::set_title, + py::arg("title"), + D(waterfall_sink_c, set_title)) + + + .def("set_time_title", + &waterfall_sink_c::set_time_title, + py::arg("title"), + D(waterfall_sink_c, set_time_title)) + + + .def("set_line_label", + &waterfall_sink_c::set_line_label, + py::arg("which"), + py::arg("line"), + D(waterfall_sink_c, set_line_label)) + + + .def("set_line_alpha", + &waterfall_sink_c::set_line_alpha, + py::arg("which"), + py::arg("alpha"), + D(waterfall_sink_c, set_line_alpha)) + + + .def("set_color_map", + &waterfall_sink_c::set_color_map, + py::arg("which"), + py::arg("color"), + D(waterfall_sink_c, set_color_map)) + + + .def("title", &waterfall_sink_c::title, D(waterfall_sink_c, title)) + + + .def("line_label", + &waterfall_sink_c::line_label, + py::arg("which"), + D(waterfall_sink_c, line_label)) + + + .def("line_alpha", + &waterfall_sink_c::line_alpha, + py::arg("which"), + D(waterfall_sink_c, line_alpha)) + + + .def("color_map", + &waterfall_sink_c::color_map, + py::arg("which"), + D(waterfall_sink_c, color_map)) + + + .def("set_size", + &waterfall_sink_c::set_size, + py::arg("width"), + py::arg("height"), + D(waterfall_sink_c, set_size)) + + + .def("auto_scale", &waterfall_sink_c::auto_scale, D(waterfall_sink_c, auto_scale)) + + + .def("min_intensity", + &waterfall_sink_c::min_intensity, + py::arg("which"), + D(waterfall_sink_c, min_intensity)) + + + .def("max_intensity", + &waterfall_sink_c::max_intensity, + py::arg("which"), + D(waterfall_sink_c, max_intensity)) + + + .def("enable_menu", + &waterfall_sink_c::enable_menu, + py::arg("en") = true, + D(waterfall_sink_c, enable_menu)) + + + .def("enable_grid", + &waterfall_sink_c::enable_grid, + py::arg("en") = true, + D(waterfall_sink_c, enable_grid)) + + + .def("disable_legend", + &waterfall_sink_c::disable_legend, + D(waterfall_sink_c, disable_legend)) + + + .def("enable_axis_labels", + &waterfall_sink_c::enable_axis_labels, + py::arg("en") = true, + D(waterfall_sink_c, enable_axis_labels)) + + ; +} diff --git a/gr-qtgui/python/qtgui/bindings/waterfall_sink_f_python.cc b/gr-qtgui/python/qtgui/bindings/waterfall_sink_f_python.cc new file mode 100644 index 0000000000..5a5da8caae --- /dev/null +++ b/gr-qtgui/python/qtgui/bindings/waterfall_sink_f_python.cc @@ -0,0 +1,241 @@ +/* + * Copyright 2020 Free Software Foundation, Inc. + * + * This file is part of GNU Radio + * + * SPDX-License-Identifier: GPL-3.0-or-later + * + */ + +/* This file is automatically generated using bindtool */ + +#include <pybind11/complex.h> +#include <pybind11/pybind11.h> +#include <pybind11/stl.h> + +namespace py = pybind11; + +#include <gnuradio/qtgui/utils.h> +#include <qwt_legend.h> +#include <qwt_painter.h> +#include <qwt_plot.h> +#include <qwt_plot_canvas.h> +#include <qwt_plot_curve.h> +#include <qwt_plot_magnifier.h> +#include <qwt_plot_marker.h> +#include <qwt_plot_panner.h> +#include <qwt_plot_zoomer.h> +#include <qwt_scale_engine.h> +#include <qwt_scale_widget.h> +#include <qwt_symbol.h> + +#include <gnuradio/qtgui/waterfall_sink_f.h> +// pydoc.h is automatically generated in the build directory +#include <waterfall_sink_f_pydoc.h> + +void bind_waterfall_sink_f(py::module& m) +{ + + using waterfall_sink_f = ::gr::qtgui::waterfall_sink_f; + + + py::class_<waterfall_sink_f, + gr::sync_block, + gr::block, + gr::basic_block, + std::shared_ptr<waterfall_sink_f>>( + m, "waterfall_sink_f", D(waterfall_sink_f)) + + .def(py::init(&waterfall_sink_f::make), + py::arg("size"), + py::arg("wintype"), + py::arg("fc"), + py::arg("bw"), + py::arg("name"), + py::arg("nconnections") = 1, + py::arg("parent") = __null, + D(waterfall_sink_f, make)) + + + .def("exec_", &waterfall_sink_f::exec_, D(waterfall_sink_f, exec_)) + + + .def("qwidget", &waterfall_sink_f::qwidget, D(waterfall_sink_f, qwidget)) + + + // .def("pyqwidget",&waterfall_sink_f::pyqwidget, + // D(waterfall_sink_f,pyqwidget) + // ) + // For the sip conversion to python to work, the widget object + // needs to be explicitly converted to Long + .def( + "pyqwidget", + [](std::shared_ptr<waterfall_sink_f> p) { + return PyLong_AsLong(p->pyqwidget()); + }, + D(waterfall_sink_f, pyqwidget)) + + .def("clear_data", &waterfall_sink_f::clear_data, D(waterfall_sink_f, clear_data)) + + + .def("set_fft_size", + &waterfall_sink_f::set_fft_size, + py::arg("fftsize"), + D(waterfall_sink_f, set_fft_size)) + + + .def("fft_size", &waterfall_sink_f::fft_size, D(waterfall_sink_f, fft_size)) + + + .def("set_time_per_fft", + &waterfall_sink_f::set_time_per_fft, + py::arg("t"), + D(waterfall_sink_f, set_time_per_fft)) + + + .def("set_fft_average", + &waterfall_sink_f::set_fft_average, + py::arg("fftavg"), + D(waterfall_sink_f, set_fft_average)) + + + .def("fft_average", + &waterfall_sink_f::fft_average, + D(waterfall_sink_f, fft_average)) + + + .def("set_fft_window", + &waterfall_sink_f::set_fft_window, + py::arg("win"), + D(waterfall_sink_f, set_fft_window)) + + + .def("fft_window", &waterfall_sink_f::fft_window, D(waterfall_sink_f, fft_window)) + + + .def("set_frequency_range", + &waterfall_sink_f::set_frequency_range, + py::arg("centerfreq"), + py::arg("bandwidth"), + D(waterfall_sink_f, set_frequency_range)) + + + .def("set_intensity_range", + &waterfall_sink_f::set_intensity_range, + py::arg("min"), + py::arg("max"), + D(waterfall_sink_f, set_intensity_range)) + + + .def("set_update_time", + &waterfall_sink_f::set_update_time, + py::arg("t"), + D(waterfall_sink_f, set_update_time)) + + + .def("set_title", + &waterfall_sink_f::set_title, + py::arg("title"), + D(waterfall_sink_f, set_title)) + + + .def("set_time_title", + &waterfall_sink_f::set_time_title, + py::arg("title"), + D(waterfall_sink_f, set_time_title)) + + + .def("set_line_label", + &waterfall_sink_f::set_line_label, + py::arg("which"), + py::arg("line"), + D(waterfall_sink_f, set_line_label)) + + + .def("set_line_alpha", + &waterfall_sink_f::set_line_alpha, + py::arg("which"), + py::arg("alpha"), + D(waterfall_sink_f, set_line_alpha)) + + + .def("set_color_map", + &waterfall_sink_f::set_color_map, + py::arg("which"), + py::arg("color"), + D(waterfall_sink_f, set_color_map)) + + + .def("set_plot_pos_half", + &waterfall_sink_f::set_plot_pos_half, + py::arg("half"), + D(waterfall_sink_f, set_plot_pos_half)) + + + .def("title", &waterfall_sink_f::title, D(waterfall_sink_f, title)) + + + .def("line_label", + &waterfall_sink_f::line_label, + py::arg("which"), + D(waterfall_sink_f, line_label)) + + + .def("line_alpha", + &waterfall_sink_f::line_alpha, + py::arg("which"), + D(waterfall_sink_f, line_alpha)) + + + .def("color_map", + &waterfall_sink_f::color_map, + py::arg("which"), + D(waterfall_sink_f, color_map)) + + + .def("set_size", + &waterfall_sink_f::set_size, + py::arg("width"), + py::arg("height"), + D(waterfall_sink_f, set_size)) + + + .def("auto_scale", &waterfall_sink_f::auto_scale, D(waterfall_sink_f, auto_scale)) + + + .def("min_intensity", + &waterfall_sink_f::min_intensity, + py::arg("which"), + D(waterfall_sink_f, min_intensity)) + + + .def("max_intensity", + &waterfall_sink_f::max_intensity, + py::arg("which"), + D(waterfall_sink_f, max_intensity)) + + + .def("enable_menu", + &waterfall_sink_f::enable_menu, + py::arg("en") = true, + D(waterfall_sink_f, enable_menu)) + + + .def("enable_grid", + &waterfall_sink_f::enable_grid, + py::arg("en") = true, + D(waterfall_sink_f, enable_grid)) + + + .def("disable_legend", + &waterfall_sink_f::disable_legend, + D(waterfall_sink_f, disable_legend)) + + + .def("enable_axis_labels", + &waterfall_sink_f::enable_axis_labels, + py::arg("en") = true, + D(waterfall_sink_f, enable_axis_labels)) + + ; +} diff --git a/gr-qtgui/python/qtgui/bindings/waterfalldisplayform_python.cc b/gr-qtgui/python/qtgui/bindings/waterfalldisplayform_python.cc new file mode 100644 index 0000000000..6eed4e3871 --- /dev/null +++ b/gr-qtgui/python/qtgui/bindings/waterfalldisplayform_python.cc @@ -0,0 +1,22 @@ +/* + * Copyright 2020 Free Software Foundation, Inc. + * + * This file is part of GNU Radio + * + * SPDX-License-Identifier: GPL-3.0-or-later + * + */ + +/* This file is automatically generated using bindtool */ + +#include <pybind11/complex.h> +#include <pybind11/pybind11.h> +#include <pybind11/stl.h> + +namespace py = pybind11; + +#include <gnuradio/qtgui/waterfalldisplayform.h> +// pydoc.h is automatically generated in the build directory +#include <waterfalldisplayform_pydoc.h> + +void bind_waterfalldisplayform(py::module& m) {} diff --git a/gr-qtgui/python/qtgui/qa_qtgui.py b/gr-qtgui/python/qtgui/qa_qtgui.py index 276077ee69..bed7272387 100644 --- a/gr-qtgui/python/qtgui/qa_qtgui.py +++ b/gr-qtgui/python/qtgui/qa_qtgui.py @@ -25,55 +25,57 @@ class test_qtgui(gr_unittest.TestCase): # constant. def test01(self): self.qtsnk = qtgui.sink_c(1024, 5, - 0, 1, "Test", - True, True, True, True) + 0.0, 1.0, "Test", + True, True, True, True, + None) def test02(self): self.qtsnk = qtgui.sink_f(1024, 5, 0, 1, "Test", - True, True, True, True) + True, True, True, True, + None) def test03(self): - self.qtsnk = qtgui.time_sink_c(1024, 1, "Test", 1) + self.qtsnk = qtgui.time_sink_c(1024, 1, "Test", 1, None) def test04(self): - self.qtsnk = qtgui.time_sink_f(1024, 1, "Test", 1) + self.qtsnk = qtgui.time_sink_f(1024, 1, "Test", 1, None) def test05(self): self.qtsnk = qtgui.freq_sink_c(1024, 5, - 0, 1, "Test", 1) + 0, 1, "Test", 1, None) def test06(self): self.qtsnk = qtgui.freq_sink_f(1024, 5, - 0, 1, "Test", 1) + 0, 1, "Test", 1, None) def test07(self): self.qtsnk = qtgui.waterfall_sink_c(1024, 5, - 0, 1, "Test") + 0, 1, "Test", 1, None) def test08(self): self.qtsnk = qtgui.waterfall_sink_f(1024, 5, - 0, 1, "Test") + 0, 1, "Test", 1, None) def test09(self): - self.qtsnk = qtgui.const_sink_c(1024, "Test", 1) + self.qtsnk = qtgui.const_sink_c(1024, "Test", 1, None) def test10(self): self.qtsnk = qtgui.time_raster_sink_b(1024, 100, 100.5, - [], [], "Test", 1) + [], [], "Test", 1, None) def test11(self): self.qtsnk = qtgui.time_raster_sink_f(1024, 100, 100.5, - [], [], "Test", 1) + [], [], "Test", 1, None) def test12(self): - self.qtsnk = qtgui.histogram_sink_f(1024, 100, -1, 1, "Test", 1) + self.qtsnk = qtgui.histogram_sink_f(1024, 100, -1, 1, "Test", 1, None) def test13(self): - self.qtsnk = qtgui.eye_sink_c(1024, 1, "Test", 1) + self.qtsnk = qtgui.eye_sink_c(1024, 1, "Test", 1, None) def test13(self): - self.qtsnk = qtgui.eye_sink_c(1024, 1, "Test", 1) + self.qtsnk = qtgui.eye_sink_c(1024, 1, "Test", 1, None) if __name__ == '__main__': gr_unittest.run(test_qtgui, "test_qtgui.xml") diff --git a/gr-qtgui/swig/CMakeLists.txt b/gr-qtgui/swig/CMakeLists.txt deleted file mode 100644 index be9818f470..0000000000 --- a/gr-qtgui/swig/CMakeLists.txt +++ /dev/null @@ -1,37 +0,0 @@ -# Copyright 2010-2012,2019 Free Software Foundation, Inc. -# -# This file is part of GNU Radio -# -# SPDX-License-Identifier: GPL-3.0-or-later -# - -######################################################################## -# Setup swig generation -######################################################################## -include(GrPython) -include(GrSwig) - -add_definitions(-DENABLE_PYTHON) -list(APPEND GR_SWIG_FLAGS "-DENABLE_PYTHON") - -set(GR_SWIG_INCLUDE_DIRS $<TARGET_PROPERTY:runtime_swig,INCLUDE_DIRECTORIES>) -set(GR_SWIG_TARGET_DEPS runtime_swig) - -set(GR_SWIG_DOC_FILE ${CMAKE_CURRENT_BINARY_DIR}/qtgui_swig_doc.i) -set(GR_SWIG_DOC_DIRS ${CMAKE_CURRENT_SOURCE_DIR}/../include/gnuradio/qtgui) -set(GR_SWIG_DOCS_TARGET_DEPS runtime_swig_swig_doc) - -set(GR_SWIG_LIBRARIES gnuradio-qtgui) - -GR_SWIG_MAKE(qtgui_swig qtgui_swig.i) - -GR_SWIG_INSTALL( - TARGETS qtgui_swig - DESTINATION ${GR_PYTHON_DIR}/gnuradio/qtgui -) - -install(FILES - qtgui_swig.i - ${CMAKE_CURRENT_BINARY_DIR}/qtgui_swig_doc.i - DESTINATION ${GR_INCLUDE_DIR}/gnuradio/swig -) diff --git a/gr-qtgui/swig/qtgui_swig.i b/gr-qtgui/swig/qtgui_swig.i deleted file mode 100644 index 37136e309d..0000000000 --- a/gr-qtgui/swig/qtgui_swig.i +++ /dev/null @@ -1,120 +0,0 @@ -/* -*- c++ -*- */ -/* - * Copyright 2008,2009,2011,2012 Free Software Foundation, Inc. - * - * This file is part of GNU Radio - * - * SPDX-License-Identifier: GPL-3.0-or-later - * - */ - -#define QTGUI_API -#define FILTER_API - -%include "gnuradio.i" - -//load generated python docstrings -%include "qtgui_swig_doc.i" - -namespace gr { - namespace qtgui { - - enum graph_t { - NUM_GRAPH_NONE = 0, - NUM_GRAPH_HORIZ, - NUM_GRAPH_VERT, - }; - - enum data_type_t { - INT = 0, - FLOAT, - DOUBLE, - COMPLEX, - STRING, - INT_VEC, - FLOAT_VEC, - DOUBLE_VEC, - COMPLEX_VEC, - }; - - } /* namespace qtgui */ -} /* namespace gr */ - - -enum{ - INTENSITY_COLOR_MAP_TYPE_MULTI_COLOR = 0, - INTENSITY_COLOR_MAP_TYPE_WHITE_HOT = 1, - INTENSITY_COLOR_MAP_TYPE_BLACK_HOT = 2, - INTENSITY_COLOR_MAP_TYPE_INCANDESCENT = 3, - INTENSITY_COLOR_MAP_TYPE_USER_DEFINED = 4, - INTENSITY_COLOR_MAP_TYPE_SUNSET = 5, - INTENSITY_COLOR_MAP_TYPE_COOL = 6, -}; - -%include "gnuradio/qtgui/trigger_mode.h" - -// So we understand the firdes window types -%import "gnuradio/filter/firdes.h" - -%{ -#include "gnuradio/qtgui/form_menus.h" -#include "gnuradio/qtgui/DisplayPlot.h" -#include "gnuradio/qtgui/displayform.h" -#include "gnuradio/qtgui/eyedisplaysform.h" -#include "gnuradio/qtgui/sink_c.h" -#include "gnuradio/qtgui/sink_f.h" -#include "gnuradio/qtgui/eye_sink_c.h" -#include "gnuradio/qtgui/eye_sink_f.h" -#include "gnuradio/qtgui/time_sink_c.h" -#include "gnuradio/qtgui/time_sink_f.h" -#include "gnuradio/qtgui/time_raster_sink_b.h" -#include "gnuradio/qtgui/time_raster_sink_f.h" -#include "gnuradio/qtgui/freq_sink_c.h" -#include "gnuradio/qtgui/freq_sink_f.h" -#include "gnuradio/qtgui/const_sink_c.h" -#include "gnuradio/qtgui/waterfall_sink_c.h" -#include "gnuradio/qtgui/waterfall_sink_f.h" -#include "gnuradio/qtgui/histogram_sink_f.h" -#include "gnuradio/qtgui/number_sink.h" -#include "gnuradio/qtgui/ber_sink_b.h" -#include "gnuradio/qtgui/vector_sink_f.h" -#include "gnuradio/qtgui/edit_box_msg.h" -%} - -%include "gnuradio/qtgui/sink_c.h" -%include "gnuradio/qtgui/sink_f.h" -%include "gnuradio/qtgui/eye_sink_c.h" -%include "gnuradio/qtgui/eye_sink_f.h" -%include "gnuradio/qtgui/time_sink_c.h" -%include "gnuradio/qtgui/time_sink_f.h" -%include "gnuradio/qtgui/time_raster_sink_b.h" -%include "gnuradio/qtgui/time_raster_sink_f.h" -%include "gnuradio/qtgui/freq_sink_c.h" -%include "gnuradio/qtgui/freq_sink_f.h" -%include "gnuradio/qtgui/const_sink_c.h" -%include "gnuradio/qtgui/waterfall_sink_c.h" -%include "gnuradio/qtgui/waterfall_sink_f.h" -%include "gnuradio/qtgui/histogram_sink_f.h" -%include "gnuradio/qtgui/number_sink.h" -%include "gnuradio/qtgui/ber_sink_b.h" -%include "gnuradio/qtgui/vector_sink_f.h" -%include "gnuradio/qtgui/edit_box_msg.h" - -GR_SWIG_BLOCK_MAGIC2(qtgui, sink_c); -GR_SWIG_BLOCK_MAGIC2(qtgui, sink_f); -GR_SWIG_BLOCK_MAGIC2(qtgui, eye_sink_c); -GR_SWIG_BLOCK_MAGIC2(qtgui, eye_sink_f); -GR_SWIG_BLOCK_MAGIC2(qtgui, time_sink_c); -GR_SWIG_BLOCK_MAGIC2(qtgui, time_sink_f); -GR_SWIG_BLOCK_MAGIC2(qtgui, time_raster_sink_b); -GR_SWIG_BLOCK_MAGIC2(qtgui, time_raster_sink_f); -GR_SWIG_BLOCK_MAGIC2(qtgui, freq_sink_c); -GR_SWIG_BLOCK_MAGIC2(qtgui, freq_sink_f); -GR_SWIG_BLOCK_MAGIC2(qtgui, const_sink_c); -GR_SWIG_BLOCK_MAGIC2(qtgui, waterfall_sink_c); -GR_SWIG_BLOCK_MAGIC2(qtgui, waterfall_sink_f); -GR_SWIG_BLOCK_MAGIC2(qtgui, histogram_sink_f); -GR_SWIG_BLOCK_MAGIC2(qtgui, number_sink); -GR_SWIG_BLOCK_MAGIC2(qtgui, ber_sink_b); -GR_SWIG_BLOCK_MAGIC2(qtgui, vector_sink_f); -GR_SWIG_BLOCK_MAGIC2(qtgui, edit_box_msg); |