91 wxColourPickerCtrl* m_PolygonBorderColourCtrl;
92 wxColourPickerCtrl* m_PolygonFillColourCtrl;
93 wxSpinCtrl* m_PolygonBorderWidthCtrl;
94 wxChoice* m_PolygonFillPattern;
101 void CreateControlsPoly();
103 virtual bool TransferDataToWindow();
105 virtual bool TransferDataFromWindow();
116 const wxString& caption = SYMBOL_TMSYMBOLDLG_TITLE,
117 const wxPoint& pos = SYMBOL_TMSYMBOLDLG_POSITION,
const wxSize& size = SYMBOL_TMSYMBOLDLG_SIZE,
118 long style = SYMBOL_TMSYMBOLDLG_STYLE);
120 bool Create(wxWindow* parent, wxWindowID
id = SYMBOL_TMSYMBOLDLG_IDNAME,
121 const wxString& caption = SYMBOL_TMSYMBOLDLG_TITLE,
const wxPoint& pos = SYMBOL_TMSYMBOLDLG_POSITION,
122 const wxSize& size = SYMBOL_TMSYMBOLDLG_SIZE,
long style = SYMBOL_TMSYMBOLDLG_STYLE);
140 wxNotebook* m_SymbologyTypeCtrl;
141 wxChoice* m_CategoryColumnCtrl;
143 wxButton* m_ClassifyBtn;
145 wxButton* m_RemoveBtn;
146 wxButton* m_RemoveAllBtn;
147 wxImageList* m_ImgList;
150 wxColourPickerCtrl* m_PolygonBorderColourCtrl;
151 wxColourPickerCtrl* m_PolygonFillColourCtrl;
152 wxSpinCtrl* m_PolygonBorderWidthCtrl;
153 wxChoice* m_PolygonFillPattern;
156 tmSymbolRuleArray m_Rules;
160 wxString m_SelectedField;
163 void _CreateControls();
165 void _LoadTableData();
167 wxBitmap _CreateColorBitmap(
const wxBrush& brush,
const wxPen& pen);
169 void OnBtnClassify(wxCommandEvent& event);
171 void OnBtnAdd(wxCommandEvent& event);
173 void OnBtnRemove(wxCommandEvent& event);
175 void OnBtnRemoveAll(wxCommandEvent& event);
177 void OnDoubleClick(wxListEvent& event);
179 void OnRightClick(wxListEvent& event);
181 void OnMenuEdit(wxCommandEvent& event);
183 void OnMenuEndable(wxCommandEvent & event);
185 void OnMenuDisable(wxCommandEvent & event);
187 void OnMenuSetBorderColour(wxCommandEvent& event);
189 void OnMenuSetBorderWidth(wxCommandEvent& event);
191 void OnMenuSetFillColour(wxCommandEvent& event);
193 void OnMenuSetFillStyle(wxCommandEvent& event);
195 void OnMenuSetTransparency(wxCommandEvent& event);
197 void OnUpdateUIBtnRemove(wxUpdateUIEvent& event);
199 void OnUpdateUIBtnRemoveAll(wxUpdateUIEvent& event);
201 virtual bool TransferDataToWindow();
203 virtual bool TransferDataFromWindow();
205 void _EnableItems(
bool enable);
207 DECLARE_EVENT_TABLE();
211 wxWindowID
id = SYMBOL_TMSYMBOLDLG_IDNAME,
const wxString& caption = SYMBOL_TMSYMBOLDLG_TITLE,
212 const wxPoint& pos = SYMBOL_TMSYMBOLDLG_POSITION,
const wxSize& size = SYMBOL_TMSYMBOLDLG_SIZE,
213 long style = SYMBOL_TMSYMBOLDLG_STYLE);
217 bool Create(wxWindow* parent, wxWindowID
id = SYMBOL_TMSYMBOLDLG_IDNAME,
218 const wxString& caption = SYMBOL_TMSYMBOLDLG_TITLE,
const wxPoint& pos = SYMBOL_TMSYMBOLDLG_POSITION,
219 const wxSize& size = SYMBOL_TMSYMBOLDLG_SIZE,
long style = SYMBOL_TMSYMBOLDLG_STYLE);
221 tmSymbolRuleArray* GetRulesRef() {
225 int GetSelectedPanel();
227 inline const wxString GetSelectedField()
const;
233 void SetSelectedField(wxString value);
235 void SetSelectedPanel(
int panelindex);
Definition tmsliderwithtxt.h:47