2018-05-09 21:38:06 +00:00
|
|
|
///////////////////////////////////////////////////////////////////////////
|
2023-10-19 15:59:35 +00:00
|
|
|
// C++ code generated with wxFormBuilder (version 3.10.1-0-g8feb16b)
|
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>
|
2022-12-13 20:47:28 +00:00
|
|
|
class STD_BITMAP_BUTTON;
|
2018-05-09 21:38:06 +00:00
|
|
|
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>
|
|
|
|
#include <wx/choice.h>
|
2020-08-26 21:43:38 +00:00
|
|
|
#include <wx/checkbox.h>
|
|
|
|
#include <wx/panel.h>
|
2021-08-12 16:58:30 +00:00
|
|
|
#include <wx/gbsizer.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;
|
2022-12-13 20:47:28 +00:00
|
|
|
STD_BITMAP_BUTTON* m_bpAdd;
|
|
|
|
STD_BITMAP_BUTTON* m_bpDelete;
|
2018-03-28 17:14:04 +00:00
|
|
|
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;
|
2021-12-05 21:56:55 +00:00
|
|
|
WX_GRID* m_privateLayersGrid;
|
2022-12-13 20:47:28 +00:00
|
|
|
STD_BITMAP_BUTTON* m_bpAddLayer;
|
|
|
|
STD_BITMAP_BUTTON* m_bpDeleteLayer;
|
2020-08-26 21:43:38 +00:00
|
|
|
wxStaticText* m_componentTypeLabel;
|
|
|
|
wxChoice* m_componentType;
|
|
|
|
wxCheckBox* m_boardOnly;
|
|
|
|
wxCheckBox* m_excludeFromPosFiles;
|
|
|
|
wxCheckBox* m_excludeFromBOM;
|
2021-12-07 19:24:26 +00:00
|
|
|
wxCheckBox* m_noCourtyards;
|
2023-04-10 17:10:42 +00:00
|
|
|
wxCheckBox* m_cbDNP;
|
2018-03-28 17:14:04 +00:00
|
|
|
wxPanel* m_PanelClearances;
|
2018-05-09 21:38:06 +00:00
|
|
|
wxStaticText* m_staticTextInfo;
|
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;
|
2021-08-12 16:58:30 +00:00
|
|
|
wxCheckBox* m_allowBridges;
|
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;
|
2021-08-06 14:26:08 +00:00
|
|
|
wxStaticText* m_PasteMarginRatioLabel;
|
|
|
|
TEXT_CTRL_EVAL* m_PasteMarginRatioCtrl;
|
|
|
|
wxStaticText* m_PasteMarginRatioUnits;
|
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;
|
2022-08-19 17:34:53 +00:00
|
|
|
wxStaticText* m_padGroupsLabel;
|
|
|
|
WX_GRID* m_padGroupsGrid;
|
2022-12-13 20:47:28 +00:00
|
|
|
STD_BITMAP_BUTTON* m_bpAddPadGroup;
|
|
|
|
STD_BITMAP_BUTTON* m_bpRemovePadGroup;
|
2018-05-09 21:38:06 +00:00
|
|
|
wxStdDialogButtonSizer* m_sdbSizerStdButtons;
|
|
|
|
wxButton* m_sdbSizerStdButtonsOK;
|
|
|
|
wxButton* m_sdbSizerStdButtonsCancel;
|
2019-08-21 14:31:52 +00:00
|
|
|
|
2022-08-19 17:34:53 +00:00
|
|
|
// Virtual event handlers, override them in your derived class
|
2018-05-09 21:38:06 +00:00
|
|
|
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(); }
|
2021-12-05 21:56:55 +00:00
|
|
|
virtual void OnAddLayer( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
virtual void OnDeleteLayer( wxCommandEvent& event ) { event.Skip(); }
|
2022-08-19 17:34:53 +00:00
|
|
|
virtual void OnAddPadGroup( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
virtual void OnRemovePadGroup( 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 );
|
2022-08-19 17:34:53 +00:00
|
|
|
|
2021-04-04 09:41:48 +00:00
|
|
|
~DIALOG_FOOTPRINT_PROPERTIES_FP_EDITOR_BASE();
|
2019-08-21 14:31:52 +00:00
|
|
|
|
2018-05-09 21:38:06 +00:00
|
|
|
};
|
|
|
|
|