2018-05-09 21:38:06 +00:00
|
|
|
///////////////////////////////////////////////////////////////////////////
|
2020-08-17 22:34:02 +00:00
|
|
|
// C++ code generated with wxFormBuilder (version Oct 26 2018)
|
2018-05-09 21:38:06 +00:00
|
|
|
// http://www.wxformbuilder.org/
|
|
|
|
//
|
|
|
|
// PLEASE DO *NOT* EDIT THIS FILE!
|
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
|
2019-08-21 14:31:52 +00:00
|
|
|
#pragma once
|
2018-05-09 21:38:06 +00:00
|
|
|
|
|
|
|
#include <wx/artprov.h>
|
|
|
|
#include <wx/xrc/xmlres.h>
|
|
|
|
#include <wx/intl.h>
|
|
|
|
class TEXT_CTRL_EVAL;
|
2018-05-30 10:52:19 +00:00
|
|
|
class WX_GRID;
|
2018-05-09 21:38:06 +00:00
|
|
|
|
|
|
|
#include "dialog_shim.h"
|
|
|
|
#include <wx/colour.h>
|
|
|
|
#include <wx/settings.h>
|
2018-03-28 17:14:04 +00:00
|
|
|
#include <wx/string.h>
|
|
|
|
#include <wx/font.h>
|
|
|
|
#include <wx/grid.h>
|
|
|
|
#include <wx/gdicmn.h>
|
2019-08-21 14:31:52 +00:00
|
|
|
#include <wx/bmpbuttn.h>
|
2018-03-28 17:14:04 +00:00
|
|
|
#include <wx/bitmap.h>
|
|
|
|
#include <wx/image.h>
|
|
|
|
#include <wx/icon.h>
|
2018-05-09 21:38:06 +00:00
|
|
|
#include <wx/button.h>
|
|
|
|
#include <wx/sizer.h>
|
2018-03-28 17:14:04 +00:00
|
|
|
#include <wx/statbox.h>
|
|
|
|
#include <wx/stattext.h>
|
|
|
|
#include <wx/textctrl.h>
|
2018-05-09 21:38:06 +00:00
|
|
|
#include <wx/radiobox.h>
|
|
|
|
#include <wx/slider.h>
|
2018-03-28 17:14:04 +00:00
|
|
|
#include <wx/choice.h>
|
2020-08-26 21:43:38 +00:00
|
|
|
#include <wx/checkbox.h>
|
|
|
|
#include <wx/panel.h>
|
2018-05-09 21:38:06 +00:00
|
|
|
#include <wx/notebook.h>
|
|
|
|
#include <wx/dialog.h>
|
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#define ID_NOTEBOOK 1000
|
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
2021-04-04 09:41:48 +00:00
|
|
|
/// Class DIALOG_FOOTPRINT_PROPERTIES_FP_EDITOR_BASE
|
2018-05-09 21:38:06 +00:00
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
2021-04-04 09:41:48 +00:00
|
|
|
class DIALOG_FOOTPRINT_PROPERTIES_FP_EDITOR_BASE : public DIALOG_SHIM
|
2018-05-09 21:38:06 +00:00
|
|
|
{
|
|
|
|
private:
|
|
|
|
wxBoxSizer* m_GeneralBoxSizer;
|
2019-08-21 14:31:52 +00:00
|
|
|
|
2018-05-09 21:38:06 +00:00
|
|
|
protected:
|
|
|
|
wxNotebook* m_NoteBook;
|
2018-03-28 17:14:04 +00:00
|
|
|
wxPanel* m_PanelGeneral;
|
2018-05-30 10:52:19 +00:00
|
|
|
WX_GRID* m_itemsGrid;
|
2018-03-28 17:14:04 +00:00
|
|
|
wxBitmapButton* m_bpAdd;
|
|
|
|
wxBitmapButton* m_bpDelete;
|
|
|
|
wxTextCtrl* m_FootprintNameCtrl;
|
2018-05-09 21:38:06 +00:00
|
|
|
wxTextCtrl* m_DocCtrl;
|
2018-03-28 17:14:04 +00:00
|
|
|
wxStaticText* staticKeywordsLabel;
|
2018-05-09 21:38:06 +00:00
|
|
|
wxTextCtrl* m_KeywordCtrl;
|
|
|
|
wxRadioBox* m_AutoPlaceCtrl;
|
2018-08-13 18:09:46 +00:00
|
|
|
wxStaticBoxSizer* m_sizerAP;
|
|
|
|
wxBoxSizer* m_sizerAllow90;
|
2018-07-17 21:14:02 +00:00
|
|
|
wxStaticText* m_allow90Label;
|
2018-05-09 21:38:06 +00:00
|
|
|
wxSlider* m_CostRot90Ctrl;
|
2018-08-13 18:09:46 +00:00
|
|
|
wxBoxSizer* m_sizerAllow180;
|
2018-07-17 21:14:02 +00:00
|
|
|
wxStaticText* m_allow180Label;
|
2018-05-09 21:38:06 +00:00
|
|
|
wxSlider* m_CostRot180Ctrl;
|
2020-08-26 21:43:38 +00:00
|
|
|
wxStaticText* m_componentTypeLabel;
|
|
|
|
wxChoice* m_componentType;
|
|
|
|
wxCheckBox* m_boardOnly;
|
|
|
|
wxCheckBox* m_excludeFromPosFiles;
|
|
|
|
wxCheckBox* m_excludeFromBOM;
|
2018-03-28 17:14:04 +00:00
|
|
|
wxPanel* m_PanelClearances;
|
2018-05-09 21:38:06 +00:00
|
|
|
wxStaticText* m_staticTextInfo;
|
|
|
|
wxStaticText* m_staticTextInfoValPos;
|
|
|
|
wxStaticText* m_staticTextInfoValNeg;
|
2018-03-28 17:14:04 +00:00
|
|
|
wxStaticText* m_NetClearanceLabel;
|
2018-05-30 10:52:19 +00:00
|
|
|
wxTextCtrl* m_NetClearanceCtrl;
|
2018-05-09 21:38:06 +00:00
|
|
|
wxStaticText* m_NetClearanceUnits;
|
2018-03-28 17:14:04 +00:00
|
|
|
wxStaticText* m_SolderMaskMarginLabel;
|
2018-05-30 10:52:19 +00:00
|
|
|
wxTextCtrl* m_SolderMaskMarginCtrl;
|
2018-05-09 21:38:06 +00:00
|
|
|
wxStaticText* m_SolderMaskMarginUnits;
|
2018-03-28 17:14:04 +00:00
|
|
|
wxStaticText* m_SolderPasteMarginLabel;
|
2018-05-30 10:52:19 +00:00
|
|
|
wxTextCtrl* m_SolderPasteMarginCtrl;
|
2018-05-09 21:38:06 +00:00
|
|
|
wxStaticText* m_SolderPasteMarginUnits;
|
|
|
|
wxStaticText* m_staticTextRatio;
|
|
|
|
TEXT_CTRL_EVAL* m_SolderPasteMarginRatioCtrl;
|
|
|
|
wxStaticText* m_SolderPasteRatioMarginUnits;
|
2018-07-17 21:14:02 +00:00
|
|
|
wxStaticText* m_staticTextInfoCopper;
|
2019-08-21 14:31:52 +00:00
|
|
|
wxStaticText* m_staticTextInfoPaste;
|
2018-03-28 17:14:04 +00:00
|
|
|
wxStaticText* m_staticText16;
|
|
|
|
wxChoice* m_ZoneConnectionChoice;
|
2018-05-09 21:38:06 +00:00
|
|
|
wxPanel* m_Panel3D;
|
2018-03-28 17:14:04 +00:00
|
|
|
wxBoxSizer* bSizerMain3D;
|
2018-08-19 16:10:14 +00:00
|
|
|
WX_GRID* m_modelsGrid;
|
2018-08-01 19:08:12 +00:00
|
|
|
wxBitmapButton* m_button3DShapeAdd;
|
|
|
|
wxBitmapButton* m_button3DShapeBrowse;
|
|
|
|
wxBitmapButton* m_button3DShapeRemove;
|
|
|
|
wxButton* m_buttonConfig3DPaths;
|
2018-05-09 21:38:06 +00:00
|
|
|
wxBoxSizer* bLowerSizer3D;
|
|
|
|
wxStdDialogButtonSizer* m_sdbSizerStdButtons;
|
|
|
|
wxButton* m_sdbSizerStdButtonsOK;
|
|
|
|
wxButton* m_sdbSizerStdButtonsCancel;
|
2019-08-21 14:31:52 +00:00
|
|
|
|
2018-05-09 21:38:06 +00:00
|
|
|
// Virtual event handlers, overide them in your derived class
|
|
|
|
virtual void OnInitDlg( wxInitDialogEvent& event ) { event.Skip(); }
|
2018-03-28 17:14:04 +00:00
|
|
|
virtual void OnUpdateUI( wxUpdateUIEvent& event ) { event.Skip(); }
|
|
|
|
virtual void OnGridSize( wxSizeEvent& event ) { event.Skip(); }
|
|
|
|
virtual void OnAddField( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
virtual void OnDeleteField( wxCommandEvent& event ) { event.Skip(); }
|
2018-09-13 15:39:14 +00:00
|
|
|
virtual void OnFootprintNameText( wxCommandEvent& event ) { event.Skip(); }
|
2018-03-28 17:14:04 +00:00
|
|
|
virtual void On3DModelCellChanged( wxGridEvent& event ) { event.Skip(); }
|
|
|
|
virtual void On3DModelSelected( wxGridEvent& event ) { event.Skip(); }
|
2018-07-22 23:26:09 +00:00
|
|
|
virtual void OnAdd3DRow( wxCommandEvent& event ) { event.Skip(); }
|
2018-03-28 17:14:04 +00:00
|
|
|
virtual void OnAdd3DModel( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
virtual void OnRemove3DModel( wxCommandEvent& event ) { event.Skip(); }
|
2018-05-09 21:38:06 +00:00
|
|
|
virtual void Cfg3DPath( wxCommandEvent& event ) { event.Skip(); }
|
2019-08-21 14:31:52 +00:00
|
|
|
|
|
|
|
|
2018-05-09 21:38:06 +00:00
|
|
|
public:
|
2019-08-21 14:31:52 +00:00
|
|
|
|
2021-04-04 09:41:48 +00:00
|
|
|
DIALOG_FOOTPRINT_PROPERTIES_FP_EDITOR_BASE( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Footprint Properties"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( -1,-1 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );
|
|
|
|
~DIALOG_FOOTPRINT_PROPERTIES_FP_EDITOR_BASE();
|
2019-08-21 14:31:52 +00:00
|
|
|
|
2018-05-09 21:38:06 +00:00
|
|
|
};
|
|
|
|
|