KiCad PCB EDA Suite
dialog_export_step_base.h
Go to the documentation of this file.
1 // C++ code generated with wxFormBuilder (version 3.9.0 Apr 22 2021)
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>
13 class 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/filepicker.h>
23 #include <wx/sizer.h>
24 #include <wx/radiobut.h>
25 #include <wx/statbox.h>
26 #include <wx/choice.h>
27 #include <wx/textctrl.h>
28 #include <wx/valtext.h>
29 #include <wx/checkbox.h>
30 #include <wx/statline.h>
31 #include <wx/button.h>
32 #include <wx/dialog.h>
33 
35 
40 {
41  private:
42 
43  protected:
44  wxBoxSizer* bSizerSTEPFile;
45  wxBoxSizer* bSizerTop;
46  wxStaticText* m_txtBrdFile;
47  wxFilePickerCtrl* m_filePickerSTEP;
48  wxRadioButton* m_rbDrillAndPlotOrigin;
49  wxRadioButton* m_rbGridOrigin;
50  wxRadioButton* m_rbUserDefinedOrigin;
51  wxRadioButton* m_rbBoardCenterOrigin;
52  wxStaticText* m_staticTextUnits;
54  wxStaticText* m_staticTextXpos;
56  wxStaticText* m_staticTextYpos;
58  wxCheckBox* m_cbRemoveVirtual;
59  wxCheckBox* m_cbSubstModels;
60  wxCheckBox* m_cbOverwriteFile;
61  wxStaticText* m_staticTextTolerance;
62  wxChoice* m_tolerance;
63  wxStaticLine* m_staticline;
64  wxStdDialogButtonSizer* m_sdbSizer;
65  wxButton* m_sdbSizerOK;
66  wxButton* m_sdbSizerCancel;
67 
68  // Virtual event handlers, override them in your derived class
69  virtual void onUpdateUnits( wxUpdateUIEvent& event ) { event.Skip(); }
70  virtual void onUpdateXPos( wxUpdateUIEvent& event ) { event.Skip(); }
71  virtual void onUpdateYPos( wxUpdateUIEvent& event ) { event.Skip(); }
72  virtual void onExportButton( wxCommandEvent& event ) { event.Skip(); }
73 
74 
75  public:
76 
77  DIALOG_EXPORT_STEP_BASE( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Export STEP"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( -1,-1 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );
79 
80 };
81 
virtual void onExportButton(wxCommandEvent &event)
virtual void onUpdateXPos(wxUpdateUIEvent &event)
wxRadioButton * m_rbDrillAndPlotOrigin
virtual void onUpdateYPos(wxUpdateUIEvent &event)
virtual void onUpdateUnits(wxUpdateUIEvent &event)
Dialog helper object to sit in the inheritance tree between wxDialog and any class written by wxFormB...
Definition: dialog_shim.h:82
wxFilePickerCtrl * m_filePickerSTEP
#define _(s)
wxStdDialogButtonSizer * m_sdbSizer
wxTextCtrl wrapper to handle math expression evaluation.
DIALOG_EXPORT_STEP_BASE(wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Export STEP"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER)
Class DIALOG_EXPORT_STEP_BASE.