KiCad PCB EDA Suite
dialog_env_var_config_base.h
Go to the documentation of this file.
1 // C++ code generated with wxFormBuilder (version Aug 4 2017)
3 // http://www.wxformbuilder.org/
4 //
5 // PLEASE DO "NOT" EDIT THIS FILE!
7 
8 #ifndef __DIALOG_ENV_VAR_CONFIG_BASE_H__
9 #define __DIALOG_ENV_VAR_CONFIG_BASE_H__
10 
11 #include <wx/artprov.h>
12 #include <wx/xrc/xmlres.h>
13 #include <wx/intl.h>
14 class DIALOG_SHIM;
15 
16 #include "dialog_shim.h"
17 #include <wx/listctrl.h>
18 #include <wx/gdicmn.h>
19 #include <wx/font.h>
20 #include <wx/colour.h>
21 #include <wx/settings.h>
22 #include <wx/string.h>
23 #include <wx/button.h>
24 #include <wx/sizer.h>
25 #include <wx/statline.h>
26 #include <wx/dialog.h>
27 #include <wx/stattext.h>
28 #include <wx/textctrl.h>
29 
31 
32 #define ID_BUTTON_ADD_PATH 1000
33 #define ID_BUTTON_EDIT_PATH 1001
34 #define ID_BUTTON_DELETE_PATH 1002
35 
40 {
41  private:
42 
43  protected:
44  wxListCtrl* m_pathList;
45  wxButton* m_addPathButton;
46  wxButton* m_editPathButton;
47  wxButton* m_deletePathButton;
48  wxStaticLine* m_staticline1;
49  wxStdDialogButtonSizer* m_sdbSizer;
50  wxButton* m_sdbSizerOK;
51  wxButton* m_sdbSizerCancel;
52  wxButton* m_sdbSizerHelp;
53 
54  // Virtual event handlers, overide them in your derived class
55  virtual void OnPathActivated( wxListEvent& event ) { event.Skip(); }
56  virtual void OnPathSelected( wxListEvent& event ) { event.Skip(); }
57  virtual void OnAddButton( wxCommandEvent& event ) { event.Skip(); }
58  virtual void OnEditButton( wxCommandEvent& event ) { event.Skip(); }
59  virtual void OnRemoveButton( wxCommandEvent& event ) { event.Skip(); }
60  virtual void OnHelpButton( wxCommandEvent& event ) { event.Skip(); }
61 
62 
63  public:
64 
65  DIALOG_ENV_VAR_CONFIG_BASE( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Environment Variable Configuration"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( -1,-1 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );
67 
68 };
69 
74 {
75  private:
76 
77  protected:
78  wxStaticText* m_envVarNameLabel;
79  wxTextCtrl* m_envVarName;
80  wxButton* m_buttonHelp;
81  wxStaticText* m_envVarPathLabel;
82  wxTextCtrl* m_envVarPath;
83  wxButton* m_selectPathButton;
84  wxStaticLine* m_staticline2;
85  wxStdDialogButtonSizer* m_sdbSizer2;
86  wxButton* m_sdbSizer2OK;
87  wxButton* m_sdbSizer2Cancel;
88 
89  // Virtual event handlers, overide them in your derived class
90  virtual void onVarNameChange( wxCommandEvent& event ) { event.Skip(); }
91  virtual void onHelpClick( wxCommandEvent& event ) { event.Skip(); }
92  virtual void OnSelectPath( wxCommandEvent& event ) { event.Skip(); }
93 
94 
95  public:
96 
97  DIALOG_ENV_VAR_SINGLE_BASE( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Edit Environment Variable"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( -1,-1 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );
99 
100 };
101 
102 #endif //__DIALOG_ENV_VAR_CONFIG_BASE_H__
wxStdDialogButtonSizer * m_sdbSizer2
virtual void onHelpClick(wxCommandEvent &event)
virtual void OnSelectPath(wxCommandEvent &event)
virtual void OnHelpButton(wxCommandEvent &event)
Class DIALOG_ENV_VAR_CONFIG_BASE.
virtual void OnEditButton(wxCommandEvent &event)
Class DIALOG_SHIM may sit in the inheritance tree between wxDialog and any class written by wxFormBui...
Definition: dialog_shim.h:70
virtual void OnRemoveButton(wxCommandEvent &event)
wxStdDialogButtonSizer * m_sdbSizer
virtual void OnAddButton(wxCommandEvent &event)
Class DIALOG_ENV_VAR_SINGLE_BASE.
virtual void onVarNameChange(wxCommandEvent &event)
virtual void OnPathSelected(wxListEvent &event)
DIALOG_ENV_VAR_CONFIG_BASE(wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Environment Variable Configuration"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER)
virtual void OnPathActivated(wxListEvent &event)