KiCad PCB EDA Suite
dialog_lib_new_component_base.h
Go to the documentation of this file.
1 // C++ code generated with wxFormBuilder (version 3.9.0 Jan 23 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 #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/textctrl.h>
21 #include <wx/combobox.h>
22 #include <wx/spinctrl.h>
23 #include <wx/sizer.h>
24 #include <wx/checkbox.h>
25 #include <wx/button.h>
26 #include <wx/dialog.h>
27 
29 
34 {
35  DECLARE_EVENT_TABLE()
36  private:
37 
38  // Private event handlers
39  void _wxFB_OnParentSymbolSelect( wxCommandEvent& event ){ OnParentSymbolSelect( event ); }
40 
41 
42  protected:
43  wxStaticText* m_staticTextName;
44  wxTextCtrl* m_textName;
45  wxStaticText* m_staticText5;
47  wxStaticText* m_staticTextDes;
48  wxTextCtrl* m_textReference;
49  wxStaticText* m_staticTextUnits;
50  wxSpinCtrl* m_spinPartCount;
51  wxCheckBox* m_checkLockItems;
52  wxCheckBox* m_checkHasConversion;
53  wxCheckBox* m_checkIsPowerSymbol;
55  wxTextCtrl* m_textPinTextPosition;
57  wxCheckBox* m_checkShowPinNumber;
58  wxCheckBox* m_checkShowPinName;
60  wxStdDialogButtonSizer* m_sdbSizer;
61  wxButton* m_sdbSizerOK;
62  wxButton* m_sdbSizerCancel;
63 
64  // Virtual event handlers, overide them in your derived class
65  virtual void OnParentSymbolSelect( wxCommandEvent& event ) { event.Skip(); }
66 
67 
68  public:
69 
70  DIALOG_LIB_NEW_COMPONENT_BASE( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("New Symbol"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );
72 
73 };
74 
void _wxFB_OnParentSymbolSelect(wxCommandEvent &event)
Dialog helper object to sit in the inheritance tree between wxDialog and any class written by wxFormB...
Definition: dialog_shim.h:83
Class DIALOG_LIB_NEW_COMPONENT_BASE.
DIALOG_LIB_NEW_COMPONENT_BASE(wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("New Symbol"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER)
#define _(s)
Definition: 3d_actions.cpp:33
virtual void OnParentSymbolSelect(wxCommandEvent &event)