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>
13#include "dialog_shim.h"
14#include <wx/string.h>
15#include <wx/stattext.h>
16#include <wx/gdicmn.h>
17#include <wx/font.h>
18#include <wx/colour.h>
19#include <wx/settings.h>
20#include <wx/sizer.h>
21#include <wx/scrolwin.h>
22#include <wx/panel.h>
23#include <wx/srchctrl.h>
24#include <wx/choice.h>
25#include <wx/button.h>
26#include <wx/bitmap.h>
27#include <wx/image.h>
28#include <wx/icon.h>
29#include <wx/dialog.h>
30#include <wx/statbmp.h>
31
33
38{
39 private:
40
41 protected:
42 wxPanel* m_panelMRU;
44 wxScrolledWindow* m_scrolledMRU;
45 wxBoxSizer* m_sizerMRU;
47 wxSearchCtrl* m_searchCtrl;
48 wxChoice* m_filterChoice;
49 wxScrolledWindow* m_scrolledTemplates;
53 wxBoxSizer* m_sizerButtons;
54 wxButton* m_btnBack;
55 wxStdDialogButtonSizer* m_sdbSizer;
56 wxButton* m_sdbSizerOK;
58
59 // Virtual event handlers, override them in your derived class
60 virtual void OnSearchCtrlCancel( wxCommandEvent& event ) { event.Skip(); }
61 virtual void OnSearchCtrl( wxCommandEvent& event ) { event.Skip(); }
62 virtual void OnFilterChanged( wxCommandEvent& event ) { event.Skip(); }
63 virtual void OnBackClicked( wxCommandEvent& event ) { event.Skip(); }
64
65
66 public:
67
68 DIALOG_TEMPLATE_SELECTOR_BASE( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Project Template Selector"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 900,600 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );
69
71
72};
73
77class TEMPLATE_SELECTION_PANEL_BASE : public wxPanel
78{
79 private:
80
81 protected:
82
83 public:
84 wxBoxSizer* m_SizerBase;
85 wxScrolledWindow* m_scrolledWindow;
86 wxBoxSizer* m_SizerChoice;
87
88 TEMPLATE_SELECTION_PANEL_BASE( wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( -1,-1 ), long style = wxTAB_TRAVERSAL|wxBORDER_NONE, const wxString& name = wxEmptyString );
89
91
92};
93
97class TEMPLATE_WIDGET_BASE : public wxPanel
98{
99 private:
100
101 protected:
102 wxStaticBitmap* m_bitmapIcon;
103 wxStaticText* m_staticTitle;
104 wxStaticText* m_staticDescription;
105
106 public:
107
108 TEMPLATE_WIDGET_BASE( wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( -1,-1 ), long style = wxTAB_TRAVERSAL, const wxString& name = wxEmptyString );
109
111
112};
113
const char * name
DIALOG_SHIM(wxWindow *aParent, wxWindowID id, const wxString &title, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxDEFAULT_FRAME_STYLE|wxRESIZE_BORDER, const wxString &name=wxDialogNameStr)
virtual void OnSearchCtrlCancel(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(900, 600), long style=wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER)
virtual void OnSearchCtrl(wxCommandEvent &event)
virtual void OnFilterChanged(wxCommandEvent &event)
virtual void OnBackClicked(wxCommandEvent &event)
TEMPLATE_SELECTION_PANEL_BASE(wxWindow *parent, wxWindowID id=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxTAB_TRAVERSAL|wxBORDER_NONE, const wxString &name=wxEmptyString)
TEMPLATE_WIDGET_BASE(wxWindow *parent, wxWindowID id=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxTAB_TRAVERSAL, const wxString &name=wxEmptyString)
#define _(s)