summaryrefslogtreecommitdiff
path: root/gr-wxgui/grc/wxgui_termsink.xml
diff options
context:
space:
mode:
authorJohnathan Corgan2011-03-14 20:07:36 -0700
committerJohnathan Corgan2011-03-14 20:07:36 -0700
commit22deb62a872413bdeff63e4fb565b4bcce2c6508 (patch)
tree79571572f1f130b5153019d70d31b2c868cf0b97 /gr-wxgui/grc/wxgui_termsink.xml
parentf3d373492fe415ced2bbf0be3f8e6da66576fcdc (diff)
parent4d5096c8b084c5832256dc2cd8bb617ee93d94a4 (diff)
downloadgnuradio-22deb62a872413bdeff63e4fb565b4bcce2c6508.tar.gz
gnuradio-22deb62a872413bdeff63e4fb565b4bcce2c6508.tar.bz2
gnuradio-22deb62a872413bdeff63e4fb565b4bcce2c6508.zip
Merge remote branch 'jblum/mergeme/qtgui/grc' into next
* jblum/mergeme/qtgui/grc: (27 commits) qtgui: removed python directory that was added, never used qtgui-grc: added suport in main template for theme icon qtgui-grc: minor tweaks to the various things qtgui-grc: added read-only thermo widget to range block qtgui-grc: fix for list option working in chooser block qtgui-grc: added check for pyqwt in config grc: added function args to probe block and documentation grc: rework the probe blocks and how they fit into grc qtgui-grc: moved slider to range, added knob and gui tweaks qtgui-grc: use a vboxlayout for the top_layout qtgui-grc: made slider widget components (counter/slider) optional qtgui-grc: add engineering notation to entry and label + other tweaks qtgui-grc: enable start/stop control through qt widgets qtgui-grc: rename the text entry and label blocks grc-qtgui: creaded check box widget with qtgui, cleanup label code grc-qtgui: added variable text box and static text widgets grc-qtgui: pick correct signal overload for variable chooser grc-qtgui: added radio button support, tweaks, more options grc-qtgui: work on variable chooser block grc: work on generator for gui flowgraphs to simplify generation ...
Diffstat (limited to 'gr-wxgui/grc/wxgui_termsink.xml')
-rw-r--r--gr-wxgui/grc/wxgui_termsink.xml56
1 files changed, 56 insertions, 0 deletions
diff --git a/gr-wxgui/grc/wxgui_termsink.xml b/gr-wxgui/grc/wxgui_termsink.xml
new file mode 100644
index 000000000..3e35c7578
--- /dev/null
+++ b/gr-wxgui/grc/wxgui_termsink.xml
@@ -0,0 +1,56 @@
+<?xml version="1.0"?>
+<!--
+###################################################
+##Terminal window
+###################################################
+ -->
+<block>
+ <name>WX GUI Terminal Sink</name>
+ <key>wxgui_termsink</key>
+ <category>WX GUI Widgets</category>
+
+ <import>from gnuradio.wxgui import termsink</import>
+
+ <make>#set $parent = $notebook() and 'self.%s.GetPage(%s)'%$notebook() or 'self'
+termsink.termsink(
+ parent=$(parent).GetWin(),
+#if $win_size()
+ size=$win_size,
+#end if
+ msgq=$(id)_msgq_in,
+)
+#if not $grid_pos()
+$(parent).Add(self.$(id))
+#else
+$(parent).GridAdd(self.$(id), $(', '.join(map(str, $grid_pos()))))
+#end if</make>
+
+ <param>
+ <name>Window Size</name>
+ <key>win_size</key>
+ <value></value>
+ <type>int_vector</type>
+ <hide>#if $win_size() then 'none' else 'part'#</hide>
+ </param>
+ <param>
+ <name>Grid Position</name>
+ <key>grid_pos</key>
+ <value></value>
+ <type>grid_pos</type>
+ </param>
+
+ <param>
+ <name>Notebook</name>
+ <key>notebook</key>
+ <value></value>
+ <type>notebook</type>
+ </param>
+
+ <check>not $win_size or len($win_size) == 2</check>
+
+ <sink>
+ <name>in</name>
+ <type>msg</type>
+ </sink>
+
+</block>