You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

182 lines
6.0 KiB

  1. ///////////////////////////////////////////////////////////////////////////
  2. // C++ code generated with wxFormBuilder (version May 6 2016)
  3. // http://www.wxformbuilder.org/
  4. //
  5. // PLEASE DO "NOT" EDIT THIS FILE!
  6. ///////////////////////////////////////////////////////////////////////////
  7. #ifndef __DIALOG_PAD_PROPERTIES_BASE_H__
  8. #define __DIALOG_PAD_PROPERTIES_BASE_H__
  9. #include <wx/artprov.h>
  10. #include <wx/xrc/xmlres.h>
  11. #include <wx/intl.h>
  12. class DIALOG_SHIM;
  13. #include "dialog_shim.h"
  14. #include <wx/string.h>
  15. #include <wx/stattext.h>
  16. #include <wx/gdicmn.h>
  17. #include <wx/font.h>
  18. #include <wx/colour.h>
  19. #include <wx/settings.h>
  20. #include <wx/textctrl.h>
  21. #include <wx/choice.h>
  22. #include <wx/sizer.h>
  23. #include <wx/statline.h>
  24. #include <wx/statbox.h>
  25. #include <wx/checkbox.h>
  26. #include <wx/panel.h>
  27. #include <wx/bitmap.h>
  28. #include <wx/image.h>
  29. #include <wx/icon.h>
  30. #include <wx/notebook.h>
  31. #include <pcb_draw_panel_gal.h>
  32. #include <wx/button.h>
  33. #include <wx/dialog.h>
  34. ///////////////////////////////////////////////////////////////////////////
  35. ///////////////////////////////////////////////////////////////////////////////
  36. /// Class DIALOG_PAD_PROPERTIES_BASE
  37. ///////////////////////////////////////////////////////////////////////////////
  38. class DIALOG_PAD_PROPERTIES_BASE : public DIALOG_SHIM
  39. {
  40. private:
  41. protected:
  42. enum
  43. {
  44. wxID_DIALOG_EDIT_PAD = 1000,
  45. wxID_PADNUMCTRL,
  46. wxID_PADNETNAMECTRL
  47. };
  48. wxNotebook* m_notebook;
  49. wxPanel* m_panelGeneral;
  50. wxStaticText* m_PadNumText;
  51. wxTextCtrl* m_PadNumCtrl;
  52. wxStaticText* m_PadNameText;
  53. wxTextCtrl* m_PadNetNameCtrl;
  54. wxStaticText* m_staticText44;
  55. wxChoice* m_PadType;
  56. wxStaticText* m_staticText45;
  57. wxChoice* m_PadShape;
  58. wxStaticText* m_staticText4;
  59. wxTextCtrl* m_PadPosition_X_Ctrl;
  60. wxStaticText* m_PadPosX_Unit;
  61. wxStaticText* m_staticText41;
  62. wxTextCtrl* m_PadPosition_Y_Ctrl;
  63. wxStaticText* m_PadPosY_Unit;
  64. wxStaticText* m_staticText12;
  65. wxTextCtrl* m_ShapeSize_X_Ctrl;
  66. wxStaticText* m_PadShapeSizeX_Unit;
  67. wxStaticText* m_staticText15;
  68. wxTextCtrl* m_ShapeSize_Y_Ctrl;
  69. wxStaticText* m_PadShapeSizeY_Unit;
  70. wxStaticText* m_PadOrientText;
  71. wxChoice* m_PadOrient;
  72. wxStaticText* m_staticText491;
  73. wxTextCtrl* m_PadOrientCtrl;
  74. wxStaticText* m_customOrientUnits;
  75. wxStaticText* m_staticText17;
  76. wxTextCtrl* m_ShapeOffset_X_Ctrl;
  77. wxStaticText* m_PadShapeOffsetX_Unit;
  78. wxStaticText* m_staticText19;
  79. wxTextCtrl* m_ShapeOffset_Y_Ctrl;
  80. wxStaticText* m_PadShapeOffsetY_Unit;
  81. wxStaticText* m_staticText38;
  82. wxTextCtrl* m_LengthPadToDieCtrl;
  83. wxStaticText* m_PadLengthDie_Unit;
  84. wxStaticLine* m_staticline4;
  85. wxStaticLine* m_staticline5;
  86. wxStaticLine* m_staticline6;
  87. wxStaticText* m_staticText21;
  88. wxTextCtrl* m_ShapeDelta_Ctrl;
  89. wxStaticText* m_PadShapeDelta_Unit;
  90. wxStaticText* m_staticText23;
  91. wxChoice* m_trapDeltaDirChoice;
  92. wxStaticLine* m_staticline7;
  93. wxStaticLine* m_staticline8;
  94. wxStaticLine* m_staticline9;
  95. wxStaticText* m_staticTextCornerSizeRatio;
  96. wxTextCtrl* m_tcCornerSizeRatio;
  97. wxStaticText* m_staticTextCornerSizeRatioUnit;
  98. wxStaticText* m_staticTextCornerRadius;
  99. wxStaticText* m_staticTextCornerRadiusValue;
  100. wxStaticText* m_staticTextCornerSizeUnit;
  101. wxStaticText* m_staticText47;
  102. wxChoice* m_DrillShapeCtrl;
  103. wxStaticText* m_staticText51;
  104. wxStaticText* m_textPadDrillX;
  105. wxTextCtrl* m_PadDrill_X_Ctrl;
  106. wxStaticText* m_PadDrill_X_Unit;
  107. wxStaticText* m_textPadDrillY;
  108. wxTextCtrl* m_PadDrill_Y_Ctrl;
  109. wxStaticText* m_PadDrill_Y_Unit;
  110. wxStaticText* m_staticText511;
  111. wxChoice* m_rbCopperLayersSel;
  112. wxCheckBox* m_PadLayerAdhCmp;
  113. wxCheckBox* m_PadLayerAdhCu;
  114. wxCheckBox* m_PadLayerPateCmp;
  115. wxCheckBox* m_PadLayerPateCu;
  116. wxCheckBox* m_PadLayerSilkCmp;
  117. wxCheckBox* m_PadLayerSilkCu;
  118. wxCheckBox* m_PadLayerMaskCmp;
  119. wxCheckBox* m_PadLayerMaskCu;
  120. wxCheckBox* m_PadLayerDraft;
  121. wxCheckBox* m_PadLayerECO1;
  122. wxCheckBox* m_PadLayerECO2;
  123. wxStaticText* m_staticTitleModuleRot;
  124. wxStaticText* m_staticModuleRotValue;
  125. wxStaticText* m_staticTitleModuleSide;
  126. wxStaticText* m_staticModuleSideValue;
  127. wxPanel* m_localSettingsPanel;
  128. wxStaticText* m_staticTextNetClearance;
  129. wxTextCtrl* m_NetClearanceValueCtrl;
  130. wxStaticText* m_NetClearanceUnits;
  131. wxStaticText* m_MaskClearanceTitle;
  132. wxTextCtrl* m_SolderMaskMarginCtrl;
  133. wxStaticText* m_SolderMaskMarginUnits;
  134. wxStaticText* m_staticTextSolderPaste;
  135. wxTextCtrl* m_SolderPasteMarginCtrl;
  136. wxStaticText* m_SolderPasteMarginUnits;
  137. wxStaticText* m_staticTextRatio;
  138. wxTextCtrl* m_SolderPasteMarginRatioCtrl;
  139. wxStaticText* m_SolderPasteRatioMarginUnits;
  140. wxStaticText* m_staticText40;
  141. wxChoice* m_ZoneConnectionChoice;
  142. wxStaticText* m_staticText53;
  143. wxStaticText* m_staticText49;
  144. wxTextCtrl* m_ThermalWidthCtrl;
  145. wxStaticText* m_ThermalWidthUnits;
  146. wxStaticText* m_staticText52;
  147. wxTextCtrl* m_ThermalGapCtrl;
  148. wxStaticText* m_ThermalGapUnits;
  149. wxStaticText* m_staticTextWarning;
  150. wxPanel* m_panelShowPad;
  151. PCB_DRAW_PANEL_GAL* m_panelShowPadGal;
  152. wxStaticText* m_staticTextWarningPadFlipped;
  153. wxStdDialogButtonSizer* m_sdbSizer;
  154. wxButton* m_sdbSizerOK;
  155. wxButton* m_sdbSizerCancel;
  156. // Virtual event handlers, overide them in your derived class
  157. virtual void OnValuesChanged( wxCommandEvent& event ) { event.Skip(); }
  158. virtual void PadTypeSelected( wxCommandEvent& event ) { event.Skip(); }
  159. virtual void OnPadShapeSelection( wxCommandEvent& event ) { event.Skip(); }
  160. virtual void PadOrientEvent( wxCommandEvent& event ) { event.Skip(); }
  161. virtual void OnSetLayers( wxCommandEvent& event ) { event.Skip(); }
  162. virtual void onCornerSizePercentChange( wxCommandEvent& event ) { event.Skip(); }
  163. virtual void OnDrillShapeSelected( wxCommandEvent& event ) { event.Skip(); }
  164. virtual void OnPaintShowPanel( wxPaintEvent& event ) { event.Skip(); }
  165. public:
  166. 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( 785,659 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER|wxSUNKEN_BORDER );
  167. ~DIALOG_PAD_PROPERTIES_BASE();
  168. };
  169. #endif //__DIALOG_PAD_PROPERTIES_BASE_H__