KiCad PCB EDA Suite
Loading...
Searching...
No Matches
dialog_create_array_base.h
Go to the documentation of this file.
1
2// C++ code generated with wxFormBuilder (version 4.2.1-0-g80c4cb6)
3// http://www.wxformbuilder.org/
4//
5// PLEASE DO *NOT* EDIT THIS FILE!
7
8#pragma once
9
10#include <wx/artprov.h>
11#include <wx/xrc/xmlres.h>
12#include <wx/intl.h>
13class TEXT_CTRL_EVAL;
14
15#include "dialog_shim.h"
16#include <wx/string.h>
17#include <wx/stattext.h>
18#include <wx/gdicmn.h>
19#include <wx/font.h>
20#include <wx/colour.h>
21#include <wx/settings.h>
22#include <wx/textctrl.h>
23#include <wx/sizer.h>
24#include <wx/statbox.h>
25#include <wx/radiobut.h>
26#include <wx/checkbox.h>
27#include <wx/radiobox.h>
28#include <wx/choice.h>
29#include <wx/panel.h>
30#include <wx/bitmap.h>
31#include <wx/image.h>
32#include <wx/icon.h>
33#include <wx/button.h>
34#include <wx/notebook.h>
35#include <wx/dialog.h>
36
38
39#define wxID_DIALOG_CREATE_ARRAY 10000
40
45{
46 private:
47
48 protected:
49 wxNotebook* m_gridTypeNotebook;
50 wxPanel* m_gridPanel;
51 wxStaticText* m_labelNx;
53 wxStaticText* m_labelNy;
55 wxStaticText* m_labelDx;
56 wxTextCtrl* m_entryDx;
57 wxStaticText* m_unitLabelDx;
58 wxStaticText* m_labelDy;
59 wxTextCtrl* m_entryDy;
60 wxStaticText* m_unitLabelDy;
61 wxStaticText* m_labelOffsetX;
62 wxTextCtrl* m_entryOffsetX;
63 wxStaticText* m_unitLabelOffsetX;
64 wxStaticText* m_labelOffsetY;
65 wxTextCtrl* m_entryOffsetY;
66 wxStaticText* m_unitLabelOffsetY;
67 wxStaticText* m_labelStagger;
69 wxRadioButton* m_staggerRows;
70 wxRadioButton* m_staggerCols;
71 wxRadioButton* m_rbItemsRemainInPlace;
72 wxRadioButton* m_rbCentreOnSource;
75 wxCheckBox* m_cbRenumberPads;
91 wxStaticText* m_labelCentreX;
92 wxTextCtrl* m_entryCentreX;
93 wxStaticText* m_unitLabelCentreX;
94 wxStaticText* m_labelCentreY;
95 wxTextCtrl* m_entryCentreY;
96 wxStaticText* m_unitLabelCentreY;
100 wxRadioBox* m_rbCircDirection;
101 wxStaticText* m_labelCircAngle;
102 wxTextCtrl* m_entryCircAngle;
103 wxStaticText* m_unitLabelCircAngle;
104 wxStaticText* m_labelCircCount;
106 wxStaticText* m_labelCircOffset;
111 wxStaticBoxSizer* m_circPadNumberingSizer;
113 wxStaticText* m_labelCircNumbering;
115 wxStaticText* m_labelCircNumStart;
117 wxStaticText* m_labelCircNumStep;
124 wxRadioButton* m_radioBtnKeepRefs;
125 wxRadioButton* m_radioBtnUniqueRefs;
126 wxStdDialogButtonSizer* m_stdButtons;
127 wxButton* m_stdButtonsOK;
129
130 // Virtual event handlers, override them in your derived class
131 virtual void OnClose( wxCloseEvent& event ) { event.Skip(); }
132 virtual void OnParameterChanged( wxCommandEvent& event ) { event.Skip(); }
133 virtual void OnAxisNumberingChange( wxCommandEvent& event ) { event.Skip(); }
134 virtual void OnSelectCenterButton( wxCommandEvent& event ) { event.Skip(); }
135
136
137 public:
138
139 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 );
140
142
143};
144
virtual void OnClose(wxCloseEvent &event)
wxStaticBoxSizer * m_circPadNumberingSizer
virtual void OnParameterChanged(wxCommandEvent &event)
virtual void OnSelectCenterButton(wxCommandEvent &event)
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)
virtual void OnAxisNumberingChange(wxCommandEvent &event)
wxStdDialogButtonSizer * m_stdButtons
DIALOG_SHIM(wxWindow *aParent, wxWindowID id, const wxString &title, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxDEFAULT_FRAME_STYLE|wxRESIZE_BORDER, const wxString &name=wxDialogNameStr)
wxTextCtrl wrapper to handle math expression evaluation.
#define wxID_DIALOG_CREATE_ARRAY
#define _(s)