8 #ifndef __MapServerDlg_H__
9 #define __MapServerDlg_H__
11 #include "VTBuilder_UI.h"
14 #include "vtdata/WFSClient.h"
27 MapServerDlg(wxWindow *parent, wxWindowID
id,
const wxString &title,
28 const wxPoint& pos = wxDefaultPosition,
29 const wxSize& size = wxDefaultSize,
30 long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER);
33 wxButton* GetDotdotdot() {
return (wxButton*) FindWindow( ID_DOTDOTDOT ); }
34 wxTextCtrl* GetTextToFile() {
return (wxTextCtrl*) FindWindow( ID_TEXT_TO_FILE ); }
35 wxTextCtrl* GetStyleDesc() {
return (wxTextCtrl*) FindWindow( ID_STYLE_DESC ); }
36 wxListBox* GetListStyles() {
return (wxListBox*) FindWindow( ID_LIST_STYLES ); }
37 wxTextCtrl* GetLayerDesc() {
return (wxTextCtrl*) FindWindow( ID_LAYER_DESC ); }
38 wxListBox* GetListLayers() {
return (wxListBox*) FindWindow( ID_LIST_LAYERS ); }
39 wxTextCtrl* GetQuery() {
return (wxTextCtrl*) FindWindow( ID_QUERY ); }
40 wxComboBox* GetBaseUrl() {
return (wxComboBox*) FindWindow( ID_BASE_URL ); }
41 wxChoice* GetFormat() {
return (wxChoice*) FindWindow( ID_CHOICE_FORMAT ); }
43 void UpdateLayerList();
44 void UpdateLayerDescription();
47 void UpdateEnabling();
54 wxString m_strQueryURL;
70 void OnTextToFile( wxCommandEvent &
event );
71 void OnDotDotDot( wxCommandEvent &event );
72 void OnRadio( wxCommandEvent &event );
73 void OnQueryLayers( wxCommandEvent &event );
74 void OnLayer( wxCommandEvent &event );
75 void OnFormat( wxCommandEvent &event );
76 void OnServer( wxCommandEvent &event );
77 void OnSize( wxCommandEvent &event );
78 void OnBaseUrlText( wxCommandEvent &event );
79 void OnInitDialog(wxInitDialogEvent& event);
85 #endif // __MapServerDlg_H__