blob: 42f4755e81781e64f5de6a212b4dff35ff0ae2a5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
<?xml version="1.0" encoding="UTF-8"?>
<template name="testcourse">
<course>
<macro name="example2" version="1.0"
resume="${linse1}
${linse2}">
<queries>
<query class="lensmeter" ttl="10000"/>
<query class="autophoropter" ttl="10000" automap="true"/>
</queries>
<maps>
<map name="axis">
-- LUA program
return right.axis
</map>
<map name="dioptri">
-- LUA program
return right.dioptri
</map>
</maps>
<window name="mainwindow"
caption="Fundus"
width="500"
height="560"
layout="vbox">
<frame name="linse_frame" caption="Linser:" layout="vbox">
<frame name="linse_framea" layout="hbox">
<label name="a" width="300" caption="Akse rotation:"/>
<lineedit name="linse1" regexp="[0-9]{1,3}D" map="axis" value="90K"/>
</frame>
<frame name="linse_frameb" layout="hbox">
<label name="b" width="300" caption="Diotri:"/>
<lineedit name="linse2" regexp="[0-9]{1,3}D" map="dioptri" value="90K"/>
</frame>
</frame>
<frame name="buttons" layout="hbox">
<button name="cancel" caption="Annuller" action="cancel"/>
<button name="commit" caption="Godkend" action="commit"/>
</frame>
</window>
</macro>
</course>
</template>
|