KiCad PCB EDA Suite
dialog_template_selector_base.h
Go to the documentation of this file.
1 // C++ code generated with wxFormBuilder (version Apr 19 2018)
3 // http://www.wxformbuilder.org/
4 //
5 // PLEASE DO *NOT* EDIT THIS FILE!
7 
8 #ifndef __DIALOG_TEMPLATE_SELECTOR_BASE_H__
9 #define __DIALOG_TEMPLATE_SELECTOR_BASE_H__
10 
11 #include <wx/artprov.h>
12 #include <wx/xrc/xmlres.h>
13 #include <wx/intl.h>
14 #include "dialog_shim.h"
15 #include <wx/gdicmn.h>
16 #include <wx/notebook.h>
17 #include <wx/font.h>
18 #include <wx/colour.h>
19 #include <wx/settings.h>
20 #include <wx/string.h>
21 #include <wx/html/htmlwin.h>
22 #include <wx/stattext.h>
23 #include <wx/textctrl.h>
24 #include <wx/button.h>
25 #include <wx/sizer.h>
26 #include <wx/statline.h>
27 #include <wx/dialog.h>
28 #include <wx/scrolwin.h>
29 #include <wx/panel.h>
30 #include <wx/bitmap.h>
31 #include <wx/image.h>
32 #include <wx/icon.h>
33 #include <wx/statbmp.h>
34 
36 
37 
42 {
43  private:
44 
45  protected:
46  wxNotebook* m_notebook;
47  wxHtmlWindow* m_htmlWin;
48  wxStaticText* m_staticTextTpath;
49  wxTextCtrl* m_tcTemplatePath;
50  wxButton* m_buttonBrowse;
51  wxButton* m_buttonValidate;
52  wxStaticLine* m_staticline;
53  wxStdDialogButtonSizer* m_sdbSizer;
54  wxButton* m_sdbSizerOK;
55  wxButton* m_sdbSizerCancel;
56 
57  // Virtual event handlers, overide them in your derived class
58  virtual void OnPageChange( wxNotebookEvent& event ) { event.Skip(); }
59  virtual void OnHtmlLinkActivated( wxHtmlLinkEvent& event ) { event.Skip(); }
60  virtual void onDirectoryBrowseClicked( wxCommandEvent& event ) { event.Skip(); }
61  virtual void onValidatePath( wxCommandEvent& event ) { event.Skip(); }
62 
63 
64  public:
65 
66  DIALOG_TEMPLATE_SELECTOR_BASE( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Project Template Selector"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 640,480 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );
68 
69 };
70 
74 class TEMPLATE_SELECTION_PANEL_BASE : public wxPanel
75 {
76  private:
77 
78  protected:
79 
80  public:
81  wxBoxSizer* m_SizerBase;
82  wxScrolledWindow* m_scrolledWindow;
83  wxBoxSizer* m_SizerChoice;
84 
85  TEMPLATE_SELECTION_PANEL_BASE( wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( -1,140 ), long style = wxNO_BORDER|wxTAB_TRAVERSAL );
87 
88 };
89 
93 class TEMPLATE_WIDGET_BASE : public wxPanel
94 {
95  private:
96 
97  protected:
98  wxStaticBitmap* m_bitmapIcon;
99  wxStaticText* m_staticTitle;
100 
101  public:
102 
103  TEMPLATE_WIDGET_BASE( wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 74,-1 ), long style = wxTAB_TRAVERSAL );
105 
106 };
107 
108 #endif //__DIALOG_TEMPLATE_SELECTOR_BASE_H__
virtual void onValidatePath(wxCommandEvent &event)
virtual void OnPageChange(wxNotebookEvent &event)
Class DIALOG_SHIM may sit in the inheritance tree between wxDialog and any class written by wxFormBui...
Definition: dialog_shim.h:70
Class DIALOG_TEMPLATE_SELECTOR_BASE.
Class TEMPLATE_WIDGET_BASE.
Class TEMPLATE_SELECTION_PANEL_BASE.
DIALOG_TEMPLATE_SELECTOR_BASE(wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Project Template Selector"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(640, 480), long style=wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER)
virtual void OnHtmlLinkActivated(wxHtmlLinkEvent &event)
virtual void onDirectoryBrowseClicked(wxCommandEvent &event)