KiCad PCB EDA Suite
dialog_edit_footprint_for_fp_editor_base.h
Go to the documentation of this file.
1 // C++ code generated with wxFormBuilder (version 3.9.0 Jun 3 2020)
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 class TEXT_CTRL_EVAL;
14 class WX_GRID;
15 
16 #include "dialog_shim.h"
17 #include <wx/colour.h>
18 #include <wx/settings.h>
19 #include <wx/string.h>
20 #include <wx/font.h>
21 #include <wx/grid.h>
22 #include <wx/gdicmn.h>
23 #include <wx/bmpbuttn.h>
24 #include <wx/bitmap.h>
25 #include <wx/image.h>
26 #include <wx/icon.h>
27 #include <wx/button.h>
28 #include <wx/sizer.h>
29 #include <wx/statbox.h>
30 #include <wx/stattext.h>
31 #include <wx/textctrl.h>
32 #include <wx/radiobox.h>
33 #include <wx/slider.h>
34 #include <wx/panel.h>
35 #include <wx/choice.h>
36 #include <wx/notebook.h>
37 #include <wx/dialog.h>
38 
40 
41 #define ID_NOTEBOOK 1000
42 
47 {
48  private:
49  wxBoxSizer* m_GeneralBoxSizer;
50 
51  protected:
52  wxNotebook* m_NoteBook;
53  wxPanel* m_PanelGeneral;
55  wxBitmapButton* m_bpAdd;
56  wxBitmapButton* m_bpDelete;
57  wxTextCtrl* m_FootprintNameCtrl;
58  wxTextCtrl* m_DocCtrl;
59  wxStaticText* staticKeywordsLabel;
60  wxTextCtrl* m_KeywordCtrl;
61  wxRadioBox* m_AutoPlaceCtrl;
62  wxStaticBoxSizer* m_sizerAP;
63  wxBoxSizer* m_sizerAllow90;
64  wxStaticText* m_allow90Label;
65  wxSlider* m_CostRot90Ctrl;
66  wxBoxSizer* m_sizerAllow180;
67  wxStaticText* m_allow180Label;
68  wxSlider* m_CostRot180Ctrl;
69  wxRadioBox* m_AttributsCtrl;
71  wxStaticText* m_staticTextInfo;
72  wxStaticText* m_staticTextInfoValPos;
73  wxStaticText* m_staticTextInfoValNeg;
74  wxStaticText* m_NetClearanceLabel;
75  wxTextCtrl* m_NetClearanceCtrl;
76  wxStaticText* m_NetClearanceUnits;
77  wxStaticText* m_SolderMaskMarginLabel;
79  wxStaticText* m_SolderMaskMarginUnits;
80  wxStaticText* m_SolderPasteMarginLabel;
82  wxStaticText* m_SolderPasteMarginUnits;
83  wxStaticText* m_staticTextRatio;
86  wxStaticText* m_staticTextInfoCopper;
87  wxStaticText* m_staticTextInfoPaste;
88  wxStaticText* m_staticText16;
90  wxPanel* m_Panel3D;
91  wxBoxSizer* bSizerMain3D;
93  wxBitmapButton* m_button3DShapeAdd;
94  wxBitmapButton* m_button3DShapeBrowse;
95  wxBitmapButton* m_button3DShapeRemove;
97  wxBoxSizer* bLowerSizer3D;
98  wxStdDialogButtonSizer* m_sdbSizerStdButtons;
101 
102  // Virtual event handlers, overide them in your derived class
103  virtual void OnInitDlg( wxInitDialogEvent& event ) { event.Skip(); }
104  virtual void OnUpdateUI( wxUpdateUIEvent& event ) { event.Skip(); }
105  virtual void OnGridSize( wxSizeEvent& event ) { event.Skip(); }
106  virtual void OnAddField( wxCommandEvent& event ) { event.Skip(); }
107  virtual void OnDeleteField( wxCommandEvent& event ) { event.Skip(); }
108  virtual void OnFootprintNameText( wxCommandEvent& event ) { event.Skip(); }
109  virtual void On3DModelCellChanged( wxGridEvent& event ) { event.Skip(); }
110  virtual void On3DModelSelected( wxGridEvent& event ) { event.Skip(); }
111  virtual void OnAdd3DRow( wxCommandEvent& event ) { event.Skip(); }
112  virtual void OnAdd3DModel( wxCommandEvent& event ) { event.Skip(); }
113  virtual void OnRemove3DModel( wxCommandEvent& event ) { event.Skip(); }
114  virtual void Cfg3DPath( wxCommandEvent& event ) { event.Skip(); }
115 
116 
117  public:
118 
119  DIALOG_FOOTPRINT_FP_EDITOR_BASE( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Footprint Properties"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( -1,-1 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );
121 
122 };
123 
virtual void OnInitDlg(wxInitDialogEvent &event)
Dialog helper object to sit in the inheritance tree between wxDialog and any class written by wxFormB...
Definition: dialog_shim.h:83
virtual void OnRemove3DModel(wxCommandEvent &event)
DIALOG_FOOTPRINT_FP_EDITOR_BASE(wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Footprint Properties"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER)
wxTextCtrl wrapper to handle math expression evaluation.
#define _(s)
Definition: 3d_actions.cpp:33
virtual void OnFootprintNameText(wxCommandEvent &event)