kicad/eeschema/dialogs/dialog_lib_new_symbol_base.h

79 lines
2.5 KiB
C
Raw Normal View History

2012-04-16 03:18:41 +00:00
///////////////////////////////////////////////////////////////////////////
// C++ code generated with wxFormBuilder (version 3.9.0 Jun 3 2020)
2012-04-16 03:18:41 +00:00
// http://www.wxformbuilder.org/
//
// PLEASE DO *NOT* EDIT THIS FILE!
2012-04-16 03:18:41 +00:00
///////////////////////////////////////////////////////////////////////////
#pragma once
2012-04-16 03:18:41 +00:00
#include <wx/artprov.h>
#include <wx/xrc/xmlres.h>
#include <wx/intl.h>
#include "dialog_shim.h"
#include <wx/string.h>
#include <wx/stattext.h>
#include <wx/gdicmn.h>
#include <wx/font.h>
#include <wx/colour.h>
#include <wx/settings.h>
#include <wx/textctrl.h>
#include <wx/combobox.h>
2012-04-16 03:18:41 +00:00
#include <wx/spinctrl.h>
#include <wx/sizer.h>
2012-04-16 03:18:41 +00:00
#include <wx/checkbox.h>
#include <wx/button.h>
#include <wx/dialog.h>
///////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////
/// Class DIALOG_LIB_NEW_SYMBOL_BASE
2012-04-16 03:18:41 +00:00
///////////////////////////////////////////////////////////////////////////////
class DIALOG_LIB_NEW_SYMBOL_BASE : public DIALOG_SHIM
2012-04-16 03:18:41 +00:00
{
DECLARE_EVENT_TABLE()
2012-04-16 03:18:41 +00:00
private:
// Private event handlers
void _wxFB_OnParentSymbolSelect( wxCommandEvent& event ){ OnParentSymbolSelect( event ); }
void _wxFB_onPowerCheckBox( wxCommandEvent& event ){ onPowerCheckBox( event ); }
2012-04-16 03:18:41 +00:00
protected:
wxStaticText* m_staticTextName;
2012-04-16 03:18:41 +00:00
wxTextCtrl* m_textName;
wxStaticText* m_staticText5;
wxComboBox* m_comboInheritanceSelect;
wxStaticText* m_staticTextDes;
2012-04-16 03:18:41 +00:00
wxTextCtrl* m_textReference;
wxStaticText* m_staticTextUnits;
2012-04-16 03:18:41 +00:00
wxSpinCtrl* m_spinPartCount;
wxCheckBox* m_checkLockItems;
2012-04-16 03:18:41 +00:00
wxCheckBox* m_checkHasConversion;
wxCheckBox* m_checkIsPowerSymbol;
wxCheckBox* m_excludeFromBomCheckBox;
wxCheckBox* m_excludeFromBoardCheckBox;
wxStaticText* m_staticPinTextPositionLabel;
wxTextCtrl* m_textPinTextPosition;
wxStaticText* m_staticPinTextPositionUnits;
2012-04-16 03:18:41 +00:00
wxCheckBox* m_checkShowPinNumber;
wxCheckBox* m_checkShowPinName;
wxCheckBox* m_checkShowPinNameInside;
wxStdDialogButtonSizer* m_sdbSizer;
wxButton* m_sdbSizerOK;
wxButton* m_sdbSizerCancel;
// Virtual event handlers, overide them in your derived class
virtual void OnParentSymbolSelect( wxCommandEvent& event ) { event.Skip(); }
virtual void onPowerCheckBox( wxCommandEvent& event ) { event.Skip(); }
2012-04-16 03:18:41 +00:00
public:
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 );
~DIALOG_LIB_NEW_SYMBOL_BASE();
2012-04-16 03:18:41 +00:00
};