summaryrefslogtreecommitdiff
path: root/gr-qtgui/examples/test_graphicitem_overlay.grc
diff options
context:
space:
mode:
Diffstat (limited to 'gr-qtgui/examples/test_graphicitem_overlay.grc')
-rw-r--r--gr-qtgui/examples/test_graphicitem_overlay.grc185
1 files changed, 185 insertions, 0 deletions
diff --git a/gr-qtgui/examples/test_graphicitem_overlay.grc b/gr-qtgui/examples/test_graphicitem_overlay.grc
new file mode 100644
index 0000000000..cc1d233717
--- /dev/null
+++ b/gr-qtgui/examples/test_graphicitem_overlay.grc
@@ -0,0 +1,185 @@
+options:
+ parameters:
+ author: ''
+ catch_exceptions: 'True'
+ category: '[GRC Hier Blocks]'
+ cmake_opt: ''
+ comment: ''
+ copyright: ''
+ description: ''
+ gen_cmake: 'On'
+ gen_linking: dynamic
+ generate_options: qt_gui
+ hier_block_src_path: '.:'
+ id: test_graphic_overlay
+ max_nouts: '0'
+ output_language: python
+ placement: (0,0)
+ qt_qss_theme: ''
+ realtime_scheduling: ''
+ run: 'True'
+ run_command: '{python} -u {filename}'
+ run_options: prompt
+ sizing_mode: fixed
+ thread_safe_setters: ''
+ title: Test Graphic Item Overlay
+ states:
+ bus_sink: false
+ bus_source: false
+ bus_structure: null
+ coordinate: [8, 8]
+ rotation: 0
+ state: enabled
+
+blocks:
+- name: overlayfile
+ id: variable
+ parameters:
+ comment: ''
+ value: subprocess.getoutput("gnuradio-config-info --prefix") + "/share/gnuradio/examples/qt-gui/satdishsmall.png"
+ states:
+ bus_sink: false
+ bus_source: false
+ bus_structure: null
+ coordinate: [437, 16]
+ rotation: 0
+ state: true
+- name: samp_rate
+ id: variable
+ parameters:
+ comment: ''
+ value: '32000'
+ states:
+ bus_sink: false
+ bus_source: false
+ bus_structure: null
+ coordinate: [184, 12]
+ rotation: 0
+ state: enabled
+- name: blocks_message_debug_0
+ id: blocks_message_debug
+ parameters:
+ affinity: ''
+ alias: ''
+ comment: ''
+ states:
+ bus_sink: false
+ bus_source: false
+ bus_structure: null
+ coordinate: [632, 152.0]
+ rotation: 0
+ state: enabled
+- name: blocks_null_sink_0
+ id: blocks_null_sink
+ parameters:
+ affinity: ''
+ alias: ''
+ bus_structure_sink: '[[0,],]'
+ comment: ''
+ num_inputs: '1'
+ type: complex
+ vlen: '1'
+ states:
+ bus_sink: false
+ bus_source: false
+ bus_structure: null
+ coordinate: [680, 304.0]
+ rotation: 0
+ state: true
+- name: blocks_null_source_0
+ id: blocks_null_source
+ parameters:
+ affinity: ''
+ alias: ''
+ bus_structure_source: '[[0,],]'
+ comment: ''
+ maxoutbuf: '0'
+ minoutbuf: '0'
+ num_outputs: '1'
+ type: complex
+ vlen: '1'
+ states:
+ bus_sink: false
+ bus_source: false
+ bus_structure: null
+ coordinate: [304, 304.0]
+ rotation: 0
+ state: true
+- name: blocks_throttle_0
+ id: blocks_throttle
+ parameters:
+ affinity: ''
+ alias: ''
+ comment: ''
+ ignoretag: 'True'
+ maxoutbuf: '0'
+ minoutbuf: '0'
+ samples_per_second: samp_rate
+ type: complex
+ vlen: '1'
+ states:
+ bus_sink: false
+ bus_source: false
+ bus_structure: null
+ coordinate: [504, 300.0]
+ rotation: 0
+ state: true
+- name: import_0
+ id: import
+ parameters:
+ alias: ''
+ comment: ''
+ imports: import subprocess
+ states:
+ bus_sink: false
+ bus_source: false
+ bus_structure: null
+ coordinate: [283, 22]
+ rotation: 0
+ state: true
+- name: qtgui_graphicitem_0
+ id: qtgui_graphicitem
+ parameters:
+ affinity: ''
+ alias: ''
+ comment: ''
+ file: subprocess.getoutput("gnuradio-config-info --prefix") + "/share/gnuradio/examples/qt-gui/earth.jpg"
+ fixedsize: 'False'
+ gui_hint: ''
+ height: '240'
+ scaleImage: 'True'
+ width: '320'
+ states:
+ bus_sink: false
+ bus_source: false
+ bus_structure: null
+ coordinate: [683, 57]
+ rotation: 0
+ state: true
+- name: qtgui_graphicoverlay_0
+ id: qtgui_graphicoverlay
+ parameters:
+ affinity: ''
+ alias: ''
+ comment: ''
+ listDelay: '1.0'
+ maxoutbuf: '0'
+ minoutbuf: '0'
+ overlayList: '[{''filename'':overlayfile,''x'':10,''y'':0,''scalefactor'':1},{''filename'':overlayfile,''x'':20,''y'':20,''scalefactor'':2},{''filename'':overlayfile,''x'':30,''y'':40,''scalefactor'':2},{''filename'':overlayfile,''x'':40,''y'':60,''scalefactor'':3},{''filename'':overlayfile,''x'':50,''y'':80,''scalefactor'':4}]'
+ repeat: 'True'
+ states:
+ bus_sink: false
+ bus_source: false
+ bus_structure: null
+ coordinate: [224, 104.0]
+ rotation: 0
+ state: true
+
+connections:
+- [blocks_null_source_0, '0', blocks_throttle_0, '0']
+- [blocks_throttle_0, '0', blocks_null_sink_0, '0']
+- [qtgui_graphicoverlay_0, overlay, blocks_message_debug_0, print]
+- [qtgui_graphicoverlay_0, overlay, qtgui_graphicitem_0, overlay]
+
+metadata:
+ file_format: 1