From bd7f680e84bb5884adddc2112e62552ed3f6994d Mon Sep 17 00:00:00 2001 From: Joe Taylor Date: Wed, 10 Apr 2013 18:00:33 +0000 Subject: [PATCH] Max size of several widgets made larger to accommodate people who set system fonts larger than the default. git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3152 ab8295b8-cf94-4d9e-aec4-7959e3be5d79 --- lib/decoder.f90 | 14 +++++----- mainwindow.cpp | 2 +- mainwindow.ui | 70 +++++++++++++++++++++++++++++-------------------- 3 files changed, 49 insertions(+), 37 deletions(-) diff --git a/lib/decoder.f90 b/lib/decoder.f90 index a56193fd1..aa6fecd8d 100644 --- a/lib/decoder.f90 +++ b/lib/decoder.f90 @@ -34,23 +34,23 @@ subroutine decoder(ss,c0) if(ntrMinutes.eq.1) then nsps=6912 df3=1500.0/2048.0 - fmt='(i4.4,i4,i5,f6.1,f8.0,i4,3x,a22)' + fmt='(i4.4,i4,i5,f6.1,f8.0,i4,3x,a18)' else if(ntrMinutes.eq.2) then nsps=15360 df3=1500.0/2048.0 - fmt='(i4.4,i4,i5,f6.1,f8.1,i4,3x,a22)' + fmt='(i4.4,i4,i5,f6.1,f8.1,i4,3x,a18)' else if(ntrMinutes.eq.5) then nsps=40960 df3=1500.0/6144.0 - fmt='(i4.4,i4,i5,f6.1,f8.1,i4,3x,a22)' + fmt='(i4.4,i4,i5,f6.1,f8.1,i4,3x,a18)' else if(ntrMinutes.eq.10) then nsps=82944 df3=1500.0/12288.0 - fmt='(i4.4,i4,i5,f6.1,f8.2,i4,3x,a22)' + fmt='(i4.4,i4,i5,f6.1,f8.2,i4,3x,a18)' else if(ntrMinutes.eq.30) then nsps=252000 df3=1500.0/32768.0 - fmt='(i4.4,i4,i5,f6.1,f8.2,i4,3x,a22)' + fmt='(i4.4,i4,i5,f6.1,f8.2,i4,3x,a18)' endif if(nsps.eq.0) stop 'Error: bad TRperiod' !Better: return an error code### @@ -133,8 +133,8 @@ subroutine decoder(ss,c0) nsnr=nint(snrdb) ndrift=nint(drift/df3) if(msg.ne.' ') then - write(*,fmt) nutc,nsync,nsnr,xdt,freq,ndrift,msg - write(13,fmt) nutc,nsync,nsnr,xdt,freq,ndrift,msg + write(*,fmt) nutc,nsync,nsnr,xdt,freq,ndrift,msg(1:18) + write(13,fmt) nutc,nsync,nsnr,xdt,freq,ndrift,msg(1:18) fgood=f nsynced=1 ndecoded=1 diff --git a/mainwindow.cpp b/mainwindow.cpp index 2ae5c051b..052be1d65 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -1,4 +1,4 @@ -//------------------------------------------------------------- MainWindow +//-------------------------------------------------------------- MainWindow #include "mainwindow.h" #include "ui_mainwindow.h" #include "devsetup.h" diff --git a/mainwindow.ui b/mainwindow.ui index 2b81fcb98..1f98550de 100644 --- a/mainwindow.ui +++ b/mainwindow.ui @@ -11,7 +11,7 @@ - + 0 0 @@ -24,7 +24,7 @@ - 750 + 900 1028 @@ -59,7 +59,7 @@ - 400 + 500 20 @@ -148,7 +148,7 @@ - 400 + 500 20 @@ -230,7 +230,7 @@ - + 0 0 @@ -243,7 +243,7 @@ - 400 + 500 1000 @@ -263,6 +263,12 @@ + + + 500 + 16777215 + + 10 @@ -280,6 +286,12 @@ + + + 500 + 16777215 + + 10 @@ -295,10 +307,30 @@ + + + + QFrame::Plain + + + Qt::Horizontal + + + + + + + QFrame::Plain + + + Qt::Horizontal + + + - + 0 0 @@ -311,7 +343,7 @@ - 400 + 500 1000 @@ -345,26 +377,6 @@ p, li { white-space: pre-wrap; } - - - - QFrame::Plain - - - Qt::Horizontal - - - - - - - QFrame::Plain - - - Qt::Horizontal - - - @@ -1950,7 +1962,7 @@ p, li { white-space: pre-wrap; } 0 0 711 - 21 + 26