45 wxStaticText* m_ControlInfo;
52 const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
53 long style = wxTAB_TRAVERSAL,
const wxString& name = _T(
"tmAAttribInfoPanel")) {
54 tmAAttribInfoPanel::Create(parent, fieldinfo,
id, pos, size, style, name);
58 const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
59 long style = wxTAB_TRAVERSAL,
const wxString& name = _T(
"tmAAttribInfoPanel")) {
60 wxPanel::Create(parent,
id, pos, size, style, name);
62 bSizer24 =
new wxBoxSizer(wxHORIZONTAL);
63 m_Label =
new wxStaticText(
this, wxID_ANY, _(
"Hint: "), wxDefaultPosition, wxDefaultSize, 0);
64 m_Label->SetFont(wxSystemSettings::GetFont(wxSYS_DEFAULT_GUI_FONT));
65 bSizer24->Add(m_Label, 0, wxRIGHT | wxTOP | wxBOTTOM | wxALIGN_CENTER_VERTICAL, 5);
67 wxBoxSizer* bSizer25 =
new wxBoxSizer(wxHORIZONTAL);
69 m_ControlInfo =
new wxStaticText(
70 this, wxID_ANY, _(
"Select an object type then a field to be able to set value to selected objects"));
71 m_ControlInfo->SetFont(wxSystemSettings::GetFont(wxSYS_DEFAULT_GUI_FONT));
72 bSizer25->Add(m_ControlInfo, 0, wxLEFT | wxALIGN_CENTER_VERTICAL, 5);
73 bSizer24->Add(bSizer25, 1, wxALL | wxALIGN_CENTER_VERTICAL, 2);
85 virtual void SetControlValue(
const wxString& value) {
89 virtual wxString GetControlValue() {
100 wxListBox* m_ListType;
101 wxListBox* m_ListFields;
103 wxStdDialogButtonSizer* m_Btn;
105 wxButton* m_BtnApply;
106 wxButton* m_BtnCancel;
107 wxBoxSizer* m_CtrlSizer;
110 wxArrayLong m_ArrayIds;
111 PrjMemFieldArray m_Fields;
116 void OnTypeChange(wxCommandEvent& event);
118 void OnFieldsChange(wxCommandEvent& event);
120 void OnApply(wxCommandEvent& event);
122 void OnSave(wxCommandEvent& event);
126 const wxString& title = _(
"Object attribute (multiple features)"),
127 const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxSize(550, 350),
128 long style = wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER);
132 virtual bool TransferDataToWindow();