2013-05-26 04:36:44 +00:00
|
|
|
///////////////////////////////////////////////////////////////////////////
|
2023-12-13 16:07:09 +00:00
|
|
|
// C++ code generated with wxFormBuilder (version 4.0.0-0-g0efcecf)
|
2013-05-26 04:36:44 +00:00
|
|
|
// http://www.wxformbuilder.org/
|
|
|
|
//
|
2018-05-04 16:20:41 +00:00
|
|
|
// PLEASE DO *NOT* EDIT THIS FILE!
|
2013-05-26 04:36:44 +00:00
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
|
2019-08-21 14:31:52 +00:00
|
|
|
#pragma once
|
2013-05-26 04:36:44 +00:00
|
|
|
|
|
|
|
#include <wx/artprov.h>
|
|
|
|
#include <wx/xrc/xmlres.h>
|
|
|
|
#include <wx/intl.h>
|
2017-11-23 13:05:26 +00:00
|
|
|
class TEXT_CTRL_EVAL;
|
2013-05-26 04:36:44 +00:00
|
|
|
|
|
|
|
#include "dialog_shim.h"
|
|
|
|
#include <wx/string.h>
|
|
|
|
#include <wx/stattext.h>
|
|
|
|
#include <wx/gdicmn.h>
|
|
|
|
#include <wx/font.h>
|
|
|
|
#include <wx/colour.h>
|
|
|
|
#include <wx/settings.h>
|
2020-06-01 16:05:40 +00:00
|
|
|
#include <wx/choice.h>
|
2013-05-26 04:36:44 +00:00
|
|
|
#include <wx/textctrl.h>
|
2018-08-19 16:11:58 +00:00
|
|
|
#include <widgets/net_selector.h>
|
2020-06-01 16:05:40 +00:00
|
|
|
#include <wx/gbsizer.h>
|
|
|
|
#include <wx/statline.h>
|
|
|
|
#include <wx/panel.h>
|
2022-06-16 20:26:42 +00:00
|
|
|
#include <wx/sizer.h>
|
2022-08-23 16:54:07 +00:00
|
|
|
#include <wx/checkbox.h>
|
2020-06-01 16:05:40 +00:00
|
|
|
#include <wx/simplebook.h>
|
2022-08-23 16:54:07 +00:00
|
|
|
#include <wx/combobox.h>
|
2013-05-26 04:36:44 +00:00
|
|
|
#include <wx/bitmap.h>
|
|
|
|
#include <wx/image.h>
|
|
|
|
#include <wx/icon.h>
|
2018-02-03 23:22:45 +00:00
|
|
|
#include <wx/statbmp.h>
|
2018-02-08 23:41:45 +00:00
|
|
|
#include <wx/statbox.h>
|
2023-05-12 21:03:54 +00:00
|
|
|
#include <wx/spinctrl.h>
|
2013-05-26 04:36:44 +00:00
|
|
|
#include <wx/notebook.h>
|
2023-09-04 19:23:41 +00:00
|
|
|
#include <wx/button.h>
|
2013-05-26 04:36:44 +00:00
|
|
|
#include <wx/dialog.h>
|
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
/// Class DIALOG_PAD_PROPERTIES_BASE
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
class DIALOG_PAD_PROPERTIES_BASE : public DIALOG_SHIM
|
|
|
|
{
|
|
|
|
private:
|
2019-08-21 14:31:52 +00:00
|
|
|
|
2013-05-26 04:36:44 +00:00
|
|
|
protected:
|
|
|
|
enum
|
|
|
|
{
|
|
|
|
wxID_DIALOG_EDIT_PAD = 1000,
|
2018-05-23 06:11:47 +00:00
|
|
|
wxID_PADNUMCTRL
|
2013-05-26 04:36:44 +00:00
|
|
|
};
|
2019-08-21 14:31:52 +00:00
|
|
|
|
2020-06-11 10:52:05 +00:00
|
|
|
wxBoxSizer* m_MainSizer;
|
2013-05-26 04:36:44 +00:00
|
|
|
wxNotebook* m_notebook;
|
|
|
|
wxPanel* m_panelGeneral;
|
2020-06-11 10:52:05 +00:00
|
|
|
wxBoxSizer* m_LeftBoxSizer;
|
2020-06-01 16:05:40 +00:00
|
|
|
wxStaticText* m_padTypeLabel;
|
2021-10-22 18:55:06 +00:00
|
|
|
wxChoice* m_padType;
|
|
|
|
wxStaticText* m_padNumLabel;
|
|
|
|
wxTextCtrl* m_padNumCtrl;
|
|
|
|
wxStaticText* m_padNetLabel;
|
|
|
|
NET_SELECTOR* m_padNetSelector;
|
2018-05-23 06:11:47 +00:00
|
|
|
wxStaticText* m_posXLabel;
|
|
|
|
wxTextCtrl* m_posXCtrl;
|
|
|
|
wxStaticText* m_posXUnits;
|
|
|
|
wxStaticText* m_posYLabel;
|
|
|
|
wxTextCtrl* m_posYCtrl;
|
|
|
|
wxStaticText* m_posYUnits;
|
2020-06-01 16:05:40 +00:00
|
|
|
wxStaticLine* m_staticline5;
|
2022-08-23 16:54:07 +00:00
|
|
|
wxStaticText* m_shapeLabel;
|
|
|
|
wxChoice* m_PadShapeSelector;
|
2020-06-01 16:05:40 +00:00
|
|
|
wxSimplebook* m_shapePropsBook;
|
2020-06-04 15:07:23 +00:00
|
|
|
wxPanel* m_emptyProps;
|
|
|
|
wxPanel* m_trapProps;
|
2020-06-01 16:05:40 +00:00
|
|
|
wxFlexGridSizer* fgSizerTrapProps;
|
2018-05-23 06:11:47 +00:00
|
|
|
wxStaticText* m_trapDeltaLabel;
|
|
|
|
wxTextCtrl* m_trapDeltaCtrl;
|
|
|
|
wxStaticText* m_trapDeltaUnits;
|
|
|
|
wxStaticText* m_trapAxisLabel;
|
|
|
|
wxChoice* m_trapAxisCtrl;
|
2020-06-04 15:07:23 +00:00
|
|
|
wxPanel* m_roudingProps;
|
2020-06-01 16:05:40 +00:00
|
|
|
wxFlexGridSizer* fgSizerRoundingProps;
|
2021-08-06 14:26:08 +00:00
|
|
|
wxStaticText* m_cornerRatioLabel;
|
|
|
|
TEXT_CTRL_EVAL* m_cornerRatioCtrl;
|
|
|
|
wxStaticText* m_cornerRatioUnits;
|
2018-05-23 06:11:47 +00:00
|
|
|
wxStaticText* m_cornerRadiusLabel;
|
2021-08-06 14:26:08 +00:00
|
|
|
wxTextCtrl* m_cornerRadiusCtrl;
|
2018-05-23 06:11:47 +00:00
|
|
|
wxStaticText* m_cornerRadiusUnits;
|
2020-06-04 15:07:23 +00:00
|
|
|
wxPanel* m_chamferProps;
|
2021-08-06 14:26:08 +00:00
|
|
|
wxStaticText* m_chamferRatioLabel;
|
|
|
|
TEXT_CTRL_EVAL* m_chamferRatioCtrl;
|
|
|
|
wxStaticText* m_chamferRatioUnits;
|
2018-08-29 07:13:07 +00:00
|
|
|
wxStaticText* m_staticTextChamferCorner;
|
|
|
|
wxCheckBox* m_cbTopLeft;
|
|
|
|
wxCheckBox* m_cbTopRight;
|
|
|
|
wxCheckBox* m_cbBottomLeft;
|
|
|
|
wxCheckBox* m_cbBottomRight;
|
2020-06-04 15:07:23 +00:00
|
|
|
wxPanel* m_mixedProps;
|
2021-08-06 14:26:08 +00:00
|
|
|
wxStaticText* m_mixedChamferRatioLabel;
|
|
|
|
TEXT_CTRL_EVAL* m_mixedChamferRatioCtrl;
|
|
|
|
wxStaticText* m_mixedChamferRatioUnits;
|
2020-06-04 15:07:23 +00:00
|
|
|
wxStaticText* m_staticTextChamferCorner1;
|
|
|
|
wxCheckBox* m_cbTopLeft1;
|
|
|
|
wxCheckBox* m_cbTopRight1;
|
|
|
|
wxCheckBox* m_cbBottomLeft1;
|
|
|
|
wxCheckBox* m_cbBottomRight1;
|
2021-08-06 14:26:08 +00:00
|
|
|
wxStaticText* m_mixedCornerRatioLabel;
|
|
|
|
TEXT_CTRL_EVAL* m_mixedCornerRatioCtrl;
|
|
|
|
wxStaticText* m_mixedCornerRatioUnits;
|
2022-08-23 16:54:07 +00:00
|
|
|
wxStaticText* m_sizeXLabel;
|
|
|
|
wxTextCtrl* m_sizeXCtrl;
|
|
|
|
wxStaticText* m_sizeXUnits;
|
|
|
|
wxStaticText* m_sizeYLabel;
|
|
|
|
wxTextCtrl* m_sizeYCtrl;
|
|
|
|
wxStaticText* m_sizeYUnits;
|
|
|
|
wxStaticText* m_PadOrientText;
|
|
|
|
wxComboBox* m_cb_padrotation;
|
|
|
|
wxStaticText* m_orientationUnits;
|
2020-06-01 16:05:40 +00:00
|
|
|
wxStaticLine* m_staticline6;
|
2022-06-16 20:26:42 +00:00
|
|
|
wxGridBagSizer* m_gbSizerHole;
|
2018-05-23 06:11:47 +00:00
|
|
|
wxStaticText* m_holeShapeLabel;
|
|
|
|
wxChoice* m_holeShapeCtrl;
|
|
|
|
wxStaticText* m_holeXLabel;
|
|
|
|
wxTextCtrl* m_holeXCtrl;
|
|
|
|
wxStaticText* m_holeXUnits;
|
|
|
|
wxStaticText* m_holeYLabel;
|
|
|
|
wxTextCtrl* m_holeYCtrl;
|
|
|
|
wxStaticText* m_holeYUnits;
|
2020-06-01 16:05:40 +00:00
|
|
|
wxStaticLine* m_staticline7;
|
|
|
|
wxCheckBox* m_offsetShapeOpt;
|
|
|
|
wxStaticText* m_offsetShapeOptLabel;
|
|
|
|
wxFlexGridSizer* m_offsetCtrls;
|
|
|
|
wxStaticText* m_offsetXLabel;
|
|
|
|
wxTextCtrl* m_offsetXCtrl;
|
|
|
|
wxStaticText* m_offsetXUnits;
|
|
|
|
wxStaticText* m_offsetYLabel;
|
|
|
|
wxTextCtrl* m_offsetYCtrl;
|
|
|
|
wxStaticText* m_offsetYUnits;
|
2022-08-23 16:54:07 +00:00
|
|
|
wxStaticLine* m_staticline71;
|
2020-06-01 16:05:40 +00:00
|
|
|
wxCheckBox* m_padToDieOpt;
|
2019-09-11 21:20:31 +00:00
|
|
|
wxStaticText* m_padToDieLabel;
|
|
|
|
wxTextCtrl* m_padToDieCtrl;
|
|
|
|
wxStaticText* m_padToDieUnits;
|
2020-06-01 16:05:40 +00:00
|
|
|
wxBoxSizer* m_middleBoxSizer;
|
2018-02-03 23:22:45 +00:00
|
|
|
wxBoxSizer* m_FlippedWarningSizer;
|
|
|
|
wxStaticBitmap* m_FlippedWarningIcon;
|
2018-02-08 23:41:45 +00:00
|
|
|
wxStaticText* m_staticText86;
|
2020-08-23 17:11:47 +00:00
|
|
|
wxStaticText* m_copperLayersLabel;
|
2013-05-26 04:36:44 +00:00
|
|
|
wxChoice* m_rbCopperLayersSel;
|
2018-07-18 16:59:05 +00:00
|
|
|
wxStaticText* m_techLayersLabel;
|
2023-04-03 13:27:36 +00:00
|
|
|
wxCheckBox* m_layerFrontAdhesive;
|
|
|
|
wxCheckBox* m_layerBackAdhesive;
|
|
|
|
wxCheckBox* m_layerFrontPaste;
|
|
|
|
wxCheckBox* m_layerBackPaste;
|
|
|
|
wxCheckBox* m_layerFrontSilk;
|
|
|
|
wxCheckBox* m_layerBackSilk;
|
|
|
|
wxCheckBox* m_layerFrontMask;
|
|
|
|
wxCheckBox* m_layerBackMask;
|
|
|
|
wxCheckBox* m_layerUserDwgs;
|
|
|
|
wxCheckBox* m_layerECO1;
|
|
|
|
wxCheckBox* m_layerECO2;
|
2019-12-11 10:36:45 +00:00
|
|
|
wxStaticText* m_staticTextFabProperty;
|
|
|
|
wxChoice* m_choiceFabProperty;
|
2023-05-12 21:03:54 +00:00
|
|
|
wxPanel* m_connectionsPanel;
|
|
|
|
wxBoxSizer* m_legacyTeardropsWarning;
|
|
|
|
wxStaticBitmap* m_legacyTeardropsIcon;
|
|
|
|
wxStaticText* m_staticText85;
|
|
|
|
wxStaticText* m_staticText851;
|
|
|
|
wxCheckBox* m_cbTeardrops;
|
|
|
|
wxCheckBox* m_cbPreferZoneConnection;
|
|
|
|
wxCheckBox* m_cbTeardropsUseNextTrack;
|
|
|
|
wxStaticText* m_stHDRatio;
|
|
|
|
wxSpinCtrlDouble* m_spTeardropHDPercent;
|
|
|
|
wxStaticText* m_minTrackWidthUnits;
|
|
|
|
wxStaticText* m_minTrackWidthHint;
|
2023-11-28 13:12:49 +00:00
|
|
|
wxStaticText* m_staticText87;
|
2023-05-12 21:03:54 +00:00
|
|
|
wxStaticText* m_teardropShapeLabel;
|
|
|
|
wxStaticLine* m_staticline51;
|
|
|
|
wxStaticBitmap* m_bitmapTeardrop;
|
|
|
|
wxStaticText* m_stHsetting;
|
|
|
|
wxSpinCtrlDouble* m_spTeardropLenPercent;
|
2023-11-28 13:12:49 +00:00
|
|
|
wxStaticText* m_stLenPercentUnits;
|
|
|
|
wxStaticText* m_stLenPercentHint;
|
|
|
|
wxStaticText* m_staticText88;
|
2023-05-12 21:03:54 +00:00
|
|
|
wxStaticText* m_stMaxLen;
|
|
|
|
wxTextCtrl* m_tcTdMaxLen;
|
|
|
|
wxStaticText* m_stMaxLenUnits;
|
|
|
|
wxStaticText* m_stVsetting;
|
|
|
|
wxSpinCtrlDouble* m_spTeardropSizePercent;
|
2023-11-28 13:12:49 +00:00
|
|
|
wxStaticText* m_stWidthPercentUnits;
|
|
|
|
wxStaticText* m_stWidthPercentHint;
|
|
|
|
wxStaticText* m_staticText89;
|
2023-05-12 21:03:54 +00:00
|
|
|
wxStaticText* m_stTdMaxSize;
|
|
|
|
wxTextCtrl* m_tcMaxHeight;
|
|
|
|
wxStaticText* m_stMaxHeightUnits;
|
2023-05-23 16:45:26 +00:00
|
|
|
wxCheckBox* m_curvedEdges;
|
2023-05-12 21:03:54 +00:00
|
|
|
wxStaticText* m_curvePointsLabel;
|
|
|
|
wxSpinCtrl* m_curvePointsCtrl;
|
|
|
|
wxStaticBoxSizer* m_sbSizerZonesSettings;
|
|
|
|
wxStaticText* m_padConnectionLabel;
|
|
|
|
wxChoice* m_ZoneConnectionChoice;
|
|
|
|
wxStaticText* m_zoneKnockoutLabel;
|
|
|
|
wxChoice* m_ZoneCustomPadShape;
|
|
|
|
wxStaticText* m_thermalGapLabel;
|
|
|
|
wxTextCtrl* m_thermalGapCtrl;
|
|
|
|
wxStaticText* m_thermalGapUnits;
|
|
|
|
wxStaticText* m_spokeWidthLabel;
|
|
|
|
wxTextCtrl* m_spokeWidthCtrl;
|
|
|
|
wxStaticText* m_spokeWidthUnits;
|
|
|
|
wxStaticText* m_spokeAngleLabel;
|
|
|
|
wxTextCtrl* m_spokeAngleCtrl;
|
|
|
|
wxStaticText* m_spokeAngleUnits;
|
2013-05-26 04:36:44 +00:00
|
|
|
wxPanel* m_localSettingsPanel;
|
2021-08-29 23:33:08 +00:00
|
|
|
wxStaticText* m_staticTextInfoPosValue;
|
|
|
|
wxStaticText* m_staticTextInfoNegVal;
|
2018-05-23 06:11:47 +00:00
|
|
|
wxStaticText* m_clearanceLabel;
|
|
|
|
wxTextCtrl* m_clearanceCtrl;
|
|
|
|
wxStaticText* m_clearanceUnits;
|
2021-08-06 14:26:08 +00:00
|
|
|
wxStaticText* m_maskMarginLabel;
|
|
|
|
wxTextCtrl* m_maskMarginCtrl;
|
|
|
|
wxStaticText* m_maskMarginUnits;
|
|
|
|
wxStaticText* m_pasteMarginLabel;
|
|
|
|
wxTextCtrl* m_pasteMarginCtrl;
|
|
|
|
wxStaticText* m_pasteMarginUnits;
|
|
|
|
wxStaticText* m_pasteMarginRatioLabel;
|
|
|
|
TEXT_CTRL_EVAL* m_pasteMarginRatioCtrl;
|
|
|
|
wxStaticText* m_pasteMarginRatioUnits;
|
2018-05-04 16:20:41 +00:00
|
|
|
wxSimplebook* m_nonCopperWarningBook;
|
|
|
|
wxStaticText* m_nonCopperNote;
|
2019-08-21 14:31:52 +00:00
|
|
|
wxStaticText* m_staticTextInfoPaste;
|
2018-05-04 16:20:41 +00:00
|
|
|
wxStaticBitmap* m_nonCopperWarningIcon;
|
|
|
|
wxStaticText* m_nonCopperWarningText;
|
2020-09-08 22:34:10 +00:00
|
|
|
wxSimplebook* m_stackupImagesBook;
|
|
|
|
wxPanel* page0;
|
|
|
|
wxStaticBitmap* m_stackupImage0;
|
|
|
|
wxPanel* page1;
|
|
|
|
wxStaticBitmap* m_stackupImage1;
|
|
|
|
wxPanel* page2;
|
|
|
|
wxStaticBitmap* m_stackupImage2;
|
|
|
|
wxPanel* page3;
|
2020-09-08 23:39:33 +00:00
|
|
|
wxPanel* page4;
|
|
|
|
wxStaticBitmap* m_stackupImage4;
|
|
|
|
wxPanel* page5;
|
|
|
|
wxStaticBitmap* m_stackupImage5;
|
|
|
|
wxPanel* page6;
|
|
|
|
wxStaticBitmap* m_stackupImage6;
|
|
|
|
wxPanel* page7;
|
|
|
|
wxStaticBitmap* m_stackupImage7;
|
2020-09-08 23:39:33 +00:00
|
|
|
wxPanel* m_boardViewPanel;
|
|
|
|
wxBoxSizer* m_padPreviewSizer;
|
|
|
|
wxStaticText* m_parentInfo;
|
2018-01-13 16:05:09 +00:00
|
|
|
wxCheckBox* m_cbShowPadOutline;
|
2016-04-06 18:15:49 +00:00
|
|
|
wxStdDialogButtonSizer* m_sdbSizer;
|
|
|
|
wxButton* m_sdbSizerOK;
|
|
|
|
wxButton* m_sdbSizerCancel;
|
2019-08-21 14:31:52 +00:00
|
|
|
|
2022-06-16 20:26:42 +00:00
|
|
|
// Virtual event handlers, override them in your derived class
|
2017-01-22 21:51:37 +00:00
|
|
|
virtual void OnInitDialog( wxInitDialogEvent& event ) { event.Skip(); }
|
2018-07-24 13:56:20 +00:00
|
|
|
virtual void OnUpdateUI( wxUpdateUIEvent& event ) { event.Skip(); }
|
2013-05-26 04:36:44 +00:00
|
|
|
virtual void PadTypeSelected( wxCommandEvent& event ) { event.Skip(); }
|
2020-06-01 16:05:40 +00:00
|
|
|
virtual void OnValuesChanged( wxCommandEvent& event ) { event.Skip(); }
|
2022-08-23 16:54:07 +00:00
|
|
|
virtual void OnPadShapeSelection( wxCommandEvent& event ) { event.Skip(); }
|
2013-05-26 04:36:44 +00:00
|
|
|
virtual void OnSetLayers( wxCommandEvent& event ) { event.Skip(); }
|
2016-04-06 18:15:49 +00:00
|
|
|
virtual void onCornerSizePercentChange( wxCommandEvent& event ) { event.Skip(); }
|
2018-09-09 19:19:21 +00:00
|
|
|
virtual void onCornerRadiusChange( wxCommandEvent& event ) { event.Skip(); }
|
2022-08-23 16:54:07 +00:00
|
|
|
virtual void PadOrientEvent( wxCommandEvent& event ) { event.Skip(); }
|
2013-05-26 04:36:44 +00:00
|
|
|
virtual void OnDrillShapeSelected( wxCommandEvent& event ) { event.Skip(); }
|
2020-06-01 16:05:40 +00:00
|
|
|
virtual void OnOffsetCheckbox( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
virtual void OnPadToDieCheckbox( wxCommandEvent& event ) { event.Skip(); }
|
2020-08-23 17:11:47 +00:00
|
|
|
virtual void OnSetCopperLayers( wxCommandEvent& event ) { event.Skip(); }
|
2023-05-12 21:03:54 +00:00
|
|
|
virtual void onTeardropsUpdateUi( wxUpdateUIEvent& event ) { event.Skip(); }
|
|
|
|
virtual void onTeardropCurvePointsUpdateUi( wxUpdateUIEvent& event ) { event.Skip(); }
|
2018-05-04 16:20:41 +00:00
|
|
|
virtual void OnUpdateUINonCopperWarning( wxUpdateUIEvent& event ) { event.Skip(); }
|
2018-01-13 16:05:09 +00:00
|
|
|
virtual void onChangePadMode( wxCommandEvent& event ) { event.Skip(); }
|
2017-11-07 17:33:13 +00:00
|
|
|
virtual void OnCancel( wxCommandEvent& event ) { event.Skip(); }
|
2019-08-21 14:31:52 +00:00
|
|
|
|
|
|
|
|
2013-05-26 04:36:44 +00:00
|
|
|
public:
|
2019-08-21 14:31:52 +00:00
|
|
|
|
2020-06-01 16:05:40 +00:00
|
|
|
DIALOG_PAD_PROPERTIES_BASE( wxWindow* parent, wxWindowID id = wxID_DIALOG_EDIT_PAD, const wxString& title = _("Pad Properties"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( -1,-1 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );
|
2022-06-16 20:26:42 +00:00
|
|
|
|
2013-05-26 04:36:44 +00:00
|
|
|
~DIALOG_PAD_PROPERTIES_BASE();
|
2019-08-21 14:31:52 +00:00
|
|
|
|
2013-05-26 04:36:44 +00:00
|
|
|
};
|
|
|
|
|