summaryrefslogtreecommitdiff
path: root/server/xml/macros/test_meta.xml
diff options
context:
space:
mode:
Diffstat (limited to 'server/xml/macros/test_meta.xml')
-rw-r--r--server/xml/macros/test_meta.xml38
1 files changed, 38 insertions, 0 deletions
diff --git a/server/xml/macros/test_meta.xml b/server/xml/macros/test_meta.xml
new file mode 100644
index 0000000..0dc379d
--- /dev/null
+++ b/server/xml/macros/test_meta.xml
@@ -0,0 +1,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>