# QT GUI on low resolution display

**URL:** <https://www.ruby-forum.com/t/qt-gui-on-low-resolution-display/232972>\
**Category:** GNU Radio\
**Created:** [November 8, 2014, 2:15am UTC](https://www.ruby-forum.com/t/qt-gui-on-low-resolution-display/232972 "2014-11-08T02:15:48Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![addis\_a](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/c4cdca/32.png) [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Post date:** [November 8, 2014, 2:15am UTC](https://www.ruby-forum.com/t/qt-gui-on-low-resolution-display/232972/1 "2014-11-08T02:15:48Z")

</div>

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.

Regards,

Jim

–  
View this message in context:  
[http://gnuradio.4.n7.nabble.com/QT-GUI-on-low-resolution-display-tp51236.html](http://gnuradio.4.n7.nabble.com/QT-GUI-on-low-resolution-display-tp51236.html)  
Sent from the GnuRadio mailing list archive at [Nabble.com](http://Nabble.com).

---

<div class="post-metadata">

**Author:** ![jimlast](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/eb9ed0/32.png) [@jimlast](https://www.ruby-forum.com/u/jimlast)\
**Post date:** [November 10, 2014, 5:03pm UTC](https://www.ruby-forum.com/t/qt-gui-on-low-resolution-display/232972/2 "2014-11-10T17:03:20Z")

</div>

On Fri, Nov 7, 2014 at 8:09 PM, Jim L. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Jim

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.

Tom

---

<div class="post-metadata">

**Author:** ![jimlast](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/eb9ed0/32.png) [@jimlast](https://www.ruby-forum.com/u/jimlast)\
**Post date:** [November 12, 2014, 5:13am UTC](https://www.ruby-forum.com/t/qt-gui-on-low-resolution-display/232972/3 "2014-11-12T05:13:57Z")

</div>

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.

–  
View this message in context:  
[http://gnuradio.4.n7.nabble.com/QT-GUI-on-low-resolution-display-tp51236p51277.html](http://gnuradio.4.n7.nabble.com/QT-GUI-on-low-resolution-display-tp51236p51277.html)  
Sent from the GnuRadio mailing list archive at [Nabble.com](http://Nabble.com).

---

<div class="post-metadata">

**Author:** ![jimlast](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/eb9ed0/32.png) [@jimlast](https://www.ruby-forum.com/u/jimlast)\
**Post date:** [November 13, 2014, 6:27pm UTC](https://www.ruby-forum.com/t/qt-gui-on-low-resolution-display/232972/4 "2014-11-13T18:27:10Z")

</div>

On Tue, Nov 11, 2014 at 11:07 PM, Jim L. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
wrote:

> widget.

Great.

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
