[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Commit-gnuradio] [gnuradio] 15/23: qtgui: dynamically adjust min/max am
From: |
git |
Subject: |
[Commit-gnuradio] [gnuradio] 15/23: qtgui: dynamically adjust min/max amplitude for qtgui freq and waterfall plots. |
Date: |
Thu, 26 Jun 2014 19:54:44 +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 c7b71425d630f1d327c0f3db26f3d61d82b536c0
Author: Tom Rondeau <address@hidden>
Date: Thu Jun 26 14:30:12 2014 -0400
qtgui: dynamically adjust min/max amplitude for qtgui freq and waterfall
plots.
This is best achieved by using QTGUI Range variables to provide sliders for
the upper and lower bounds.
---
gr-qtgui/grc/qtgui_freq_sink_x.xml | 1 +
gr-qtgui/grc/qtgui_waterfall_sink_x.xml | 20 ++++++++++++++++++++
2 files changed, 21 insertions(+)
diff --git a/gr-qtgui/grc/qtgui_freq_sink_x.xml
b/gr-qtgui/grc/qtgui_freq_sink_x.xml
index 29c0bc0..68b4712 100644
--- a/gr-qtgui/grc/qtgui_freq_sink_x.xml
+++ b/gr-qtgui/grc/qtgui_freq_sink_x.xml
@@ -48,6 +48,7 @@ $(gui_hint()($win))</make>
<callback>set_update_time($update_time)</callback>
<callback>set_title($which, $title)</callback>
<callback>set_color($which, $color)</callback>
+ <callback>set_y_axis($ymin, $ymax)</callback>
<param_tab_order>
<tab>General</tab>
diff --git a/gr-qtgui/grc/qtgui_waterfall_sink_x.xml
b/gr-qtgui/grc/qtgui_waterfall_sink_x.xml
index b194d37..279cdc7 100644
--- a/gr-qtgui/grc/qtgui_waterfall_sink_x.xml
+++ b/gr-qtgui/grc/qtgui_waterfall_sink_x.xml
@@ -36,12 +36,15 @@ for i in xrange($nconnections):
self.$(id).set_color_map(i, colors[i])
self.$(id).set_line_alpha(i, alphas[i])
+self.$(id).set_intensity_range($int_min, $int_max)
+
self._$(id)_win = sip.wrapinstance(self.$(id).pyqwidget(), Qt.QWidget)
$(gui_hint()($win))</make>
<callback>set_frequency_range($fc, $bw)</callback>
<callback>set_update_time($update_time)</callback>
<callback>set_title($which, $title)</callback>
<callback>set_color($which, $color)</callback>
+ <callback>set_intensity_range($int_min, $int_max)</callback>
<param_tab_order>
<tab>General</tab>
@@ -115,6 +118,23 @@ $(gui_hint()($win))</make>
<value>samp_rate</value>
<type>real</type>
</param>
+
+ <param>
+ <name>Intensity Min</name>
+ <key>int_min</key>
+ <value>-140</value>
+ <type>float</type>
+ <hide>part</hide>
+ </param>
+
+ <param>
+ <name>Intensity Max</name>
+ <key>int_max</key>
+ <value>10</value>
+ <type>float</type>
+ <hide>part</hide>
+ </param>
+
<param>
<name>Number of Inputs</name>
<key>nconnections</key>
- [Commit-gnuradio] [gnuradio] 10/23: qtgui: allows toggling rf frequencies on/off in GRC options box., (continued)
- [Commit-gnuradio] [gnuradio] 10/23: qtgui: allows toggling rf frequencies on/off in GRC options box., git, 2014/06/26
- [Commit-gnuradio] [gnuradio] 12/23: qtgui: freq, waterfall, and sink blocks produce a frequency message when double-clicked. Also can take in a frequency message to adjust the x-axis., git, 2014/06/26
- [Commit-gnuradio] [gnuradio] 05/23: digital: adding a rotate_phase message for the constellation_receiver to adjust the phase of the constellation., git, 2014/06/26
- [Commit-gnuradio] [gnuradio] 01/23: volk: cmake: Rename GrBoost to VolkBoost to differentiate it from GR's GrBoost. Although they set the same BOOST variables internally, this change make it clear which cmake file to include., git, 2014/06/26
- [Commit-gnuradio] [gnuradio] 09/23: qtgui: minor mods, including putting min/max lines in FFT sink behind all other lines., git, 2014/06/26
- [Commit-gnuradio] [gnuradio] 04/23: blocks: adding a message port to the copy block to enable/disable copy., git, 2014/06/26
- [Commit-gnuradio] [gnuradio] 13/23: filter: adds a message input port to frequency xlating FIR filter to update the frequency., git, 2014/06/26
- [Commit-gnuradio] [gnuradio] 03/23: digital: expose set_constellation message port in GRC for constellation_receiver., git, 2014/06/26
- [Commit-gnuradio] [gnuradio] 08/23: qtgui: adds an alternative qss file., git, 2014/06/26
- [Commit-gnuradio] [gnuradio] 14/23: docs: adding docs for blocks::copy and digital::constellation_receiver to describe their message ports., git, 2014/06/26
- [Commit-gnuradio] [gnuradio] 15/23: qtgui: dynamically adjust min/max amplitude for qtgui freq and waterfall plots.,
git <=
- [Commit-gnuradio] [gnuradio] 16/23: Merge branch 'maint', git, 2014/06/26
- [Commit-gnuradio] [gnuradio] 11/23: qtgui: for sink_x, waterfall_sink_x, and freq_sink_x, when the display is double-clicked, the center frequency is adjusted to the clicked frequency and a message is posted containing the new center frequency., git, 2014/06/26
- [Commit-gnuradio] [gnuradio] 17/23: replaced dynamic_ by static_cast; typechecking done before, git, 2014/06/26
- [Commit-gnuradio] [gnuradio] 02/23: cmake: Include GrBoost at the top level such that the correct default BOOST variables are set throughout the build. Because of the way CMake handles non-cached variables, each GR component (e.g., Volk) can change the BOOST variables for its particular needs without overriding these default values for other components., git, 2014/06/26
- [Commit-gnuradio] [gnuradio] 06/23: blocks.head: added callback to GRC definition, git, 2014/06/26
- [Commit-gnuradio] [gnuradio] 18/23: crc32_async: fix memory leak; coverity 1215946, git, 2014/06/26
- [Commit-gnuradio] [gnuradio] 23/23: build: removed some gcc warnings., git, 2014/06/26
- [Commit-gnuradio] [gnuradio] 21/23: Merge remote-tracking branch 'mmueller/blocks_grc_add_head_set_length_cb', git, 2014/06/26
- [Commit-gnuradio] [gnuradio] 20/23: Merge remote-tracking branch 'michaelld/boost_once', git, 2014/06/26
- [Commit-gnuradio] [gnuradio] 19/23: gr-fec: cc_decoder: fix leak; coverity 1215943, git, 2014/06/26