Barry debian version 0.18.5-1
[barry.git] / desktop / src / TaskEditDlg.wxg
blobab8c9864f23bbdc03465e14822c96122200417ca
1 <?xml version="1.0"?>
2 <!-- generated by wxGlade 783a09e9ee04 on Mon Mar 26 15:28:16 2012 -->
4 <application path="TaskEditDlg.cc" name="" class="" option="0" language="C++" top_window="dialog_1" encoding="ISO-8859-1" use_gettext="0" overwrite="0" use_new_namespace="1" for_version="2.8" is_template="0" indent_amount="1" indent_symbol="tab" source_extension=".cc" header_extension=".h">
5 <object class="TaskEditDlg" name="dialog_1" base="EditDialog">
6 <style>wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER|wxTHICK_FRAME</style>
7 <title>Task Event</title>
8 <object class="wxBoxSizer" name="sizer_surround" base="EditBoxSizer">
9 <orient>wxVERTICAL</orient>
10 <object class="sizeritem">
11 <flag>wxALL|wxEXPAND</flag>
12 <border>10</border>
13 <option>1</option>
14 <object class="wxBoxSizer" name="sizer_1" base="EditBoxSizer">
15 <orient>wxVERTICAL</orient>
16 <object class="sizeritem">
17 <flag>wxEXPAND</flag>
18 <border>0</border>
19 <option>0</option>
20 <object class="wxFlexGridSizer" name="grid_sizer_1" base="EditFlexGridSizer">
21 <hgap>5</hgap>
22 <rows>2</rows>
23 <growable_cols>1</growable_cols>
24 <cols>2</cols>
25 <vgap>5</vgap>
26 <object class="sizeritem">
27 <flag>wxALIGN_CENTER_VERTICAL</flag>
28 <border>0</border>
29 <option>0</option>
30 <object class="wxStaticText" name="label_1" base="EditStaticText">
31 <attribute>1</attribute>
32 <label>Task:</label>
33 </object>
34 </object>
35 <object class="sizeritem">
36 <flag>wxEXPAND</flag>
37 <border>0</border>
38 <option>0</option>
39 <object class="wxTextCtrl" name="m_TaskSummary" base="EditTextCtrl">
40 <focused>1</focused>
41 <extraproperties>
42 <property name="Validator">wxTextValidator(wxFILTER_NONE, m_strings.Add(m_rec.Summary))</property>
43 </extraproperties>
44 </object>
45 </object>
46 </object>
47 </object>
48 <object class="sizeritem">
49 <flag>wxALL|wxEXPAND</flag>
50 <border>5</border>
51 <option>0</option>
52 <object class="wxStaticLine" name="static_line_1" base="EditStaticLine">
53 <style>wxLI_HORIZONTAL</style>
54 <attribute>1</attribute>
55 </object>
56 </object>
57 <object class="sizeritem">
58 <flag>wxEXPAND</flag>
59 <border>0</border>
60 <option>0</option>
61 <object class="wxFlexGridSizer" name="grid_sizer_2" base="EditFlexGridSizer">
62 <hgap>5</hgap>
63 <rows>10</rows>
64 <growable_cols>1</growable_cols>
65 <cols>2</cols>
66 <vgap>5</vgap>
67 <object class="sizeritem">
68 <flag>wxALIGN_CENTER_VERTICAL</flag>
69 <border>0</border>
70 <option>0</option>
71 <object class="wxStaticText" name="label_2" base="EditStaticText">
72 <attribute>1</attribute>
73 <label>Status:</label>
74 </object>
75 </object>
76 <object class="sizeritem">
77 <border>0</border>
78 <option>0</option>
79 <object class="wxChoice" name="m_StatusChoice" base="EditChoice">
80 <selection>0</selection>
81 <choices>
82 <choice>Not Started</choice>
83 <choice>In Progress</choice>
84 <choice>Completed</choice>
85 <choice>Waiting</choice>
86 <choice>Deferred</choice>
87 </choices>
88 </object>
89 </object>
90 <object class="sizeritem">
91 <flag>wxALIGN_CENTER_VERTICAL</flag>
92 <border>0</border>
93 <option>0</option>
94 <object class="wxStaticText" name="label_9" base="EditStaticText">
95 <attribute>1</attribute>
96 <label>Priority:</label>
97 </object>
98 </object>
99 <object class="sizeritem">
100 <border>0</border>
101 <option>0</option>
102 <object class="wxChoice" name="m_PriorityChoice" base="EditChoice">
103 <selection>1</selection>
104 <choices>
105 <choice>High</choice>
106 <choice>Normal</choice>
107 <choice>Low</choice>
108 </choices>
109 </object>
110 </object>
111 <object class="sizeritem">
112 <flag>wxALIGN_CENTER_VERTICAL</flag>
113 <border>0</border>
114 <option>0</option>
115 <object class="wxStaticText" name="label_5" base="EditStaticText">
116 <attribute>1</attribute>
117 <label>Due:</label>
118 </object>
119 </object>
120 <object class="sizeritem">
121 <flag>wxEXPAND</flag>
122 <border>0</border>
123 <option>1</option>
124 <object class="wxBoxSizer" name="sizer_3" base="EditBoxSizer">
125 <orient>wxHORIZONTAL</orient>
126 <object class="sizeritem">
127 <border>0</border>
128 <option>0</option>
129 <object class="wxCheckBox" name="m_DueCheck" base="EditCheckBox">
130 <id>Dialog_TaskEdit_DueCheck</id>
131 <events>
132 <handler event="EVT_CHECKBOX">OnDueCheck</handler>
133 </events>
134 </object>
135 </object>
136 <object class="sizeritem">
137 <border>0</border>
138 <option>0</option>
139 <object class="wxDatePickerCtrl" name="m_DueDateCtrl" base="EditDatePickerCtrl">
140 <style>wxDP_DROPDOWN|wxDP_SHOWCENTURY</style>
141 <id>Dialog_TaskEdit_DueDateCtrl</id>
142 <extraproperties>
143 <property name="Validator">DateTimeValidator(&amp;m_DueDateObj.m_date)</property>
144 </extraproperties>
145 <size>110, -1</size>
146 </object>
147 </object>
148 <object class="sizeritem">
149 <border>0</border>
150 <option>0</option>
151 <object class="spacer" name="spacer" base="EditSpacer">
152 <height>20</height>
153 <width>20</width>
154 </object>
155 </object>
156 <object class="sizeritem">
157 <border>0</border>
158 <option>0</option>
159 <object class="wxSpinCtrl" name="m_DueHoursSpinner" base="EditSpinCtrl">
160 <style>wxSP_WRAP|wxTE_NOHIDESEL</style>
161 <id>Dialog_TaskEdit_DueHoursSpinner</id>
162 <range>0, 23</range>
163 <extraproperties>
164 <property name="Validator">wxGenericValidator(&amp;m_DueDateObj.m_hour)</property>
165 </extraproperties>
166 <size>45, -1</size>
167 </object>
168 </object>
169 <object class="sizeritem">
170 <flag>wxLEFT|wxRIGHT|wxALIGN_CENTER_VERTICAL</flag>
171 <border>1</border>
172 <option>0</option>
173 <object class="wxStaticText" name="label_11" base="EditStaticText">
174 <attribute>1</attribute>
175 <label>:</label>
176 </object>
177 </object>
178 <object class="sizeritem">
179 <border>0</border>
180 <option>0</option>
181 <object class="wxSpinCtrl" name="m_DueMinutesSpinner" base="EditSpinCtrl">
182 <style>wxSP_WRAP|wxTE_NOHIDESEL</style>
183 <id>Dialog_TaskEdit_DueMinutesSpinner</id>
184 <range>0, 59</range>
185 <extraproperties>
186 <property name="Validator">wxGenericValidator(&amp;m_DueDateObj.m_min)</property>
187 </extraproperties>
188 <size>45, -1</size>
189 </object>
190 </object>
191 </object>
192 </object>
193 <object class="sizeritem">
194 <flag>wxALIGN_CENTER_VERTICAL</flag>
195 <border>0</border>
196 <option>0</option>
197 <object class="wxStaticText" name="label_8" base="EditStaticText">
198 <attribute>1</attribute>
199 <label>Time Zone:</label>
200 </object>
201 </object>
202 <object class="sizeritem">
203 <border>0</border>
204 <option>0</option>
205 <object class="wxChoice" name="m_TimezoneChoice" base="EditChoice">
206 <selection>0</selection>
207 <choices>
208 <choice>System Time Zone</choice>
209 </choices>
210 </object>
211 </object>
212 <object class="sizeritem">
213 <flag>wxALIGN_CENTER_VERTICAL</flag>
214 <border>0</border>
215 <option>0</option>
216 <object class="wxStaticText" name="label_10" base="EditStaticText">
217 <attribute>1</attribute>
218 <label>Reminder:</label>
219 </object>
220 </object>
221 <object class="sizeritem">
222 <flag>wxEXPAND</flag>
223 <border>0</border>
224 <option>1</option>
225 <object class="wxBoxSizer" name="sizer_5_copy" base="EditBoxSizer">
226 <orient>wxHORIZONTAL</orient>
227 <object class="sizeritem">
228 <border>0</border>
229 <option>0</option>
230 <object class="wxCheckBox" name="m_ReminderCheck" base="EditCheckBox">
231 <id>Dialog_TaskEdit_ReminderCheck</id>
232 <events>
233 <handler event="EVT_CHECKBOX">OnReminderCheck</handler>
234 </events>
235 </object>
236 </object>
237 <object class="sizeritem">
238 <border>0</border>
239 <option>0</option>
240 <object class="wxDatePickerCtrl" name="m_ReminderDateCtrl" base="EditDatePickerCtrl">
241 <id>Dialog_TaskEdit_ReminderDateCtrl</id>
242 <extraproperties>
243 <property name="Validator">DateTimeValidator(&amp;m_ReminderDateObj.m_date)</property>
244 </extraproperties>
245 <size>110, -1</size>
246 </object>
247 </object>
248 <object class="sizeritem">
249 <border>0</border>
250 <option>0</option>
251 <object class="spacer" name="spacer" base="EditSpacer">
252 <height>20</height>
253 <width>20</width>
254 </object>
255 </object>
256 <object class="sizeritem">
257 <border>5</border>
258 <option>0</option>
259 <object class="wxSpinCtrl" name="m_ReminderHoursSpinner" base="EditSpinCtrl">
260 <tooltip>Set Reminder to 0 to disable</tooltip>
261 <id>Dialog_TaskEdit_ReminderHoursSpinner</id>
262 <range>0, 999</range>
263 <extraproperties>
264 <property name="Validator">wxGenericValidator(&amp;m_ReminderDateObj.m_hour)</property>
265 </extraproperties>
266 <size>45, -1</size>
267 </object>
268 </object>
269 <object class="sizeritem">
270 <flag>wxLEFT|wxRIGHT|wxALIGN_CENTER_VERTICAL</flag>
271 <border>1</border>
272 <option>0</option>
273 <object class="wxStaticText" name="label_6" base="EditStaticText">
274 <attribute>1</attribute>
275 <label>:</label>
276 </object>
277 </object>
278 <object class="sizeritem">
279 <flag>wxRIGHT</flag>
280 <border>5</border>
281 <option>0</option>
282 <object class="wxSpinCtrl" name="m_ReminderMinutesSpinner" base="EditSpinCtrl">
283 <tooltip>Set Reminder to 0 to disable</tooltip>
284 <id>Dialog_TaskEdit_ReminderMinutesSpinner</id>
285 <range>0, 59</range>
286 <extraproperties>
287 <property name="Validator">wxGenericValidator(&amp;m_ReminderDateObj.m_min)</property>
288 </extraproperties>
289 <size>45, -1</size>
290 </object>
291 </object>
292 </object>
293 </object>
294 </object>
295 </object>
296 <object class="sizeritem">
297 <flag>wxALL|wxEXPAND</flag>
298 <border>5</border>
299 <option>0</option>
300 <object class="wxStaticLine" name="static_line_2" base="EditStaticLine">
301 <style>wxLI_HORIZONTAL</style>
302 <attribute>1</attribute>
303 </object>
304 </object>
305 <object class="sizeritem">
306 <flag>wxEXPAND</flag>
307 <border>0</border>
308 <option>0</option>
309 <object class="wxFlexGridSizer" name="grid_sizer_4" base="EditFlexGridSizer">
310 <hgap>5</hgap>
311 <rows>5</rows>
312 <growable_cols>1</growable_cols>
313 <cols>2</cols>
314 <vgap>5</vgap>
315 <object class="sizeritem">
316 <flag>wxALIGN_CENTER_VERTICAL</flag>
317 <border>0</border>
318 <option>0</option>
319 <object class="wxStaticText" name="label_18" base="EditStaticText">
320 <attribute>1</attribute>
321 <label>Recurrence:</label>
322 </object>
323 </object>
324 <object class="sizeritem">
325 <border>0</border>
326 <option>0</option>
327 <object class="wxChoice" name="m_RecurrenceChoice" base="EditChoice">
328 <selection>0</selection>
329 <id>Dialog_TaskEdit_RecurrenceChoice</id>
330 <choices>
331 <choice>None</choice>
332 <choice>Daily</choice>
333 <choice>Weekly</choice>
334 <choice>Monthly</choice>
335 <choice>Yearly</choice>
336 </choices>
337 <events>
338 <handler event="EVT_CHOICE">OnRecurrenceChoice</handler>
339 </events>
340 <extraproperties>
341 <property name="Validator">wxGenericValidator(&amp;m_recur_choice)</property>
342 </extraproperties>
343 </object>
344 </object>
345 <object class="sizeritem">
346 <flag>wxALIGN_CENTER_VERTICAL</flag>
347 <border>0</border>
348 <option>0</option>
349 <object class="wxStaticText" name="RecurIntervalLabel" base="EditStaticText">
350 <attribute>1</attribute>
351 <label>Interval:</label>
352 </object>
353 </object>
354 <object class="sizeritem">
355 <flag>wxEXPAND</flag>
356 <border>0</border>
357 <option>1</option>
358 <object class="wxBoxSizer" name="m_IntervalCtrlsSizer" base="EditBoxSizer">
359 <orient>wxHORIZONTAL</orient>
360 <object class="sizeritem">
361 <flag>wxRIGHT|wxALIGN_CENTER_VERTICAL</flag>
362 <border>5</border>
363 <option>0</option>
364 <object class="wxStaticText" name="RecurIntervalLabelB" base="EditStaticText">
365 <attribute>1</attribute>
366 <label>Every</label>
367 </object>
368 </object>
369 <object class="sizeritem">
370 <flag>wxRIGHT</flag>
371 <border>5</border>
372 <option>0</option>
373 <object class="wxSpinCtrl" name="m_IntervalSpinner" base="EditSpinCtrl">
374 <range>1, 999</range>
375 <value>1</value>
376 <extraproperties>
377 <property name="Validator">wxGenericValidator(&amp;m_interval)</property>
378 </extraproperties>
379 <size>45, -1</size>
380 </object>
381 </object>
382 <object class="sizeritem">
383 <flag>wxALIGN_CENTER_VERTICAL</flag>
384 <border>0</border>
385 <option>1</option>
386 <object class="wxStaticText" name="m_IntervalUnitLabel" base="EditStaticText">
387 <style>wxST_NO_AUTORESIZE</style>
388 <attribute>1</attribute>
389 <label>days? weeks? months?</label>
390 </object>
391 </object>
392 </object>
393 </object>
394 <object class="sizeritem">
395 <flag>wxALIGN_CENTER_VERTICAL</flag>
396 <border>0</border>
397 <option>0</option>
398 <object class="wxStaticText" name="RecurDaysLabel" base="EditStaticText">
399 <attribute>1</attribute>
400 <label>Days:</label>
401 </object>
402 </object>
403 <object class="sizeritem">
404 <flag>wxEXPAND</flag>
405 <border>0</border>
406 <option>1</option>
407 <object class="wxBoxSizer" name="m_DaysCtrlsSizer" base="EditBoxSizer">
408 <orient>wxHORIZONTAL</orient>
409 <object class="sizeritem">
410 <flag>wxRIGHT</flag>
411 <border>5</border>
412 <option>0</option>
413 <object class="wxCheckBox" name="m_SunCheck" base="EditCheckBox">
414 <label>S</label>
415 <extraproperties>
416 <property name="Validator">wxGenericValidator(&amp;m_weekdays[0])</property>
417 </extraproperties>
418 </object>
419 </object>
420 <object class="sizeritem">
421 <flag>wxRIGHT</flag>
422 <border>5</border>
423 <option>0</option>
424 <object class="wxCheckBox" name="m_MonCheck" base="EditCheckBox">
425 <label>M</label>
426 <extraproperties>
427 <property name="Validator">wxGenericValidator(&amp;m_weekdays[1])</property>
428 </extraproperties>
429 </object>
430 </object>
431 <object class="sizeritem">
432 <flag>wxRIGHT</flag>
433 <border>5</border>
434 <option>0</option>
435 <object class="wxCheckBox" name="m_TueCheck" base="EditCheckBox">
436 <label>T</label>
437 <extraproperties>
438 <property name="Validator">wxGenericValidator(&amp;m_weekdays[2])</property>
439 </extraproperties>
440 </object>
441 </object>
442 <object class="sizeritem">
443 <flag>wxRIGHT</flag>
444 <border>5</border>
445 <option>0</option>
446 <object class="wxCheckBox" name="m_WedCheck" base="EditCheckBox">
447 <label>W</label>
448 <extraproperties>
449 <property name="Validator">wxGenericValidator(&amp;m_weekdays[3])</property>
450 </extraproperties>
451 </object>
452 </object>
453 <object class="sizeritem">
454 <flag>wxRIGHT</flag>
455 <border>5</border>
456 <option>0</option>
457 <object class="wxCheckBox" name="m_ThuCheck" base="EditCheckBox">
458 <label>T</label>
459 <extraproperties>
460 <property name="Validator">wxGenericValidator(&amp;m_weekdays[4])</property>
461 </extraproperties>
462 </object>
463 </object>
464 <object class="sizeritem">
465 <flag>wxRIGHT</flag>
466 <border>5</border>
467 <option>0</option>
468 <object class="wxCheckBox" name="m_FriCheck" base="EditCheckBox">
469 <label>F</label>
470 <extraproperties>
471 <property name="Validator">wxGenericValidator(&amp;m_weekdays[5])</property>
472 </extraproperties>
473 </object>
474 </object>
475 <object class="sizeritem">
476 <flag>wxRIGHT</flag>
477 <border>5</border>
478 <option>0</option>
479 <object class="wxCheckBox" name="m_SatCheck" base="EditCheckBox">
480 <label>S</label>
481 <extraproperties>
482 <property name="Validator">wxGenericValidator(&amp;m_weekdays[6])</property>
483 </extraproperties>
484 </object>
485 </object>
486 </object>
487 </object>
488 <object class="sizeritem">
489 <flag>wxALIGN_CENTER_VERTICAL</flag>
490 <border>0</border>
491 <option>0</option>
492 <object class="wxStaticText" name="RecurRelativeDateLabel" base="EditStaticText">
493 <attribute>1</attribute>
494 <tooltip>Relative monthly or yearly dates take the weekday of the start date into account. (eg. every first Sunday of month)</tooltip>
495 <label>Relative Date:</label>
496 </object>
497 </object>
498 <object class="sizeritem">
499 <border>0</border>
500 <option>0</option>
501 <object class="wxCheckBox" name="m_RelativeDateCheck" base="EditCheckBox">
502 <tooltip>Relative monthly or yearly dates take the weekday of the start date into account. (eg. every first Sunday of month)</tooltip>
503 <extraproperties>
504 <property name="Validator">wxGenericValidator(&amp;m_relative_date)</property>
505 </extraproperties>
506 </object>
507 </object>
508 <object class="sizeritem">
509 <flag>wxALIGN_CENTER_VERTICAL</flag>
510 <border>0</border>
511 <option>0</option>
512 <object class="wxStaticText" name="RecurEndDateLabel" base="EditStaticText">
513 <attribute>1</attribute>
514 <label>End Date:</label>
515 </object>
516 </object>
517 <object class="sizeritem">
518 <flag>wxEXPAND</flag>
519 <border>0</border>
520 <option>1</option>
521 <object class="wxBoxSizer" name="sizer_8" base="EditBoxSizer">
522 <orient>wxHORIZONTAL</orient>
523 <object class="sizeritem">
524 <flag>wxRIGHT|wxALIGN_CENTER_VERTICAL</flag>
525 <border>10</border>
526 <option>0</option>
527 <object class="wxCheckBox" name="m_NeverEndsCheck" base="EditCheckBox">
528 <checked>1</checked>
529 <label>Never ends</label>
530 <id>Dialog_TaskEdit_NeverEndsCheck</id>
531 <events>
532 <handler event="EVT_CHECKBOX">OnEndDateCheckbox</handler>
533 </events>
534 <extraproperties>
535 <property name="Validator">wxGenericValidator(&amp;m_rec.Perpetual)</property>
536 </extraproperties>
537 </object>
538 </object>
539 <object class="sizeritem">
540 <flag>wxALIGN_CENTER_VERTICAL</flag>
541 <border>0</border>
542 <option>0</option>
543 <object class="wxDatePickerCtrl" name="m_RecurEndDateCtrl" base="EditDatePickerCtrl">
544 <style>wxDP_DROPDOWN|wxDP_SHOWCENTURY</style>
545 <disabled>1</disabled>
546 <extraproperties>
547 <property name="Validator">DateTimeValidator(&amp;m_RecurEndDateObj.m_date)</property>
548 </extraproperties>
549 <size>110, -1</size>
550 </object>
551 </object>
552 </object>
553 </object>
554 </object>
555 </object>
556 <object class="sizeritem">
557 <flag>wxALL|wxEXPAND</flag>
558 <border>5</border>
559 <option>0</option>
560 <object class="wxStaticLine" name="static_line_3" base="EditStaticLine">
561 <style>wxLI_HORIZONTAL</style>
562 <attribute>1</attribute>
563 </object>
564 </object>
565 <object class="sizeritem">
566 <flag>wxEXPAND</flag>
567 <border>0</border>
568 <option>1</option>
569 <object class="wxFlexGridSizer" name="grid_sizer_3" base="EditFlexGridSizer">
570 <hgap>5</hgap>
571 <rows>2</rows>
572 <growable_cols>1</growable_cols>
573 <cols>2</cols>
574 <vgap>5</vgap>
575 <object class="sizeritem">
576 <flag>wxALIGN_CENTER_VERTICAL</flag>
577 <border>0</border>
578 <option>0</option>
579 <object class="wxStaticText" name="label_4" base="EditStaticText">
580 <attribute>1</attribute>
581 <label>Categories:</label>
582 </object>
583 </object>
584 <object class="sizeritem">
585 <flag>wxEXPAND</flag>
586 <border>0</border>
587 <option>0</option>
588 <object class="wxTextCtrl" name="m_CategoriesText" base="EditTextCtrl">
589 <extraproperties>
590 <property name="Validator">wxTextValidator(wxFILTER_NONE, m_strings.Add(m_categories))</property>
591 </extraproperties>
592 </object>
593 </object>
594 <object class="sizeritem">
595 <flag>wxRIGHT</flag>
596 <border>5</border>
597 <option>0</option>
598 <object class="wxStaticText" name="label_3" base="EditStaticText">
599 <attribute>1</attribute>
600 <label>Notes:</label>
601 </object>
602 </object>
603 <object class="sizeritem">
604 <flag>wxEXPAND</flag>
605 <border>0</border>
606 <option>1</option>
607 <object class="wxTextCtrl" name="m_NotesText" base="EditTextCtrl">
608 <style>wxTE_MULTILINE</style>
609 <extraproperties>
610 <property name="Validator">wxTextValidator(wxFILTER_NONE, m_strings.Add(m_rec.Notes))</property>
611 </extraproperties>
612 <size>-1, 71</size>
613 </object>
614 </object>
615 </object>
616 </object>
617 </object>
618 </object>
619 </object>
620 </object>
621 </application>