KiCad PCB EDA Suite
dialog_plot_base.h
Go to the documentation of this file.
1 // C++ code generated with wxFormBuilder (version 3.9.0 Jun 18 2020)
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>
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/choice.h>
23 #include <wx/textctrl.h>
24 #include <wx/bmpbuttn.h>
25 #include <wx/bitmap.h>
26 #include <wx/image.h>
27 #include <wx/icon.h>
28 #include <wx/button.h>
29 #include <wx/sizer.h>
30 #include <wx/checklst.h>
31 #include <wx/statbox.h>
32 #include <wx/checkbox.h>
33 #include <wx/gbsizer.h>
34 #include <wx/statbmp.h>
35 #include <wx/hyperlink.h>
36 #include <wx/spinctrl.h>
37 #include <wx/panel.h>
38 #include <wx/menu.h>
39 #include <wx/dialog.h>
40 
42 
47 {
48  private:
49 
50  protected:
51  enum
52  {
53  ID_PRINT_REF = 1000,
61  };
62 
63  wxBoxSizer* m_MainSizer;
64  wxStaticText* m_staticTextPlotFmt;
65  wxChoice* m_plotFormatOpt;
66  wxStaticText* m_staticTextDir;
67  wxTextCtrl* m_outputDirectoryName;
68  wxBitmapButton* m_browseButton;
69  wxStaticBoxSizer* m_LayersSizer;
70  wxCheckListBox* m_layerCheckListBox;
71  wxBoxSizer* m_PlotOptionsSizer;
72  wxCheckBox* m_plotSheetRef;
73  wxCheckBox* m_plotModuleValueOpt;
74  wxCheckBox* m_plotModuleRefOpt;
75  wxCheckBox* m_plotInvisibleText;
76  wxCheckBox* m_excludeEdgeLayerOpt;
78  wxCheckBox* m_plotNoViaOnMaskOpt;
80  wxStaticText* drillMarksLabel;
81  wxChoice* m_drillShapeOpt;
82  wxStaticText* scalingLabel;
83  wxChoice* m_scaleOpt;
84  wxStaticText* plotModeLabel;
85  wxChoice* m_plotModeOpt;
86  wxCheckBox* m_plotMirrorOpt;
87  wxCheckBox* m_plotPSNegativeOpt;
88  wxCheckBox* m_zoneFillCheck;
90  wxStaticBitmap* m_bitmapAlert;
91  wxStaticText* m_staticTextAlert;
92  wxStaticText* m_staticTextAlert1;
93  wxHyperlinkCtrl* m_boardSetup;
94  wxStaticBoxSizer* m_GerberOptionsSizer;
95  wxCheckBox* m_useGerberExtensions;
98  wxStaticText* coordFormatLabel;
99  wxChoice* m_coordFormatCtrl;
100  wxCheckBox* m_useGerberX2Format;
102  wxCheckBox* m_disableApertMacros;
103  wxStaticBoxSizer* m_HPGLOptionsSizer;
104  wxStaticText* m_hpglPenLabel;
105  wxTextCtrl* m_hpglPenCtrl;
106  wxStaticText* m_hpglPenUnits;
107  wxStaticBoxSizer* m_PSOptionsSizer;
108  wxStaticText* m_fineAdjustXLabel;
109  wxTextCtrl* m_fineAdjustXCtrl;
110  wxStaticText* m_fineAdjustYLabel;
111  wxTextCtrl* m_fineAdjustYCtrl;
112  wxStaticText* m_widthAdjustLabel;
113  wxTextCtrl* m_widthAdjustCtrl;
114  wxStaticText* m_widthAdjustUnits;
115  wxCheckBox* m_forcePSA4OutputOpt;
116  wxStaticBoxSizer* m_SizerDXF_options;
117  wxCheckBox* m_DXF_plotModeOpt;
119  wxStaticText* DXF_exportUnitsLabel;
120  wxChoice* m_DXF_plotUnits;
121  wxStaticBoxSizer* m_svgOptionsSizer;
122  wxStaticText* svgUnitLabel;
123  wxChoice* m_svgUnits;
124  wxStaticText* svgPrecisionLabel;
125  wxSpinCtrl* m_svgPrecsision;
127  wxBoxSizer* m_sizerButtons;
128  wxButton* m_buttonDRC;
129  wxStaticText* m_DRCExclusionsWarning;
130  wxStdDialogButtonSizer* m_sdbSizer1;
131  wxButton* m_sdbSizer1OK;
132  wxButton* m_sdbSizer1Apply;
133  wxButton* m_sdbSizer1Cancel;
134  wxMenu* m_popMenu;
135 
136  // Virtual event handlers, overide them in your derived class
137  virtual void OnInitDialog( wxInitDialogEvent& event ) { event.Skip(); }
138  virtual void OnRightClick( wxMouseEvent& event ) { event.Skip(); }
139  virtual void SetPlotFormat( wxCommandEvent& event ) { event.Skip(); }
140  virtual void OnOutputDirectoryBrowseClicked( wxCommandEvent& event ) { event.Skip(); }
141  virtual void OnSetScaleOpt( wxCommandEvent& event ) { event.Skip(); }
142  virtual void onBoardSetup( wxHyperlinkEvent& event ) { event.Skip(); }
143  virtual void OnGerberX2Checked( wxCommandEvent& event ) { event.Skip(); }
144  virtual void OnChangeDXFPlotMode( wxCommandEvent& event ) { event.Skip(); }
145  virtual void onRunDRC( wxCommandEvent& event ) { event.Skip(); }
146  virtual void CreateDrillFile( wxCommandEvent& event ) { event.Skip(); }
147  virtual void Plot( wxCommandEvent& event ) { event.Skip(); }
148  virtual void OnPopUpLayers( wxCommandEvent& event ) { event.Skip(); }
149 
150 
151  public:
152 
153  DIALOG_PLOT_BASE( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Plot"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( -1,-1 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );
155 
156  void DIALOG_PLOT_BASEOnContextMenu( wxMouseEvent &event )
157  {
158  this->PopupMenu( m_popMenu, event.GetPosition() );
159  }
160 
161 };
162 
virtual void OnPopUpLayers(wxCommandEvent &event)
WX_HTML_REPORT_PANEL * m_messagesPanel
wxStaticBoxSizer * m_HPGLOptionsSizer
virtual void SetPlotFormat(wxCommandEvent &event)
wxStaticText * m_widthAdjustLabel
wxCheckBox * m_useGerberExtensions
DIALOG_PLOT_BASE(wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Plot"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER)
wxButton * m_sdbSizer1Cancel
virtual void OnSetScaleOpt(wxCommandEvent &event)
virtual void CreateDrillFile(wxCommandEvent &event)
virtual void onBoardSetup(wxHyperlinkEvent &event)
wxStaticText * plotModeLabel
wxCheckBox * m_plotPSNegativeOpt
wxStdDialogButtonSizer * m_sdbSizer1
wxStaticText * m_hpglPenUnits
wxCheckBox * m_excludeEdgeLayerOpt
wxButton * m_sdbSizer1OK
wxStaticText * DXF_exportUnitsLabel
wxCheckBox * m_plotMirrorOpt
virtual void OnOutputDirectoryBrowseClicked(wxCommandEvent &event)
Dialog helper object to sit in the inheritance tree between wxDialog and any class written by wxFormB...
Definition: dialog_shim.h:83
wxStaticBitmap * m_bitmapAlert
void DIALOG_PLOT_BASEOnContextMenu(wxMouseEvent &event)
wxCheckBox * m_zoneFillCheck
wxChoice * m_plotFormatOpt
virtual void OnChangeDXFPlotMode(wxCommandEvent &event)
wxChoice * m_coordFormatCtrl
wxStaticBoxSizer * m_SizerDXF_options
wxButton * m_sdbSizer1Apply
wxTextCtrl * m_fineAdjustYCtrl
wxCheckBox * m_DXF_plotModeOpt
wxStaticText * m_fineAdjustXLabel
wxBoxSizer * m_SizerSolderMaskAlert
wxHyperlinkCtrl * m_boardSetup
wxCheckBox * m_plotSheetRef
wxStaticText * m_fineAdjustYLabel
wxTextCtrl * m_fineAdjustXCtrl
Class DIALOG_PLOT_BASE.
wxSpinCtrl * m_svgPrecsision
wxStaticText * svgPrecisionLabel
wxTextCtrl * m_widthAdjustCtrl
wxStaticText * coordFormatLabel
virtual void Plot(wxCommandEvent &event)
wxStaticText * m_hpglPenLabel
wxCheckBox * m_forcePSA4OutputOpt
wxStaticBoxSizer * m_GerberOptionsSizer
wxCheckBox * m_useGerberNetAttributes
wxCheckBox * m_disableApertMacros
wxChoice * m_DXF_plotUnits
wxStaticText * m_staticTextAlert
wxCheckBox * m_generateGerberJobFile
wxTextCtrl * m_outputDirectoryName
virtual void OnRightClick(wxMouseEvent &event)
wxCheckBox * m_DXF_plotTextStrokeFontOpt
wxStaticText * m_widthAdjustUnits
wxTextCtrl * m_hpglPenCtrl
wxStaticText * m_staticTextPlotFmt
wxChoice * m_scaleOpt
wxCheckBox * m_plotModuleRefOpt
wxBoxSizer * m_sizerButtons
wxCheckBox * m_subtractMaskFromSilk
virtual void OnInitDialog(wxInitDialogEvent &event)
wxCheckBox * m_plotNoViaOnMaskOpt
wxCheckBox * m_plotModuleValueOpt
wxChoice * m_drillShapeOpt
wxStaticText * drillMarksLabel
#define _(s)
Definition: 3d_actions.cpp:33
wxStaticBoxSizer * m_LayersSizer
wxStaticText * m_staticTextDir
wxCheckBox * m_plotInvisibleText
wxCheckBox * m_sketchPadsOnFabLayers
wxCheckBox * m_useAuxOriginCheckBox
virtual void OnGerberX2Checked(wxCommandEvent &event)
wxChoice * m_plotModeOpt
virtual void onRunDRC(wxCommandEvent &event)
wxButton * m_buttonDRC
wxBitmapButton * m_browseButton
wxBoxSizer * m_MainSizer
wxStaticText * scalingLabel
wxStaticText * m_staticTextAlert1
wxCheckBox * m_useGerberX2Format
wxStaticBoxSizer * m_svgOptionsSizer
wxCheckListBox * m_layerCheckListBox
wxStaticBoxSizer * m_PSOptionsSizer
wxBoxSizer * m_PlotOptionsSizer
wxStaticText * svgUnitLabel
wxStaticText * m_DRCExclusionsWarning
WX_HTML_REPORT_PANEL.