Various tweaks to GUI.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/jtms3@2515 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
Joe Taylor 2012-07-13 18:46:13 +00:00
parent 0621e952ef
commit d0af7271e7
4 changed files with 18 additions and 15 deletions

View File

@ -1,4 +1,4 @@
//--------------------------------------------------------------- MainWindow //-------------------------------------------------------------- MainWindow
#include "mainwindow.h" #include "mainwindow.h"
#include "ui_mainwindow.h" #include "ui_mainwindow.h"
#include "devsetup.h" #include "devsetup.h"
@ -20,7 +20,7 @@ WideGraph* g_pWideGraph = NULL;
QSharedMemory mem_m65("mem_m65"); QSharedMemory mem_m65("mem_m65");
QString rev="$Rev$"; QString rev="$Rev$";
QString Program_Title_Version=" JTMS3 v0.1, r" + rev.mid(6,4) + QString Program_Title_Version=" JTMS3 v0.2, r" + rev.mid(6,4) +
" by K1JT"; " by K1JT";
//-------------------------------------------------- MainWindow constructor //-------------------------------------------------- MainWindow constructor

View File

@ -1185,7 +1185,7 @@ p, li { white-space: pre-wrap; }
</action> </action>
<action name="actionWide_Waterfall"> <action name="actionWide_Waterfall">
<property name="text"> <property name="text">
<string>Wide Waterfall</string> <string>Waterfall</string>
</property> </property>
</action> </action>
<action name="actionOpen"> <action name="actionOpen">

View File

@ -143,7 +143,7 @@ void CPlotter::draw(float green[], int ig) //draw()
if(2*i < 215) { if(2*i < 215) {
if(m_2Dspec) { if(m_2Dspec) {
y=10.0*log10(0.5*(mscom_.s2[2*i-1] + mscom_.s2[2*i])); y=10.0*log10(0.5*(mscom_.s2[2*i-1] + mscom_.s2[2*i]));
y1 = 5.0*gain*(y + 20 - m_plotZero); y1 = 7.0*gain*(y + 16 - m_plotZero);
} else { } else {
y=10.0*log10(std::max(mscom_.s1[2*i-1],mscom_.s1[2*i])); y=10.0*log10(std::max(mscom_.s1[2*i-1],mscom_.s1[2*i]));
y1 = 5.0*gain*(y + 51 - m_plotZero); y1 = 5.0*gain*(y + 51 - m_plotZero);

View File

@ -78,37 +78,37 @@
</property> </property>
<property name="minimumSize"> <property name="minimumSize">
<size> <size>
<width>60</width> <width>40</width>
<height>0</height> <height>0</height>
</size> </size>
</property> </property>
<property name="maximumSize"> <property name="maximumSize">
<size> <size>
<width>60</width> <width>40</width>
<height>16777215</height> <height>16777215</height>
</size> </size>
</property> </property>
<property name="suffix"> <property name="suffix">
<string> kHz</string> <string/>
</property> </property>
<property name="minimum"> <property name="minimum">
<number>5</number> <number>0</number>
</property> </property>
<property name="maximum"> <property name="maximum">
<number>90</number> <number>100</number>
</property> </property>
<property name="singleStep"> <property name="singleStep">
<number>5</number> <number>1</number>
</property> </property>
<property name="value"> <property name="value">
<number>60</number> <number>0</number>
</property> </property>
</widget> </widget>
</item> </item>
<item> <item>
<widget class="QLabel" name="label_3"> <widget class="QLabel" name="label_3">
<property name="text"> <property name="text">
<string>Freq Span</string> <string>p1</string>
</property> </property>
</widget> </widget>
</item> </item>
@ -149,17 +149,20 @@
</size> </size>
</property> </property>
<property name="minimum"> <property name="minimum">
<number>1</number> <number>0</number>
</property> </property>
<property name="maximum"> <property name="maximum">
<number>20</number> <number>100</number>
</property>
<property name="value">
<number>0</number>
</property> </property>
</widget> </widget>
</item> </item>
<item> <item>
<widget class="QLabel" name="label_2"> <widget class="QLabel" name="label_2">
<property name="text"> <property name="text">
<string>N Avg</string> <string>p2</string>
</property> </property>
</widget> </widget>
</item> </item>