24 #include "wx/string.h"
25 #include "wx/stattext.h"
26 #include "wx/statline.h"
27 #include "wx/gdicmn.h"
29 #include "wx/colour.h"
30 #include "wx/settings.h"
31 #include "wx/textctrl.h"
32 #include "wx/bitmap.h"
35 #include "wx/bmpbuttn.h"
36 #include "wx/button.h"
38 #include "wx/choice.h"
40 #include <wx/imaglist.h>
41 #include <wx/propgrid/propgrid.h>
43 #include "wxgis/framework/applicationbase.h"
44 #include "wxgis/core/config.h"
75 virtual bool Create(
wxGISApplicationBase* application, wxWindow* parent, wxWindowID
id = wxID_ANY,
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
long style = wxTAB_TRAVERSAL,
const wxString& name = wxT(
"panel")) = 0;
80 virtual wxString GetPageName(
void) = 0;
84 virtual void Apply(
void) = 0;
100 virtual bool Create(
wxGISApplicationBase* application, wxWindow* parent, wxWindowID
id = wxID_ANY,
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
long style = wxTAB_TRAVERSAL,
const wxString& name = wxT(
"Misc_Panel"));
102 virtual wxString GetPageName(
void){
return wxString(_(
"Miscellaneous"));};
103 virtual void Apply(
void);
105 void OnOpenLocPath(wxCommandEvent& event);
106 void OnOpenSysPath(wxCommandEvent& event);
107 void OnOpenLogPath(wxCommandEvent& event);
109 virtual void FillLangArray(wxString sPath);
113 ID_LOCPATH = wxID_HIGHEST + 1,
123 wxStaticText* m_staticText1;
124 wxTextCtrl* m_LocalePath;
125 wxBitmapButton* m_bpOpenLocPath;
126 wxStaticText* m_staticText2;
127 wxChoice* m_LangChoice;
128 wxStaticText* m_staticText3;
129 wxTextCtrl* m_SysPath;
130 wxBitmapButton* m_bpOpenSysPath;
131 wxStaticText* m_staticText4;
132 wxTextCtrl* m_LogPath;
133 wxBitmapButton* m_bpOpenLogPath;
134 wxCheckBox* m_checkDebug;
135 wxCheckBox* m_checkShowSS;
136 wxStaticBitmap* m_bitmapwarn;
137 wxStaticText* m_staticTextWarn;
138 wxStaticLine* m_staticline;
139 wxTextCtrl* m_Timeout;
142 wxArrayString m_aLangs, m_aLangsDesc;
143 wxImageList m_ImageList;
147 DECLARE_EVENT_TABLE()
164 virtual bool Create(
wxGISApplicationBase* application, wxWindow* parent, wxWindowID
id = wxID_ANY,
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
long style = wxTAB_TRAVERSAL,
const wxString& name = wxT(
"GDAL_conf_Panel"));
166 virtual wxString GetPageName(
void){
return wxString(_(
"GDAL Configuration"));};
167 virtual void Apply(
void);
169 wxPGProperty* AppendProperty(wxPGProperty* pProp);
170 wxPGProperty* AppendProperty(wxPGProperty* pid, wxPGProperty* pProp);
174 ID_PPCTRL = wxID_HIGHEST + 1,
178 wxPropertyGrid* m_pg;
Definition: applicationbase.h:65
Definition: propertypages.h:94
virtual void Apply(void)=0
Executed when OK is pressed.
virtual ~IPropertyPage(void)
A destructor.
Definition: propertypages.h:61
Definition: propertypages.h:54
Definition: propertypages.h:158
virtual bool Create(wxGISApplicationBase *application, wxWindow *parent, wxWindowID id=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxTAB_TRAVERSAL, const wxString &name=wxT("panel"))=0
A Create function.
Definition: propertypages.h:61