test-basic.xml 1.7 KB

1234567891011121314151617181920212223242526272829303132333435
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui-layout-def xmlns="http://quadarax.com/ui-layout-definition"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. version="1.6" schema-version="1.6" target-platform="basic">
  5. <patterns>
  6. <pattern-include src="abstract-controls.xml" important="true"/>
  7. <wireframe name="main-layout" type="base-layout" platform="basic">
  8. <template>
  9. <Panel name="ctrl_001" x="0" y="0" width="360" height="640">
  10. <Panel name="ctrl_002" x="0" y="0" width="360" height="48"
  11. slot-name="header" slot-allowed-controls="any"/>
  12. <Panel name="ctrl_003" x="0" y="48" width="360" height="544"
  13. slot-name="main-content" slot-allowed-controls="any" slot-required="true"/>
  14. <Panel name="ctrl_004" x="0" y="592" width="360" height="48"
  15. slot-name="footer" slot-allowed-controls="any"/>
  16. </Panel>
  17. </template>
  18. </wireframe>
  19. </patterns>
  20. <window name="HomeScreen" title="Home" target-platform="basic" wireframe="main-layout">
  21. <slot-overrides>
  22. <slot name="header">
  23. <Label name="ctrl_005" x="16" y="8" width="200" height="32" text="My Application"/>
  24. </slot>
  25. <slot name="main-content">
  26. <Label name="ctrl_006" x="16" y="16" width="200" height="24" text="Welcome"/>
  27. <TextBox name="ctrl_007" x="16" y="56" width="328" height="32"/>
  28. <Button name="ctrl_008" x="120" y="104" width="120" height="40" text="Submit"/>
  29. </slot>
  30. <slot name="footer">
  31. <Label name="ctrl_009" x="16" y="8" width="200" height="32" text="Status: Ready"/>
  32. </slot>
  33. </slot-overrides>
  34. </window>
  35. </ui-layout-def>