~ubuntu-branches/ubuntu/raring/kiwi/raring

« back to all changes in this revision

Viewing changes to examples/validation/personalinformation.glade

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Holbach
  • Date: 2007-01-30 09:52:28 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20070130095228-n0mkqlt82e74twqc
Tags: 1.9.12-0ubuntu1
* New upstream release.
* debian/patches/03_epyrun_use_local_modules.patch:
  - updated.
* debian/control:
  - moved python-support from Build-Depends to Build-Depends-Indep.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<?xml version="1.0" ?>
 
1
<?xml version="1.0" standalone="no"?> <!--*- mode: xml -*-->
 
2
<!DOCTYPE glade-interface SYSTEM "http://gazpacho.sicem.biz/gazpacho-0.1.dtd">
2
3
<glade-interface>
3
 
    <requires lib="kiwi2"/>
4
4
    <widget class="GtkWindow" id="personalinformation">
5
 
        <property name="title" context="True" translatable="True">Personal Information</property>
6
5
        <property name="border_width">12</property>
7
6
        <property name="role"></property>
8
 
        <property name="events"></property>
 
7
        <property name="title" context="yes" translatable="yes">Personal Information</property>
9
8
        <child>
10
9
            <widget class="GtkVBox" id="vbox1">
11
 
                <property name="events"></property>
12
10
                <property name="visible">True</property>
13
11
                <child>
14
12
                    <widget class="GtkLabel" id="label6">
 
13
                        <property name="label" context="yes" translatable="yes">&lt;b&gt;Please fill in some personal information&lt;/b&gt;</property>
 
14
                        <property name="use_markup">True</property>
 
15
                        <property name="visible">True</property>
15
16
                        <property name="ypad">8</property>
16
 
                        <property name="label" context="True" translatable="True">&lt;b&gt;Please fill in some personal information&lt;/b&gt;</property>
17
 
                        <property name="use_markup">True</property>
18
 
                        <property name="events"></property>
19
 
                        <property name="visible">True</property>
20
17
                    </widget>
21
18
                    <packing>
22
19
                        <property name="expand">False</property>
24
21
                </child>
25
22
                <child>
26
23
                    <widget class="GtkTable" id="table1">
27
 
                        <property name="row_spacing">6</property>
28
24
                        <property name="column_spacing">6</property>
29
 
                        <property name="events"></property>
30
 
                        <property name="n_rows">8</property>
31
25
                        <property name="n_columns">2</property>
 
26
                        <property name="n_rows">9</property>
 
27
                        <property name="row_spacing">6</property>
32
28
                        <property name="visible">True</property>
33
29
                        <child>
34
 
                            <widget class="GtkLabel" id="label9">
35
 
                                <property name="label" context="True" translatable="True">Gender:</property>
36
 
                                <property name="events"></property>
37
 
                                <property name="xalign">1.0</property>
38
 
                                <property name="visible">True</property>
39
 
                            </widget>
40
 
                            <packing>
41
 
                                <property name="bottom_attach">7</property>
42
 
                                <property name="top_attach">6</property>
43
 
                            </packing>
44
 
                        </child>
45
 
                        <child>
46
 
                            <widget class="ProxyComboBox" id="gender">
47
 
                                <property name="model_attribute">gender</property>
48
 
                                <property name="events"></property>
49
 
                                <property name="data_type">str</property>
50
 
                                <property name="visible">True</property>
51
 
                            </widget>
52
 
                            <packing>
53
 
                                <property name="left_attach">1</property>
54
 
                                <property name="bottom_attach">7</property>
55
 
                                <property name="top_attach">6</property>
56
 
                                <property name="right_attach">2</property>
57
 
                            </packing>
58
 
                        </child>
59
 
                        <child>
60
30
                            <widget class="GtkLabel" id="label1">
61
 
                                <property name="label" context="True" translatable="True">Name:</property>
62
 
                                <property name="events"></property>
 
31
                                <property name="label" context="yes" translatable="yes">Name:</property>
 
32
                                <property name="visible">True</property>
63
33
                                <property name="xalign">1.0</property>
64
 
                                <property name="visible">True</property>
65
34
                            </widget>
66
 
                            <packing/>
67
35
                        </child>
68
36
                        <child>
