summaryrefslogtreecommitdiff
path: root/server/xml/macros/test_meta.xml
blob: 0dc379d7d5237070a47cb616592fd911bbb999ac (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
<?xml version='1.0' encoding='UTF-8'?>
<macro name="test_meta" version="1.0">
  <resume>Meta test: ${metatest}
AltComboTest: ${altcombotest}</resume>
  <queries>
  </queries>
  <maps>
  </maps>
  <scripts>
  </scripts>
  <window caption="Meta Test"
          layout="vbox">

    <altcombobox name="altcombotest" layout="vbox" value="prut at pille i">
      <item caption="Name1" value="Value1"/>
      <item caption="Name2" value="Value2"/>
      <item caption="Name3" value="Value3"/>
      <altitem caption="Name4" value="Value4" layout="hbox" innerwidget="bar">
	<label caption="Bar:"/>
	<lineedit name="bar"/>
      </altitem>
    </altcombobox>

    <metawidget name="metatest" layout="hbox" format="A: ${a}, B: ${b}" value="">
      <label caption="A:"/>
      <lineedit name="a" value=""/>
      <label caption="B:"/>
      <lineedit name="b" value=""/>
    </metawidget>

    <!-- Knapper -->
    <frame layout="hbox">
      <spacer />
<!--      <button caption="Annullér" action="cancel"/> -->
      <button caption="Gem" action="commit"/>
    </frame>
  </window>
</macro>