2015-02-12 03:22:24 +00:00
|
|
|
///////////////////////////////////////////////////////////////////////////
|
2023-12-18 17:00:12 +00:00
|
|
|
// C++ code generated with wxFormBuilder (version 4.0.0-0-g0efcecf-dirty)
|
2015-02-12 03:22:24 +00:00
|
|
|
// http://www.wxformbuilder.org/
|
|
|
|
//
|
2017-12-27 17:09:27 +00:00
|
|
|
// PLEASE DO *NOT* EDIT THIS FILE!
|
2015-02-12 03:22:24 +00:00
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
|
2019-01-25 16:28:53 +00:00
|
|
|
#pragma once
|
2015-02-12 03:22:24 +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;
|
2015-02-12 03:22:24 +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>
|
2023-09-23 07:49:45 +00:00
|
|
|
#include <wx/sizer.h>
|
|
|
|
#include <wx/statbox.h>
|
2015-02-12 03:22:24 +00:00
|
|
|
#include <wx/radiobox.h>
|
|
|
|
#include <wx/checkbox.h>
|
|
|
|
#include <wx/choice.h>
|
|
|
|
#include <wx/panel.h>
|
|
|
|
#include <wx/bitmap.h>
|
|
|
|
#include <wx/image.h>
|
|
|
|
#include <wx/icon.h>
|
2021-10-24 19:59:19 +00:00
|
|
|
#include <wx/radiobut.h>
|
2023-09-19 14:02:17 +00:00
|
|
|
#include <wx/notebook.h>
|
2015-02-12 03:22:24 +00:00
|
|
|
#include <wx/button.h>
|
|
|
|
#include <wx/dialog.h>
|
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#define wxID_DIALOG_CREATE_ARRAY 1000
|
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
/// Class DIALOG_CREATE_ARRAY_BASE
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
class DIALOG_CREATE_ARRAY_BASE : public DIALOG_SHIM
|
|
|
|
{
|
|
|
|
private:
|
2019-01-25 16:28:53 +00:00
|
|
|
|
2015-02-12 03:22:24 +00:00
|
|
|
protected:
|
|
|
|
wxNotebook* m_gridTypeNotebook;
|
|
|
|
wxPanel* m_gridPanel;
|
|
|
|
wxStaticText* m_labelNx;
|
2017-11-23 13:05:26 +00:00
|
|
|
TEXT_CTRL_EVAL* m_entryNx;
|
2015-02-12 03:22:24 +00:00
|
|
|
wxStaticText* m_labelNy;
|
2017-11-23 13:05:26 +00:00
|
|
|
TEXT_CTRL_EVAL* m_entryNy;
|
2015-02-12 03:22:24 +00:00
|
|
|
wxStaticText* m_labelDx;
|
2018-11-11 12:25:00 +00:00
|
|
|
wxTextCtrl* m_entryDx;
|
2015-02-12 03:22:24 +00:00
|
|
|
wxStaticText* m_unitLabelDx;
|
|
|
|
wxStaticText* m_labelDy;
|
2018-11-11 12:25:00 +00:00
|
|
|
wxTextCtrl* m_entryDy;
|
2015-02-12 03:22:24 +00:00
|
|
|
wxStaticText* m_unitLabelDy;
|
|
|
|
wxStaticText* m_labelOffsetX;
|
2018-11-11 12:25:00 +00:00
|
|
|
wxTextCtrl* m_entryOffsetX;
|
2015-02-12 03:22:24 +00:00
|
|
|
wxStaticText* m_unitLabelOffsetX;
|
|
|
|
wxStaticText* m_labelOffsetY;
|
2018-11-11 12:25:00 +00:00
|
|
|
wxTextCtrl* m_entryOffsetY;
|
2015-02-12 03:22:24 +00:00
|
|
|
wxStaticText* m_unitLabelOffsetY;
|
|
|
|
wxStaticText* m_labelStagger;
|
2017-11-23 13:05:26 +00:00
|
|
|
TEXT_CTRL_EVAL* m_entryStagger;
|
2015-02-12 03:22:24 +00:00
|
|
|
wxRadioBox* m_radioBoxGridStaggerType;
|
2021-10-24 19:59:19 +00:00
|
|
|
wxPanel* m_gridPadNumberingPanel;
|
2016-04-02 12:52:29 +00:00
|
|
|
wxBoxSizer* m_gridPadNumberingSizer;
|
2015-02-12 03:22:24 +00:00
|
|
|
wxRadioBox* m_radioBoxGridNumberingAxis;
|
|
|
|
wxCheckBox* m_checkBoxGridReverseNumbering;
|
2016-03-07 07:13:06 +00:00
|
|
|
wxRadioBox* m_rbGridStartNumberingOpt;
|
2015-02-12 03:22:24 +00:00
|
|
|
wxRadioBox* m_radioBoxGridNumberingScheme;
|
|
|
|
wxStaticText* m_labelPriAxisNumbering;
|
|
|
|
wxChoice* m_choicePriAxisNumbering;
|
|
|
|
wxStaticText* m_labelSecAxisNumbering;
|
|
|
|
wxChoice* m_choiceSecAxisNumbering;
|
|
|
|
wxStaticText* m_labelGridNumberingOffset;
|
|
|
|
wxTextCtrl* m_entryGridPriNumberingOffset;
|
|
|
|
wxTextCtrl* m_entryGridSecNumberingOffset;
|
2019-05-15 21:11:13 +00:00
|
|
|
wxStaticText* m_labelGridNumberingStep;
|
|
|
|
wxTextCtrl* m_entryGridPriNumberingStep;
|
|
|
|
wxTextCtrl* m_entryGridSecNumberingStep;
|
2015-02-12 03:22:24 +00:00
|
|
|
wxPanel* m_circularPanel;
|
2023-09-09 09:05:50 +00:00
|
|
|
wxStaticText* m_stInfoItems;
|
|
|
|
wxStaticText* m_stRefPosXTxt;
|
|
|
|
wxTextCtrl* m_tcRefPosX;
|
|
|
|
wxStaticText* m_stRefPosXUnit;
|
|
|
|
wxStaticText* m_stRefPosYTxt;
|
|
|
|
wxTextCtrl* m_tcRefPosY;
|
|
|
|
wxStaticText* m_stRefPosYUnit;
|
2023-09-19 14:02:17 +00:00
|
|
|
wxRadioButton* m_radioBtnSetByPos;
|
|
|
|
wxRadioButton* m_radioBtnSetByRadius;
|
2023-09-09 09:05:50 +00:00
|
|
|
wxStaticText* m_stInfoItems1;
|
2015-02-12 03:22:24 +00:00
|
|
|
wxStaticText* m_labelCentreX;
|
2018-11-11 12:25:00 +00:00
|
|
|
wxTextCtrl* m_entryCentreX;
|
2015-02-12 03:22:24 +00:00
|
|
|
wxStaticText* m_unitLabelCentreX;
|
|
|
|
wxStaticText* m_labelCentreY;
|
2018-11-11 12:25:00 +00:00
|
|
|
wxTextCtrl* m_entryCentreY;
|
2015-02-12 03:22:24 +00:00
|
|
|
wxStaticText* m_unitLabelCentreY;
|
2015-02-12 03:22:24 +00:00
|
|
|
wxStaticText* m_labelCircRadius;
|
2023-09-09 09:05:50 +00:00
|
|
|
wxTextCtrl* m_tcValueCircRadius;
|
2018-06-14 08:26:11 +00:00
|
|
|
wxStaticText* m_unitLabelCircRadius;
|
2023-09-19 14:02:17 +00:00
|
|
|
wxStaticText* m_labelCircCenterAngle;
|
|
|
|
wxTextCtrl* m_tcValueCircCenterAngle;
|
|
|
|
wxStaticText* m_unitLabelCircCenterAngle;
|
2015-02-12 03:22:24 +00:00
|
|
|
wxStaticText* m_labelCircAngle;
|
2018-11-11 12:25:00 +00:00
|
|
|
wxTextCtrl* m_entryCircAngle;
|
2015-02-12 03:22:24 +00:00
|
|
|
wxStaticText* m_unitLabelCircAngle;
|
|
|
|
wxStaticText* m_labelCircCount;
|
2017-11-23 13:05:26 +00:00
|
|
|
TEXT_CTRL_EVAL* m_entryCircCount;
|
2015-02-12 03:22:24 +00:00
|
|
|
wxStaticText* m_labelCircRotate;
|
|
|
|
wxCheckBox* m_entryRotateItemsCb;
|
2021-10-24 19:59:19 +00:00
|
|
|
wxPanel* m_circularPadNumberingPanel;
|
2016-04-02 12:52:29 +00:00
|
|
|
wxStaticBoxSizer* m_circPadNumberingSizer;
|
2016-03-07 07:13:06 +00:00
|
|
|
wxRadioBox* m_rbCircStartNumberingOpt;
|
2019-05-15 16:21:12 +00:00
|
|
|
wxStaticText* m_labelCircNumbering;
|
|
|
|
wxChoice* m_choiceCircNumbering;
|
2015-02-12 03:22:24 +00:00
|
|
|
wxStaticText* m_labelCircNumStart;
|
|
|
|
wxTextCtrl* m_entryCircNumberingStart;
|
2019-05-15 21:11:13 +00:00
|
|
|
wxStaticText* m_labelCircNumStep;
|
|
|
|
wxTextCtrl* m_entryCircNumberingStep;
|
2021-10-24 19:59:19 +00:00
|
|
|
wxPanel* m_footprintReannotatePanel;
|
|
|
|
wxRadioButton* m_radioBtnKeepRefs;
|
|
|
|
wxRadioButton* m_radioBtnUniqueRefs;
|
2015-02-12 03:22:24 +00:00
|
|
|
wxStdDialogButtonSizer* m_stdButtons;
|
|
|
|
wxButton* m_stdButtonsOK;
|
|
|
|
wxButton* m_stdButtonsCancel;
|
2019-01-25 16:28:53 +00:00
|
|
|
|
2021-10-24 19:59:19 +00:00
|
|
|
// Virtual event handlers, override them in your derived class
|
2015-02-12 03:22:24 +00:00
|
|
|
virtual void OnClose( wxCloseEvent& event ) { event.Skip(); }
|
|
|
|
virtual void OnParameterChanged( wxCommandEvent& event ) { event.Skip(); }
|
2023-09-19 14:02:17 +00:00
|
|
|
virtual void OnButtonPosition( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
virtual void OnButtonRadius( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
virtual void OnRadiusChanged( wxCommandEvent& event ) { event.Skip(); }
|
2019-01-25 16:28:53 +00:00
|
|
|
|
|
|
|
|
2015-02-12 03:22:24 +00:00
|
|
|
public:
|
2019-01-25 16:28:53 +00:00
|
|
|
|
|
|
|
DIALOG_CREATE_ARRAY_BASE( wxWindow* parent, wxWindowID id = wxID_DIALOG_CREATE_ARRAY, const wxString& title = _("Create Array"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( -1,-1 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );
|
2021-10-24 19:59:19 +00:00
|
|
|
|
2015-02-12 03:22:24 +00:00
|
|
|
~DIALOG_CREATE_ARRAY_BASE();
|
2019-01-25 16:28:53 +00:00
|
|
|
|
2015-02-12 03:22:24 +00:00
|
|
|
};
|
|
|
|
|