source: WAeUP_SRP/trunk/profiles/default/layouts/accobook.xml @ 343

Last change on this file since 343 was 199, checked in by joachim, 19 years ago

=profiles created upgrade to CPS3.4

File size: 2.2 KB
Line 
1<?xml version="1.0"?>
2<object name="accobook" 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_sc_</property>
7 <property name="flexible_widgets"/>
8 <property name="validate_values_expr"></property>
9 <widget name="sc_id" meta_type="String Widget">
10  <property name="title">SC ID</property>
11  <property name="fields">
12   <element value="sc_id"/>
13  </property>
14  <property name="label">Card Serial Number </property>
15  <property name="label_edit">Card Serial Number</property>
16  <property name="description">Card Serial Number </property>
17  <property
18     name="help">This can be found on the bottom right of the reverse side of your Scratch Card</property>
19  <property name="readonly_layout_modes"/>
20  <property name="hidden_layout_modes"/>
21  <property name="hidden_readonly_layout_modes"/>
22  <property name="hidden_if_expr">python:1</property>
23  <property name="display_width">10</property>
24 </widget>
25 <widget name="sc_pin" meta_type="Scratchcard Pin Widget">
26  <property name="title">SC PIN</property>
27  <property name="fields">
28   <element value="sc_pin"/>
29  </property>
30  <property name="is_required">True</property>
31  <property name="label">enter  PIN</property>
32  <property name="label_edit">Enter an Accommodation PIN</property>
33  <property name="help">Enter a PIN valid for Accomodation Booking</property>
34  <property name="readonly_layout_modes"/>
35  <property name="hidden_layout_modes"/>
36  <property name="hidden_readonly_layout_modes"/>
37  <property name="display_width">10</property>
38  <property name="size_max">10</property>
39 </widget>
40 <widget name="sc_value" meta_type="Float Widget">
41  <property name="title">Scratch card value</property>
42  <property name="fields">
43   <element value="sc_value"/>
44  </property>
45  <property name="label">SC Value</property>
46  <property name="label_edit">Scratcard Value</property>
47  <property name="readonly_layout_modes">
48   <element value="create"/>
49  </property>
50  <property name="hidden_layout_modes"/>
51  <property name="hidden_readonly_layout_modes"/>
52 </widget>
53 <table>
54  <row>
55   <cell name="sc_value"/>
56  </row>
57  <row>
58   <cell name="sc_pin"/>
59  </row>
60 </table>
61</object>
Note: See TracBrowser for help on using the repository browser.