summaryrefslogtreecommitdiff
path: root/server
diff options
context:
space:
mode:
authorsenator <senator>2009-09-08 09:35:21 +0000
committersenator <senator>2009-09-08 09:35:21 +0000
commit2f860415f5f679636bda936f23d44ec960740aa9 (patch)
treedf001e2443b17de819144becbd85f23c4d9101a9 /server
parent725a374e468b1a412ab0d78f201f8d348c7975ce (diff)
Changed ref_tremaaneder_spaltelampe to ref_tremaanederskontrol-spaltelampe
Diffstat (limited to 'server')
-rw-r--r--server/xml/macros/ref_tremaanederskontrol-spaltelampe-1.0.xml583
1 files changed, 583 insertions, 0 deletions
diff --git a/server/xml/macros/ref_tremaanederskontrol-spaltelampe-1.0.xml b/server/xml/macros/ref_tremaanederskontrol-spaltelampe-1.0.xml
new file mode 100644
index 0000000..3aeec87
--- /dev/null
+++ b/server/xml/macros/ref_tremaanederskontrol-spaltelampe-1.0.xml
@@ -0,0 +1,583 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<macro name="ref_tremaanederskontrol.spaltelampe" version="1.0">
+ <resume language="lua">
+ out = ''
+ if ( getValue('spaltelampe.right.missing') == '' )
+ then
+ out = out .. 'Spaltelampe, højre øje:\n'
+
+ if ( getValue('spaltelampe.right.konjuktiva') ~= '' )
+ then
+ out = out .. 'Konjuktiva: ' .. getValue('spaltelampe.right.konjuktiva') .. '\n'
+ end
+
+ out = out .. 'Cornea:\n'
+ if ( getValue('spaltelampe.right.epithel') ~= '' )
+ then
+ out = out .. ' Epithel: ' .. getValue('spaltelampe.right.epithel') .. '\n'
+ end
+ if ( getValue('spaltelampe.right.stroma') ~= '' )
+ then
+ out = out .. ' Stroma: ' .. getValue('spaltelampe.right.stroma') .. '\n'
+ end
+ if ( getValue('spaltelampe.right.flap') ~= '' )
+ then
+ out = out .. ' Flap: ' .. getValue('spaltelampe.right.flap') .. '\n'
+ end
+ if ( getValue('spaltelampe.right.folder') ~= '' )
+ then
+ out = out .. ' Folder: ' .. getValue('spaltelampe.right.folder') .. '\n'
+ end
+ if ( getValue('spaltelampe.right.interface.partikler') ~= '' or getValue('spaltelampe.right.interface.epithelindvaekst') ~= '' )
+ then
+ out = out .. ' Interface: '
+ if ( getValue('spaltelampe.right.interface.partikler') ~= '' )
+ then
+ out = out .. getValue('spaltelampe.right.interface.partikler')
+ if ( getValue('spaltelampe.right.interface.epithelindvaekst') ~= '' )
+ then
+ out = out .. ', '
+ end
+ end
+ if ( getValue('spaltelampe.right.interface.epithelindvaekst') ~= '' )
+ then
+ out = out .. getValue('spaltelampe.right.interface.epithelindvaekst') .. '\n'
+ else
+ out = out .. '\n'
+ end
+ end
+ if ( getValue('spaltelampe.right.endothel') ~= '' )
+ then
+ out = out .. ' Endothel: ' .. getValue('spaltelampe.right.endothel') .. '\n'
+ end
+ if ( getValue('spaltelampe.right.lens') ~= '' )
+ then
+ out = out .. 'Lens: ' .. getValue('spaltelampe.right.lens') .. '\n'
+ end
+ if ( getValue('spaltelampe.right.supplerende') ~= '' )
+ then
+ out = out .. getValue('spaltelampe.right.supplerende') .. '\n'
+ end
+ end
+
+ if ( getValue('spaltelampe.left.missing') == '' )
+ then
+ if ( getValue('spaltelampe.right.missing') == '' )
+ then
+ out = out .. '\n'
+ end
+ out = out .. 'Spaltelampe, venstre øje:\n'
+
+ if ( getValue('spaltelampe.left.konjuktiva') ~= '' )
+ then
+ out = out .. 'Konjuktiva: ' .. getValue('spaltelampe.left.konjuktiva') .. '\n'
+ end
+
+ out = out .. 'Cornea:\n'
+ if ( getValue('spaltelampe.left.epithel') ~= '' )
+ then
+ out = out .. ' Epithel: ' .. getValue('spaltelampe.left.epithel') .. '\n'
+ end
+ if ( getValue('spaltelampe.left.stroma') ~= '' )
+ then
+ out = out .. ' Stroma: ' .. getValue('spaltelampe.left.stroma') .. '\n'
+ end
+ if ( getValue('spaltelampe.left.flap') ~= '' )
+ then
+ out = out .. ' Flap: ' .. getValue('spaltelampe.left.flap') .. '\n'
+ end
+ if ( getValue('spaltelampe.left.folder') ~= '' )
+ then
+ out = out .. ' Folder: ' .. getValue('spaltelampe.left.folder') .. '\n'
+ end
+ if ( getValue('spaltelampe.left.interface.partikler') ~= '' or getValue('spaltelampe.left.interface.epithelindvaekst') ~= '' )
+ then
+ out = out .. ' Interface: '
+ if ( getValue('spaltelampe.left.interface.partikler') ~= '' )
+ then
+ out = out .. getValue('spaltelampe.left.interface.partikler')
+ if ( getValue('spaltelampe.left.interface.epithelindvaekst') ~= '' )
+ then
+ out = out .. ', '
+ end
+ end
+ if ( getValue('spaltelampe.left.interface.epithelindvaekst') ~= '' )
+ then
+ out = out .. getValue('spaltelampe.left.interface.epithelindvaekst') .. '\n'
+ else
+ out = out .. '\n'
+ end
+ end
+ if ( getValue('spaltelampe.left.endothel') ~= '' )
+ then
+ out = out .. ' Endothel: ' .. getValue('spaltelampe.left.endothel') .. '\n'
+ end
+ if ( getValue('spaltelampe.left.lens') ~= '' )
+ then
+ out = out .. 'Lens: ' .. getValue('spaltelampe.left.lens') .. '\n'
+ end
+ if ( getValue('spaltelampe.left.supplerende') ~= '' )
+ then
+ out = out .. getValue('spaltelampe.left.supplerende') .. '\n'
+ end
+ end
+
+ return out
+ </resume>
+ <queries>
+ <query service="pracro" class="missing_eye_right" ttl="1000000"/>
+ <query service="pracro" class="missing_eye_left" ttl="1000000"/>
+ </queries>
+ <maps>
+ <map name="missing_eye_right_map">
+ value = 0
+ timestamp = 0
+ source = ''
+
+ if( missing_eye_right )
+ then
+ if( missing_eye_right.value and missing_eye_right.value == '' )
+ then
+ value = ''
+ timestamp = missing_eye_right.timestamp
+ source = missing_eye_right.source
+ else
+ value = 'mangler'
+ timestamp = missing_eye_right.timestamp
+ source = missing_eye_right.source
+ end
+ end
+ return value, timestamp, source
+ </map>
+ <map name="missing_eye_left_map">
+ value = 0
+ timestamp = 0
+ source = ''
+
+ if( missing_eye_left )
+ then
+ if( missing_eye_left.value and missing_eye_left.value == '' )
+ then
+ value = ''
+ timestamp = missing_eye_left.timestamp
+ source = missing_eye_left.source
+ else
+ value = 'mangler'
+ timestamp = missing_eye_left.timestamp
+ source = missing_eye_left.source
+ end
+ end
+ return value, timestamp, source
+ </map>
+ </maps>
+ <scripts>
+ <script language="lua" name="right_eye">
+ if ( value == 'mangler' )
+ then
+ disable('right_eye_frame')
+ else
+ enable('right_eye_frame')
+ end
+ return true
+ </script>
+ <script language="lua" name="left_eye">
+ if ( value == 'mangler' )
+ then
+ disable('left_eye_frame')
+ else
+ enable('left_eye_frame')
+ end
+ return true
+ </script>
+ </scripts>
+ <widgets caption="Spaltelampe"
+ layout="vbox">
+
+ <frame layout="hbox">
+
+ <!-- Højre øje -->
+ <frame layout="vbox">
+ <checkbox caption="Der er ikke målt på højre øje"
+ name="spaltelampe.right.missing" script="right_eye"
+ map="missing_eye_right_map"
+ truevalue="mangler" falsevalue="" value=""/>
+ <frame name="right_eye_frame" caption="Højre øje" layout="vbox">
+
+ <frame layout="hbox">
+ <frame layout="vbox">
+ <label caption="Konjuktiva:"/>
+ <label/>
+ </frame>
+ <frame layout="vbox">
+ <altcombobox name="spaltelampe.right.konjuktiva" layout="vbox" value="">
+ <item caption="Ikke udfyldt" value=""/>
+ <item caption="Bleg" value="Bleg"/>
+ <item caption="Injiceret" value="Injiceret"/>
+ <altitem caption="Andet" value="andet" layout="hbox" innerwidget="spaltelampe.right.konjuktiva.andet">
+ <label caption="Andet:"/>
+ <lineedit name="spaltelampe.right.konjuktiva.andet"/>
+ </altitem>
+ </altcombobox>
+ </frame>
+ </frame>
+
+ <frame layout="vbox" caption="Cornea:">
+
+ <frame layout="hbox">
+ <frame layout="vbox">
+ <label caption="Epithel:"/>
+ <label/>
+ </frame>
+ <frame layout="vbox">
+ <altcombobox name="spaltelampe.right.epithel" layout="vbox" value="Upåfaldende">
+ <item caption="Upåfaldende" value="Upåfaldende"/>
+ <item caption="Tørhedsforandringer" value="Tørhedsforandringer"/>
+ <item caption="Mikrocyster" value="Mikrocyster"/>
+ <item caption="Refraktile linier" value="Refraktile linier"/>
+ <altitem caption="Andet" value="andet" layout="hbox" innerwidget="spaltelampe.right.epithel.andet">
+ <label caption="Andet:"/>
+ <lineedit name="spaltelampe.right.epithel.andet"/>
+ </altitem>
+ </altcombobox>
+ </frame>
+ </frame>
+
+ <frame layout="hbox">
+ <frame layout="vbox">
+ <label caption="Stroma:"/>
+ <label/>
+ </frame>
+ <frame layout="vbox">
+ <altcombobox name="spaltelampe.right.stroma" layout="vbox" value="">
+ <item caption="Ikke udfyldt" value=""/>
+ <item caption="Ingen" value="Ingen"/>
+ <item caption="Spor af haze - grad 0,5" value="Spor af haze - grad 0,5"/>
+ <item caption="Let haze - grad 1" value="Let haze - grad 1"/>
+ <item caption="Nogen haze - grad 2" value="Nogen haze - grad 2"/>
+ <item caption="Udtalt haze - grad 3" value="Udtalt haze - grad 3"/>
+ <item caption="Massiv haze - grad 4" value="Massiv haze - grad 4"/>
+ <altitem caption="Andet" value="andet" layout="hbox" innerwidget="spaltelampe.right.stroma.andet">
+ <label caption="Andet:"/>
+ <lineedit name="spaltelampe.right.stroma.andet"/>
+ </altitem>
+ </altcombobox>
+ </frame>
+ </frame>
+
+ <frame layout="hbox">
+ <frame layout="vbox">
+ <label caption="Flap:"/>
+ <label/>
+ </frame>
+ <frame layout="vbox">
+ <altcombobox name="spaltelampe.right.flap" layout="vbox" value="">
+ <item caption="Ej relevant" value=""/>
+ <item caption="Velplaceret" value="Velplaceret"/>
+ <item caption="Dislokeret" value="Dislokeret"/>
+ <altitem caption="Andet" value="andet" layout="hbox" innerwidget="spaltelampe.right.flap.andet">
+ <label caption="Andet:"/>
+ <lineedit name="spaltelampe.right.flap.andet"/>
+ </altitem>
+ </altcombobox>
+ </frame>
+ </frame>
+
+ <frame layout="hbox">
+ <frame layout="vbox">
+ <label caption="Folder:"/>
+ <label/>
+ </frame>
+ <frame layout="vbox">
+ <altcombobox name="spaltelampe.right.folder" layout="vbox" value="">
+ <item caption="Ej relevant" value=""/>
+ <item caption="Ingen" value="Ingen"/>
+ <item caption="Mikrofolder" value="Mikrofolder"/>
+ <item caption="Lette folder" value="Lette folder"/>
+ <item caption="Udtalte folder" value="Udtalte folder"/>
+ <altitem caption="Andet" value="andet" layout="hbox" innerwidget="spaltelampe.right.folder.andet">
+ <label caption="Andet:"/>
+ <lineedit name="spaltelampe.right.folder.andet"/>
+ </altitem>
+ </altcombobox>
+ </frame>
+ </frame>
+
+ <frame layout="hbox" caption="Interface:">
+ <frame layout="vbox">
+ <label caption="Partikler:"/>
+ <label/>
+ <label caption="Epithelindvækst:"/>
+ <label/>
+ </frame>
+ <frame layout="vbox">
+ <altcombobox name="spaltelampe.right.interface.partikler" layout="vbox" value="">
+ <item caption="Ej relevant" value=""/>
+ <item caption="Ingen partikler eller debris" value="Ingen partikler eller debris"/>
+ <item caption="Enkelte partikler" value="Enkelte partikler"/>
+ <item caption="Nogen partikler" value="Nogen partikler"/>
+ <item caption="Udtalte partikler" value="Udtalte partikler"/>
+ <altitem caption="Andet" value="andet" layout="hbox" innerwidget="spaltelampe.right.interface.partikler.andet">
+ <label caption="Andet:"/>
+ <lineedit name="spaltelampe.right.interface.partikler.andet"/>
+ </altitem>
+ </altcombobox>
+ <altcombobox name="spaltelampe.right.interface.epithelindvaekst" layout="vbox" value="">
+ <item caption="Ej relevant" value=""/>
+ <item caption="Ingen epithelindvækst" value="Ingen epithelindvækst"/>
+ <item caption="Diskret epithelindvækst" value="Diskret epithelindvækst"/>
+ <item caption="Let epithelindvækst" value="Let epithelindvækst"/>
+ <item caption="Betydende epithelindvækst" value="Betydende epithelindvækst"/>
+ <altitem caption="Andet" value="andet" layout="hbox" innerwidget="spaltelampe.right.interface.epithelindvaekst.andet">
+ <label caption="Andet:"/>
+ <lineedit name="spaltelampe.right.interface.epithelindvaekst.andet"/>
+ </altitem>
+ </altcombobox>
+ </frame>
+ </frame>
+
+ <frame layout="hbox">
+ <frame layout="vbox">
+ <label caption="Endothel:"/>
+ <label/>
+ </frame>
+ <frame layout="vbox">
+ <altcombobox name="spaltelampe.right.endothel" layout="vbox" value="Upåfaldende">
+ <item caption="Upåfaldende" value="Upåfaldende"/>
+ <item caption="Guttatae" value="Guttatae"/>
+ <altitem caption="Andet" value="andet" layout="hbox" innerwidget="spaltelampe.right.endothel.andet">
+ <label caption="Andet:"/>
+ <lineedit name="spaltelampe.right.endothel.andet"/>
+ </altitem>
+ </altcombobox>
+ </frame>
+ </frame>
+
+ </frame>
+
+ <frame layout="hbox">
+ <frame layout="vbox">
+ <label caption="Lens:"/>
+ <label/>
+ </frame>
+ <frame layout="vbox">
+ <altcombobox name="spaltelampe.right.lens" layout="vbox" value="Klar">
+ <item caption="Klar" value="Klar"/>
+ <item caption="Katarakt-1" value="Katarakt-1"/>
+ <item caption="Katarakt-2" value="Katarakt-2"/>
+ <item caption="Katarakt-3" value="Katarakt-3"/>
+ <item caption="Katarakt-4" value="Katarakt-4"/>
+ <item caption="Pseudofak" value="Pseudofak"/>
+ <altitem caption="Andet" value="andet" layout="hbox" innerwidget="spaltelampe.right.lens.andet">
+ <label caption="Andet:"/>
+ <lineedit name="spaltelampe.right.lens.andet"/>
+ </altitem>
+ </altcombobox>
+ </frame>
+ </frame>
+
+ <frame layout="vbox">
+ <label caption="Supplerende:"/>
+ <lineedit name="spaltelampe.right.supplerende"/>
+ </frame>
+
+ </frame>
+ </frame>
+
+ <!-- Venstre øje -->
+ <frame layout="vbox">
+ <checkbox caption="Der er ikke målt på venstre øje"
+ name="spaltelampe.left.missing" script="left_eye"
+ map="missing_eye_left_map"
+ truevalue="mangler" falsevalue="" value=""/>
+ <frame name="left_eye_frame" caption="Højre øje" layout="vbox">
+
+ <frame layout="hbox">
+ <frame layout="vbox">
+ <label caption="Konjuktiva:"/>
+ <label/>
+ </frame>
+ <frame layout="vbox">
+ <altcombobox name="spaltelampe.left.konjuktiva" layout="vbox" value="">
+ <item caption="Ikke udfyldt" value=""/>
+ <item caption="Bleg" value="Bleg"/>
+ <item caption="Injiceret" value="Injiceret"/>
+ <altitem caption="Andet" value="andet" layout="hbox" innerwidget="spaltelampe.left.konjuktiva.andet">
+ <label caption="Andet:"/>
+ <lineedit name="spaltelampe.left.konjuktiva.andet"/>
+ </altitem>
+ </altcombobox>
+ </frame>
+ </frame>
+
+ <frame layout="vbox" caption="Cornea:">
+
+ <frame layout="hbox">
+ <frame layout="vbox">
+ <label caption="Epithel:"/>
+ <label/>
+ </frame>
+ <frame layout="vbox">
+ <altcombobox name="spaltelampe.left.epithel" layout="vbox" value="Upåfaldende">
+ <item caption="Upåfaldende" value="Upåfaldende"/>
+ <item caption="Tørhedsforandringer" value="Tørhedsforandringer"/>
+ <item caption="Mikrocyster" value="Mikrocyster"/>
+ <item caption="Refraktile linier" value="Refraktile linier"/>
+ <altitem caption="Andet" value="andet" layout="hbox" innerwidget="spaltelampe.left.epithel.andet">
+ <label caption="Andet:"/>
+ <lineedit name="spaltelampe.left.epithel.andet"/>
+ </altitem>
+ </altcombobox>
+ </frame>
+ </frame>
+
+ <frame layout="hbox">
+ <frame layout="vbox">
+ <label caption="Stroma:"/>
+ <label/>
+ </frame>
+ <frame layout="vbox">
+ <altcombobox name="spaltelampe.left.stroma" layout="vbox" value="">
+ <item caption="Ikke udfyldt" value=""/>
+ <item caption="Ingen" value="Ingen"/>
+ <item caption="Spor af haze - grad 0,5" value="Spor af haze - grad 0,5"/>
+ <item caption="Let haze - grad 1" value="Let haze - grad 1"/>
+ <item caption="Nogen haze - grad 2" value="Nogen haze - grad 2"/>
+ <item caption="Udtalt haze - grad 3" value="Udtalt haze - grad 3"/>
+ <item caption="Massiv haze - grad 4" value="Massiv haze - grad 4"/>
+ <altitem caption="Andet" value="andet" layout="hbox" innerwidget="spaltelampe.left.stroma.andet">
+ <label caption="Andet:"/>
+ <lineedit name="spaltelampe.left.stroma.andet"/>
+ </altitem>
+ </altcombobox>
+ </frame>
+ </frame>
+
+ <frame layout="hbox">
+ <frame layout="vbox">
+ <label caption="Flap:"/>
+ <label/>
+ </frame>
+ <frame layout="vbox">
+ <altcombobox name="spaltelampe.left.flap" layout="vbox" value="">
+ <item caption="Ej relevant" value=""/>
+ <item caption="Velplaceret" value="Velplaceret"/>
+ <item caption="Dislokeret" value="Dislokeret"/>
+ <altitem caption="Andet" value="andet" layout="hbox" innerwidget="spaltelampe.left.flap.andet">
+ <label caption="Andet:"/>
+ <lineedit name="spaltelampe.left.flap.andet"/>
+ </altitem>
+ </altcombobox>
+ </frame>
+ </frame>
+
+ <frame layout="hbox">
+ <frame layout="vbox">
+ <label caption="Folder:"/>
+ <label/>
+ </frame>
+ <frame layout="vbox">
+ <altcombobox name="spaltelampe.left.folder" layout="vbox" value="">
+ <item caption="Ej relevant" value=""/>
+ <item caption="Ingen" value="Ingen"/>
+ <item caption="Mikrofolder" value="Mikrofolder"/>
+ <item caption="Lette folder" value="Lette folder"/>
+ <item caption="Udtalte folder" value="Udtalte folder"/>
+ <altitem caption="Andet" value="andet" layout="hbox" innerwidget="spaltelampe.left.folder.andet">
+ <label caption="Andet:"/>
+ <lineedit name="spaltelampe.left.folder.andet"/>
+ </altitem>
+ </altcombobox>
+ </frame>
+ </frame>
+
+ <frame layout="hbox" caption="Interface:">
+ <frame layout="vbox">
+ <label caption="Partikler:"/>
+ <label/>
+ <label caption="Epithelindvækst:"/>
+ <label/>
+ </frame>
+ <frame layout="vbox">
+ <altcombobox name="spaltelampe.left.partikler" layout="vbox" value="">
+ <item caption="Ej relevant" value=""/>
+ <item caption="Ingen partikler eller debris" value="Ingen partikler eller debris"/>
+ <item caption="Enkelte partikler" value="Enkelte partikler"/>
+ <item caption="Nogen partikler" value="Nogen partikler"/>
+ <item caption="Udtalte partikler" value="Udtalte partikler"/>
+ <altitem caption="Andet" value="andet" layout="hbox" innerwidget="spaltelampe.left.partikler.andet">
+ <label caption="Andet:"/>
+ <lineedit name="spaltelampe.left.partikler.andet"/>
+ </altitem>
+ </altcombobox>
+ <altcombobox name="spaltelampe.left.epithelindvaekst" layout="vbox" value="">
+ <item caption="Ej relevant" value=""/>
+ <item caption="Ingen epithelindvækst" value="Ingen epithelindvækst"/>
+ <item caption="Diskret epithelindvækst" value="Diskret epithelindvækst"/>
+ <item caption="Let epithelindvækst" value="Let epithelindvækst"/>
+ <item caption="Betydende epithelindvækst" value="Betydende epithelindvækst"/>
+ <altitem caption="Andet" value="andet" layout="hbox" innerwidget="spaltelampe.left.epithelindvaekst.andet">
+ <label caption="Andet:"/>
+ <lineedit name="spaltelampe.left.epithelindvaekst.andet"/>
+ </altitem>
+ </altcombobox>
+ </frame>
+ </frame>
+
+ <frame layout="hbox">
+ <frame layout="vbox">
+ <label caption="Endothel:"/>
+ <label/>
+ </frame>
+ <frame layout="vbox">
+ <altcombobox name="spaltelampe.left.endothel" layout="vbox" value="Upåfaldende">
+ <item caption="Upåfaldende" value="Upåfaldende"/>
+ <item caption="Guttatae" value="Guttatae"/>
+ <altitem caption="Andet" value="andet" layout="hbox" innerwidget="spaltelampe.left.endothel.andet">
+ <label caption="Andet:"/>
+ <lineedit name="spaltelampe.left.endothel.andet"/>
+ </altitem>
+ </altcombobox>
+ </frame>
+ </frame>
+
+ </frame>
+
+ <frame layout="hbox">
+ <frame layout="vbox">
+ <label caption="Lens:"/>
+ <label/>
+ </frame>
+ <frame layout="vbox">
+ <altcombobox name="spaltelampe.left.lens" layout="vbox" value="Klar">
+ <item caption="Klar" value="Klar"/>
+ <item caption="Katarakt-1" value="Katarakt-1"/>
+ <item caption="Katarakt-2" value="Katarakt-2"/>
+ <item caption="Katarakt-3" value="Katarakt-3"/>
+ <item caption="Katarakt-4" value="Katarakt-4"/>
+ <item caption="Pseudofak" value="Pseudofak"/>
+ <altitem caption="Andet" value="andet" layout="hbox" innerwidget="spaltelampe.left.lens.andet">
+ <label caption="Andet:"/>
+ <lineedit name="spaltelampe.left.lens.andet"/>
+ </altitem>
+ </altcombobox>
+ </frame>
+ </frame>
+
+ <frame layout="vbox">
+ <label caption="Supplerende:"/>
+ <lineedit name="spaltelampe.left.supplerende"/>
+ </frame>
+
+ </frame>
+ </frame>
+
+ </frame>
+
+
+ <!-- Knapper -->
+ <frame layout="hbox">
+ <spacer/>
+ <button caption="Gem" action="commit"/>
+ </frame>
+ </widgets>
+</macro>