KiCad PCB EDA Suite
dialog_lib_new_symbol_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 #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 {
36  private:
37 
38  // Private event handlers
39  void _wxFB_OnParentSymbolSelect( wxCommandEvent& event ){ OnParentSymbolSelect( event ); }
40  void _wxFB_onPowerCheckBox( wxCommandEvent& event ){ onPowerCheckBox( event ); }
41 
42 
43  protected:
44  wxStaticText* m_staticTextName;
45  wxTextCtrl* m_textName;
46  wxStaticText* m_staticText5;
48  wxStaticText* m_staticTextDes;
49  wxTextCtrl* m_textReference;
50  wxStaticText* m_staticTextUnits;
51  wxSpinCtrl* m_spinPartCount;
52  wxCheckBox* m_checkLockItems;
53  wxCheckBox* m_checkHasConversion;
54  wxCheckBox* m_checkIsPowerSymbol;
58  wxTextCtrl* m_textPinTextPosition;
60  wxCheckBox* m_checkShowPinNumber;
61  wxCheckBox* m_checkShowPinName;
63  wxStdDialogButtonSizer* m_sdbSizer;
64  wxButton* m_sdbSizerOK;
65  wxButton* m_sdbSizerCancel;
66 
67  // Virtual event handlers, overide them in your derived class
68  virtual void OnParentSymbolSelect( wxCommandEvent& event ) { event.Skip(); }
69  virtual void onPowerCheckBox( wxCommandEvent& event ) { event.Skip(); }
70 
71 
72  public:
73 
74  DIALOG_LIB_NEW_SYMBOL_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 );
76 
77 };
78 
virtual void onPowerCheckBox(wxCommandEvent &event)
void _wxFB_OnParentSymbolSelect(wxCommandEvent &event)
DIALOG_LIB_NEW_SYMBOL_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)
virtual void OnParentSymbolSelect(wxCommandEvent &event)
Dialog helper object to sit in the inheritance tree between wxDialog and any class written by wxFormB...
Definition: dialog_shim.h:82
void _wxFB_onPowerCheckBox(wxCommandEvent &event)
#define _(s)
wxStdDialogButtonSizer * m_sdbSizer
Class DIALOG_LIB_NEW_SYMBOL_BASE.