69
37
                            <widget class="GtkLabel" id="label2">
70
 
                                <property name="label" context="True" translatable="True">Age:</property>
71
 
                                <property name="events"></property>
 
38
                                <property name="label" context="yes" translatable="yes">Age:</property>
 
39
                                <property name="visible">True</property>
72
40
                                <property name="xalign">1.0</property>
73
 
                                <property name="visible">True</property>
74
41
                            </widget>
75
42
                            <packing>
76
43
                                <property name="bottom_attach">2</property>
79
46
                        </child>
80
47
                        <child>
81
48
                            <widget class="GtkLabel" id="label3">
82
 
                                <property name="label" context="True" translatable="True">Birthdate:</property>
83
 
                                <property name="events"></property>
 
49
                                <property name="label" context="yes" translatable="yes">Birthdate:</property>
 
50
                                <property name="visible">True</property>
84
51
                                <property name="xalign">1.0</property>
85
 
                                <property name="visible">True</property>
86
52
                            </widget>
87
53
                            <packing>
88
54
                                <property name="bottom_attach">3</property>
90
56
                            </packing>
91
57
                        </child>
92
58
                        <child>
93
 
                            <widget class="kiwi+ui+widgets+entry+Entry" id="name">
 
59
                            <widget class="GtkLabel" id="label3">
 
60
                                <property name="label" context="yes" translatable="yes">Phone Number:</property>
 
61
                                <property name="visible">True</property>
 
62
                                <property name="xalign">1.0</property>
 
63
                            </widget>
 
64
                            <packing>
 
65
                                <property name="bottom_attach">4</property>
 
66
                                <property name="top_attach">3</property>
 
67
                            </packing>
 
68
                        </child>
 
69
                        <child>
 
70
                            <widget class="GtkLabel" id="label4">
 
71
                                <property name="label" context="yes" translatable="yes">Height:</property>
 
72
                                <property name="visible">True</property>
 
73
                                <property name="xalign">1.0</property>
 
74
                            </widget>
 
75
                            <packing>
 
76
                                <property name="bottom_attach">5</property>
 
77
                                <property name="top_attach">4</property>
 
78
                            </packing>
 
79
                        </child>
 
80
                        <child>
 
81
                            <widget class="GtkLabel" id="label5">
 
82
                                <property name="label" context="yes" translatable="yes">Weight:</property>
 
83
                                <property name="visible">True</property>
 
84
                                <property name="xalign">1.0</property>
 
85
                            </widget>
 
86
                            <packing>
 
87
                                <property name="bottom_attach">6</property>
 
88
                                <property name="top_attach">5</property>
 
89
                            </packing>
 
90
                        </child>
 
91
                        <child>
 
92
                            <widget class="GtkLabel" id="label8">
 
93
                                <property name="label" context="yes" translatable="yes">Nationality:</property>
 
94
                                <property name="visible">True</property>
 
95
                                <property name="xalign">1.0</property>
 
96
                            </widget>
 
97
                            <packing>
 
98
                                <property name="bottom_attach">7</property>
 
99
                                <property name="top_attach">6</property>
 
100
                            </packing>
 
101
                        </child>
 
102
                        <child>
 
103
                            <widget class="ProxyRadioButton" id="status">
 
104
                                <property name="data_type">bool</property>
 
105
                                <property name="data_value">False</property>
 
106
                                <property name="label" context="yes" translatable="yes">Married</property>
 
107
                                <property name="model_attribute">status</property>
 
108
                                <property name="visible">True</property>
 
109
                            </widget>
 
110
                            <packing>
 
111
                                <property name="bottom_attach">8</property>
 
112
                                <property name="top_attach">7</property>
 
113
                            </packing>
 
114
                        </child>
 
115
                        <child>
 
116
                            <widget class="GtkLabel" id="label9">
 
117
                                <property name="label" context="yes" translatable="yes">Gender:</property>
 
118
                                <property name="visible">True</property>
 
119
                                <property name="xalign">1.0</property>
 
120
                            </widget>
 
121
                            <packing>
 
122
                                <property name="bottom_attach">9</property>
 
123
                                <property name="top_attach">8</property>
 
124
                            </packing>
 
125
                        </child>
 
126
                        <child>
 
