2012-04-16 03:18:41 +00:00
|
|
|
///////////////////////////////////////////////////////////////////////////
|
2023-02-22 01:49:46 +00:00
|
|
|
// C++ code generated with wxFormBuilder (version 3.10.1-0-g8feb16b)
|
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>
|
2023-02-22 01:49:46 +00:00
|
|
|
class WX_INFOBAR;
|
|
|
|
|
2012-04-16 03:18:41 +00:00
|
|
|
#include "dialog_shim.h"
|
2023-02-22 01:49:46 +00:00
|
|
|
#include <wx/infobar.h>
|
2012-04-16 03:18:41 +00:00
|
|
|
#include <wx/gdicmn.h>
|
|
|
|
#include <wx/font.h>
|
|
|
|
#include <wx/colour.h>
|
|
|
|
#include <wx/settings.h>
|
2023-02-22 01:49:46 +00:00
|
|
|
#include <wx/string.h>
|
|
|
|
#include <wx/stattext.h>
|
2012-04-16 03:18:41 +00:00
|
|
|
#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:
|
2023-02-22 01:49:46 +00:00
|
|
|
WX_INFOBAR* m_infoBar;
|
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;
|
2022-02-06 13:23:08 +00:00
|
|
|
wxCheckBox* m_checkUnitsInterchangeable;
|
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
|
|
|
|
2023-02-22 01:49:46 +00:00
|
|
|
// Virtual event handlers, override them in your derived class
|
2019-11-06 19:15:42 +00:00
|
|
|
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 );
|
2023-02-22 01:49:46 +00:00
|
|
|
|
2021-06-14 18:00:08 +00:00
|
|
|
~DIALOG_LIB_NEW_SYMBOL_BASE();
|
2019-11-06 19:15:42 +00:00
|
|
|
|
2012-04-16 03:18:41 +00:00
|
|
|
};
|
|
|
|
|