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>
14 <object class=
"wxBoxSizer" name=
"sizer_1" base=
"EditBoxSizer">
15 <orient>wxVERTICAL
</orient>
16 <object class=
"sizeritem">
20 <object class=
"wxFlexGridSizer" name=
"grid_sizer_1" base=
"EditFlexGridSizer">
23 <growable_cols>1</growable_cols>
26 <object class=
"sizeritem">
27 <flag>wxALIGN_CENTER_VERTICAL
</flag>
30 <object class=
"wxStaticText" name=
"label_1" base=
"EditStaticText">
31 <attribute>1</attribute>
35 <object class=
"sizeritem">
39 <object class=
"wxTextCtrl" name=
"m_TaskSummary" base=
"EditTextCtrl">
42 <property name=
"Validator">wxTextValidator(wxFILTER_NONE, m_strings.Add(m_rec.Summary))
</property>
48 <object class=
"sizeritem">
49 <flag>wxALL|wxEXPAND
</flag>
52 <object class=
"wxStaticLine" name=
"static_line_1" base=
"EditStaticLine">
53 <style>wxLI_HORIZONTAL
</style>
54 <attribute>1</attribute>
57 <object class=
"sizeritem">
61 <object class=
"wxFlexGridSizer" name=
"grid_sizer_2" base=
"EditFlexGridSizer">
64 <growable_cols>1</growable_cols>
67 <object class=
"sizeritem">
68 <flag>wxALIGN_CENTER_VERTICAL
</flag>
71 <object class=
"wxStaticText" name=
"label_2" base=
"EditStaticText">
72 <attribute>1</attribute>
73 <label>Status:
</label>
76 <object class=
"sizeritem">
79 <object class=
"wxChoice" name=
"m_StatusChoice" base=
"EditChoice">
80 <selection>0</selection>
82 <choice>Not Started
</choice>
83 <choice>In Progress
</choice>
84 <choice>Completed
</choice>
85 <choice>Waiting
</choice>
86 <choice>Deferred
</choice>
90 <object class=
"sizeritem">
91 <flag>wxALIGN_CENTER_VERTICAL
</flag>
94 <object class=
"wxStaticText" name=
"label_9" base=
"EditStaticText">
95 <attribute>1</attribute>
96 <label>Priority:
</label>
99 <object class=
"sizeritem">
102 <object class=
"wxChoice" name=
"m_PriorityChoice" base=
"EditChoice">
103 <selection>1</selection>
105 <choice>High
</choice>
106 <choice>Normal
</choice>
111 <object class=
"sizeritem">
112 <flag>wxALIGN_CENTER_VERTICAL
</flag>
115 <object class=
"wxStaticText" name=
"label_5" base=
"EditStaticText">
116 <attribute>1</attribute>
120 <object class=
"sizeritem">
121 <flag>wxEXPAND
</flag>
124 <object class=
"wxBoxSizer" name=
"sizer_3" base=
"EditBoxSizer">
125 <orient>wxHORIZONTAL
</orient>
126 <object class=
"sizeritem">
129 <object class=
"wxCheckBox" name=
"m_DueCheck" base=
"EditCheckBox">
130 <id>Dialog_TaskEdit_DueCheck
</id>
132 <handler event=
"EVT_CHECKBOX">OnDueCheck
</handler>
136 <object class=
"sizeritem">
139 <object class=
"wxDatePickerCtrl" name=
"m_DueDateCtrl" base=
"EditDatePickerCtrl">
140 <style>wxDP_DROPDOWN|wxDP_SHOWCENTURY
</style>
141 <id>Dialog_TaskEdit_DueDateCtrl
</id>
143 <property name=
"Validator">DateTimeValidator(
&m_DueDateObj.m_date)
</property>
148 <object class=
"sizeritem">
151 <object class=
"spacer" name=
"spacer" base=
"EditSpacer">
156 <object class=
"sizeritem">
159 <object class=
"wxSpinCtrl" name=
"m_DueHoursSpinner" base=
"EditSpinCtrl">
160 <style>wxSP_WRAP|wxTE_NOHIDESEL
</style>
161 <id>Dialog_TaskEdit_DueHoursSpinner
</id>
164 <property name=
"Validator">wxGenericValidator(
&m_DueDateObj.m_hour)
</property>
169 <object class=
"sizeritem">
170 <flag>wxLEFT|wxRIGHT|wxALIGN_CENTER_VERTICAL
</flag>
173 <object class=
"wxStaticText" name=
"label_11" base=
"EditStaticText">
174 <attribute>1</attribute>
178 <object class=
"sizeritem">
181 <object class=
"wxSpinCtrl" name=
"m_DueMinutesSpinner" base=
"EditSpinCtrl">
182 <style>wxSP_WRAP|wxTE_NOHIDESEL
</style>
183 <id>Dialog_TaskEdit_DueMinutesSpinner
</id>
186 <property name=
"Validator">wxGenericValidator(
&m_DueDateObj.m_min)
</property>
193 <object class=
"sizeritem">
194 <flag>wxALIGN_CENTER_VERTICAL
</flag>
197 <object class=
"wxStaticText" name=
"label_8" base=
"EditStaticText">
198 <attribute>1</attribute>
199 <label>Time Zone:
</label>
202 <object class=
"sizeritem">
205 <object class=
"wxChoice" name=
"m_TimezoneChoice" base=
"EditChoice">
206 <selection>0</selection>
208 <choice>System Time Zone
</choice>
212 <object class=
"sizeritem">
213 <flag>wxALIGN_CENTER_VERTICAL
</flag>
216 <object class=
"wxStaticText" name=
"label_10" base=
"EditStaticText">
217 <attribute>1</attribute>
218 <label>Reminder:
</label>
221 <object class=
"sizeritem">
222 <flag>wxEXPAND
</flag>
225 <object class=
"wxBoxSizer" name=
"sizer_5_copy" base=
"EditBoxSizer">
226 <orient>wxHORIZONTAL
</orient>
227 <object class=
"sizeritem">
230 <object class=
"wxCheckBox" name=
"m_ReminderCheck" base=
"EditCheckBox">
231 <id>Dialog_TaskEdit_ReminderCheck
</id>
233 <handler event=
"EVT_CHECKBOX">OnReminderCheck
</handler>
237 <object class=
"sizeritem">
240 <object class=
"wxDatePickerCtrl" name=
"m_ReminderDateCtrl" base=
"EditDatePickerCtrl">
241 <id>Dialog_TaskEdit_ReminderDateCtrl
</id>
243 <property name=
"Validator">DateTimeValidator(
&m_ReminderDateObj.m_date)
</property>
248 <object class=
"sizeritem">
251 <object class=
"spacer" name=
"spacer" base=
"EditSpacer">
256 <object class=
"sizeritem">
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>
264 <property name=
"Validator">wxGenericValidator(
&m_ReminderDateObj.m_hour)
</property>
269 <object class=
"sizeritem">
270 <flag>wxLEFT|wxRIGHT|wxALIGN_CENTER_VERTICAL
</flag>
273 <object class=
"wxStaticText" name=
"label_6" base=
"EditStaticText">
274 <attribute>1</attribute>
278 <object class=
"sizeritem">
282 <object class=
"wxSpinCtrl" name=
"m_ReminderMinutesSpinner" base=
"EditSpinCtrl">
283 <tooltip>Set Reminder to
0 to disable
</tooltip>
284 <id>Dialog_TaskEdit_ReminderMinutesSpinner
</id>
287 <property name=
"Validator">wxGenericValidator(
&m_ReminderDateObj.m_min)
</property>
296 <object class=
"sizeritem">
297 <flag>wxALL|wxEXPAND
</flag>
300 <object class=
"wxStaticLine" name=
"static_line_2" base=
"EditStaticLine">
301 <style>wxLI_HORIZONTAL
</style>
302 <attribute>1</attribute>
305 <object class=
"sizeritem">
306 <flag>wxEXPAND
</flag>
309 <object class=
"wxFlexGridSizer" name=
"grid_sizer_4" base=
"EditFlexGridSizer">
312 <growable_cols>1</growable_cols>
315 <object class=
"sizeritem">
316 <flag>wxALIGN_CENTER_VERTICAL
</flag>
319 <object class=
"wxStaticText" name=
"label_18" base=
"EditStaticText">
320 <attribute>1</attribute>
321 <label>Recurrence:
</label>
324 <object class=
"sizeritem">
327 <object class=
"wxChoice" name=
"m_RecurrenceChoice" base=
"EditChoice">
328 <selection>0</selection>
329 <id>Dialog_TaskEdit_RecurrenceChoice
</id>
331 <choice>None
</choice>
332 <choice>Daily
</choice>
333 <choice>Weekly
</choice>
334 <choice>Monthly
</choice>
335 <choice>Yearly
</choice>
338 <handler event=
"EVT_CHOICE">OnRecurrenceChoice
</handler>
341 <property name=
"Validator">wxGenericValidator(
&m_recur_choice)
</property>
345 <object class=
"sizeritem">
346 <flag>wxALIGN_CENTER_VERTICAL
</flag>
349 <object class=
"wxStaticText" name=
"RecurIntervalLabel" base=
"EditStaticText">
350 <attribute>1</attribute>
351 <label>Interval:
</label>
354 <object class=
"sizeritem">
355 <flag>wxEXPAND
</flag>
358 <object class=
"wxBoxSizer" name=
"m_IntervalCtrlsSizer" base=
"EditBoxSizer">
359 <orient>wxHORIZONTAL
</orient>
360 <object class=
"sizeritem">
361 <flag>wxRIGHT|wxALIGN_CENTER_VERTICAL
</flag>
364 <object class=
"wxStaticText" name=
"RecurIntervalLabelB" base=
"EditStaticText">
365 <attribute>1</attribute>
369 <object class=
"sizeritem">
373 <object class=
"wxSpinCtrl" name=
"m_IntervalSpinner" base=
"EditSpinCtrl">
374 <range>1,
999</range>
377 <property name=
"Validator">wxGenericValidator(
&m_interval)
</property>
382 <object class=
"sizeritem">
383 <flag>wxALIGN_CENTER_VERTICAL
</flag>
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>
394 <object class=
"sizeritem">
395 <flag>wxALIGN_CENTER_VERTICAL
</flag>
398 <object class=
"wxStaticText" name=
"RecurDaysLabel" base=
"EditStaticText">
399 <attribute>1</attribute>
403 <object class=
"sizeritem">
404 <flag>wxEXPAND
</flag>
407 <object class=
"wxBoxSizer" name=
"m_DaysCtrlsSizer" base=
"EditBoxSizer">
408 <orient>wxHORIZONTAL
</orient>
409 <object class=
"sizeritem">
413 <object class=
"wxCheckBox" name=
"m_SunCheck" base=
"EditCheckBox">
416 <property name=
"Validator">wxGenericValidator(
&m_weekdays[
0])
</property>
420 <object class=
"sizeritem">
424 <object class=
"wxCheckBox" name=
"m_MonCheck" base=
"EditCheckBox">
427 <property name=
"Validator">wxGenericValidator(
&m_weekdays[
1])
</property>
431 <object class=
"sizeritem">
435 <object class=
"wxCheckBox" name=
"m_TueCheck" base=
"EditCheckBox">
438 <property name=
"Validator">wxGenericValidator(
&m_weekdays[
2])
</property>
442 <object class=
"sizeritem">
446 <object class=
"wxCheckBox" name=
"m_WedCheck" base=
"EditCheckBox">
449 <property name=
"Validator">wxGenericValidator(
&m_weekdays[
3])
</property>
453 <object class=
"sizeritem">
457 <object class=
"wxCheckBox" name=
"m_ThuCheck" base=
"EditCheckBox">
460 <property name=
"Validator">wxGenericValidator(
&m_weekdays[
4])
</property>
464 <object class=
"sizeritem">
468 <object class=
"wxCheckBox" name=
"m_FriCheck" base=
"EditCheckBox">
471 <property name=
"Validator">wxGenericValidator(
&m_weekdays[
5])
</property>
475 <object class=
"sizeritem">
479 <object class=
"wxCheckBox" name=
"m_SatCheck" base=
"EditCheckBox">
482 <property name=
"Validator">wxGenericValidator(
&m_weekdays[
6])
</property>
488 <object class=
"sizeritem">
489 <flag>wxALIGN_CENTER_VERTICAL
</flag>
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>
498 <object class=
"sizeritem">
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>
504 <property name=
"Validator">wxGenericValidator(
&m_relative_date)
</property>
508 <object class=
"sizeritem">
509 <flag>wxALIGN_CENTER_VERTICAL
</flag>
512 <object class=
"wxStaticText" name=
"RecurEndDateLabel" base=
"EditStaticText">
513 <attribute>1</attribute>
514 <label>End Date:
</label>
517 <object class=
"sizeritem">
518 <flag>wxEXPAND
</flag>
521 <object class=
"wxBoxSizer" name=
"sizer_8" base=
"EditBoxSizer">
522 <orient>wxHORIZONTAL
</orient>
523 <object class=
"sizeritem">
524 <flag>wxRIGHT|wxALIGN_CENTER_VERTICAL
</flag>
527 <object class=
"wxCheckBox" name=
"m_NeverEndsCheck" base=
"EditCheckBox">
529 <label>Never ends
</label>
530 <id>Dialog_TaskEdit_NeverEndsCheck
</id>
532 <handler event=
"EVT_CHECKBOX">OnEndDateCheckbox
</handler>
535 <property name=
"Validator">wxGenericValidator(
&m_rec.Perpetual)
</property>
539 <object class=
"sizeritem">
540 <flag>wxALIGN_CENTER_VERTICAL
</flag>
543 <object class=
"wxDatePickerCtrl" name=
"m_RecurEndDateCtrl" base=
"EditDatePickerCtrl">
544 <style>wxDP_DROPDOWN|wxDP_SHOWCENTURY
</style>
545 <disabled>1</disabled>
547 <property name=
"Validator">DateTimeValidator(
&m_RecurEndDateObj.m_date)
</property>
556 <object class=
"sizeritem">
557 <flag>wxALL|wxEXPAND
</flag>
560 <object class=
"wxStaticLine" name=
"static_line_3" base=
"EditStaticLine">
561 <style>wxLI_HORIZONTAL
</style>
562 <attribute>1</attribute>
565 <object class=
"sizeritem">
566 <flag>wxEXPAND
</flag>
569 <object class=
"wxFlexGridSizer" name=
"grid_sizer_3" base=
"EditFlexGridSizer">
572 <growable_cols>1</growable_cols>
575 <object class=
"sizeritem">
576 <flag>wxALIGN_CENTER_VERTICAL
</flag>
579 <object class=
"wxStaticText" name=
"label_4" base=
"EditStaticText">
580 <attribute>1</attribute>
581 <label>Categories:
</label>
584 <object class=
"sizeritem">
585 <flag>wxEXPAND
</flag>
588 <object class=
"wxTextCtrl" name=
"m_CategoriesText" base=
"EditTextCtrl">
590 <property name=
"Validator">wxTextValidator(wxFILTER_NONE, m_strings.Add(m_categories))
</property>
594 <object class=
"sizeritem">
598 <object class=
"wxStaticText" name=
"label_3" base=
"EditStaticText">
599 <attribute>1</attribute>
600 <label>Notes:
</label>
603 <object class=
"sizeritem">
604 <flag>wxEXPAND
</flag>
607 <object class=
"wxTextCtrl" name=
"m_NotesText" base=
"EditTextCtrl">
608 <style>wxTE_MULTILINE
</style>
610 <property name=
"Validator">wxTextValidator(wxFILTER_NONE, m_strings.Add(m_rec.Notes))
</property>