mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-30 08:08:39 -05:00
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:
parent
0621e952ef
commit
d0af7271e7
@ -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
|
||||||
|
@ -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">
|
||||||
|
@ -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);
|
||||||
|
25
widegraph.ui
25
widegraph.ui
@ -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>
|
||||||
|
Loading…
Reference in New Issue
Block a user