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
This commit is contained in:
Joe Taylor 2013-04-10 18:00:33 +00:00
parent 6fee99a1d6
commit fc65d318dd
3 changed files with 49 additions and 37 deletions

View File

@ -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

View File

@ -1,4 +1,4 @@
//------------------------------------------------------------- MainWindow
//-------------------------------------------------------------- MainWindow
#include "mainwindow.h"
#include "ui_mainwindow.h"
#include "devsetup.h"

View File

@ -11,7 +11,7 @@
</rect>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Preferred">
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
@ -24,7 +24,7 @@
</property>
<property name="maximumSize">
<size>
<width>750</width>
<width>900</width>
<height>1028</height>
</size>
</property>
@ -59,7 +59,7 @@
</property>
<property name="maximumSize">
<size>
<width>400</width>
<width>500</width>
<height>20</height>
</size>
</property>
@ -148,7 +148,7 @@
</property>
<property name="maximumSize">
<size>
<width>400</width>
<width>500</width>
<height>20</height>
</size>
</property>
@ -230,7 +230,7 @@
<item row="4" column="1">
<widget class="DisplayText" name="decodedTextBrowser2">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Expanding">
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
@ -243,7 +243,7 @@
</property>
<property name="maximumSize">
<size>
<width>400</width>
<width>500</width>
<height>1000</height>
</size>
</property>
@ -263,6 +263,12 @@
</item>
<item row="1" column="1">
<widget class="QLabel" name="label_7">
<property name="maximumSize">
<size>
<width>500</width>
<height>16777215</height>
</size>
</property>
<property name="font">
<font>
<pointsize>10</pointsize>
@ -280,6 +286,12 @@
</item>
<item row="1" column="0">
<widget class="QLabel" name="label_6">
<property name="maximumSize">
<size>
<width>500</width>
<height>16777215</height>
</size>
</property>
<property name="font">
<font>
<pointsize>10</pointsize>
@ -295,10 +307,30 @@
</property>
</widget>
</item>
<item row="2" column="0">
<widget class="Line" name="line">
<property name="frameShadow">
<enum>QFrame::Plain</enum>
</property>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="Line" name="line_2">
<property name="frameShadow">
<enum>QFrame::Plain</enum>
</property>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
</widget>
</item>
<item row="4" column="0">
<widget class="DisplayText" name="decodedTextBrowser">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Expanding">
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
@ -311,7 +343,7 @@
</property>
<property name="maximumSize">
<size>
<width>400</width>
<width>500</width>
<height>1000</height>
</size>
</property>
@ -345,26 +377,6 @@ p, li { white-space: pre-wrap; }
</property>
</widget>
</item>
<item row="2" column="0">
<widget class="Line" name="line">
<property name="frameShadow">
<enum>QFrame::Plain</enum>
</property>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="Line" name="line_2">
<property name="frameShadow">
<enum>QFrame::Plain</enum>
</property>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
</widget>
</item>
</layout>
</item>
<item>
@ -1950,7 +1962,7 @@ p, li { white-space: pre-wrap; }
<x>0</x>
<y>0</y>
<width>711</width>
<height>21</height>
<height>26</height>
</rect>
</property>
<widget class="QMenu" name="menuFile">