Fix the Decode menu to read "Fast /Normal / Deep".

This commit is contained in:
Joe Taylor 2022-12-10 19:21:19 -05:00
parent 6cc2a50aa0
commit 74c3d55e7f
3 changed files with 19 additions and 15 deletions

View File

@ -16,30 +16,31 @@ subroutine m65c(itimer)
character*12 mycall,hiscall character*12 mycall,hiscall
character*6 mygrid,hisgrid character*6 mygrid,hisgrid
character*20 datetime character*20 datetime
character*80 cwd
common/datcom2/dd(4,5760000),ss(4,322,NFFT),savg(4,NFFT),nparams0 common/datcom2/dd(4,5760000),ss(4,322,NFFT),savg(4,NFFT),nparams0
!### REMEMBER that /npar/ is not updated until nparams=nparams0 is executed. ###
common/npar/fcenter,nutc,idphi,mousedf,mousefqso,nagain, & common/npar/fcenter,nutc,idphi,mousedf,mousefqso,nagain, &
ndepth,ndiskdat,neme,newdat,nfa,nfb,nfcal,nfshift, & ndepth,ndiskdat,neme,newdat,nfa,nfb,nfcal,nfshift, &
mcall3,nkeep,ntol,nxant,nrxlog,nfsample,nxpol,nmode, & mcall3,nkeep,ntol,nxant,nrxlog,nfsample,nxpol,nmode, &
ndop00,nsave,max_drift,nhsym,mycall,mygrid,hiscall,hisgrid, & ndop00,nsave,max_drift,nhsym,mycall,mygrid,hiscall,hisgrid, &
datetime,junk1,junk2 datetime,junk1,junk2
!### REMEMBER that /npar/ is not updated until nparams=nparams0 is executed. ###
common/early/nhsym1,nhsym2,ldecoded(32768) common/early/nhsym1,nhsym2,ldecoded(32768)
equivalence (nparams,fcenter) equivalence (nparams,fcenter)
data first/.true./ data first/.true./
save first,cwd save first
nparams=nparams0 !Copy parameters into common/npar/
if(itimer.ne.0) then if(itimer.ne.0) then
! call timer('q65w ',1)
! call timer('q65w ',101)
call timer('decode0 ',101) call timer('decode0 ',101)
call fini_timer call fini_timer
return return
endif endif
lq65w=.true. lq65w=.true.
lq65w2=.true. lq65w2=.true.
nparams=nparams0 !Copy parameters into common/npar/
datetime(18:20)=':00' datetime(18:20)=':00'
! if(first) call timer('q65w ',0) ! if(first) call timer('q65w ',0)

View File

@ -289,7 +289,7 @@ void MainWindow::readSettings()
ui->actionNone->setChecked(settings.value("SaveNone",true).toBool()); ui->actionNone->setChecked(settings.value("SaveNone",true).toBool());
ui->actionSave_all->setChecked(settings.value("SaveAll",false).toBool()); ui->actionSave_all->setChecked(settings.value("SaveAll",false).toBool());
m_saveAll=ui->actionSave_all->isChecked(); m_saveAll=ui->actionSave_all->isChecked();
m_ndepth=settings.value("NDepth",0).toInt(); m_ndepth=settings.value("NDepth",2).toInt();
m_onlyEME=settings.value("NEME",false).toBool(); m_onlyEME=settings.value("NEME",false).toBool();
ui->actionOnly_EME_calls->setChecked(m_onlyEME); ui->actionOnly_EME_calls->setChecked(m_onlyEME);
m_kb8rq=settings.value("KB8RQ",false).toBool(); m_kb8rq=settings.value("KB8RQ",false).toBool();
@ -766,17 +766,17 @@ void MainWindow::on_actionDelete_all_tf2_files_in_SaveDir_triggered()
} }
} }
void MainWindow::on_actionNo_Deep_Search_triggered() //No Deep Search void MainWindow::on_actionNo_Deep_Search_triggered()
{ {
m_ndepth=0; m_ndepth=0;
} }
void MainWindow::on_actionNormal_Deep_Search_triggered() //Normal DS void MainWindow::on_actionNormal_Deep_Search_triggered()
{ {
m_ndepth=1; m_ndepth=1;
} }
void MainWindow::on_actionAggressive_Deep_Search_triggered() //Aggressive DS void MainWindow::on_actionAggressive_Deep_Search_triggered()
{ {
m_ndepth=2; m_ndepth=2;
} }
@ -875,7 +875,7 @@ void MainWindow::decode() //decode()
datcom_.ntol=m_tol; datcom_.ntol=m_tol;
datcom_.nxant=0; datcom_.nxant=0;
m_nutc0=datcom_.nutc; m_nutc0=datcom_.nutc;
datcom_.map65RxLog=0; datcom_.junk_1=0;
datcom_.nfsample=96000; datcom_.nfsample=96000;
if(!m_fs96000) datcom_.nfsample=95238; if(!m_fs96000) datcom_.nfsample=95238;
datcom_.nxpol=0; datcom_.nxpol=0;

View File

@ -823,18 +823,21 @@ p, li { white-space: pre-wrap; }
<bool>true</bool> <bool>true</bool>
</property> </property>
<property name="checked"> <property name="checked">
<bool>true</bool> <bool>false</bool>
</property> </property>
<property name="text"> <property name="text">
<string>No Deep Search</string> <string>Fast</string>
</property> </property>
</action> </action>
<action name="actionNormal_Deep_Search"> <action name="actionNormal_Deep_Search">
<property name="checkable"> <property name="checkable">
<bool>true</bool> <bool>true</bool>
</property> </property>
<property name="checked">
<bool>true</bool>
</property>
<property name="text"> <property name="text">
<string>Normal Deep Search</string> <string>Normal</string>
</property> </property>
</action> </action>
<action name="actionAggressive_Deep_Search"> <action name="actionAggressive_Deep_Search">
@ -842,7 +845,7 @@ p, li { white-space: pre-wrap; }
<bool>true</bool> <bool>true</bool>
</property> </property>
<property name="text"> <property name="text">
<string>Aggressive Deep Search</string> <string>Deep</string>
</property> </property>
</action> </action>
<action name="actionNone"> <action name="actionNone">