<?xml version="1.0" encoding="UTF-8"?> <macro name="example" version="1.0" resume="Det koster 50$$\\100kr\nLinse: ${linse1}\n${linse_note}\nHævelse: ${radio}\n\n${spl_note}"> <window name="mainwindow" caption="Fundus" width="500" height="560" layout="vbox"> <include name="patient"/> <frame name="spl_frame" caption="Spl:" layout="vbox"> <lineedit name="spl_note" regexp=".*" value="På begge sider alderssvarende forhold. Der er let katarakt, som dog ikke er operationskrævende." help="Hjælpenisse"/> </frame> <frame name="linse_frame" caption="Linser:" layout="vbox"> <frame name="linse_framea" layout="hbox"> <label name="a" width="300" caption="Linse1 er en lidt længere streng end de to andre:"/> <lineedit name="linse1" regexp="[0-9]{1,3}D" value="90K" help="Hjælpenisse"/> </frame> <frame name="linse_frameb" layout="hbox"> <label name="b" width="300" caption="Linse2:"/> <lineedit name="linse2" regexp="[0-9]{1,3}D" value="90D" help="Hjælpenisse"/> </frame> <frame name="linse_framec" layout="hbox"> <label name="c" width="300" caption="Linse3:"/> <lineedit name="linse3" regexp="[0-9]{1,3}D" value="90D" help="Hjælpenisse"/> </frame> </frame> <frame name="swelling_frame" layout="hbox"> <label name="swelling" caption="Der findes central hævelse med:"/> <frame name="swelling_radios" layout="hbox"> <radiobuttons name="radio" value="" layout="vbox" help="Hjælpenisse"> <item caption="Radio Randblødning" value="rand"/> <item caption="Radio Exsudater" value="exsudater"/> <item caption="Radio Blahblah" value="blabla"/> </radiobuttons> <combobox name="combo" value="fiskesuppe" help="Hjælpenisse"> <item caption="Combo Randblødning" value="rand"/> <item caption="Combo Exsudater" value="exsudater"/> <item caption="Combo Blahblah" value="blabla"/> <item caption="Combo Blahblah" value="fisk"/> </combobox> <listbox name="list" value="exsudate" help="Hjælpenisse"> <item caption="List Randblødning" value="rand"/> <item caption="List Exsudater" value="exsudater"/> <item caption="List Blahblah" value="blabla"/> </listbox> </frame> </frame> <frame name="buttons" layout="hbox"> <lineedit name="next_macro" regexp="[a-z_]+[a-z_0-9]*" value="example"/> <button name="cancel" caption="Annuller" action="cancel" help="Hjælpenisse"/> <button name="continue" caption="Fortsæt" action="continue" field="next_macro" help="Hjælpenisse"/> <button name="commit" caption="Godkend" action="commit" help="Hjælpenisse"/> </frame> </window> </macro>