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 3.10.1-0-g8feb16b3)
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
39
44{
45 private:
46
47 protected:
48 wxStaticText* m_staticTextTpath;
49 wxTextCtrl* m_tcTemplatePath;
52 wxNotebook* m_notebook;
54 wxStdDialogButtonSizer* m_sdbSizer;
55 wxButton* m_sdbSizerOK;
57
58 // Virtual event handlers, override 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 );
68
70
71};
72
76class 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
96class 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
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:84
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:34
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)