2012-04-16 03:18:41 +00:00
|
|
|
///////////////////////////////////////////////////////////////////////////
|
2021-10-29 19:27:24 +00:00
|
|
|
// C++ code generated with wxFormBuilder (version Oct 26 2018)
|
2012-04-16 03:18:41 +00:00
|
|
|
// http://www.wxformbuilder.org/
|
|
|
|
//
|
2017-12-24 15:04:02 +00:00
|
|
|
// PLEASE DO *NOT* EDIT THIS FILE!
|
2012-04-16 03:18:41 +00:00
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
|
2019-11-06 19:15:42 +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>
|
2019-11-06 19:15:42 +00:00
|
|
|
#include <wx/combobox.h>
|
2012-04-16 03:18:41 +00:00
|
|
|
#include <wx/spinctrl.h>
|
2013-12-08 04:46:25 +00:00
|
|
|
#include <wx/sizer.h>
|
2012-04-16 03:18:41 +00:00
|
|
|
#include <wx/checkbox.h>
|
|
|
|
#include <wx/button.h>
|
|
|
|
#include <wx/dialog.h>
|
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
2021-06-14 18:00:08 +00:00
|
|
|
/// Class DIALOG_LIB_NEW_SYMBOL_BASE
|
2012-04-16 03:18:41 +00:00
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
2021-06-14 18:00:08 +00:00
|
|
|
class DIALOG_LIB_NEW_SYMBOL_BASE : public DIALOG_SHIM
|
2012-04-16 03:18:41 +00:00
|
|
|
{
|
2019-11-06 19:15:42 +00:00
|
|
|
DECLARE_EVENT_TABLE()
|
2012-04-16 03:18:41 +00:00
|
|
|
private:
|
2019-11-06 19:15:42 +00:00
|
|
|
|
|
|
|
// Private event handlers
|
|
|
|
void _wxFB_OnParentSymbolSelect( wxCommandEvent& event ){ OnParentSymbolSelect( event ); }
|
2020-09-09 13:03:37 +00:00
|
|
|
void _wxFB_onPowerCheckBox( wxCommandEvent& event ){ onPowerCheckBox( event ); }
|
2019-11-06 19:15:42 +00:00
|
|
|
|
|
|
|
|
2012-04-16 03:18:41 +00:00
|
|
|
protected:
|
2019-03-04 07:27:00 +00:00
|
|
|
wxStaticText* m_staticTextName;
|
2012-04-16 03:18:41 +00:00
|
|
|
wxTextCtrl* m_textName;
|
2019-11-06 19:15:42 +00:00
|
|
|
wxStaticText* m_staticText5;
|
|
|
|
wxComboBox* m_comboInheritanceSelect;
|
2019-03-04 07:27:00 +00:00
|
|
|
wxStaticText* m_staticTextDes;
|
2012-04-16 03:18:41 +00:00
|
|
|
wxTextCtrl* m_textReference;
|
2019-03-04 07:27:00 +00:00
|
|
|
wxStaticText* m_staticTextUnits;
|
2012-04-16 03:18:41 +00:00
|
|
|
wxSpinCtrl* m_spinPartCount;
|
2019-06-02 18:58:09 +00:00
|
|
|
wxCheckBox* m_checkLockItems;
|
2012-04-16 03:18:41 +00:00
|
|
|
wxCheckBox* m_checkHasConversion;
|
|
|
|
wxCheckBox* m_checkIsPowerSymbol;
|
2020-09-09 13:03:37 +00:00
|
|
|
wxCheckBox* m_excludeFromBomCheckBox;
|
|
|
|
wxCheckBox* m_excludeFromBoardCheckBox;
|
2020-01-23 20:45:51 +00:00
|
|
|
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;
|
2019-11-06 19:15:42 +00:00
|
|
|
|
|
|
|
// Virtual event handlers, overide them in your derived class
|
|
|
|
virtual void OnParentSymbolSelect( wxCommandEvent& event ) { event.Skip(); }
|
2020-09-09 13:03:37 +00:00
|
|
|
virtual void onPowerCheckBox( wxCommandEvent& event ) { event.Skip(); }
|
2019-11-06 19:15:42 +00:00
|
|
|
|
|
|
|
|
2012-04-16 03:18:41 +00:00
|
|
|
public:
|
2019-11-06 19:15:42 +00:00
|
|
|
|
2021-06-14 18:00:08 +00:00
|
|
|
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();
|
2019-11-06 19:15:42 +00:00
|
|
|
|
2012-04-16 03:18:41 +00:00
|
|
|
};
|
|
|
|
|