summaryrefslogtreecommitdiff
path: root/server/xml/example.xml
blob: 03e2d59e77454228da9f14caf5e8b1a78b8590b2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<?xml version="1.0" encoding="UTF-8"?>
<macro name="test_macro" cpr="1505050505" version="1.0" macro_version="1.0">
  <window name="mainwindow"
          caption="This is the mainwindow"
          width="800"
          height="600"
          layout="vbox">
    <include name="patient"/>
    <frame name="data_frame" layout="hbox">
      <label caption="Some field"/>
      <lineedit name="lineedit1" regexp="[0-9]+"/>
    </frame>
    <frame name="bottom_frame" layout="hbox">
      <spacer />
      <button caption="Close window" action="abort"/>
      <button caption="Commit changes" action="commit"/>
    </frame>
  </window>
</macro>