127
                            <widget class="ProxyEntry" id="name">
 
128
                                <property name="data_type">unicode</property>
 
129
                                <property name="is_focus">True</property>
94
130
                                <property name="mandatory">True</property>
95
131
                                <property name="model_attribute">name</property>
96
 
                                <property name="events"></property>
97
 
                                <property name="can_focus">True</property>
98
 
                                <property name="data_type">unicode</property>
99
132
                                <property name="visible">True</property>
100
133
                            </widget>
101
134
                            <packing>
104
137
                            </packing>
105
138
                        </child>
106
139
                        <child>
107
 
                            <widget class="kiwi+ui+widgets+entry+Entry" id="age">
 
140
                            <widget class="ProxyEntry" id="age">
 
141
                                <property name="data_type">int</property>
108
142
                                <property name="mandatory">True</property>
109
143
                                <property name="model_attribute">age</property>
110
 
                                <property name="events"></property>
111
 
                                <property name="can_focus">True</property>
112
 
                                <property name="data_type">int</property>
113
144
                                <property name="visible">True</property>
 
145
                                <property name="xalign">1.0</property>
114
146
                            </widget>
115
147
                            <packing>
 
148
                                <property name="bottom_attach">2</property>
116
149
                                <property name="left_attach">1</property>
117
 
                                <property name="bottom_attach">2</property>
 
150
                                <property name="right_attach">2</property>
118
151
                                <property name="top_attach">1</property>
119
 
                                <property name="right_attach">2</property>
120
152
                            </packing>
121
153
                        </child>
122
154
                        <child>
123
155
                            <widget class="ProxyDateEntry" id="birthdate">
 
156
                                <property name="data_type">date</property>
124
157
                                <property name="mandatory">True</property>
125
158
                                <property name="model_attribute">birthdate</property>
126
 
                                <property name="events"></property>
127
 
                                <property name="data_type">date</property>
128
159
                                <property name="visible">True</property>
129
160
                            </widget>
130
161
                            <packing>
131
 
                                <property name="left_attach">1</property>
132
162
                                <property name="bottom_attach">3</property>
 
163
                                <property name="left_attach">1</property>
 
164
                                <property name="right_attach">2</property>
133
165
                                <property name="top_attach">2</property>
 
166
                            </packing>
 
167
                        </child>
 
168
                        <child>
 
169
                            <widget class="ProxyEntry" id="phonenumber">
 
170
                                <property name="data_type">str</property>
 
171
                                <property name="is_focus">True</property>
 
172
                                <property name="mandatory">True</property>
 
173
                                <property name="mask" context="yes" translatable="yes">(00) 0000-0000</property>
 
174
                                <property name="model_attribute">phonenumber</property>
 
175
                                <property name="text" context="yes" translatable="yes">(  )     -    </property>
 
176
                                <property name="visible">True</property>
 
177
                            </widget>
 
178
                            <packing>
 
179
                                <property name="bottom_attach">4</property>
 
180
                                <property name="left_attach">1</property>
134
181
                                <property name="right_attach">2</property>
 
182
                                <property name="top_attach">3</property>
135
183
                            </packing>
136
184
                        </child>
137
185
                        <child>
138
 
                            <widget class="kiwi+ui+widgets+entry+Entry" id="height">
 
186
                            <widget class="ProxyEntry" id="height">
 
187
                                <property name="data_type">float</property>
139
188
                                <property name="mandatory">True</property>
140
189
                                <property name="model_attribute">height</property>
141
 
                                <property name="events"></property>
142
 
                                <property name="can_focus">True</property>
143
 
                                <property name="data_type">float</property>
144
190
                                <property name="visible">True</property>
 
191
                                <property name="xalign">1.0</property>
145
192
                            </widget>
146
193
                            <packing>
 
194
                                <property name="bottom_attach">5</property>
147
195
                                <property name="left_attach">1</property>
148
 
                                <property name="bottom_attach">4</property>
149
 
                                <property name="top_attach">3</property>
150
196
                                <property name="right_attach">2</property>
151
 
                            </packing>
152
 
                        </child>
153
 
                        <child>
154
 
                            <widget class="GtkLabel" id="label4">
155
 
                                <property name="label" context="True" translatable="True">Height:</property>
