53 wxStaticText* m_Label;
61 const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
62 long style = wxTAB_TRAVERSAL,
const wxString& name = _T(
"tmAAttribCtrl")) {
67 const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
68 long style = wxTAB_TRAVERSAL,
const wxString& name = _T(
"tmAAttribCtrl")) = 0;
75 virtual void SetLabel(
const wxString& labeltext);
77 virtual wxString GetLabel()
const;
80 virtual void SetControlValue(
const wxString& value) = 0;
82 virtual wxString GetControlValue() = 0;
84 virtual void SetEmptyValue() {
105 void OnFocus(wxFocusEvent& event);
107 void OnIdle(wxIdleEvent& event);
109 DECLARE_EVENT_TABLE();
115 tmFullSelectTextCtrl(wxWindow* parent, wxWindowID
id = wxID_ANY,
const wxString& value = wxEmptyString,
116 const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
long style = 0,
117 const wxValidator& validator = wxDefaultValidator,
const wxString& name = wxTextCtrlNameStr);
119 void Create(wxWindow* parent, wxWindowID
id = wxID_ANY,
const wxString& value = wxEmptyString,
120 const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
long style = 0,
121 const wxValidator& validator = wxDefaultValidator,
const wxString& name = wxTextCtrlNameStr);
130 void OnFocus(wxFocusEvent& event);
132 void OnLooseFocus(wxFocusEvent& event);
134 void OnIdle(wxIdleEvent& event);
136 DECLARE_EVENT_TABLE();
142 tmFullSelectSpinCtrl(wxWindow* parent, wxWindowID
id = wxID_ANY,
const wxString& value = wxEmptyString,
143 const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
144 long style = wxSP_ARROW_KEYS,
int min = 0,
int max = 100,
int initial = 0,
145 const wxString& name = _T(
"tmFullSelectSpinCtrl"));
147 void Create(wxWindow* parent, wxWindowID
id = wxID_ANY,
const wxString& value = wxEmptyString,
148 const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
149 long style = wxSP_ARROW_KEYS,
int min = 0,
int max = 100,
int initial = 0,
150 const wxString& name = _T(
"tmFullSelectSpinCtrl"));
166 wxStaticText* m_ControlInfo;
175 const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
176 long style = wxTAB_TRAVERSAL,
const wxString& name = _T(
"tmAAttribCtrlText"));
179 const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
180 long style = wxTAB_TRAVERSAL,
const wxString& name = _T(
"tmAAttribCtrlText"));
185 virtual void SetControlValue(
const wxString& value);
187 virtual wxString GetControlValue();
201 const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
202 long style = wxTAB_TRAVERSAL,
const wxString& name = _T(
"tmAAttribCtrlInteger"));
205 const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
206 long style = wxTAB_TRAVERSAL,
const wxString& name = _T(
"tmAAttribCtrlInteger"));
211 virtual void SetControlValue(
const wxString& value);
213 virtual wxString GetControlValue();
215 virtual void SetEmptyValue();
221 wxStaticText* m_ControlInfo;
230 const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
231 long style = wxTAB_TRAVERSAL,
const wxString& name = _T(
"tmAAttribCtrlFloat"));
234 const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
235 long style = wxTAB_TRAVERSAL,
const wxString& name = _T(
"tmAAttribCtrlFloat"));
240 virtual void SetControlValue(
const wxString& value);
242 virtual wxString GetControlValue();
244 virtual void SetEmptyValue();
251 wxChoice* m_ControlChoice;
252 wxRadioButton* m_ControlRadios[AATTRIB_ENUM_RADIO_NUMBER];
257 void InitMemberValues();
262 wxSizer* CreateChoiceControl(
const PrjMemFieldCodedValArray& valarray);
269 const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
270 long style = wxTAB_TRAVERSAL,
const wxString& name = _T(
"tmAAttribCtrlEnum"));
273 const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
274 long style = wxTAB_TRAVERSAL,
const wxString& name = _T(
"tmAAttribCtrlEnum"));
279 virtual void SetControlValue(
const wxString& value);
281 virtual wxString GetControlValue();
283 virtual void SetEmptyValue();
288 wxDatePickerCtrl* m_Control;
295 const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
296 long style = wxTAB_TRAVERSAL,
const wxString& name = _T(
"tmAAttribCtrlDate"));
299 const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
300 long style = wxTAB_TRAVERSAL,
const wxString& name = _T(
"tmAAttribCtrlDate"));
305 virtual void SetControlValue(
const wxString& value);
307 virtual wxString GetControlValue();
313 wxStaticText* m_ControlInfo;
322 const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
323 long style = wxTAB_TRAVERSAL,
const wxString& name = _T(
"tmAAttribCtrlSafeDate"));
326 const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
327 long style = wxTAB_TRAVERSAL,
const wxString& name = _T(
"tmAAttribCtrlSafeDate"));
332 virtual void SetControlValue(
const wxString& value);
334 virtual wxString GetControlValue();
336 virtual void SetEmptyValue();
tmAAttribTree item of type TextCtrl
Definition tmaattribctrls.h:163
Definition tmaattribctrls.h:101