mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-19 18:42:06 -05:00
Added CSmin to Options page.
Corrected the saving of brightness/contrast settings. git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/map65@495 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
parent
a3b6cdf732
commit
0549ad9390
4
map65.py
4
map65.py
@ -1209,6 +1209,7 @@ def update():
|
|||||||
Audio.gcom2.dftolerance=ntol[itol]
|
Audio.gcom2.dftolerance=ntol[itol]
|
||||||
Audio.gcom2.neme=neme.get()
|
Audio.gcom2.neme=neme.get()
|
||||||
Audio.gcom2.ndepth=ndepth.get()
|
Audio.gcom2.ndepth=ndepth.get()
|
||||||
|
Audio.gcom2.ncsmin=options.ncsmin.get()
|
||||||
try:
|
try:
|
||||||
Audio.gcom2.idinterval=options.IDinterval.get()
|
Audio.gcom2.idinterval=options.IDinterval.get()
|
||||||
except:
|
except:
|
||||||
@ -1719,6 +1720,7 @@ try:
|
|||||||
elif key == 'fa': options.fa.set(value)
|
elif key == 'fa': options.fa.set(value)
|
||||||
elif key == 'fb': options.fb.set(value)
|
elif key == 'fb': options.fb.set(value)
|
||||||
elif key == 'fcal': options.fcal.set(value)
|
elif key == 'fcal': options.fcal.set(value)
|
||||||
|
elif key == 'CSmin': options.ncsmin.set(value)
|
||||||
elif key == 'dphi': options.dphi.set(value)
|
elif key == 'dphi': options.dphi.set(value)
|
||||||
elif key == 'savedir': options.savedir.set(value)
|
elif key == 'savedir': options.savedir.set(value)
|
||||||
|
|
||||||
@ -1762,7 +1764,6 @@ Audio.ftn_init()
|
|||||||
GenStdMsgs()
|
GenStdMsgs()
|
||||||
Audio.gcom4.addpfx=(options.addpfx.get().lstrip()+' ')[:8]
|
Audio.gcom4.addpfx=(options.addpfx.get().lstrip()+' ')[:8]
|
||||||
Audio.gcom2.mousefqso=125
|
Audio.gcom2.mousefqso=125
|
||||||
Audio.gcom2.ncsmin=4
|
|
||||||
Audio.gcom2.nfullspec=0
|
Audio.gcom2.nfullspec=0
|
||||||
monitor()
|
monitor()
|
||||||
first=1
|
first=1
|
||||||
@ -1811,6 +1812,7 @@ f.write("dphi " + str(options.dphi.get()) + "\n")
|
|||||||
f.write("fa " + str(options.fa.get()) + "\n")
|
f.write("fa " + str(options.fa.get()) + "\n")
|
||||||
f.write("fb " + str(options.fb.get()) + "\n")
|
f.write("fb " + str(options.fb.get()) + "\n")
|
||||||
f.write("fcal " + str(options.fcal.get()) + "\n")
|
f.write("fcal " + str(options.fcal.get()) + "\n")
|
||||||
|
f.write("CSmin " + str(options.ncsmin.get()) + "\n")
|
||||||
f.write("SaveDir " + str(options.savedir.get()) + "\n")
|
f.write("SaveDir " + str(options.savedir.get()) + "\n")
|
||||||
f.write("TxFirst " + str(TxFirst.get()) + "\n")
|
f.write("TxFirst " + str(TxFirst.get()) + "\n")
|
||||||
f.write("KB8RQ " + str(kb8rq.get()) + "\n")
|
f.write("KB8RQ " + str(kb8rq.get()) + "\n")
|
||||||
|
@ -46,6 +46,7 @@ dphi=IntVar()
|
|||||||
fa=IntVar()
|
fa=IntVar()
|
||||||
fb=IntVar()
|
fb=IntVar()
|
||||||
fcal=IntVar()
|
fcal=IntVar()
|
||||||
|
ncsmin=IntVar()
|
||||||
savedir=StringVar()
|
savedir=StringVar()
|
||||||
|
|
||||||
mycall=Pmw.EntryField(g1.interior(),labelpos=W,label_text='My Call:',
|
mycall=Pmw.EntryField(g1.interior(),labelpos=W,label_text='My Call:',
|
||||||
@ -101,10 +102,12 @@ fb_entry=Pmw.EntryField(g3.interior(),labelpos=W,label_text='Fmax (kHz):',
|
|||||||
entry_width=9,value=160,entry_textvariable=fb)
|
entry_width=9,value=160,entry_textvariable=fb)
|
||||||
fcal_entry=Pmw.EntryField(g3.interior(),labelpos=W,label_text='Fcal (Hz):',
|
fcal_entry=Pmw.EntryField(g3.interior(),labelpos=W,label_text='Fcal (Hz):',
|
||||||
entry_width=9,entry_textvariable=fcal)
|
entry_width=9,entry_textvariable=fcal)
|
||||||
|
min_callsign_entry=Pmw.EntryField(g3.interior(),labelpos=W, \
|
||||||
|
label_text='CSmin:',entry_width=9,value=4,entry_textvariable=ncsmin)
|
||||||
savedir_entry=Pmw.EntryField(g3.interior(),labelpos=W,label_text='SaveDir:',
|
savedir_entry=Pmw.EntryField(g3.interior(),labelpos=W,label_text='SaveDir:',
|
||||||
entry_width=23,value=g.appdir+'\save',entry_textvariable=savedir)
|
entry_width=23,value=g.appdir+'\save',entry_textvariable=savedir)
|
||||||
widgets = (temp_prefix,aux_ra,aux_dec,nkeep_entry,dphi_entry, \
|
widgets = (temp_prefix,aux_ra,aux_dec,nkeep_entry,dphi_entry, \
|
||||||
fa_entry,fb_entry,fcal_entry,savedir_entry,)
|
fa_entry,fb_entry,fcal_entry,min_callsign_entry,savedir_entry,)
|
||||||
for widget in widgets:
|
for widget in widgets:
|
||||||
widget.pack(padx=2,pady=2)
|
widget.pack(padx=2,pady=2)
|
||||||
Pmw.alignlabels(widgets)
|
Pmw.alignlabels(widgets)
|
||||||
|
Loading…
Reference in New Issue
Block a user