summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--server/xml/example.xml27
1 files changed, 18 insertions, 9 deletions
diff --git a/server/xml/example.xml b/server/xml/example.xml
index f472bd0..3e31f56 100644
--- a/server/xml/example.xml
+++ b/server/xml/example.xml
@@ -1,18 +1,27 @@
- <macro name="test_macro" version="1.0">
+ <macro name="fundus" version="1.0">
<window name="mainwindow"
- caption="This is the mainwindow"
+ caption="Fundus"
width="800"
height="600"
layout="vbox">
<include name="patient"/>
- <frame name="data_frame" layout="hbox">
- <label caption="Some field"/>
- <lineedit name="lineedit1" regexp="[0-9]+"/>
+ <frame name="spl_frame" caption="Spl:" layout="vbox">
+ <textedit name="spl_note" value="På begge sider alderssvarende forhold. Der er let katarakt, som dog ikke er operationskrævende."/>
</frame>
- <frame name="bottom_frame" layout="hbox">
- <spacer />
- <button caption="Close window" action="abort"/>
- <button caption="Commit changes" action="commit"/>
+ <frame name="linse_frame" caption="Linse:" layout="vbox">
+ <lineedit name="linse" caption="90-D linse"/>
+ <textedit name="linse_note" value="Der findes centrale atrofiske forandringer."/>
+ </frame>
+ <frame name="swelling_frame" layout="hbox">
+ <label name="swelling" caption="Der findes central hævelse med:"/>
+ <frame name="swelling_radios" layout="vbox"/>
+ <radiobutton name="radio1" caption="Randblødning"/>
+ <radiobutton name="radio2" caption="Exsudater"/>
+ </frame>
+ </frame>
+ <frame name="buttons" layout="hbox">
+ <button name="cancel" caption="Annuller"/>
+ <button name="commit" caption="Godkend"/>
</frame>
</window>
</macro>