KiCad PCB EDA Suite
Loading...
Searching...
No Matches
dialog_template_selector_base.h
Go to the documentation of this file.
1
2// C++ code generated with wxFormBuilder (version 4.2.1-0-g80c4cb6)
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>
14
15#include "widgets/html_window.h"
16#include "dialog_shim.h"
17#include <wx/string.h>
18#include <wx/stattext.h>
19#include <wx/gdicmn.h>
20#include <wx/font.h>
21#include <wx/colour.h>
22#include <wx/settings.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/notebook.h>
31#include <wx/html/htmlwin.h>
32#include <wx/dialog.h>
33#include <wx/scrolwin.h>
34#include <wx/panel.h>
35#include <wx/statbmp.h>
36
38
43{
44 private:
45
46 protected:
47 wxStaticText* m_staticTextTpath;
48 wxTextCtrl* m_tcTemplatePath;
51 wxNotebook* m_notebook;
53 wxStdDialogButtonSizer* m_sdbSizer;
54 wxButton* m_sdbSizerOK;
56
57 // Virtual event handlers, override them in your derived class
58 virtual void onDirectoryBrowseClicked( wxCommandEvent& event ) { event.Skip(); }
59 virtual void onReload( wxCommandEvent& event ) { event.Skip(); }
60 virtual void OnPageChange( wxNotebookEvent& event ) { event.Skip(); }
61 virtual void OnHtmlLinkActivated( wxHtmlLinkEvent& 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( 600,499 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );
67
69
70};
71
75class TEMPLATE_SELECTION_PANEL_BASE : public wxPanel
76{
77 private:
78
79 protected:
80 wxBoxSizer* m_SizerChoice;
81
82 public:
83 wxBoxSizer* m_SizerBase;
84 wxScrolledWindow* m_scrolledWindow;
85
86 TEMPLATE_SELECTION_PANEL_BASE( wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 258,140 ), long style = wxTAB_TRAVERSAL|wxBORDER_NONE, const wxString& name = wxEmptyString );
87
89
90};
91
95class TEMPLATE_WIDGET_BASE : public wxPanel
96{
97 private:
98
99 protected:
100 wxStaticBitmap* m_bitmapIcon;
101 wxStaticText* m_staticTitle;
102
103 public:
104
105 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
108
109};
110
const char * name
Definition: DXF_plotter.cpp:57
Dialog helper object to sit in the inheritance tree between wxDialog and any class written by wxFormB...
Definition: dialog_shim.h:88
Class DIALOG_TEMPLATE_SELECTOR_BASE.
virtual void OnPageChange(wxNotebookEvent &event)
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:35
A bitmap button widget that behaves like a standard dialog button except with an icon.
Class TEMPLATE_SELECTION_PANEL_BASE.
Class TEMPLATE_WIDGET_BASE.
#define _(s)