KiCad PCB EDA Suite
dialog_template_selector_base.h
Go to the documentation of this file.
1 // C++ code generated with wxFormBuilder (version 3.10.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 "html_window.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/bmpbuttn.h>
25 #include <wx/bitmap.h>
26 #include <wx/image.h>
27 #include <wx/icon.h>
28 #include <wx/button.h>
29 #include <wx/sizer.h>
30 #include <wx/statline.h>
31 #include <wx/dialog.h>
32 #include <wx/scrolwin.h>
33 #include <wx/panel.h>
34 #include <wx/statbmp.h>
35 
37 
38 
43 {
44  private:
45 
46  protected:
47  wxNotebook* m_notebook;
49  wxStaticText* m_staticTextTpath;
50  wxTextCtrl* m_tcTemplatePath;
51  wxBitmapButton* m_browseButton;
52  wxBitmapButton* m_reloadButton;
53  wxStaticLine* m_staticline;
54  wxStdDialogButtonSizer* m_sdbSizer;
55  wxButton* m_sdbSizerOK;
56  wxButton* m_sdbSizerCancel;
57 
58  // Virtual event handlers, override them in your derived class
59  virtual void OnPageChange( wxNotebookEvent& event ) { event.Skip(); }
60  virtual void OnHtmlLinkActivated( wxHtmlLinkEvent& event ) { event.Skip(); }
61  virtual void onDirectoryBrowseClicked( wxCommandEvent& event ) { event.Skip(); }
62  virtual void onReload( wxCommandEvent& event ) { event.Skip(); }
63 
64 
65  public:
66 
67  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,540 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );
68 
70 
71 };
72 
76 class TEMPLATE_SELECTION_PANEL_BASE : public wxPanel
77 {
78  private:
79 
80  protected:
81 
82  public:
83  wxBoxSizer* m_SizerBase;
84  wxScrolledWindow* m_scrolledWindow;
85  wxGridSizer* m_SizerChoice;
86 
87  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 );
88 
90 
91 };
92 
96 class TEMPLATE_WIDGET_BASE : public wxPanel
97 {
98  private:
99 
100  protected:
101  wxStaticBitmap* m_bitmapIcon;
102  wxStaticText* m_staticTitle;
103 
104  public:
105 
106  TEMPLATE_WIDGET_BASE( wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 108,-1 ), long style = wxTAB_TRAVERSAL, const wxString& name = wxEmptyString );
107 
109 
110 };
111 
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:82
virtual void onReload(wxCommandEvent &event)
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, 540), long style=wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER)
#define _(s)
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)
Add dark theme support to wxHtmlWindow.
Definition: html_window.h:33
TEMPLATE_WIDGET_BASE(wxWindow *parent, wxWindowID id=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(108,-1), long style=wxTAB_TRAVERSAL, const wxString &name=wxEmptyString)
Class TEMPLATE_WIDGET_BASE.
Class TEMPLATE_SELECTION_PANEL_BASE.
const char * name
Definition: DXF_plotter.cpp:56
virtual void OnHtmlLinkActivated(wxHtmlLinkEvent &event)
virtual void onDirectoryBrowseClicked(wxCommandEvent &event)