KiCad PCB EDA Suite
dialog_plot_base.h
Go to the documentation of this file.
1 // C++ code generated with wxFormBuilder (version Oct 26 2018)
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/panel.h>
35 #include <wx/menu.h>
36 #include <wx/dialog.h>
37 
39 
44 {
45  private:
46 
47  protected:
48  enum
49  {
50  ID_PRINT_REF = 1000,
58  };
59 
60  wxBoxSizer* m_MainSizer;
61  wxStaticText* m_staticTextPlotFmt;
62  wxChoice* m_plotFormatOpt;
63  wxStaticText* m_staticTextDir;
64  wxTextCtrl* m_outputDirectoryName;
65  wxBitmapButton* m_browseButton;
66  wxStaticBoxSizer* m_LayersSizer;
67  wxCheckListBox* m_layerCheckListBox;
68  wxBoxSizer* m_PlotOptionsSizer;
69  wxCheckBox* m_plotSheetRef;
70  wxCheckBox* m_plotModuleValueOpt;
71  wxCheckBox* m_plotModuleRefOpt;
72  wxCheckBox* m_plotInvisibleText;
73  wxCheckBox* m_excludeEdgeLayerOpt;
75  wxCheckBox* m_plotNoViaOnMaskOpt;
77  wxStaticText* drillMarksLabel;
78  wxChoice* m_drillShapeOpt;
79  wxStaticText* scalingLabel;
80  wxChoice* m_scaleOpt;
81  wxStaticText* plotModeLabel;
82  wxChoice* m_plotModeOpt;
83  wxStaticText* m_lineWidthLabel;
84  wxTextCtrl* m_lineWidthCtrl;
85  wxStaticText* m_lineWidthUnits;
86  wxCheckBox* m_plotMirrorOpt;
87  wxCheckBox* m_plotPSNegativeOpt;
88  wxCheckBox* m_zoneFillCheck;
89  wxStaticBoxSizer* m_GerberOptionsSizer;
90  wxCheckBox* m_useGerberExtensions;
93  wxStaticText* coordFormatLabel;
94  wxChoice* m_coordFormatCtrl;
95  wxCheckBox* m_useGerberX2Format;
97  wxStaticBoxSizer* m_HPGLOptionsSizer;
98  wxStaticText* m_hpglPenLabel;
99  wxTextCtrl* m_hpglPenCtrl;
100  wxStaticText* m_hpglPenUnits;
101  wxStaticBoxSizer* m_PSOptionsSizer;
102  wxStaticText* m_fineAdjustXLabel;
103  wxTextCtrl* m_fineAdjustXCtrl;
104  wxStaticText* m_fineAdjustYLabel;
105  wxTextCtrl* m_fineAdjustYCtrl;
106  wxStaticText* m_widthAdjustLabel;
107  wxTextCtrl* m_widthAdjustCtrl;
108  wxStaticText* m_widthAdjustUnits;
109  wxCheckBox* m_forcePSA4OutputOpt;
110  wxStaticBoxSizer* m_SizerDXF_options;
111  wxCheckBox* m_DXF_plotModeOpt;
113  wxStaticText* DXF_exportUnitsLabel;
114  wxChoice* m_DXF_plotUnits;
116  wxBoxSizer* m_sizerButtons;
117  wxButton* m_buttonDRC;
118  wxStdDialogButtonSizer* m_sdbSizer1;
119  wxButton* m_sdbSizer1OK;
120  wxButton* m_sdbSizer1Apply;
121  wxButton* m_sdbSizer1Cancel;
122  wxMenu* m_popMenu;
123 
124  // Virtual event handlers, overide them in your derived class
125  virtual void OnInitDialog( wxInitDialogEvent& event ) { event.Skip(); }
126  virtual void OnRightClick( wxMouseEvent& event ) { event.Skip(); }
127  virtual void SetPlotFormat( wxCommandEvent& event ) { event.Skip(); }
128  virtual void OnOutputDirectoryBrowseClicked( wxCommandEvent& event ) { event.Skip(); }
129  virtual void OnSetScaleOpt( wxCommandEvent& event ) { event.Skip(); }
130  virtual void OnGerberX2Checked( wxCommandEvent& event ) { event.Skip(); }
131  virtual void OnChangeDXFPlotMode( wxCommandEvent& event ) { event.Skip(); }
132  virtual void onRunDRC( wxCommandEvent& event ) { event.Skip(); }
133  virtual void CreateDrillFile( wxCommandEvent& event ) { event.Skip(); }
134  virtual void Plot( wxCommandEvent& event ) { event.Skip(); }
135  virtual void OnPopUpLayers( wxCommandEvent& event ) { event.Skip(); }
136 
137 
138  public:
139 
140  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 );
142 
143  void DIALOG_PLOT_BASEOnContextMenu( wxMouseEvent &event )
144  {
145  this->PopupMenu( m_popMenu, event.GetPosition() );
146  }
147 
148 };
149 
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)
wxStaticText * m_lineWidthLabel
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)
Class DIALOG_SHIM may sit in the inheritance tree between wxDialog and any class written by wxFormBui...
Definition: dialog_shim.h:83
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
wxCheckBox * m_plotSheetRef
wxStaticText * m_fineAdjustYLabel
wxTextCtrl * m_fineAdjustXCtrl
Class DIALOG_PLOT_BASE.
wxStaticText * m_lineWidthUnits
wxTextCtrl * m_widthAdjustCtrl
wxStaticText * coordFormatLabel
virtual void Plot(wxCommandEvent &event)
wxStaticText * m_hpglPenLabel
wxCheckBox * m_forcePSA4OutputOpt
wxStaticBoxSizer * m_GerberOptionsSizer
wxCheckBox * m_useGerberNetAttributes
wxChoice * m_DXF_plotUnits
wxCheckBox * m_generateGerberJobFile
wxTextCtrl * m_outputDirectoryName
#define _(s)
virtual void OnRightClick(wxMouseEvent &event)
wxCheckBox * m_DXF_plotTextStrokeFontOpt
wxStaticText * m_widthAdjustUnits
wxTextCtrl * m_hpglPenCtrl
wxStaticText * m_staticTextPlotFmt
wxChoice * m_scaleOpt
wxCheckBox * m_plotModuleRefOpt
wxTextCtrl * m_lineWidthCtrl
wxBoxSizer * m_sizerButtons
wxCheckBox * m_subtractMaskFromSilk
virtual void OnInitDialog(wxInitDialogEvent &event)
wxCheckBox * m_plotNoViaOnMaskOpt
wxCheckBox * m_plotModuleValueOpt
wxChoice * m_drillShapeOpt
wxStaticText * drillMarksLabel
wxStaticBoxSizer * m_LayersSizer
wxStaticText * m_staticTextDir
wxCheckBox * m_plotInvisibleText
wxCheckBox * m_useAuxOriginCheckBox
virtual void OnGerberX2Checked(wxCommandEvent &event)
wxChoice * m_plotModeOpt
wxCheckBox * m_excludePadsFromSilkscreen
virtual void onRunDRC(wxCommandEvent &event)
wxButton * m_buttonDRC
wxBitmapButton * m_browseButton
wxBoxSizer * m_MainSizer
wxStaticText * scalingLabel
wxCheckBox * m_useGerberX2Format
wxCheckListBox * m_layerCheckListBox
wxStaticBoxSizer * m_PSOptionsSizer
wxBoxSizer * m_PlotOptionsSizer
Class WX_HTML_REPORT_PANEL.