2012-04-15 22:18:41 -05:00
|
|
|
///////////////////////////////////////////////////////////////////////////
|
2025-06-10 14:20:06 +02:00
|
|
|
// C++ code generated with wxFormBuilder (version 4.2.1-0-g80c4cb6-dirty)
|
2012-04-15 22:18:41 -05:00
|
|
|
// http://www.wxformbuilder.org/
|
|
|
|
//
|
2017-12-24 10:04:02 -05:00
|
|
|
// PLEASE DO *NOT* EDIT THIS FILE!
|
2012-04-15 22:18:41 -05:00
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
|
2019-11-06 14:15:42 -05:00
|
|
|
#pragma once
|
2012-04-15 22:18:41 -05: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-15 22:18:41 -05:00
|
|
|
#include "dialog_shim.h"
|
2023-02-22 01:49:46 +00:00
|
|
|
#include <wx/infobar.h>
|
2012-04-15 22:18:41 -05: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-15 22:18:41 -05:00
|
|
|
#include <wx/textctrl.h>
|
2024-10-27 04:09:21 +08:00
|
|
|
#include <widgets/symbol_filter_combobox.h>
|
2012-04-15 22:18:41 -05:00
|
|
|
#include <wx/spinctrl.h>
|
2013-12-07 22:46:25 -06:00
|
|
|
#include <wx/sizer.h>
|
2012-04-15 22:18:41 -05:00
|
|
|
#include <wx/checkbox.h>
|
|
|
|
#include <wx/button.h>
|
|
|
|
#include <wx/dialog.h>
|
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
2021-06-14 14:00:08 -04:00
|
|
|
/// Class DIALOG_LIB_NEW_SYMBOL_BASE
|
2012-04-15 22:18:41 -05:00
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
2021-06-14 14:00:08 -04:00
|
|
|
class DIALOG_LIB_NEW_SYMBOL_BASE : public DIALOG_SHIM
|
2012-04-15 22:18:41 -05:00
|
|
|
{
|
2019-11-06 14:15:42 -05:00
|
|
|
DECLARE_EVENT_TABLE()
|
2012-04-15 22:18:41 -05:00
|
|
|
private:
|
2019-11-06 14:15:42 -05:00
|
|
|
|
|
|
|
// Private event handlers
|
2020-09-09 09:03:37 -04:00
|
|
|
void _wxFB_onPowerCheckBox( wxCommandEvent& event ){ onPowerCheckBox( event ); }
|
2025-06-10 14:20:06 +02:00
|
|
|
void _wxFB_onCheckTransferUserFields( wxCommandEvent& event ){ onCheckTransferUserFields( event ); }
|
2019-11-06 14:15:42 -05:00
|
|
|
|
|
|
|
|
2012-04-15 22:18:41 -05:00
|
|
|
protected:
|
2023-02-22 01:49:46 +00:00
|
|
|
WX_INFOBAR* m_infoBar;
|
2019-03-04 08:27:00 +01:00
|
|
|
wxStaticText* m_staticTextName;
|
2012-04-15 22:18:41 -05:00
|
|
|
wxTextCtrl* m_textName;
|
2019-11-06 14:15:42 -05:00
|
|
|
wxStaticText* m_staticText5;
|
2024-10-27 04:09:21 +08:00
|
|
|
SYMBOL_FILTER_COMBOBOX* m_comboInheritanceSelect;
|
2019-03-04 08:27:00 +01:00
|
|
|
wxStaticText* m_staticTextDes;
|
2012-04-15 22:18:41 -05:00
|
|
|
wxTextCtrl* m_textReference;
|
2019-03-04 08:27:00 +01:00
|
|
|
wxStaticText* m_staticTextUnits;
|
2012-04-15 22:18:41 -05:00
|
|
|
wxSpinCtrl* m_spinPartCount;
|
2022-02-06 13:23:08 +00:00
|
|
|
wxCheckBox* m_checkUnitsInterchangeable;
|
2024-01-26 17:29:26 +00:00
|
|
|
wxCheckBox* m_checkHasAlternateBodyStyle;
|
2012-04-15 22:18:41 -05:00
|
|
|
wxCheckBox* m_checkIsPowerSymbol;
|
2020-09-09 09:03:37 -04:00
|
|
|
wxCheckBox* m_excludeFromBomCheckBox;
|
|
|
|
wxCheckBox* m_excludeFromBoardCheckBox;
|
2025-06-10 14:20:06 +02:00
|
|
|
wxCheckBox* m_checkKeepDatasheet;
|
|
|
|
wxCheckBox* m_checkKeepFootprint;
|
|
|
|
wxCheckBox* m_checkTransferUserFields;
|
|
|
|
wxCheckBox* m_checkKeepContentUserFields;
|
2020-01-23 15:45:51 -05:00
|
|
|
wxStaticText* m_staticPinTextPositionLabel;
|
|
|
|
wxTextCtrl* m_textPinTextPosition;
|
|
|
|
wxStaticText* m_staticPinTextPositionUnits;
|
2012-04-15 22:18:41 -05:00
|
|
|
wxCheckBox* m_checkShowPinNumber;
|
|
|
|
wxCheckBox* m_checkShowPinName;
|
|
|
|
wxCheckBox* m_checkShowPinNameInside;
|
|
|
|
wxStdDialogButtonSizer* m_sdbSizer;
|
|
|
|
wxButton* m_sdbSizerOK;
|
|
|
|
wxButton* m_sdbSizerCancel;
|
2019-11-06 14:15:42 -05:00
|
|
|
|
2023-02-22 01:49:46 +00:00
|
|
|
// Virtual event handlers, override them in your derived class
|
2020-09-09 09:03:37 -04:00
|
|
|
virtual void onPowerCheckBox( wxCommandEvent& event ) { event.Skip(); }
|
2025-06-10 14:20:06 +02:00
|
|
|
virtual void onCheckTransferUserFields( wxCommandEvent& event ) { event.Skip(); }
|
2019-11-06 14:15:42 -05:00
|
|
|
|
|
|
|
|
2012-04-15 22:18:41 -05:00
|
|
|
public:
|
2019-11-06 14:15:42 -05:00
|
|
|
|
2021-06-14 14:00:08 -04: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 14:00:08 -04:00
|
|
|
~DIALOG_LIB_NEW_SYMBOL_BASE();
|
2019-11-06 14:15:42 -05:00
|
|
|
|
2012-04-15 22:18:41 -05:00
|
|
|
};
|
|
|
|
|