diff options
author | saurabhb17 | 2020-02-26 16:00:53 +0530 |
---|---|---|
committer | GitHub | 2020-02-26 16:00:53 +0530 |
commit | 886d9cb772e81d2e5262284bc3082664f084337f (patch) | |
tree | 6acee185a4dc19113fcbf0f9a3d6941085dedaf7 /pcbnew/dialogs/dialog_create_array_base.h | |
parent | 0db48f6533517ecebfd9f0693f89deca28408b76 (diff) | |
parent | aa35045840b78d3f48212db45da59a2e5c69b223 (diff) | |
download | KiCad-eSim-886d9cb772e81d2e5262284bc3082664f084337f.tar.gz KiCad-eSim-886d9cb772e81d2e5262284bc3082664f084337f.tar.bz2 KiCad-eSim-886d9cb772e81d2e5262284bc3082664f084337f.zip |
Merge pull request #1 from saurabhb17/develop
Added main functions
Diffstat (limited to 'pcbnew/dialogs/dialog_create_array_base.h')
-rw-r--r-- | pcbnew/dialogs/dialog_create_array_base.h | 118 |
1 files changed, 118 insertions, 0 deletions
diff --git a/pcbnew/dialogs/dialog_create_array_base.h b/pcbnew/dialogs/dialog_create_array_base.h new file mode 100644 index 0000000..df1f990 --- /dev/null +++ b/pcbnew/dialogs/dialog_create_array_base.h @@ -0,0 +1,118 @@ +/////////////////////////////////////////////////////////////////////////// +// C++ code generated with wxFormBuilder (version Jan 1 2016) +// http://www.wxformbuilder.org/ +// +// PLEASE DO "NOT" EDIT THIS FILE! +/////////////////////////////////////////////////////////////////////////// + +#ifndef __DIALOG_CREATE_ARRAY_BASE_H__ +#define __DIALOG_CREATE_ARRAY_BASE_H__ + +#include <wx/artprov.h> +#include <wx/xrc/xmlres.h> +#include <wx/intl.h> +class DIALOG_SHIM; + +#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/radiobox.h> +#include <wx/gbsizer.h> +#include <wx/checkbox.h> +#include <wx/choice.h> +#include <wx/sizer.h> +#include <wx/panel.h> +#include <wx/bitmap.h> +#include <wx/image.h> +#include <wx/icon.h> +#include <wx/statbox.h> +#include <wx/notebook.h> +#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: + + protected: + wxNotebook* m_gridTypeNotebook; + wxPanel* m_gridPanel; + wxStaticText* m_labelNx; + wxTextCtrl* m_entryNx; + wxStaticText* m_labelNy; + wxTextCtrl* m_entryNy; + wxStaticText* m_labelDx; + wxTextCtrl* m_entryDx; + wxStaticText* m_unitLabelDx; + wxStaticText* m_labelDy; + wxTextCtrl* m_entryDy; + wxStaticText* m_unitLabelDy; + wxStaticText* m_labelOffsetX; + wxTextCtrl* m_entryOffsetX; + wxStaticText* m_unitLabelOffsetX; + wxStaticText* m_labelOffsetY; + wxTextCtrl* m_entryOffsetY; + wxStaticText* m_unitLabelOffsetY; + wxStaticText* m_labelStagger; + wxTextCtrl* m_entryStagger; + wxRadioBox* m_radioBoxGridStaggerType; + wxRadioBox* m_radioBoxGridNumberingAxis; + wxCheckBox* m_checkBoxGridReverseNumbering; + wxRadioBox* m_rbGridStartNumberingOpt; + wxRadioBox* m_radioBoxGridNumberingScheme; + wxStaticText* m_labelPriAxisNumbering; + wxChoice* m_choicePriAxisNumbering; + wxStaticText* m_labelSecAxisNumbering; + wxChoice* m_choiceSecAxisNumbering; + wxStaticText* m_labelGridNumberingOffset; + wxTextCtrl* m_entryGridPriNumberingOffset; + wxTextCtrl* m_entryGridSecNumberingOffset; + wxPanel* m_circularPanel; + wxStaticText* m_labelCentreX; + wxTextCtrl* m_entryCentreX; + wxStaticText* m_unitLabelCentreX; + wxStaticText* m_labelCentreY; + wxTextCtrl* m_entryCentreY; + wxStaticText* m_unitLabelCentreY; + wxStaticText* m_labelCircRadius; + wxStaticText* m_labelCircRadiusValue; + wxStaticText* m_labelCircAngle; + wxTextCtrl* m_entryCircAngle; + wxStaticText* m_unitLabelCircAngle; + wxStaticText* m_labelCircCount; + wxTextCtrl* m_entryCircCount; + wxStaticText* m_labelCircRotate; + wxCheckBox* m_entryRotateItemsCb; + wxRadioBox* m_rbCircStartNumberingOpt; + wxStaticText* m_labelCircNumStart; + wxTextCtrl* m_entryCircNumberingStart; + wxStdDialogButtonSizer* m_stdButtons; + wxButton* m_stdButtonsOK; + wxButton* m_stdButtonsCancel; + + // Virtual event handlers, overide them in your derived class + virtual void OnClose( wxCloseEvent& event ) { event.Skip(); } + virtual void OnParameterChanged( wxCommandEvent& event ) { event.Skip(); } + virtual void OnOkClick( wxCommandEvent& event ) { event.Skip(); } + + + public: + + 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( 652,473 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER ); + ~DIALOG_CREATE_ARRAY_BASE(); + +}; + +#endif //__DIALOG_CREATE_ARRAY_BASE_H__ |