156
 
                                <property name="events"></property>
157
 
                                <property name="xalign">1.0</property>
158
 
                                <property name="visible">True</property>
159
 
                            </widget>
160
 
                            <packing>
161
 
                                <property name="bottom_attach">4</property>
162
 
                                <property name="top_attach">3</property>
163
 
                            </packing>
164
 
                        </child>
165
 
                        <child>
166
 
                            <widget class="GtkLabel" id="label5">
167
 
                                <property name="label" context="True" translatable="True">Weight:</property>
168
 
                                <property name="events"></property>
169
 
                                <property name="xalign">1.0</property>
170
 
                                <property name="visible">True</property>
171
 
                            </widget>
172
 
                            <packing>
173
 
                                <property name="bottom_attach">5</property>
174
197
                                <property name="top_attach">4</property>
175
198
                            </packing>
176
199
                        </child>
177
200
                        <child>
178
 
                            <widget class="kiwi+ui+widgets+spinbutton+SpinButton" id="weight">
 
201
                            <widget class="ProxySpinButton" id="weight">
 
202
                                <property name="adjustment">0 0 100 1 10 0</property>
 
203
                                <property name="data_type">float</property>
179
204
                                <property name="mandatory">True</property>
180
 
                                <property name="adjustment">0.000000 0.000000 100.000000 1.000000 10.000000 0.000000</property>
181
205
                                <property name="model_attribute">weight</property>
182
 
                                <property name="events"></property>
183
 
                                <property name="can_focus">True</property>
184
 
                                <property name="data_type">float</property>
 
206
                                <property name="text" context="yes" translatable="yes">0</property>
185
207
                                <property name="visible">True</property>
186
208
                            </widget>
187
209
                            <packing>
 
210
                                <property name="bottom_attach">6</property>
188
211
                                <property name="left_attach">1</property>
189
 
                                <property name="bottom_attach">5</property>
190
 
                                <property name="top_attach">4</property>
191
212
                                <property name="right_attach">2</property>
 
213
                                <property name="top_attach">5</property>
192
214
                            </packing>
193
215
                        </child>
194
216
                        <child>
195
217
                            <widget class="ProxyComboEntry" id="nationality">
 
218
                                <property name="data_type">str</property>
196
219
                                <property name="mandatory">True</property>
197
220
                                <property name="model_attribute">nationality</property>
198
 
                                <property name="events"></property>
199
 
                                <property name="data_type">str</property>
200
221
                                <property name="visible">True</property>
201
 
                                <property name="list-editable">True</property>
202
222
                            </widget>
203
223
                            <packing>
 
224
                                <property name="bottom_attach">7</property>
204
225
                                <property name="left_attach">1</property>
205
 
                                <property name="bottom_attach">6</property>
206
 
                                <property name="top_attach">5</property>
207
226
                                <property name="right_attach">2</property>
208
 
                            </packing>
209
 
                        </child>
210
 
                        <child>
211
 
                            <widget class="GtkLabel" id="label8">
212
 
                                <property name="label" context="True" translatable="True">Nationality:</property>
213
 
                                <property name="events"></property>
214
 
                                <property name="xalign">1.0</property>
215
 
                                <property name="visible">True</property>
216
 
                            </widget>
217
 
                            <packing>
218
 
                                <property name="bottom_attach">6</property>
219
 
                                <property name="top_attach">5</property>
220
 
                            </packing>
221
 
                        </child>
222
 
                        <child>
223
 
                            <widget class="kiwi+ui+widgets+radiobutton+RadioButton" id="status">
224
 
                                <property name="model_attribute">status</property>
225
 
                                <property name="data_value">False</property>
 
227
                                <property name="top_attach">6</property>
 
228
                            </packing>
 
229
                        </child>
 
230
                        <child>
 
231
                            <widget class="ProxyRadioButton" id="status_single">
 
232
                                <property name="active">False</property>
226
233
                                <property name="data_type">bool</property>
227
 
                                <property name="visible">True</property>
228
 
                                <property name="label" context="True" translatable="True">Married</property>
229
 
                            </widget>
230
 
                            <packing>
231
 
                                <property name="bottom_attach">8</property>
232
 
                                <property name="top_attach">7</property>
233
 
                            </packing>
