2018-05-09 21:38:06 +00:00
|
|
|
///////////////////////////////////////////////////////////////////////////
|
2020-07-31 15:05:46 +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-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>
|
|
|
|
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>
|
2020-03-13 17:28:17 +00:00
|
|
|
#include <wx/choice.h>
|
2018-03-28 17:14:04 +00:00
|
|
|
#include <wx/radiobut.h>
|
2018-05-09 21:38:06 +00:00
|
|
|
#include <wx/gbsizer.h>
|
2018-03-28 17:14:04 +00:00
|
|
|
#include <wx/radiobox.h>
|
|
|
|
#include <wx/slider.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>
|
|
|
|
#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;
|
2018-03-28 17:14:04 +00:00
|
|
|
wxBitmapButton* m_bpAdd;
|
|
|
|
wxBitmapButton* 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;
|
2020-03-13 17:28:17 +00:00
|
|
|
wxStaticText* m_BoardSideLabel;
|
|
|
|
wxChoice* m_BoardSideCtrl;
|
2018-03-28 17:14:04 +00:00
|
|
|
wxRadioButton* m_Orient0;
|
|
|
|
wxRadioButton* m_Orient90;
|
|
|
|
wxRadioButton* m_Orient270;
|
|
|
|
wxRadioButton* m_Orient180;
|
|
|
|
wxRadioButton* m_OrientOther;
|
|
|
|
wxTextCtrl* m_OrientValueCtrl;
|
2018-05-09 21:38:06 +00:00
|
|
|
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;
|
2018-03-28 17:14:04 +00:00
|
|
|
wxButton* m_buttonUpdate;
|
|
|
|
wxButton* m_buttonExchange;
|
|
|
|
wxButton* m_buttonModuleEditor;
|
2018-10-15 14:28:53 +00:00
|
|
|
wxButton* m_button5;
|
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-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
|
|
|
|
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(); }
|
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 FootprintOrientEvent( wxCommandEvent& event ) { event.Skip(); }
|
2019-03-07 16:21:49 +00:00
|
|
|
virtual void OnOtherOrientation( 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 );
|
|
|
|
~DIALOG_FOOTPRINT_PROPERTIES_BASE();
|
2019-02-10 08:49:42 +00:00
|
|
|
|
2018-05-09 21:38:06 +00:00
|
|
|
};
|
|
|
|
|