23 #include "wxgis/cartoui/cartoui.h"
24 #include "wxgis/display/symbol.h"
25 #include "wxgis/framework/applicationbase.h"
26 #include "wxgis/cartoui/mapview.h"
27 #include "wxgis/carto/featurelayer.h"
28 #include "wxgis/cartoui/formatmenu.h"
29 #include "wxgis/datasource/gdalinh.h"
32 #include <wx/string.h>
33 #include <wx/stattext.h>
34 #include <wx/gdicmn.h>
36 #include <wx/colour.h>
37 #include <wx/settings.h>
38 #include <wx/choice.h>
39 #include <wx/bitmap.h>
42 #include <wx/bmpbuttn.h>
43 #include <wx/button.h>
45 #include <wx/splitter.h>
47 #include <wx/treectrl.h>
48 #include <wx/listctrl.h>
49 #include <wx/valgen.h>
50 #include <wx/imaglist.h>
64 m_pDataset = pDataset;
66 m_Geometry = Geometry;
107 wxGISFeatureDetailsPanel( wxWindow* parent, wxWindowID
id = wxID_ANY,
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
long style = wxTAB_TRAVERSAL );
109 virtual void SetClickPositionText(
const OGRPoint *pPt);
111 virtual void Clear(
bool bFull =
false);
113 virtual void OnContextMenu(wxContextMenuEvent& event);
114 virtual void OnMenu(wxCommandEvent& event);
115 virtual void OnMenuUpdateUI(wxUpdateUIEvent& event);
116 virtual void OnColClick(wxListEvent& event);
117 virtual void OnMaskMenu(wxCommandEvent& event);
118 virtual void OnMouseLeftUp(wxMouseEvent& event);
119 virtual void OnMouseMove(wxMouseEvent& event);
124 void WriteStringToClipboard(
const wxString &sData);
126 wxString m_sLocation;
128 wxStaticText* m_staticText1;
129 wxTextCtrl* m_textCtrl;
130 wxBitmapButton* m_bpSelStyleButton;
131 wxListCtrl* m_listCtrl;
133 wxArrayLong m_anExcludeFields;
136 short m_currentSortCol;
137 wxImageList m_ImageListSmall;
142 DECLARE_EVENT_TABLE()
157 ID_WXGISIDENTIFYDLG = 1001,
168 wxGISIdentifyDlg( wxWindow* parent, wxWindowID
id = ID_WXGISIDENTIFYDLG,
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
long style = wxTAB_TRAVERSAL );
170 virtual bool Create(wxWindow* parent, wxWindowID
id = ID_WXGISIDENTIFYDLG,
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
long style = wxTAB_TRAVERSAL,
const wxString& name = wxT(
"IdentifyView"));
172 void SplitterOnIdle( wxIdleEvent& )
177 m_splitter->SetSashPosition( m_nSashPos );
178 m_splitter->Unbind(wxEVT_IDLE, &wxGISIdentifyDlg::SplitterOnIdle,
this );
181 virtual void OnSwitchSplit(wxCommandEvent& event);
182 virtual void OnSelChanged(wxTreeEvent& event);
183 virtual void OnLeftDown(wxMouseEvent& event);
184 virtual void OnMenu(wxCommandEvent& event);
185 virtual void OnItemRightClick(wxTreeEvent& event);
186 virtual void OnDoubleClickSash(wxSplitterEvent& event);
187 virtual void SetEncoding(
const wxFontEncoding& eEnc);
189 wxBoxSizer* m_bMainSizer;
190 wxFlexGridSizer* m_fgTopSizer;
191 wxStaticText* m_staticText1;
192 wxChoice* m_LayerChoice;
193 wxBitmapButton* m_bpSplitButton;
194 wxSplitterWindow* m_splitter;
195 wxBitmap m_BmpVert, m_BmpHorz;
196 wxTreeCtrl *m_pTreeCtrl;
198 wxImageList m_TreeImageList;
205 DECLARE_EVENT_TABLE()
222 ID_WXGISIDENTIFYVIEW = 1000,
228 wxAxIdentifyView(wxWindow* parent, wxWindowID
id = ID_WXGISIDENTIFYVIEW,
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize);
231 virtual bool Create(wxWindow* parent, wxWindowID
id = ID_WXGISIDENTIFYVIEW,
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
long style = wxBORDER_NONE | wxTAB_TRAVERSAL,
const wxString& name = wxT(
"IdentifyView"));
232 virtual bool Activate(
IApplication*
const pApplication, wxXmlNode*
const pConf);
233 virtual void Deactivate(
void);
234 virtual void Refresh(
void){};
235 virtual wxString GetViewName(
void)
const {
return m_sViewName;};
236 virtual wxIcon GetViewIcon(
void){
return wxNullIcon;};
237 virtual void SetViewIcon(wxIcon Icon){};
241 virtual void OnSelChanged(wxTreeEvent& event);
242 virtual void OnLeftDown(wxMouseEvent& event);
243 virtual void OnMenu(wxCommandEvent& event);
248 wxGISSpatialTreeCursor Cursor;
251 virtual void FillTree(
const wxVector<FILLTREEDATA> &data);
252 virtual wxGISSymbol* GetDrawSymbol(OGRwkbGeometryType eType)
const;
254 wxString m_sViewName;
257 long m_nConnectionPointMapCookie;
261 DECLARE_EVENT_TABLE()
Definition: mxeventui.h:54
Definition: framework.h:40
Definition: applicationbase.h:65
Definition: identifydlg.h:246
Definition: gdalinh.h:333
Definition: identifydlg.h:215
Definition: gdalinh.h:117
Definition: identifydlg.h:78
Definition: identifydlg.h:92
Definition: featuredataset.h:32
Definition: identifydlg.h:152
Definition: identifydlg.h:59