234
 
                        </child>
235
 
                        <child>
236
 
                            <widget class="kiwi+ui+widgets+radiobutton+RadioButton" id="status_single">
237
 
                                <property name="model_attribute">status</property>
238
234
                                <property name="data_value">True</property>
239
 
                                <property name="data_type">bool</property>
240
 
                                <property name="visible">True</property>
241
 
                                <property name="label" context="True" translatable="True">Single</property>
242
235
                                <property name="group">status</property>
 
236
                                <property name="label" context="yes" translatable="yes">Single</property>
 
237
                                <property name="model_attribute">status</property>
 
238
                                <property name="visible">True</property>
243
239
                            </widget>
244
240
                            <packing>
245
 
                                <property name="left_attach">1</property>
246
241
                                <property name="bottom_attach">8</property>
 
242
                                <property name="left_attach">1</property>
 
243
                                <property name="right_attach">2</property>
247
244
                                <property name="top_attach">7</property>
 
245
                            </packing>
 
246
                        </child>
 
247
                        <child>
 
248
                            <widget class="ProxyComboBox" id="gender">
 
249
                                <property name="data_type">str</property>
 
250
                                <property name="model_attribute">gender</property>
 
251
                                <property name="visible">True</property>
 
252
                            </widget>
 
253
                            <packing>
 
254
                                <property name="bottom_attach">9</property>
 
255
                                <property name="left_attach">1</property>
248
256
                                <property name="right_attach">2</property>
 
257
                                <property name="top_attach">8</property>
249
258
                            </packing>
250
259
                        </child>
251
260
                    </widget>
255
264
                </child>
256
265
                <child>
257
266
                    <widget class="GtkLabel" id="label7">
 
267
                        <property name="label" context="yes" translatable="yes">Tell us a little bit about yourself:</property>
 
268
                        <property name="visible">True</property>
 
269
                        <property name="xalign">0.0</property>
258
270
                        <property name="ypad">5</property>
259
 
                        <property name="label" context="True" translatable="True">Tell us a little bit about yourself:</property>
260
 
                        <property name="events"></property>
261
 
                        <property name="xalign">0.0</property>
262
 
                        <property name="visible">True</property>
263
271
                    </widget>
264
272
                    <packing>
 
273
                        <property name="expand">False</property>
265
274
                        <property name="position">2</property>
266
 
                        <property name="expand">False</property>
267
275
                    </packing>
268
276
                </child>
269
277
                <child>
270
 
                    <widget class="kiwi+ui+widgets+textview+TextView" id="about">
 
278
                    <widget class="ProxyTextView" id="about">
 
279
                        <property name="border_width">10</property>
 
280
                        <property name="data_type">str</property>
271
281
                        <property name="mandatory">True</property>
272
282
                        <property name="model_attribute">about</property>
273
 
                        <property name="border_width">10</property>
274
 
                        <property name="events"></property>
275
 
                        <property name="can_focus">True</property>
276
 
                        <property name="data_type">str</property>
277
283
                        <property name="visible">True</property>
278
284
                    </widget>
279
285
                    <packing>
282
288
                </child>
283
289
                <child>
284
290
                    <widget class="GtkHButtonBox" id="hbuttonbox1">
285
 
                        <property name="events"></property>
286
291
                        <property name="layout_style">end</property>
287
292
                        <property name="visible">True</property>
288
293
                        <child>
289
294
                            <widget class="GtkButton" id="ok_btn">
290
 
                                <property name="receives_default">True</property>
291
 
                                <property name="events"></property>
292
 
                                <property name="can_focus">True</property>
 
295
                                <property name="label">gtk-ok</property>
293
296
                                <property name="sensitive">False</property>
294
 
                                <property name="visible">True</property>
295
 
                                <property name="label">gtk-ok</property>
296
297
                                <property name="use_stock">True</property>
 
298
                                <property name="visible">True</property>
297
299
                            </widget>
298
 
                            <packing/>
299
300
                        </child>
300
301
                    </widget>
301
302
                    <packing>
 
303
                        <property name="expand">False</property>
302
304
                        <property name="position">4</property>
303
 
                        <property name="expand">False</property>
304
305
                    </packing>
305
306
                </child>
306
307
            </widget>