Labels
|
$+
html.Snippet(
"gui/snippets/input-combo",
"name='set_label_content'",
"items=%Labels OFF/ON%<-;
%Atom Names%<-l;
%Crystallographic Occupancy%<-o;
%Chemical Occupancy%<-co;
%Parts%<-p;%Link-Code%<-v;
%H Atom Labels%<-h l;
%Fixed Parameters%<-f;
Variables<-v;
AFIX Commands<-h a;
Q Peak Intensities<-qi;
Label + residue number<-l rn;
Residue numbers<-rn;
Residue class<-rc;
",
"value='Labels OFF/ON",
"onchange=spy.ChooseLabelContent(html.GetValue('~name~'))",
"manage=True",
"onchangealways=true",
)
$-
|
$spy.MakeHoverButton('toolbar-QC','name \$Q C')
|
$spy.MakeHoverButton('toolbar-QH','name \$Q H')
|
$spy.MakeHoverButton('toolbar-tidy','clean')
|
$spy.MakeHoverButton('toolbar-killH','kill \$H')
|
$spy.MakeHoverButton('toolbar-Q','showQ')
|
$spy.MakeHoverButton('toolbar-H','showH')
|
$spy.MakeHoverButton('toolbar-center','compaq>>compaq -a>>center')
|
|
Z'=
|
$+
html.Snippet(
"gui/snippets/input-text",
"name=SET_Z_PRIME_FIXUNIT",
"value=xf.au.GetZprime()",
"onleave=spy.gui.get_Z_prime_from_fraction(html.GetValue(~name~))>>html.update"
)
$-
|
$spy.MakeHoverButton('toolbar-OK',"fixunit html.GetValue('SET_Z_PRIME_FIXUNIT')>>xf.au.SetZprime(html.GetValue('SET_Z_PRIME_FIXUNIT'))>>html.Update")
|
$spy.gui.tools.make_disorder_quicktools()
#ignoreif -->