2013-05-26 04:36:44 +00:00
|
|
|
///////////////////////////////////////////////////////////////////////////
|
2018-02-14 16:46:35 +00:00
|
|
|
// C++ code generated with wxFormBuilder (version Jul 2 2017)
|
2013-05-26 04:36:44 +00:00
|
|
|
// http://www.wxformbuilder.org/
|
|
|
|
//
|
2018-02-14 16:46:35 +00:00
|
|
|
// PLEASE DO "NOT" EDIT THIS FILE!
|
2013-05-26 04:36:44 +00:00
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#ifndef __DIALOG_PAD_PROPERTIES_BASE_H__
|
|
|
|
#define __DIALOG_PAD_PROPERTIES_BASE_H__
|
|
|
|
|
|
|
|
#include <wx/artprov.h>
|
|
|
|
#include <wx/xrc/xmlres.h>
|
|
|
|
#include <wx/intl.h>
|
2018-02-14 16:46:35 +00:00
|
|
|
class DIALOG_SHIM;
|
2017-11-23 13:05:26 +00:00
|
|
|
class TEXT_CTRL_EVAL;
|
2018-02-14 16:46:35 +00:00
|
|
|
class wxListView;
|
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>
|
|
|
|
#include <wx/textctrl.h>
|
|
|
|
#include <wx/choice.h>
|
2016-04-06 18:15:49 +00:00
|
|
|
#include <wx/statline.h>
|
2018-02-08 23:41:45 +00:00
|
|
|
#include <wx/sizer.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>
|
|
|
|
#include <wx/checkbox.h>
|
2018-02-08 23:41:45 +00:00
|
|
|
#include <wx/statbox.h>
|
2018-02-03 23:22:45 +00:00
|
|
|
#include <wx/panel.h>
|
2017-01-13 17:51:22 +00:00
|
|
|
#include <wx/listctrl.h>
|
|
|
|
#include <wx/button.h>
|
2013-05-26 04:36:44 +00:00
|
|
|
#include <wx/notebook.h>
|
2018-01-29 15:39:40 +00:00
|
|
|
#include <pcb_base_frame.h>
|
2014-07-09 09:22:43 +00:00
|
|
|
#include <pcb_draw_panel_gal.h>
|
2013-05-26 04:36:44 +00:00
|
|
|
#include <wx/dialog.h>
|
2017-01-13 17:51:22 +00:00
|
|
|
#include <wx/spinctrl.h>
|
|
|
|
#include <wx/grid.h>
|
2013-05-26 04:36:44 +00:00
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
/// Class DIALOG_PAD_PROPERTIES_BASE
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
class DIALOG_PAD_PROPERTIES_BASE : public DIALOG_SHIM
|
|
|
|
{
|
|
|
|
private:
|
|
|
|
|
|
|
|
protected:
|
|
|
|
enum
|
|
|
|
{
|
|
|
|
wxID_DIALOG_EDIT_PAD = 1000,
|
|
|
|
wxID_PADNUMCTRL,
|
|
|
|
wxID_PADNETNAMECTRL
|
|
|
|
};
|
|
|
|
|
|
|
|
wxNotebook* m_notebook;
|
|
|
|
wxPanel* m_panelGeneral;
|
|
|
|
wxStaticText* m_PadNumText;
|
|
|
|
wxTextCtrl* m_PadNumCtrl;
|
|
|
|
wxStaticText* m_PadNameText;
|
|
|
|
wxTextCtrl* m_PadNetNameCtrl;
|
|
|
|
wxStaticText* m_staticText44;
|
|
|
|
wxChoice* m_PadType;
|
|
|
|
wxStaticText* m_staticText45;
|
|
|
|
wxChoice* m_PadShape;
|
|
|
|
wxStaticText* m_staticText4;
|
2017-11-23 13:05:26 +00:00
|
|
|
TEXT_CTRL_EVAL* m_PadPosition_X_Ctrl;
|
2013-05-26 04:36:44 +00:00
|
|
|
wxStaticText* m_PadPosX_Unit;
|
|
|
|
wxStaticText* m_staticText41;
|
2017-11-23 13:05:26 +00:00
|
|
|
TEXT_CTRL_EVAL* m_PadPosition_Y_Ctrl;
|
2013-05-26 04:36:44 +00:00
|
|
|
wxStaticText* m_PadPosY_Unit;
|
|
|
|
wxStaticText* m_staticText12;
|
2017-11-23 13:05:26 +00:00
|
|
|
TEXT_CTRL_EVAL* m_ShapeSize_X_Ctrl;
|
2013-05-26 04:36:44 +00:00
|
|
|
wxStaticText* m_PadShapeSizeX_Unit;
|
|
|
|
wxStaticText* m_staticText15;
|
2017-11-23 13:05:26 +00:00
|
|
|
TEXT_CTRL_EVAL* m_ShapeSize_Y_Ctrl;
|
2013-05-26 04:36:44 +00:00
|
|
|
wxStaticText* m_PadShapeSizeY_Unit;
|
2016-04-06 18:15:49 +00:00
|
|
|
wxStaticText* m_PadOrientText;
|
2013-05-26 04:36:44 +00:00
|
|
|
wxChoice* m_PadOrient;
|
|
|
|
wxStaticText* m_staticText491;
|
2017-11-23 13:05:26 +00:00
|
|
|
TEXT_CTRL_EVAL* m_PadOrientCtrl;
|
2013-05-26 04:36:44 +00:00
|
|
|
wxStaticText* m_customOrientUnits;
|
|
|
|
wxStaticText* m_staticText17;
|
2017-11-23 13:05:26 +00:00
|
|
|
TEXT_CTRL_EVAL* m_ShapeOffset_X_Ctrl;
|
2013-05-26 04:36:44 +00:00
|
|
|
wxStaticText* m_PadShapeOffsetX_Unit;
|
|
|
|
wxStaticText* m_staticText19;
|
2017-11-23 13:05:26 +00:00
|
|
|
TEXT_CTRL_EVAL* m_ShapeOffset_Y_Ctrl;
|
2013-05-26 04:36:44 +00:00
|
|
|
wxStaticText* m_PadShapeOffsetY_Unit;
|
|
|
|
wxStaticText* m_staticText38;
|
2017-11-23 13:05:26 +00:00
|
|
|
TEXT_CTRL_EVAL* m_LengthPadToDieCtrl;
|
2013-05-26 04:36:44 +00:00
|
|
|
wxStaticText* m_PadLengthDie_Unit;
|
2016-04-06 18:15:49 +00:00
|
|
|
wxStaticLine* m_staticline4;
|
|
|
|
wxStaticLine* m_staticline5;
|
|
|
|
wxStaticLine* m_staticline6;
|
2013-05-26 04:36:44 +00:00
|
|
|
wxStaticText* m_staticText21;
|
2017-11-23 13:05:26 +00:00
|
|
|
TEXT_CTRL_EVAL* m_ShapeDelta_Ctrl;
|
2013-05-26 04:36:44 +00:00
|
|
|
wxStaticText* m_PadShapeDelta_Unit;
|
|
|
|
wxStaticText* m_staticText23;
|
|
|
|
wxChoice* m_trapDeltaDirChoice;
|
2016-04-06 18:15:49 +00:00
|
|
|
wxStaticLine* m_staticline7;
|
|
|
|
wxStaticLine* m_staticline8;
|
|
|
|
wxStaticLine* m_staticline9;
|
|
|
|
wxStaticText* m_staticTextCornerSizeRatio;
|
2017-11-23 13:05:26 +00:00
|
|
|
TEXT_CTRL_EVAL* m_tcCornerSizeRatio;
|
2016-04-06 18:15:49 +00:00
|
|
|
wxStaticText* m_staticTextCornerSizeRatioUnit;
|
|
|
|
wxStaticText* m_staticTextCornerRadius;
|
|
|
|
wxStaticText* m_staticTextCornerRadiusValue;
|
|
|
|
wxStaticText* m_staticTextCornerSizeUnit;
|
2013-05-26 04:36:44 +00:00
|
|
|
wxStaticText* m_staticText47;
|
|
|
|
wxChoice* m_DrillShapeCtrl;
|
|
|
|
wxStaticText* m_staticText51;
|
|
|
|
wxStaticText* m_textPadDrillX;
|
2017-11-23 13:05:26 +00:00
|
|
|
TEXT_CTRL_EVAL* m_PadDrill_X_Ctrl;
|
2013-05-26 04:36:44 +00:00
|
|
|
wxStaticText* m_PadDrill_X_Unit;
|
|
|
|
wxStaticText* m_textPadDrillY;
|
2017-11-23 13:05:26 +00:00
|
|
|
TEXT_CTRL_EVAL* m_PadDrill_Y_Ctrl;
|
2013-05-26 04:36:44 +00:00
|
|
|
wxStaticText* m_PadDrill_Y_Unit;
|
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;
|
2013-05-26 04:36:44 +00:00
|
|
|
wxStaticText* m_staticText511;
|
|
|
|
wxChoice* m_rbCopperLayersSel;
|
|
|
|
wxCheckBox* m_PadLayerAdhCmp;
|
|
|
|
wxCheckBox* m_PadLayerAdhCu;
|
|
|
|
wxCheckBox* m_PadLayerPateCmp;
|
|
|
|
wxCheckBox* m_PadLayerPateCu;
|
|
|
|
wxCheckBox* m_PadLayerSilkCmp;
|
|
|
|
wxCheckBox* m_PadLayerSilkCu;
|
|
|
|
wxCheckBox* m_PadLayerMaskCmp;
|
|
|
|
wxCheckBox* m_PadLayerMaskCu;
|
|
|
|
wxCheckBox* m_PadLayerDraft;
|
|
|
|
wxCheckBox* m_PadLayerECO1;
|
|
|
|
wxCheckBox* m_PadLayerECO2;
|
|
|
|
wxPanel* m_localSettingsPanel;
|
2017-12-21 09:23:17 +00:00
|
|
|
wxStaticText* m_staticTextWarning;
|
2018-02-14 16:46:35 +00:00
|
|
|
wxStaticText* m_staticTextInfoPosValue;
|
|
|
|
wxStaticText* m_staticTextInfoNegVal;
|
2013-05-26 04:36:44 +00:00
|
|
|
wxStaticText* m_staticTextNetClearance;
|
2017-11-23 13:05:26 +00:00
|
|
|
TEXT_CTRL_EVAL* m_NetClearanceValueCtrl;
|
2013-05-26 04:36:44 +00:00
|
|
|
wxStaticText* m_NetClearanceUnits;
|
|
|
|
wxStaticText* m_MaskClearanceTitle;
|
2017-11-23 13:05:26 +00:00
|
|
|
TEXT_CTRL_EVAL* m_SolderMaskMarginCtrl;
|
2013-05-26 04:36:44 +00:00
|
|
|
wxStaticText* m_SolderMaskMarginUnits;
|
|
|
|
wxStaticText* m_staticTextSolderPaste;
|
2017-11-23 13:05:26 +00:00
|
|
|
TEXT_CTRL_EVAL* m_SolderPasteMarginCtrl;
|
2013-05-26 04:36:44 +00:00
|
|
|
wxStaticText* m_SolderPasteMarginUnits;
|
|
|
|
wxStaticText* m_staticTextRatio;
|
2017-11-23 13:05:26 +00:00
|
|
|
TEXT_CTRL_EVAL* m_SolderPasteMarginRatioCtrl;
|
2013-05-26 04:36:44 +00:00
|
|
|
wxStaticText* m_SolderPasteRatioMarginUnits;
|
2017-01-13 17:51:22 +00:00
|
|
|
wxStaticBoxSizer* m_sbSizerZonesSettings;
|
2013-05-26 04:36:44 +00:00
|
|
|
wxStaticText* m_staticText40;
|
|
|
|
wxChoice* m_ZoneConnectionChoice;
|
|
|
|
wxStaticText* m_staticText49;
|
2017-11-23 13:05:26 +00:00
|
|
|
TEXT_CTRL_EVAL* m_ThermalWidthCtrl;
|
2013-05-26 04:36:44 +00:00
|
|
|
wxStaticText* m_ThermalWidthUnits;
|
|
|
|
wxStaticText* m_staticText52;
|
2017-11-23 13:05:26 +00:00
|
|
|
TEXT_CTRL_EVAL* m_ThermalGapCtrl;
|
2013-05-26 04:36:44 +00:00
|
|
|
wxStaticText* m_ThermalGapUnits;
|
2017-12-21 09:23:17 +00:00
|
|
|
wxStaticBoxSizer* m_sbSizerCustomShapedZonesSettings;
|
|
|
|
wxStaticText* m_staticTextCsZconnTitle;
|
2018-03-11 16:23:51 +00:00
|
|
|
wxChoice* m_ZoneConnectionCustom;
|
2017-01-13 17:51:22 +00:00
|
|
|
wxStaticText* m_staticTextcps;
|
|
|
|
wxChoice* m_ZoneCustomPadShape;
|
2017-09-20 08:28:52 +00:00
|
|
|
wxPanel* m_panelCustomShapePrimitives;
|
|
|
|
wxBoxSizer* m_bSizerPanelPrimitives;
|
|
|
|
wxStaticText* m_staticTextPrimitivesList;
|
|
|
|
wxStaticText* m_staticTextPrimitiveListWarning;
|
|
|
|
wxListView* m_listCtrlPrimitives;
|
2017-01-13 17:51:22 +00:00
|
|
|
wxButton* m_buttonDel;
|
|
|
|
wxButton* m_buttonEditShape;
|
|
|
|
wxButton* m_buttonAddShape;
|
|
|
|
wxButton* m_buttonDup;
|
|
|
|
wxButton* m_buttonGeometry;
|
|
|
|
wxButton* m_buttonImport;
|
2018-02-08 23:41:45 +00:00
|
|
|
wxStaticText* m_staticModuleSideValue;
|
|
|
|
wxStaticText* m_staticTitleModuleRot;
|
|
|
|
wxStaticText* m_staticModuleRotValue;
|
2013-05-26 04:36:44 +00:00
|
|
|
wxPanel* m_panelShowPad;
|
2014-07-09 09:22:43 +00:00
|
|
|
PCB_DRAW_PANEL_GAL* m_panelShowPadGal;
|
2017-05-11 22:59:04 +00:00
|
|
|
KIGFX::GAL_DISPLAY_OPTIONS m_galOptions;
|
2018-01-13 16:05:09 +00:00
|
|
|
wxCheckBox* m_cbShowPadOutline;
|
2018-02-08 23:41:45 +00:00
|
|
|
wxStaticLine* m_staticline13;
|
2016-04-06 18:15:49 +00:00
|
|
|
wxStdDialogButtonSizer* m_sdbSizer;
|
|
|
|
wxButton* m_sdbSizerOK;
|
|
|
|
wxButton* m_sdbSizerCancel;
|
2013-05-26 04:36:44 +00:00
|
|
|
|
|
|
|
// Virtual event handlers, overide them in your derived class
|
2017-01-22 21:51:37 +00:00
|
|
|
virtual void OnInitDialog( wxInitDialogEvent& event ) { event.Skip(); }
|
2013-05-26 04:36:44 +00:00
|
|
|
virtual void OnValuesChanged( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
virtual void PadTypeSelected( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
virtual void OnPadShapeSelection( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
virtual void PadOrientEvent( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
virtual void OnSetLayers( wxCommandEvent& event ) { event.Skip(); }
|
2016-04-06 18:15:49 +00:00
|
|
|
virtual void onCornerSizePercentChange( wxCommandEvent& event ) { event.Skip(); }
|
2013-05-26 04:36:44 +00:00
|
|
|
virtual void OnDrillShapeSelected( wxCommandEvent& event ) { event.Skip(); }
|
2017-09-20 08:28:52 +00:00
|
|
|
virtual void onPrimitiveDClick( wxMouseEvent& event ) { event.Skip(); }
|
2017-01-13 17:51:22 +00:00
|
|
|
virtual void OnPrimitiveSelection( wxListEvent& event ) { event.Skip(); }
|
2017-09-20 08:28:52 +00:00
|
|
|
virtual void onDeletePrimitive( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
virtual void onEditPrimitive( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
virtual void onAddPrimitive( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
virtual void onDuplicatePrimitive( wxCommandEvent& event ) { event.Skip(); }
|
2017-01-13 17:51:22 +00:00
|
|
|
virtual void onGeometryTransform( wxCommandEvent& event ) { event.Skip(); }
|
2017-09-20 08:28:52 +00:00
|
|
|
virtual void onImportPrimitives( wxCommandEvent& event ) { event.Skip(); }
|
2013-05-26 04:36:44 +00:00
|
|
|
virtual void OnPaintShowPanel( wxPaintEvent& 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(); }
|
2013-05-26 04:36:44 +00:00
|
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
2018-02-08 23:41:45 +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 );
|
2013-05-26 04:36:44 +00:00
|
|
|
~DIALOG_PAD_PROPERTIES_BASE();
|
|
|
|
|
|
|
|
};
|
|
|
|
|
2017-01-13 17:51:22 +00:00
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
2017-09-20 08:28:52 +00:00
|
|
|
/// Class DIALOG_PAD_PRIMITIVES_PROPERTIES_BASE
|
2017-01-13 17:51:22 +00:00
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
2017-09-20 08:28:52 +00:00
|
|
|
class DIALOG_PAD_PRIMITIVES_PROPERTIES_BASE : public DIALOG_SHIM
|
2017-01-13 17:51:22 +00:00
|
|
|
{
|
|
|
|
private:
|
|
|
|
|
|
|
|
protected:
|
|
|
|
wxStaticText* m_staticTextInfo;
|
|
|
|
wxStaticText* m_staticTextPosStart;
|
|
|
|
wxStaticText* m_staticTextStartX;
|
2017-11-23 13:05:26 +00:00
|
|
|
TEXT_CTRL_EVAL* m_textCtrPosX;
|
2017-01-13 17:51:22 +00:00
|
|
|
wxStaticText* m_staticTextStartY;
|
2017-11-23 13:05:26 +00:00
|
|
|
TEXT_CTRL_EVAL* m_textCtrPosY;
|
2017-01-13 17:51:22 +00:00
|
|
|
wxStaticText* m_staticTextPosUnit;
|
|
|
|
wxStaticText* m_staticTextPosEnd;
|
|
|
|
wxStaticText* m_staticTextEndX;
|
2017-11-23 13:05:26 +00:00
|
|
|
TEXT_CTRL_EVAL* m_textCtrEndX;
|
2017-01-13 17:51:22 +00:00
|
|
|
wxStaticText* m_staticTextEndY;
|
2017-11-23 13:05:26 +00:00
|
|
|
TEXT_CTRL_EVAL* m_textCtrEndY;
|
2017-01-13 17:51:22 +00:00
|
|
|
wxStaticText* m_staticTextEndUnit;
|
|
|
|
wxStaticText* m_staticTextAngle;
|
2017-11-23 13:05:26 +00:00
|
|
|
TEXT_CTRL_EVAL* m_textCtrAngle;
|
2017-01-13 17:51:22 +00:00
|
|
|
wxStaticText* m_staticTextAngleUnit;
|
|
|
|
wxStaticText* m_staticTextThickness;
|
|
|
|
wxTextCtrl* m_textCtrlThickness;
|
|
|
|
wxStaticText* m_staticTextThicknessUnit;
|
|
|
|
wxStaticLine* m_staticline1;
|
|
|
|
wxStdDialogButtonSizer* m_sdbSizer;
|
|
|
|
wxButton* m_sdbSizerOK;
|
|
|
|
wxButton* m_sdbSizerCancel;
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
2017-12-27 17:09:27 +00:00
|
|
|
DIALOG_PAD_PRIMITIVES_PROPERTIES_BASE( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxEmptyString, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( -1,-1 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );
|
2017-09-20 08:28:52 +00:00
|
|
|
~DIALOG_PAD_PRIMITIVES_PROPERTIES_BASE();
|
2017-01-13 17:51:22 +00:00
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
2017-09-20 08:28:52 +00:00
|
|
|
/// Class DIALOG_PAD_PRIMITIVES_TRANSFORM_BASE
|
2017-01-13 17:51:22 +00:00
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
2017-09-20 08:28:52 +00:00
|
|
|
class DIALOG_PAD_PRIMITIVES_TRANSFORM_BASE : public DIALOG_SHIM
|
2017-01-13 17:51:22 +00:00
|
|
|
{
|
|
|
|
private:
|
|
|
|
|
|
|
|
protected:
|
|
|
|
wxStaticText* m_staticTextMove;
|
|
|
|
wxStaticText* m_staticTextMoveX;
|
2017-11-23 13:05:26 +00:00
|
|
|
TEXT_CTRL_EVAL* m_textCtrMoveX;
|
2017-01-13 17:51:22 +00:00
|
|
|
wxStaticText* m_staticTextMoveY;
|
2017-11-23 13:05:26 +00:00
|
|
|
TEXT_CTRL_EVAL* m_textCtrMoveY;
|
2017-01-13 17:51:22 +00:00
|
|
|
wxStaticText* m_staticTextMoveUnit;
|
|
|
|
wxStaticText* m_staticTextAngle;
|
2017-11-23 13:05:26 +00:00
|
|
|
TEXT_CTRL_EVAL* m_textCtrAngle;
|
2017-01-13 17:51:22 +00:00
|
|
|
wxStaticText* m_staticTextAngleUnit;
|
|
|
|
wxStaticText* m_staticTextSF;
|
2017-11-23 13:05:26 +00:00
|
|
|
TEXT_CTRL_EVAL* m_textCtrlScalingFactor;
|
2017-01-13 17:51:22 +00:00
|
|
|
wxStaticText* m_staticTextDupCnt;
|
|
|
|
wxSpinCtrl* m_spinCtrlDuplicateCount;
|
|
|
|
wxStaticLine* m_staticline1;
|
|
|
|
wxStdDialogButtonSizer* m_sdbSizer;
|
|
|
|
wxButton* m_sdbSizerOK;
|
|
|
|
wxButton* m_sdbSizerCancel;
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
2017-12-27 17:09:27 +00:00
|
|
|
DIALOG_PAD_PRIMITIVES_TRANSFORM_BASE( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Pad Custom Shape Geometry Transform"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( -1,-1 ), long style = wxDEFAULT_DIALOG_STYLE );
|
2017-09-20 08:28:52 +00:00
|
|
|
~DIALOG_PAD_PRIMITIVES_TRANSFORM_BASE();
|
2017-01-13 17:51:22 +00:00
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
2017-09-20 08:28:52 +00:00
|
|
|
/// Class DIALOG_PAD_PRIMITIVE_POLY_PROPS_BASE
|
2017-01-13 17:51:22 +00:00
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
2017-09-20 08:28:52 +00:00
|
|
|
class DIALOG_PAD_PRIMITIVE_POLY_PROPS_BASE : public DIALOG_SHIM
|
2017-01-13 17:51:22 +00:00
|
|
|
{
|
|
|
|
private:
|
|
|
|
|
|
|
|
protected:
|
2017-09-20 08:28:52 +00:00
|
|
|
wxStaticText* m_staticTextCornerListWarning;
|
2017-01-13 17:51:22 +00:00
|
|
|
wxStaticText* m_staticTextValidate;
|
|
|
|
wxGrid* m_gridCornersList;
|
|
|
|
wxButton* m_buttonAdd;
|
|
|
|
wxButton* m_buttonDelete;
|
|
|
|
wxPanel* m_panelPoly;
|
|
|
|
wxStaticText* m_staticTextThickness;
|
2017-11-23 13:05:26 +00:00
|
|
|
TEXT_CTRL_EVAL* m_textCtrlThickness;
|
2017-01-13 17:51:22 +00:00
|
|
|
wxStaticText* m_staticTextThicknessUnit;
|
|
|
|
wxStaticText* m_staticTextInfo;
|
|
|
|
wxStaticLine* m_staticline3;
|
|
|
|
wxStdDialogButtonSizer* m_sdbSizer;
|
|
|
|
wxButton* m_sdbSizerOK;
|
|
|
|
wxButton* m_sdbSizerCancel;
|
|
|
|
|
|
|
|
// Virtual event handlers, overide them in your derived class
|
|
|
|
virtual void onGridSelect( wxGridRangeSelectEvent& event ) { event.Skip(); }
|
|
|
|
virtual void onCellSelect( wxGridEvent& event ) { event.Skip(); }
|
|
|
|
virtual void onButtonAdd( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
virtual void OnButtonDelete( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
virtual void onPaintPolyPanel( wxPaintEvent& event ) { event.Skip(); }
|
|
|
|
virtual void onPolyPanelResize( wxSizeEvent& event ) { event.Skip(); }
|
|
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
2017-12-27 17:09:27 +00:00
|
|
|
DIALOG_PAD_PRIMITIVE_POLY_PROPS_BASE( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Basic Shape Polygon"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( -1,-1 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );
|
2017-09-20 08:28:52 +00:00
|
|
|
~DIALOG_PAD_PRIMITIVE_POLY_PROPS_BASE();
|
2017-01-13 17:51:22 +00:00
|
|
|
|
|
|
|
};
|
|
|
|
|
2013-05-26 04:36:44 +00:00
|
|
|
#endif //__DIALOG_PAD_PROPERTIES_BASE_H__
|