123 lines
4.5 KiB
C++
123 lines
4.5 KiB
C++
///////////////////////////////////////////////////////////////////////////
|
|
// C++ code generated with wxFormBuilder (version Dec 1 2018)
|
|
// http://www.wxformbuilder.org/
|
|
//
|
|
// PLEASE DO *NOT* EDIT THIS FILE!
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
#pragma once
|
|
|
|
#include <wx/artprov.h>
|
|
#include <wx/xrc/xmlres.h>
|
|
#include <wx/intl.h>
|
|
class WX_GRID;
|
|
|
|
#include "dialog_shim.h"
|
|
#include <wx/colour.h>
|
|
#include <wx/settings.h>
|
|
#include <wx/string.h>
|
|
#include <wx/font.h>
|
|
#include <wx/grid.h>
|
|
#include <wx/gdicmn.h>
|
|
#include <wx/bmpbuttn.h>
|
|
#include <wx/bitmap.h>
|
|
#include <wx/image.h>
|
|
#include <wx/icon.h>
|
|
#include <wx/button.h>
|
|
#include <wx/sizer.h>
|
|
#include <wx/statbox.h>
|
|
#include <wx/stattext.h>
|
|
#include <wx/textctrl.h>
|
|
#include <wx/checkbox.h>
|
|
#include <wx/spinctrl.h>
|
|
#include <wx/panel.h>
|
|
#include <wx/listbox.h>
|
|
#include <wx/notebook.h>
|
|
#include <wx/dialog.h>
|
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
#define ID_LIBEDIT_NOTEBOOK 1000
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
/// Class DIALOG_EDIT_COMPONENT_IN_LIBRARY_BASE
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
class DIALOG_EDIT_COMPONENT_IN_LIBRARY_BASE : public DIALOG_SHIM
|
|
{
|
|
private:
|
|
|
|
protected:
|
|
wxNotebook* m_NoteBook;
|
|
wxPanel* m_PanelBasic;
|
|
WX_GRID* m_grid;
|
|
wxBitmapButton* m_bpAdd;
|
|
wxBitmapButton* m_bpMoveUp;
|
|
wxBitmapButton* m_bpMoveDown;
|
|
wxBitmapButton* m_bpDelete;
|
|
wxTextCtrl* m_SymbolNameCtrl;
|
|
wxTextCtrl* m_DescCtrl;
|
|
wxStaticText* staticKeywordsLabel;
|
|
wxTextCtrl* m_KeywordCtrl;
|
|
wxCheckBox* m_AsConvertButt;
|
|
wxCheckBox* m_OptionPower;
|
|
wxStaticText* m_staticTextNbUnits;
|
|
wxSpinCtrl* m_SelNumberOfUnits;
|
|
wxCheckBox* m_OptionPartsLocked;
|
|
wxCheckBox* m_ShowPinNumButt;
|
|
wxCheckBox* m_ShowPinNameButt;
|
|
wxCheckBox* m_PinsNameInsideButt;
|
|
wxStaticText* m_nameOffsetLabel;
|
|
wxTextCtrl* m_nameOffsetCtrl;
|
|
wxStaticText* m_nameOffsetUnits;
|
|
wxPanel* m_PanelAlias;
|
|
wxListBox* m_aliasListBox;
|
|
wxBitmapButton* m_addAliasButton;
|
|
wxBitmapButton* m_deleteAliasButton;
|
|
wxStaticText* m_staticText12;
|
|
WX_GRID* m_aliasGrid;
|
|
wxTextCtrl* m_AliasNameCtrl;
|
|
wxTextCtrl* m_AliasDescCtrl;
|
|
wxStaticText* staticAliasKeywordsLabel;
|
|
wxTextCtrl* m_AliasKeywordsCtrl;
|
|
wxPanel* m_PanelFootprintFilter;
|
|
wxStaticText* m_staticTextFootprints;
|
|
wxListBox* m_FootprintFilterListBox;
|
|
wxBitmapButton* m_addFilterButton;
|
|
wxBitmapButton* m_editFilterButton;
|
|
wxBitmapButton* m_deleteFilterButton;
|
|
wxButton* m_spiceFieldsButton;
|
|
wxStdDialogButtonSizer* m_stdSizerButton;
|
|
wxButton* m_stdSizerButtonOK;
|
|
wxButton* m_stdSizerButtonCancel;
|
|
|
|
// Virtual event handlers, overide them in your derived class
|
|
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(); }
|
|
virtual void OnDeleteField( wxCommandEvent& event ) { event.Skip(); }
|
|
virtual void OnSymbolNameKillFocus( wxFocusEvent& event ) { event.Skip(); }
|
|
virtual void OnSymbolNameText( wxCommandEvent& event ) { event.Skip(); }
|
|
virtual void OnSelectAlias( wxCommandEvent& event ) { event.Skip(); }
|
|
virtual void OnAddAlias( wxCommandEvent& event ) { event.Skip(); }
|
|
virtual void OnDeleteAlias( wxCommandEvent& event ) { event.Skip(); }
|
|
virtual void OnSizeAliasGrid( wxSizeEvent& event ) { event.Skip(); }
|
|
virtual void OnAliasNameKillFocus( wxFocusEvent& event ) { event.Skip(); }
|
|
virtual void OnAliasNameText( wxCommandEvent& event ) { event.Skip(); }
|
|
virtual void OnFilterDClick( wxMouseEvent& event ) { event.Skip(); }
|
|
virtual void OnEditFootprintFilter( wxCommandEvent& event ) { event.Skip(); }
|
|
virtual void OnAddFootprintFilter( wxCommandEvent& event ) { event.Skip(); }
|
|
virtual void OnDeleteFootprintFilter( wxCommandEvent& event ) { event.Skip(); }
|
|
virtual void OnEditSpiceModel( wxCommandEvent& event ) { event.Skip(); }
|
|
virtual void OnCancelButtonClick( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
|
|
public:
|
|
|
|
DIALOG_EDIT_COMPONENT_IN_LIBRARY_BASE( wxWindow* parent, wxWindowID id = ID_LIBEDIT_NOTEBOOK, const wxString& title = _("Library Symbol Properties"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( -1,-1 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );
|
|
~DIALOG_EDIT_COMPONENT_IN_LIBRARY_BASE();
|
|
|
|
};
|
|
|