1 | <?xml version="1.0"?> |
---|
2 | <object name="accommodation" meta_type="CPS Layout"> |
---|
3 | <property name="layout_create_method"></property> |
---|
4 | <property name="layout_edit_method"></property> |
---|
5 | <property name="layout_view_method"></property> |
---|
6 | <property name="style_prefix">layout_waeup_</property> |
---|
7 | <property name="flexible_widgets"/> |
---|
8 | <property name="validate_values_expr"></property> |
---|
9 | <widget name="beds_assigned" meta_type="Int Widget"> |
---|
10 | <property name="fields"> |
---|
11 | <element value="beds_assigned"/> |
---|
12 | </property> |
---|
13 | <property name="is_required">True</property> |
---|
14 | <property name="label">Nr. of Assigned Beds</property> |
---|
15 | <property name="label_edit">Nr. of Assigned Beds</property> |
---|
16 | <property name="help">Number of beds already assigned to students</property> |
---|
17 | </widget> |
---|
18 | <widget name="beds_assigned_list" meta_type="Ordered List Widget"> |
---|
19 | <property name="fields"> |
---|
20 | <element value="beds_assigned_list"/> |
---|
21 | </property> |
---|
22 | <property name="label">Assigned Beds</property> |
---|
23 | <property name="label_edit">Assigned Beds</property> |
---|
24 | <property name="help">List of beds already assigned to students</property> |
---|
25 | </widget> |
---|
26 | <widget name="beds_per_room" meta_type="Select Widget"> |
---|
27 | <property name="fields"> |
---|
28 | <element value="beds_per_room"/> |
---|
29 | </property> |
---|
30 | <property name="is_required">True</property> |
---|
31 | <property name="label">Beds per Room</property> |
---|
32 | <property name="label_edit">Beds per Room</property> |
---|
33 | <property name="vocabulary">range10</property> |
---|
34 | </widget> |
---|
35 | <widget name="heading" meta_type="String Widget"> |
---|
36 | <property name="fields"> |
---|
37 | <element value="heading"/> |
---|
38 | </property> |
---|
39 | <property name="is_required">True</property> |
---|
40 | <property name="label">Hall Name</property> |
---|
41 | <property name="label_edit">Hall Name</property> |
---|
42 | <property name="display_width">40</property> |
---|
43 | <property name="size_max">40</property> |
---|
44 | </widget> |
---|
45 | <widget name="nr_of_blocks" meta_type="Select Widget"> |
---|
46 | <property name="fields"> |
---|
47 | <element value="nr_of_blocks"/> |
---|
48 | </property> |
---|
49 | <property name="is_required">True</property> |
---|
50 | <property name="label">Nr of Blocks</property> |
---|
51 | <property name="label_edit">Nr of Blocks</property> |
---|
52 | <property name="vocabulary">range10</property> |
---|
53 | </widget> |
---|
54 | <widget name="nr_of_floors" meta_type="Select Widget"> |
---|
55 | <property name="fields"> |
---|
56 | <element value="nr_of_floors"/> |
---|
57 | </property> |
---|
58 | <property name="is_required">True</property> |
---|
59 | <property name="label">Nr of Floors </property> |
---|
60 | <property name="label_edit">Nr of Floors</property> |
---|
61 | <property name="vocabulary">range5</property> |
---|
62 | </widget> |
---|
63 | <widget name="rooms_per_floor" meta_type="Select Widget"> |
---|
64 | <property name="fields"> |
---|
65 | <element value="rooms_per_floor"/> |
---|
66 | </property> |
---|
67 | <property name="is_required">True</property> |
---|
68 | <property name="label">Rooms per Floor</property> |
---|
69 | <property name="label_edit">Rooms per Floor</property> |
---|
70 | <property name="vocabulary">range50</property> |
---|
71 | </widget> |
---|
72 | <widget name="text" meta_type="Text Widget"> |
---|
73 | <property name="fields"> |
---|
74 | <element value="text"/> |
---|
75 | </property> |
---|
76 | <property name="label">Text</property> |
---|
77 | <property name="label_edit">Text</property> |
---|
78 | <property name="help">Short Description</property> |
---|
79 | <property name="is_i18n">True</property> |
---|
80 | <property name="hidden_layout_modes"/> |
---|
81 | <property name="css_class">description</property> |
---|
82 | <property name="width">72</property> |
---|
83 | </widget> |
---|
84 | <widget name="which_sex" meta_type="Boolean Widget"> |
---|
85 | <property name="fields"> |
---|
86 | <element value="which_sex"/> |
---|
87 | </property> |
---|
88 | <property name="label">Sex</property> |
---|
89 | <property name="label_edit">Sex</property> |
---|
90 | <property name="label_false">male</property> |
---|
91 | <property name="label_true">female</property> |
---|
92 | </widget> |
---|
93 | <table> |
---|
94 | <row> |
---|
95 | <cell name="heading"/> |
---|
96 | </row> |
---|
97 | <row> |
---|
98 | <cell name="text"/> |
---|
99 | </row> |
---|
100 | <row> |
---|
101 | <cell name="which_sex"/> |
---|
102 | </row> |
---|
103 | <row> |
---|
104 | <cell name="nr_of_blocks"/> |
---|
105 | </row> |
---|
106 | <row> |
---|
107 | <cell name="nr_of_floors"/> |
---|
108 | </row> |
---|
109 | <row> |
---|
110 | <cell name="rooms_per_floor"/> |
---|
111 | </row> |
---|
112 | <row> |
---|
113 | <cell name="beds_per_room"/> |
---|
114 | </row> |
---|
115 | <row> |
---|
116 | <cell name="beds_assigned"/> |
---|
117 | </row> |
---|
118 | <row> |
---|
119 | <cell name="beds_assigned_list"/> |
---|
120 | </row> |
---|
121 | </table> |
---|
122 | </object> |
---|