KiCad PCB EDA Suite
dialog_template_selector_base.h
Go to the documentation of this file.
1
2// C++ code generated with wxFormBuilder (version Oct 26 2018)
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/string.h>
16#include <wx/stattext.h>
17#include <wx/gdicmn.h>
18#include <wx/font.h>
19#include <wx/colour.h>
20#include <wx/settings.h>
21#include <wx/textctrl.h>
22#include <wx/bmpbuttn.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/notebook.h>
29#include <wx/html/htmlwin.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 wxStaticText* m_staticTextTpath;
48 wxTextCtrl* m_tcTemplatePath;
49 wxBitmapButton* m_browseButton;
50 wxBitmapButton* m_reloadButton;
51 wxNotebook* m_notebook;
53 wxStaticLine* m_staticline;
54 wxStdDialogButtonSizer* m_sdbSizer;
55 wxButton* m_sdbSizerOK;
57
58 // Virtual event handlers, overide them in your derived class
59 virtual void onDirectoryBrowseClicked( wxCommandEvent& event ) { event.Skip(); }
60 virtual void onReload( wxCommandEvent& event ) { event.Skip(); }
61 virtual void OnPageChange( wxNotebookEvent& event ) { event.Skip(); }
62 virtual void OnHtmlLinkActivated( wxHtmlLinkEvent& 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( -1,-1 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );
69
70};
71
75class TEMPLATE_SELECTION_PANEL_BASE : public wxPanel
76{
77 private:
78
79 protected:
80
81 public:
82 wxBoxSizer* m_SizerBase;
83 wxScrolledWindow* m_scrolledWindow;
84 wxGridSizer* m_SizerChoice;
85
86 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
89};
90
94class TEMPLATE_WIDGET_BASE : public wxPanel
95{
96 private:
97
98 protected:
99 wxStaticBitmap* m_bitmapIcon;
100 wxStaticText* m_staticTitle;
101
102 public:
103
104 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 );
106
107};
108
const char * name
Definition: DXF_plotter.cpp:56
Dialog helper object to sit in the inheritance tree between wxDialog and any class written by wxFormB...
Definition: dialog_shim.h:83
Class DIALOG_TEMPLATE_SELECTOR_BASE.
virtual void OnPageChange(wxNotebookEvent &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(-1,-1), long style=wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER)
virtual void onReload(wxCommandEvent &event)
virtual void onDirectoryBrowseClicked(wxCommandEvent &event)
virtual void OnHtmlLinkActivated(wxHtmlLinkEvent &event)
Add dark theme support to wxHtmlWindow.
Definition: html_window.h:34
Class TEMPLATE_SELECTION_PANEL_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.
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)
#define _(s)