commit-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Commit-gnuradio] [gnuradio] 14/37: grc: fixing xml files of some blocks


From: git
Subject: [Commit-gnuradio] [gnuradio] 14/37: grc: fixing xml files of some blocks with message control ports to be able to hide/show them as wanted.
Date: Thu, 17 Jul 2014 20:23:40 +0000 (UTC)

This is an automated email from the git hooks/post-receive script.

trondeau pushed a commit to branch master
in repository gnuradio.

commit 264383735a267b665569b949e0c5d2232b3bfd24
Author: Tom Rondeau <address@hidden>
Date:   Fri Jul 11 15:53:04 2014 -0400

    grc: fixing xml files of some blocks with message control ports to be able 
to hide/show them as wanted.
---
 gr-blocks/grc/blocks_copy.xml                      | 19 ++++++++++++++
 .../grc/digital_constellation_receiver_cb.xml      | 19 ++++++++++++++
 gr-qtgui/grc/qtgui_freq_sink_x.xml                 | 17 +++++++++++++
 gr-qtgui/grc/qtgui_sink_x.xml                      | 29 ++++++++++++++++++----
 gr-qtgui/grc/qtgui_waterfall_sink_x.xml            | 17 +++++++++++++
 5 files changed, 96 insertions(+), 5 deletions(-)

diff --git a/gr-blocks/grc/blocks_copy.xml b/gr-blocks/grc/blocks_copy.xml
index 4d505d9..48676b5 100644
--- a/gr-blocks/grc/blocks_copy.xml
+++ b/gr-blocks/grc/blocks_copy.xml
@@ -61,7 +61,25 @@ self.$(id).set_enabled($enabled)</make>
                <value>1</value>
                <type>int</type>
        </param>
+
+        <param>
+          <name>Show Msg Ports</name>
+          <key>showports</key>
+          <value>True</value>
+          <type>enum</type>
+          <hide>part</hide>
+          <option>
+            <name>Yes</name>
+            <key>False</key>
+          </option>
+          <option>
+            <name>No</name>
+            <key>True</key>
+          </option>
+        </param>
+
        <check>$vlen &gt; 0</check>
+
        <sink>
                <name>in</name>
                <type>$type</type>
@@ -71,6 +89,7 @@ self.$(id).set_enabled($enabled)</make>
                <name>en</name>
                <type>message</type>
                <optional>1</optional>
+                <hide>$showports</hide>
        </sink>
        <source>
                <name>out</name>
diff --git a/gr-digital/grc/digital_constellation_receiver_cb.xml 
b/gr-digital/grc/digital_constellation_receiver_cb.xml
index 134e027..978020f 100644
--- a/gr-digital/grc/digital_constellation_receiver_cb.xml
+++ b/gr-digital/grc/digital_constellation_receiver_cb.xml
@@ -29,6 +29,23 @@
                <key>fmax</key>
                <type>real</type>
        </param>
+
+        <param>
+          <name>Show Msg Ports</name>
+          <key>showports</key>
+          <value>True</value>
+          <type>enum</type>
+          <hide>part</hide>
+          <option>
+            <name>Yes</name>
+            <key>False</key>
+          </option>
+          <option>
+            <name>No</name>
+            <key>True</key>
+          </option>
+        </param>
+
        <sink>
                <name>in</name>
                <type>complex</type>
@@ -38,12 +55,14 @@
                <name>set_constellation</name>
                <type>message</type>
                 <optional>1</optional>
+                <hide>$showports</hide>
        </sink>
 
        <sink>
                <name>rotate_phase</name>
                <type>message</type>
                 <optional>1</optional>
+                <hide>$showports</hide>
        </sink>
 
        <source>
diff --git a/gr-qtgui/grc/qtgui_freq_sink_x.xml 
b/gr-qtgui/grc/qtgui_freq_sink_x.xml
index beed7fa..c19ee03 100644
--- a/gr-qtgui/grc/qtgui_freq_sink_x.xml
+++ b/gr-qtgui/grc/qtgui_freq_sink_x.xml
@@ -202,6 +202,21 @@ $(gui_hint()($win))</make>
     <hide>part</hide>
   </param>
 
+  <param>
+    <name>Show Msg Ports</name>
+    <key>showports</key>
+    <value>True</value>
+    <type>enum</type>
+    <hide>part</hide>
+    <option>
+      <name>Yes</name>
+      <key>False</key>
+    </option>
+    <option>
+      <name>No</name>
+      <key>True</key>
+    </option>
+  </param>
 
   <param>
     <name>Line 1 Label</name>
@@ -558,12 +573,14 @@ $(gui_hint()($win))</make>
     <name>freq</name>
     <type>message</type>
     <optional>1</optional>
+    <hide>$showports</hide>
   </sink>
 
   <source>
     <name>freq</name>
     <type>message</type>
     <optional>1</optional>
+    <hide>$showports</hide>
   </source>
 
   <doc>
diff --git a/gr-qtgui/grc/qtgui_sink_x.xml b/gr-qtgui/grc/qtgui_sink_x.xml
index 618973e..897eb63 100644
--- a/gr-qtgui/grc/qtgui_sink_x.xml
+++ b/gr-qtgui/grc/qtgui_sink_x.xml
@@ -176,22 +176,41 @@ Qt.QObject.connect(self._$(id)_win, 
Qt.SIGNAL("plotPointSelected(QPointF, int)")
                <hide>part</hide>
        </param>
 
-       <sink>
-               <name>in</name>
-               <type>$type</type>
-               <nports>$num_inputs</nports>
-       </sink>
+
+  <param>
+    <name>Show Msg Ports</name>
+    <key>showports</key>
+    <value>True</value>
+    <type>enum</type>
+    <hide>part</hide>
+    <option>
+      <name>Yes</name>
+      <key>False</key>
+    </option>
+    <option>
+      <name>No</name>
+      <key>True</key>
+    </option>
+  </param>
+
+  <sink>
+    <name>in</name>
+    <type>$type</type>
+    <nports>$num_inputs</nports>
+  </sink>
 
   <sink>
     <name>freq</name>
     <type>message</type>
     <optional>1</optional>
+    <hide>$showports</hide>
   </sink>
 
   <source>
     <name>freq</name>
     <type>message</type>
     <optional>1</optional>
+    <hide>$showports</hide>
   </source>
 
   <doc>
diff --git a/gr-qtgui/grc/qtgui_waterfall_sink_x.xml 
b/gr-qtgui/grc/qtgui_waterfall_sink_x.xml
index 36df704..2321acc 100644
--- a/gr-qtgui/grc/qtgui_waterfall_sink_x.xml
+++ b/gr-qtgui/grc/qtgui_waterfall_sink_x.xml
@@ -160,6 +160,21 @@ $(gui_hint()($win))</make>
                <hide>part</hide>
        </param>
 
+  <param>
+    <name>Show Msg Ports</name>
+    <key>showports</key>
+    <value>True</value>
+    <type>enum</type>
+    <hide>part</hide>
+    <option>
+      <name>Yes</name>
+      <key>False</key>
+    </option>
+    <option>
+      <name>No</name>
+      <key>True</key>
+    </option>
+  </param>
 
 
   <param>
@@ -420,12 +435,14 @@ $(gui_hint()($win))</make>
     <name>freq</name>
     <type>message</type>
     <optional>1</optional>
+    <hide>$showports</hide>
   </sink>
 
   <source>
     <name>freq</name>
     <type>message</type>
     <optional>1</optional>
+    <hide>$showports</hide>
   </source>
 
   <doc>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]