KiCad PCB EDA Suite
Loading...
Searching...
No Matches
dialog_lib_new_symbol_base.h
Go to the documentation of this file.
1
2// C++ code generated with wxFormBuilder (version 4.0.0-0-g0efcecf)
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>
13class WX_INFOBAR;
14
15#include "dialog_shim.h"
16#include <wx/infobar.h>
17#include <wx/gdicmn.h>
18#include <wx/font.h>
19#include <wx/colour.h>
20#include <wx/settings.h>
21#include <wx/string.h>
22#include <wx/stattext.h>
23#include <wx/textctrl.h>
24#include <wx/combobox.h>
25#include <wx/spinctrl.h>
26#include <wx/sizer.h>
27#include <wx/checkbox.h>
28#include <wx/button.h>
29#include <wx/dialog.h>
30
32
37{
39 private:
40
41 // Private event handlers
42 void _wxFB_OnParentSymbolSelect( wxCommandEvent& event ){ OnParentSymbolSelect( event ); }
43 void _wxFB_onPowerCheckBox( wxCommandEvent& event ){ onPowerCheckBox( event ); }
44
45
46 protected:
48 wxStaticText* m_staticTextName;
49 wxTextCtrl* m_textName;
50 wxStaticText* m_staticText5;
52 wxStaticText* m_staticTextDes;
53 wxTextCtrl* m_textReference;
54 wxStaticText* m_staticTextUnits;
55 wxSpinCtrl* m_spinPartCount;
65 wxCheckBox* m_checkShowPinName;
67 wxStdDialogButtonSizer* m_sdbSizer;
68 wxButton* m_sdbSizerOK;
70
71 // Virtual event handlers, override them in your derived class
72 virtual void OnParentSymbolSelect( wxCommandEvent& event ) { event.Skip(); }
73 virtual void onPowerCheckBox( wxCommandEvent& event ) { event.Skip(); }
74
75
76 public:
77
78 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 );
79
81
82};
83
Class DIALOG_LIB_NEW_SYMBOL_BASE.
void _wxFB_OnParentSymbolSelect(wxCommandEvent &event)
wxStdDialogButtonSizer * m_sdbSizer
virtual void OnParentSymbolSelect(wxCommandEvent &event)
virtual void onPowerCheckBox(wxCommandEvent &event)
void _wxFB_onPowerCheckBox(wxCommandEvent &event)
Dialog helper object to sit in the inheritance tree between wxDialog and any class written by wxFormB...
Definition: dialog_shim.h:84
A modified version of the wxInfoBar class that allows us to:
Definition: wx_infobar.h:75
#define _(s)