I want to create a frequency spectrum display with a center frequency
control
on a 800 x 480 LCD display. When I use the QT GUI Frequency Sink with a
slider underneath, the slider scale goes off the bottom of the screen.
Is it
possible to reduce the height of the QT GUI Frequency display? The WX
GUI
FFT sink has a window size parameter.
For reasons which go back to the original qtsink work that we brought
in,
we’ve never made the window size and available option. The gui widgets
are
made up of other widgets that also have minimum window sizes before they
run into problems, too. But for the newer style (time, freq,
constellation,
etc.), there are fewer of these to be a problem, so we can probably look
into shrinking the minimum widget size.
Thank you for your comments Tom. I can make the QT GUI Slider height
smaller
by changing the Python statement
from:
Qwt.QwtSlider(None, Qt.Qt.Horizontal, Qwt.QwtSlider.BottomScale,
Qwt.QwtSlider.BgSlot)
to:
Qwt.QwtSlider(None, Qt.Qt.Horizontal, Qwt.QwtSlider.NoScale,
Qwt.QwtSlider.BgSlot)
That may provide enough room below the QT GUI Frequency Sink for the
slider
widget.
I’m tempted to add this as an option in the Range block to show or not
show
the slider scale. But we still want to get rid of the use of PyQWT in
GNU
Radio code, so we would likely reimplement this block in C++, anyways,
so
we can add more options like this at that point.
Meanwhile, if a patch happens to come in…
Tom
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.