commit-gnuradio
[Top][All Lists]
Advanced

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

[Commit-gnuradio] [gnuradio] 02/15: qtgui: fixing up some minor paramete


From: git
Subject: [Commit-gnuradio] [gnuradio] 02/15: qtgui: fixing up some minor parameters.
Date: Thu, 10 Apr 2014 19:38:16 +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 4004412d4575baa7b6ccac7d32faf163dafdb756
Author: Tom Rondeau <address@hidden>
Date:   Mon Apr 7 14:34:31 2014 -0400

    qtgui: fixing up some minor parameters.
---
 gr-qtgui/grc/qtgui_freq_sink_x.xml      | 96 +++++++++++++++++++++------------
 gr-qtgui/grc/qtgui_histogram_sink_x.xml |  3 +-
 2 files changed, 63 insertions(+), 36 deletions(-)

diff --git a/gr-qtgui/grc/qtgui_freq_sink_x.xml 
b/gr-qtgui/grc/qtgui_freq_sink_x.xml
index a9315c1..0a9bce0 100644
--- a/gr-qtgui/grc/qtgui_freq_sink_x.xml
+++ b/gr-qtgui/grc/qtgui_freq_sink_x.xml
@@ -23,6 +23,7 @@ qtgui.$(type.fcn)(
 self.$(id).set_update_time($update_time)
 self.$(id).set_y_axis($ymin, $ymax)
 self.$(id).enable_autoscale($autoscale)
+self.$(id).set_fft_average($average)
 
 labels = [$label1, $label2, $label3, $label4, $label5,
           $label6, $label7, $label8, $label9]
@@ -127,6 +128,7 @@ $(gui_hint()($win))</make>
     <key>autoscale</key>
     <value>False</value>
     <type>enum</type>
+    <hide>part</hide>
     <option>
       <name>Yes</name>
       <key>True</key>
@@ -137,41 +139,65 @@ $(gui_hint()($win))</make>
     </option>
   </param>
 
-       <param>
-               <name>Y min</name>
-               <key>ymin</key>
-               <value>-140</value>
-               <type>real</type>
-               <hide>part</hide>
-       </param>
-       <param>
-               <name>Y max</name>
-               <key>ymax</key>
-               <value>10</value>
-               <type>real</type>
-               <hide>part</hide>
-       </param>
-       <param>
-               <name>Number of Inputs</name>
-               <key>nconnections</key>
-               <value>1</value>
-               <type>int</type>
-               <hide>part</hide>
-       </param>
-       <param>
-               <name>Update Period</name>
-               <key>update_time</key>
-               <value>0.10</value>
-               <type>real</type>
-               <hide>part</hide>
-       </param>
-       <param>
-               <name>GUI Hint</name>
-               <key>gui_hint</key>
-               <value></value>
-               <type>gui_hint</type>
-               <hide>part</hide>
-       </param>
+  <param>
+    <name>Average</name>
+    <key>average</key>
+    <value>False</value>
+    <type>enum</type>
+    <hide>part</hide>
+    <option>
+      <name>None</name>
+      <key>1.0</key>
+    </option>
+    <option>
+      <name>Low</name>
+      <key>0.2</key>
+    </option>
+    <option>
+      <name>Medium</name>
+      <key>0.1</key>
+    </option>
+    <option>
+      <name>High</name>
+      <key>0.05</key>
+    </option>
+  </param>
+
+  <param>
+    <name>Y min</name>
+    <key>ymin</key>
+    <value>-140</value>
+    <type>real</type>
+    <hide>part</hide>
+  </param>
+  <param>
+    <name>Y max</name>
+    <key>ymax</key>
+    <value>10</value>
+    <type>real</type>
+    <hide>part</hide>
+  </param>
+  <param>
+    <name>Number of Inputs</name>
+    <key>nconnections</key>
+    <value>1</value>
+    <type>int</type>
+    <hide>part</hide>
+  </param>
+  <param>
+    <name>Update Period</name>
+    <key>update_time</key>
+    <value>0.10</value>
+    <type>real</type>
+    <hide>part</hide>
+  </param>
+  <param>
+    <name>GUI Hint</name>
+    <key>gui_hint</key>
+    <value></value>
+    <type>gui_hint</type>
+    <hide>part</hide>
+  </param>
 
 
   <param>
diff --git a/gr-qtgui/grc/qtgui_histogram_sink_x.xml 
b/gr-qtgui/grc/qtgui_histogram_sink_x.xml
index 3f50d10..cbd5539 100644
--- a/gr-qtgui/grc/qtgui_histogram_sink_x.xml
+++ b/gr-qtgui/grc/qtgui_histogram_sink_x.xml
@@ -53,7 +53,8 @@ $(gui_hint()($win))</make>
        <callback>set_title($which, $title)</callback>
        <callback>set_color($which, $color)</callback>
        <callback>set_bins($bins)</callback>
-       <callback>set_x_axis($bins)</callback>
+       <callback>set_bins($bins)</callback>
+        <callback>set_x_axis($xmin, $xmax)</callback>
 
         <param_tab_order>
           <tab>General</tab>



reply via email to

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