2013-05-26 04:36:44 +00:00
|
|
|
///////////////////////////////////////////////////////////////////////////
|
2020-08-04 06:27:31 +00:00
|
|
|
// C++ code generated with wxFormBuilder (version Jul 10 2019)
|
2013-05-26 04:36:44 +00:00
|
|
|
// http://www.wxformbuilder.org/
|
|
|
|
//
|
2017-12-24 15:04:02 +00:00
|
|
|
// PLEASE DO *NOT* EDIT THIS FILE!
|
2013-05-26 04:36:44 +00:00
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
|
2019-11-06 19:15:42 +00:00
|
|
|
#pragma once
|
2013-05-26 04:36:44 +00:00
|
|
|
|
|
|
|
#include <wx/artprov.h>
|
|
|
|
#include <wx/xrc/xmlres.h>
|
|
|
|
#include <wx/intl.h>
|
2018-05-30 10:52:19 +00:00
|
|
|
class WX_GRID;
|
|
|
|
|
2013-06-05 19:23:55 +00:00
|
|
|
#include "dialog_shim.h"
|
2013-05-26 04:36:44 +00:00
|
|
|
#include <wx/colour.h>
|
|
|
|
#include <wx/settings.h>
|
2018-02-28 16:54:35 +00:00
|
|
|
#include <wx/string.h>
|
|
|
|
#include <wx/font.h>
|
|
|
|
#include <wx/grid.h>
|
|
|
|
#include <wx/gdicmn.h>
|
2019-11-06 19:15:42 +00:00
|
|
|
#include <wx/bmpbuttn.h>
|
2017-09-12 07:43:51 +00:00
|
|
|
#include <wx/bitmap.h>
|
|
|
|
#include <wx/image.h>
|
|
|
|
#include <wx/icon.h>
|
2018-02-28 16:54:35 +00:00
|
|
|
#include <wx/button.h>
|
|
|
|
#include <wx/sizer.h>
|
|
|
|
#include <wx/statbox.h>
|
|
|
|
#include <wx/stattext.h>
|
|
|
|
#include <wx/textctrl.h>
|
|
|
|
#include <wx/choice.h>
|
|
|
|
#include <wx/checkbox.h>
|
|
|
|
#include <wx/radiobox.h>
|
|
|
|
#include <wx/statline.h>
|
2013-05-26 04:36:44 +00:00
|
|
|
#include <wx/dialog.h>
|
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
2018-03-18 21:37:27 +00:00
|
|
|
/// Class DIALOG_EDIT_COMPONENT_IN_SCHEMATIC_BASE
|
2013-05-26 04:36:44 +00:00
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
2018-03-18 21:37:27 +00:00
|
|
|
class DIALOG_EDIT_COMPONENT_IN_SCHEMATIC_BASE : public DIALOG_SHIM
|
2013-05-26 04:36:44 +00:00
|
|
|
{
|
|
|
|
private:
|
2019-11-06 19:15:42 +00:00
|
|
|
|
2013-05-26 04:36:44 +00:00
|
|
|
protected:
|
2018-05-30 10:52:19 +00:00
|
|
|
WX_GRID* m_grid;
|
2018-02-28 16:54:35 +00:00
|
|
|
wxBitmapButton* m_bpAdd;
|
|
|
|
wxBitmapButton* m_bpMoveUp;
|
|
|
|
wxBitmapButton* m_bpMoveDown;
|
2018-08-23 13:39:52 +00:00
|
|
|
wxBitmapButton* m_bpDelete;
|
2018-02-28 16:54:35 +00:00
|
|
|
wxButton* m_updateFieldValues;
|
|
|
|
wxStaticText* m_staticText3;
|
|
|
|
wxTextCtrl* m_libraryNameTextCtrl;
|
|
|
|
wxBitmapButton* m_buttonBrowseLibrary;
|
|
|
|
wxStaticText* m_unitLabel;
|
|
|
|
wxChoice* m_unitChoice;
|
|
|
|
wxCheckBox* m_cbAlternateSymbol;
|
2020-06-03 12:30:57 +00:00
|
|
|
wxCheckBox* m_cbExcludeFromBom;
|
2020-06-09 16:50:05 +00:00
|
|
|
wxCheckBox* m_cbExcludeFromBoard;
|
2018-02-28 16:54:35 +00:00
|
|
|
wxRadioBox* m_rbOrientation;
|
|
|
|
wxRadioBox* m_rbMirror;
|
2014-09-17 16:04:04 +00:00
|
|
|
wxStaticLine* m_staticline1;
|
2018-02-28 16:54:35 +00:00
|
|
|
wxButton* m_spiceFieldsButton;
|
|
|
|
wxStdDialogButtonSizer* m_stdDialogButtonSizer;
|
|
|
|
wxButton* m_stdDialogButtonSizerOK;
|
|
|
|
wxButton* m_stdDialogButtonSizerCancel;
|
2019-11-06 19:15:42 +00:00
|
|
|
|
2013-05-26 04:36:44 +00:00
|
|
|
// Virtual event handlers, overide them in your derived class
|
2016-07-16 11:25:07 +00:00
|
|
|
virtual void OnInitDlg( wxInitDialogEvent& event ) { event.Skip(); }
|
2018-02-28 16:54:35 +00:00
|
|
|
virtual void OnUpdateUI( wxUpdateUIEvent& event ) { event.Skip(); }
|
|
|
|
virtual void OnSizeGrid( wxSizeEvent& event ) { event.Skip(); }
|
|
|
|
virtual void OnAddField( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
virtual void OnMoveUp( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
virtual void OnMoveDown( wxCommandEvent& event ) { event.Skip(); }
|
2018-08-23 13:39:52 +00:00
|
|
|
virtual void OnDeleteField( wxCommandEvent& event ) { event.Skip(); }
|
2018-02-28 16:54:35 +00:00
|
|
|
virtual void UpdateFieldsFromLibrary( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
virtual void OnBrowseLibrary( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
virtual void OnEditSpiceModel( wxCommandEvent& event ) { event.Skip(); }
|
2019-01-31 19:05:11 +00:00
|
|
|
virtual void OnCancelButtonClick( wxCommandEvent& event ) { event.Skip(); }
|
2019-11-06 19:15:42 +00:00
|
|
|
|
|
|
|
|
2013-05-26 04:36:44 +00:00
|
|
|
public:
|
2019-11-06 19:15:42 +00:00
|
|
|
|
2020-06-03 12:30:57 +00:00
|
|
|
DIALOG_EDIT_COMPONENT_IN_SCHEMATIC_BASE( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Symbol Properties"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( -1,-1 ), long style = wxCAPTION|wxCLOSE_BOX|wxDEFAULT_DIALOG_STYLE|wxMAXIMIZE_BOX|wxMINIMIZE_BOX|wxRESIZE_BORDER|wxSYSTEM_MENU );
|
2018-03-18 21:37:27 +00:00
|
|
|
~DIALOG_EDIT_COMPONENT_IN_SCHEMATIC_BASE();
|
2019-11-06 19:15:42 +00:00
|
|
|
|
2013-05-26 04:36:44 +00:00
|
|
|
};
|
|
|
|
|