summaryrefslogtreecommitdiff
path: root/server/xml/macros/test_meta.xml
diff options
context:
space:
mode:
authorbertho <bertho>2009-02-04 11:26:58 +0000
committerbertho <bertho>2009-02-04 11:26:58 +0000
commit1bce9e4ebb9521c26fdbc586d4eadd6f2a52b618 (patch)
tree497e277a15390025db1158c7a39776cdbd1645f4 /server/xml/macros/test_meta.xml
parent4497bea2b68a883d1bed72797f27275c833843ea (diff)
Add macros and templates to repository
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>