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/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;
|
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;
|
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-05-09 21:38:06 +00:00
|
|
|
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(); }
|
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
|
|
|
};
|
|
|
|
|