85 wxColourPickerCtrl* m_LineColourCtrl;
86 wxSpinCtrl* m_LineWidthCtrl;
87 wxChoice* m_LinePatternCtrl;
94 void CreateControlsLine();
96 virtual bool TransferDataToWindow();
98 virtual bool TransferDataFromWindow();
102 DECLARE_EVENT_TABLE()
110 tmSymbolDLGLine(wxWindow* parent, wxWindowID
id = SYMBOL_TMSYMBOLDLG_IDNAME,
111 const wxString& caption = SYMBOL_TMSYMBOLDLG_TITLE,
112 const wxPoint& pos = SYMBOL_TMSYMBOLDLG_POSITION,
const wxSize& size = SYMBOL_TMSYMBOLDLG_SIZE,
113 long style = SYMBOL_TMSYMBOLDLG_STYLE);
115 bool Create(wxWindow* parent, wxWindowID
id = SYMBOL_TMSYMBOLDLG_IDNAME,
116 const wxString& caption = SYMBOL_TMSYMBOLDLG_TITLE,
const wxPoint& pos = SYMBOL_TMSYMBOLDLG_POSITION,
117 const wxSize& size = SYMBOL_TMSYMBOLDLG_SIZE,
long style = SYMBOL_TMSYMBOLDLG_STYLE);
135 wxNotebook* m_SymbologyTypeCtrl;
136 wxChoice* m_CategoryColumnCtrl;
138 wxButton* m_ClassifyBtn;
140 wxButton* m_RemoveBtn;
141 wxButton* m_RemoveAllBtn;
142 wxImageList* m_ImgList;
145 wxColourPickerCtrl* m_LineColourCtrl;
146 wxSpinCtrl* m_LineWidthCtrl;
147 wxChoice* m_LinePatternCtrl;
150 tmSymbolRuleArray m_Rules;
154 wxString m_SelectedField;
157 void _CreateControls();
159 void _LoadTableData();
161 wxBitmap _CreateColorBitmap(
const wxBrush& brush,
const wxPen& pen);
163 void OnBtnClassify(wxCommandEvent& event);
165 void OnBtnAdd(wxCommandEvent& event);
167 void OnBtnRemove(wxCommandEvent& event);
169 void OnBtnRemoveAll(wxCommandEvent& event);
171 void OnDoubleClick(wxListEvent& event);
173 void OnRightClick(wxListEvent& event);
175 void OnMenuEdit(wxCommandEvent& event);
177 void OnMenuDisable(wxCommandEvent& event);
179 void OnMenuEnable(wxCommandEvent& event);
181 void OnMenuLineColor(wxCommandEvent& event);
183 void OnMenuLineStyle(wxCommandEvent& event);
185 void OnMenuLineWidth(wxCommandEvent& event);
187 void OnMenuTransparency(wxCommandEvent& event);
189 void OnUpdateUIBtnRemove(wxUpdateUIEvent& event);
191 void OnUpdateUIBtnRemoveAll(wxUpdateUIEvent& event);
193 void _EnableItems(
bool enable);
195 virtual bool TransferDataToWindow();
197 virtual bool TransferDataFromWindow();
199 DECLARE_EVENT_TABLE();
203 wxWindowID
id = SYMBOL_TMSYMBOLDLG_IDNAME,
const wxString& caption = SYMBOL_TMSYMBOLDLG_TITLE,
204 const wxPoint& pos = SYMBOL_TMSYMBOLDLG_POSITION,
const wxSize& size = SYMBOL_TMSYMBOLDLG_SIZE,
205 long style = SYMBOL_TMSYMBOLDLG_STYLE);
209 bool Create(wxWindow* parent, wxWindowID
id = SYMBOL_TMSYMBOLDLG_IDNAME,
210 const wxString& caption = SYMBOL_TMSYMBOLDLG_TITLE,
const wxPoint& pos = SYMBOL_TMSYMBOLDLG_POSITION,
211 const wxSize& size = SYMBOL_TMSYMBOLDLG_SIZE,
long style = SYMBOL_TMSYMBOLDLG_STYLE);
213 inline tmSymbolRuleArray* GetRulesRef() {
217 int GetSelectedPanel();
219 inline const wxString GetSelectedField()
const;
225 void SetSelectedField(wxString value);
227 void SetSelectedPanel(
int panelindex);
Definition tmsliderwithtxt.h:47