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