From 73d680c356c6ccde9f67d0288933581948a64b08 Mon Sep 17 00:00:00 2001 From: f4exb Date: Mon, 14 Aug 2017 23:27:12 +0200 Subject: [PATCH] UDPSink plugin GUI: added VU meter --- plugins/channelrx/udpsrc/udpsrcgui.ui | 135 +++++---- plugins/channeltx/udpsink/udpsinkgui.ui | 372 +++++++++++++----------- 2 files changed, 263 insertions(+), 244 deletions(-) diff --git a/plugins/channelrx/udpsrc/udpsrcgui.ui b/plugins/channelrx/udpsrc/udpsrcgui.ui index ee29cc255..2d374c474 100644 --- a/plugins/channelrx/udpsrc/udpsrcgui.ui +++ b/plugins/channelrx/udpsrc/udpsrcgui.ui @@ -150,43 +150,6 @@ - - - - - - Vol - - - - - - - Audio volume - - - 100 - - - 1 - - - 20 - - - Qt::Horizontal - - - - - - - 20 - - - - - @@ -358,6 +321,23 @@ + + + + RF BW (Hz) + + + + + + + Signal bandwidth + + + 32000 + + + @@ -415,36 +395,6 @@ - - - - Signal bandwidth - - - 32000 - - - - - - - false - - - Apply text input and/or samples format - - - Apply - - - - - - - RF BW (Hz) - - - @@ -529,6 +479,56 @@ + + + + + + Vol + + + + + + + Audio volume + + + 100 + + + 1 + + + 20 + + + Qt::Horizontal + + + + + + + 20 + + + + + + + + + false + + + Apply text input and/or samples format + + + Apply + + + @@ -605,7 +605,6 @@ sampleFormat sampleRate rfBandwidth - applyBtn diff --git a/plugins/channeltx/udpsink/udpsinkgui.ui b/plugins/channeltx/udpsink/udpsinkgui.ui index 13a3a8fc1..d98024079 100644 --- a/plugins/channeltx/udpsink/udpsinkgui.ui +++ b/plugins/channeltx/udpsink/udpsinkgui.ui @@ -6,7 +6,7 @@ 0 0 - 340 + 348 355 @@ -36,7 +36,7 @@ 2 2 - 330 + 340 142 @@ -65,78 +65,52 @@ 3 - - - - Format - - - - - - - Samples format - - - 0 - + + - - S16LE I/Q - + + + Addr + + - - S16LE NFM - + + + Remote address + + + 000.000.000.000 + + + 127.0.0.1 + + - - S16LE NFM Mono - + + + D + + - - S16LE LSB - + + + Remote data port + + + 00000 + + + 9999 + + - - - S16LE USB - - - - - S16LE LSB Mono - - - - - S16LE USB Mono - - - - - S16LE AM Mono - - - + - - - - Qt::Horizontal - - - - 40 - 20 - - - - @@ -177,30 +151,6 @@ - - - - Rate (Hz) - - - - - - - - - false - - - Apply text input and/or samples format - - - Apply - - - - - @@ -328,8 +278,8 @@ - - + + @@ -352,28 +302,8 @@ - - - - RF BW (Hz) - - - - - - - Signal bandwidth - - - 0009999 - - - 32000 - - - - - + + @@ -382,21 +312,12 @@ - - - Audio volume - - - 100 - - - 1 - - - 20 - - - Qt::Horizontal + + + + 24 + 24 + @@ -409,58 +330,155 @@ - - - - Samples rate + + + + + + + 30 + 16777215 + + + + Fmt + + + + + + + Samples format + + + 0 + + + + S16LE I/Q + + + + + S16LE NFM + + + + + S16LE NFM Mono + + + + + S16LE LSB + + + + + S16LE USB + + + + + S16LE LSB Mono + + + + + S16LE USB Mono + + + + + S16LE AM Mono + + + + + + + + + + + + + 21 + 0 + + + + SR + + + + + + + Samples rate + + + 0009999 + + + 48000 + + + + + + + + + + + + 21 + 0 + + + + BW + + + + + + + Signal bandwidth + + + 0009999 + + + 32000 + + + + + + + + + false - - 0009999 + + Apply text input and/or samples format - 48000 + Apply - - + + - - - Addr - - - - - - - Remote address - - - 000.000.000.000 - - - 127.0.0.1 - - - - - - - D - - - - - - - Remote data port - - - 00000 - - - 9999 + + + + 0 + 0 + @@ -473,7 +491,7 @@ 15 160 - 231 + 321 156 @@ -537,11 +555,13 @@
gui/valuedialz.h
1 + + LevelMeterVU + QWidget +
gui/levelmeter.h
+ 1 +
- - sampleRate - rfBandwidth -