2018-05-09 21:38:06 +00:00
|
|
|
///////////////////////////////////////////////////////////////////////////
|
2023-04-10 17:10:42 +00:00
|
|
|
// C++ code generated with wxFormBuilder (version 3.10.1-0-g8feb16b3)
|
2018-05-09 21:38:06 +00:00
|
|
|
// http://www.wxformbuilder.org/
|
|
|
|
//
|
|
|
|
// PLEASE DO *NOT* EDIT THIS FILE!
|
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
|
2019-02-10 08:49:42 +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-02-10 08:49:42 +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>
|
|
|
|
#include <wx/statbox.h>
|
2018-03-28 17:14:04 +00:00
|
|
|
#include <wx/stattext.h>
|
|
|
|
#include <wx/textctrl.h>
|
2021-12-05 21:56:55 +00:00
|
|
|
#include <wx/combobox.h>
|
2020-03-13 17:28:17 +00:00
|
|
|
#include <wx/choice.h>
|
2020-08-26 21:43:38 +00:00
|
|
|
#include <wx/checkbox.h>
|
2018-05-09 21:38:06 +00:00
|
|
|
#include <wx/panel.h>
|
2021-12-05 21:56:55 +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
|
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
2020-10-14 23:37:26 +00:00
|
|
|
/// Class DIALOG_FOOTPRINT_PROPERTIES_BASE
|
2018-05-09 21:38:06 +00:00
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
2020-10-14 23:37:26 +00:00
|
|
|
class DIALOG_FOOTPRINT_PROPERTIES_BASE : public DIALOG_SHIM
|
2018-05-09 21:38:06 +00:00
|
|
|
{
|
|
|
|
private:
|
|
|
|
wxBoxSizer* m_GeneralBoxSizer;
|
2018-03-28 17:14:04 +00:00
|
|
|
wxBoxSizer* bSizerLeft;
|
2019-02-10 08:49:42 +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-05-09 21:38:06 +00:00
|
|
|
wxStaticText* m_XPosLabel;
|
2018-05-30 10:52:19 +00:00
|
|
|
wxTextCtrl* m_ModPositionX;
|
2018-05-09 21:38:06 +00:00
|
|
|
wxStaticText* m_XPosUnit;
|
|
|
|
wxStaticText* m_YPosLabel;
|
2018-05-30 10:52:19 +00:00
|
|
|
wxTextCtrl* m_ModPositionY;
|
2018-05-09 21:38:06 +00:00
|
|
|
wxStaticText* m_YPosUnit;
|
2021-12-05 21:56:55 +00:00
|
|
|
wxStaticText* m_orientationLabel;
|
|
|
|
wxComboBox* m_orientationCtrl;
|
2020-03-13 17:28:17 +00:00
|
|
|
wxStaticText* m_BoardSideLabel;
|
|
|
|
wxChoice* m_BoardSideCtrl;
|
2021-12-05 21:56:55 +00:00
|
|
|
wxCheckBox* m_cbLocked;
|
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;
|
2021-12-05 21:56:55 +00:00
|
|
|
wxButton* m_buttonUpdate;
|
|
|
|
wxButton* m_buttonExchange;
|
|
|
|
wxButton* m_buttonModuleEditor;
|
|
|
|
wxButton* m_button5;
|
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_allowSolderMaskBridges;
|
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;
|
2018-07-17 21:14:02 +00:00
|
|
|
wxStaticText* m_libraryIDLabel;
|
2019-11-16 17:09:48 +00:00
|
|
|
wxTextCtrl* m_tcLibraryID;
|
2018-05-09 21:38:06 +00:00
|
|
|
wxStdDialogButtonSizer* m_sdbSizerStdButtons;
|
|
|
|
wxButton* m_sdbSizerStdButtonsOK;
|
|
|
|
wxButton* m_sdbSizerStdButtonsCancel;
|
2019-02-10 08:49:42 +00:00
|
|
|
|
2022-09-27 11:15:18 +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(); }
|
2020-03-26 11:02:59 +00:00
|
|
|
virtual void OnPageChange( wxNotebookEvent& event ) { event.Skip(); }
|
2018-03-28 17:14:04 +00:00
|
|
|
virtual void OnGridSize( wxSizeEvent& event ) { event.Skip(); }
|
|
|
|
virtual void OnAddField( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
virtual void OnDeleteField( wxCommandEvent& event ) { event.Skip(); }
|
2020-10-14 23:37:26 +00:00
|
|
|
virtual void UpdateFootprint( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
virtual void ChangeFootprint( wxCommandEvent& event ) { event.Skip(); }
|
2018-10-15 14:28:53 +00:00
|
|
|
virtual void EditFootprint( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
virtual void EditLibraryFootprint( wxCommandEvent& event ) { event.Skip(); }
|
2019-02-10 08:49:42 +00:00
|
|
|
|
|
|
|
|
2018-05-09 21:38:06 +00:00
|
|
|
public:
|
2019-02-10 08:49:42 +00:00
|
|
|
|
2020-10-14 23:37:26 +00:00
|
|
|
DIALOG_FOOTPRINT_PROPERTIES_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-09-27 11:15:18 +00:00
|
|
|
|
2020-10-14 23:37:26 +00:00
|
|
|
~DIALOG_FOOTPRINT_PROPERTIES_BASE();
|
2019-02-10 08:49:42 +00:00
|
|
|
|
2018-05-09 21:38:06 +00:00
|
|
|
};
|
|
|
|
|