Make JT9 wide/slow Rx/Tx markers the proper width. Add (tentatively?) a

checkbox for Reference spectrum.


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6578 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
Joe Taylor 2016-04-05 14:48:19 +00:00
parent e212367221
commit fab3ddd372
2 changed files with 31 additions and 9 deletions

View File

@ -335,8 +335,19 @@ void CPlotter::DrawOverlay() //DrawOverlay()
}
}
if(m_modeTx=="JT9" and m_nSubMode>0) { //JT9
bw=8.0*12000.0/m_nsps;
if(m_nSubMode==1) bw=2*bw;
if(m_nSubMode==2) bw=4*bw;
if(m_nSubMode==3) bw=8*bw;
if(m_nSubMode==4) bw=16*bw;
if(m_nSubMode==5) bw=32*bw;
if(m_nSubMode==6) bw=64*bw;
if(m_nSubMode==7) bw=128*bw;
}
if(m_modeTx=="JT65") { //JT65
bw=66.0*11025.0/4096.0;
bw=65.0*11025.0/4096.0;
if(m_nSubMode==1) bw=2*bw;
if(m_nSubMode==2) bw=4*bw;
}
@ -354,7 +365,7 @@ void CPlotter::DrawOverlay() //DrawOverlay()
painter0.drawLine(x1,24,x1,30);
painter0.drawLine(x1,28,x2,28);
painter0.drawLine(x2,24,x2,30);
if(g_single_decode) {
if(g_single_decode and m_mode=="JT65") {
x3=XfromFreq(m_rxFreq+22.0*bw/66.0);
painter0.drawLine(x3,24,x3,30);
x4=XfromFreq(m_rxFreq+32.0*bw/66.0);

View File

@ -143,13 +143,6 @@
</property>
</widget>
</item>
<item row="0" column="6">
<widget class="QCheckBox" name="cbFlatten">
<property name="text">
<string>Flatten</string>
</property>
</widget>
</item>
<item row="1" column="4">
<widget class="QComboBox" name="paletteComboBox">
<property name="sizePolicy">
@ -564,6 +557,24 @@
</property>
</widget>
</item>
<item row="0" column="6">
<layout class="QHBoxLayout" name="horizontalLayout_3">
<item>
<widget class="QCheckBox" name="cbFlatten">
<property name="text">
<string>Flat</string>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="cbRef">
<property name="text">
<string>Ref</string>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</item>
</layout>