2018-02-28 09:44:22 +00:00
|
|
|
///////////////////////////////////////////////////////////////////////////
|
2024-12-30 23:51:42 -05:00
|
|
|
// C++ code generated with wxFormBuilder (version 4.2.1-0-g80c4cb6)
|
2018-02-28 09:44:22 +00:00
|
|
|
// http://www.wxformbuilder.org/
|
|
|
|
//
|
|
|
|
// PLEASE DO *NOT* EDIT THIS FILE!
|
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
|
2018-12-08 17:46:41 +01:00
|
|
|
#pragma once
|
2018-02-28 09:44:22 +00:00
|
|
|
|
|
|
|
#include <wx/artprov.h>
|
|
|
|
#include <wx/xrc/xmlres.h>
|
|
|
|
#include <wx/intl.h>
|
2022-12-13 20:47:28 +00:00
|
|
|
class STD_BITMAP_BUTTON;
|
2018-02-28 09:44:22 +00:00
|
|
|
class WX_HTML_REPORT_PANEL;
|
|
|
|
|
|
|
|
#include "dialog_shim.h"
|
|
|
|
#include <wx/string.h>
|
|
|
|
#include <wx/stattext.h>
|
2022-01-28 18:06:47 +01:00
|
|
|
#include <wx/gdicmn.h>
|
2018-02-28 09:44:22 +00:00
|
|
|
#include <wx/font.h>
|
|
|
|
#include <wx/colour.h>
|
|
|
|
#include <wx/settings.h>
|
|
|
|
#include <wx/choice.h>
|
|
|
|
#include <wx/textctrl.h>
|
2018-10-29 17:33:59 +01:00
|
|
|
#include <wx/bmpbuttn.h>
|
2018-02-28 09:44:22 +00:00
|
|
|
#include <wx/bitmap.h>
|
|
|
|
#include <wx/image.h>
|
|
|
|
#include <wx/icon.h>
|
|
|
|
#include <wx/button.h>
|
2018-06-13 13:20:29 +01:00
|
|
|
#include <wx/sizer.h>
|
2018-02-28 09:44:22 +00:00
|
|
|
#include <wx/checklst.h>
|
|
|
|
#include <wx/statbox.h>
|
|
|
|
#include <wx/checkbox.h>
|
2024-08-18 09:57:55 -06:00
|
|
|
#include <wx/radiobut.h>
|
2018-06-13 13:20:29 +01:00
|
|
|
#include <wx/gbsizer.h>
|
2020-06-05 16:06:03 +02:00
|
|
|
#include <wx/statbmp.h>
|
2020-09-20 21:17:33 +01:00
|
|
|
#include <wx/hyperlink.h>
|
2020-04-20 22:02:03 +00:00
|
|
|
#include <wx/spinctrl.h>
|
2018-02-28 09:44:22 +00:00
|
|
|
#include <wx/panel.h>
|
|
|
|
#include <wx/dialog.h>
|
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
|
2024-08-18 09:57:55 -06:00
|
|
|
#define ID_ALLOW_PRINT_PAD_ON_SILKSCREEN 1000
|
|
|
|
#define ID_MIROR_OPT 1001
|
|
|
|
|
2018-02-28 09:44:22 +00:00
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
/// Class DIALOG_PLOT_BASE
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
class DIALOG_PLOT_BASE : public DIALOG_SHIM
|
|
|
|
{
|
|
|
|
private:
|
2018-12-08 17:46:41 +01:00
|
|
|
|
2018-02-28 09:44:22 +00:00
|
|
|
protected:
|
|
|
|
wxBoxSizer* m_MainSizer;
|
|
|
|
wxStaticText* m_staticTextPlotFmt;
|
|
|
|
wxChoice* m_plotFormatOpt;
|
|
|
|
wxStaticText* m_staticTextDir;
|
|
|
|
wxTextCtrl* m_outputDirectoryName;
|
2022-12-13 20:47:28 +00:00
|
|
|
STD_BITMAP_BUTTON* m_browseButton;
|
2024-10-27 23:33:24 +00:00
|
|
|
STD_BITMAP_BUTTON* m_openDirButton;
|
2022-04-02 09:36:20 -04:00
|
|
|
wxBoxSizer* bmiddleSizer;
|
2018-02-28 09:44:22 +00:00
|
|
|
wxStaticBoxSizer* m_LayersSizer;
|
|
|
|
wxCheckListBox* m_layerCheckListBox;
|
|
|
|
wxBoxSizer* m_PlotOptionsSizer;
|
|
|
|
wxCheckBox* m_plotSheetRef;
|
2024-08-18 09:57:55 -06:00
|
|
|
wxCheckBox* m_plotDNP;
|
|
|
|
wxRadioButton* m_hideDNP;
|
|
|
|
wxRadioButton* m_crossoutDNP;
|
2018-02-28 09:44:22 +00:00
|
|
|
wxCheckBox* m_plotInvisibleText;
|
2020-05-01 17:24:01 +01:00
|
|
|
wxCheckBox* m_sketchPadsOnFabLayers;
|
2024-05-27 23:02:12 +01:00
|
|
|
wxCheckBox* m_plotPadNumbers;
|
2023-08-15 16:56:46 +01:00
|
|
|
wxCheckBox* m_zoneFillCheck;
|
2018-06-13 13:20:29 +01:00
|
|
|
wxStaticText* drillMarksLabel;
|
2018-02-28 09:44:22 +00:00
|
|
|
wxChoice* m_drillShapeOpt;
|
2018-06-13 13:20:29 +01:00
|
|
|
wxStaticText* scalingLabel;
|
2018-02-28 09:44:22 +00:00
|
|
|
wxChoice* m_scaleOpt;
|
2018-06-13 13:20:29 +01:00
|
|
|
wxStaticText* plotModeLabel;
|
2018-02-28 09:44:22 +00:00
|
|
|
wxChoice* m_plotModeOpt;
|
2023-08-15 16:56:46 +01:00
|
|
|
wxCheckBox* m_useAuxOriginCheckBox;
|
2018-06-13 13:20:29 +01:00
|
|
|
wxCheckBox* m_plotMirrorOpt;
|
|
|
|
wxCheckBox* m_plotPSNegativeOpt;
|
2020-06-05 16:06:03 +02:00
|
|
|
wxBoxSizer* m_SizerSolderMaskAlert;
|
|
|
|
wxStaticBitmap* m_bitmapAlert;
|
|
|
|
wxStaticText* m_staticTextAlert;
|
2020-09-20 21:17:33 +01:00
|
|
|
wxStaticText* m_staticTextAlert1;
|
|
|
|
wxHyperlinkCtrl* m_boardSetup;
|
2018-02-28 09:44:22 +00:00
|
|
|
wxStaticBoxSizer* m_GerberOptionsSizer;
|
|
|
|
wxCheckBox* m_useGerberExtensions;
|
|
|
|
wxCheckBox* m_generateGerberJobFile;
|
|
|
|
wxCheckBox* m_subtractMaskFromSilk;
|
2018-06-13 13:20:29 +01:00
|
|
|
wxStaticText* coordFormatLabel;
|
|
|
|
wxChoice* m_coordFormatCtrl;
|
2018-12-08 17:46:41 +01:00
|
|
|
wxCheckBox* m_useGerberX2Format;
|
2018-06-13 13:20:29 +01:00
|
|
|
wxCheckBox* m_useGerberNetAttributes;
|
2020-10-10 14:39:54 +02:00
|
|
|
wxCheckBox* m_disableApertMacros;
|
2018-02-28 09:44:22 +00:00
|
|
|
wxStaticBoxSizer* m_HPGLOptionsSizer;
|
2018-06-13 13:20:29 +01:00
|
|
|
wxStaticText* m_hpglPenLabel;
|
|
|
|
wxTextCtrl* m_hpglPenCtrl;
|
|
|
|
wxStaticText* m_hpglPenUnits;
|
2018-02-28 09:44:22 +00:00
|
|
|
wxStaticBoxSizer* m_PSOptionsSizer;
|
2018-06-13 13:20:29 +01:00
|
|
|
wxStaticText* m_fineAdjustXLabel;
|
|
|
|
wxTextCtrl* m_fineAdjustXCtrl;
|
|
|
|
wxStaticText* m_fineAdjustYLabel;
|
|
|
|
wxTextCtrl* m_fineAdjustYCtrl;
|
|
|
|
wxStaticText* m_widthAdjustLabel;
|
|
|
|
wxTextCtrl* m_widthAdjustCtrl;
|
|
|
|
wxStaticText* m_widthAdjustUnits;
|
2018-02-28 09:44:22 +00:00
|
|
|
wxCheckBox* m_forcePSA4OutputOpt;
|
|
|
|
wxStaticBoxSizer* m_SizerDXF_options;
|
|
|
|
wxCheckBox* m_DXF_plotModeOpt;
|
2019-06-13 01:17:47 +01:00
|
|
|
wxStaticText* DXF_exportUnitsLabel;
|
|
|
|
wxChoice* m_DXF_plotUnits;
|
2023-04-30 18:09:40 +01:00
|
|
|
wxCheckBox* m_DXF_plotTextStrokeFontOpt;
|
2020-04-20 22:02:03 +00:00
|
|
|
wxStaticBoxSizer* m_svgOptionsSizer;
|
|
|
|
wxStaticText* svgPrecisionLabel;
|
|
|
|
wxSpinCtrl* m_svgPrecsision;
|
2023-01-11 12:29:16 -08:00
|
|
|
wxStaticText* m_staticText18;
|
2023-04-30 18:09:40 +01:00
|
|
|
wxChoice* m_SVGColorChoice;
|
2022-10-25 19:06:05 -04:00
|
|
|
wxStaticBoxSizer* m_PDFOptionsSizer;
|
2023-01-11 12:29:16 -08:00
|
|
|
wxStaticText* m_staticText19;
|
2023-04-30 18:09:40 +01:00
|
|
|
wxChoice* m_PDFColorChoice;
|
|
|
|
wxCheckBox* m_frontFPPropertyPopups;
|
|
|
|
wxCheckBox* m_backFPPropertyPopups;
|
2024-03-13 23:40:18 +00:00
|
|
|
wxCheckBox* m_pdfMetadata;
|
2024-12-30 23:51:42 -05:00
|
|
|
wxCheckBox* m_pdfSingle;
|
2018-02-28 09:44:22 +00:00
|
|
|
WX_HTML_REPORT_PANEL* m_messagesPanel;
|
|
|
|
wxBoxSizer* m_sizerButtons;
|
|
|
|
wxButton* m_buttonDRC;
|
2020-03-06 12:04:47 +00:00
|
|
|
wxStaticText* m_DRCExclusionsWarning;
|
2018-02-28 09:44:22 +00:00
|
|
|
wxStdDialogButtonSizer* m_sdbSizer1;
|
|
|
|
wxButton* m_sdbSizer1OK;
|
|
|
|
wxButton* m_sdbSizer1Apply;
|
|
|
|
wxButton* m_sdbSizer1Cancel;
|
2018-12-08 17:46:41 +01:00
|
|
|
|
2022-09-03 19:29:02 +01:00
|
|
|
// Virtual event handlers, override them in your derived class
|
2018-02-28 09:44:22 +00:00
|
|
|
virtual void OnInitDialog( wxInitDialogEvent& event ) { event.Skip(); }
|
|
|
|
virtual void SetPlotFormat( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
virtual void OnOutputDirectoryBrowseClicked( wxCommandEvent& event ) { event.Skip(); }
|
2024-10-28 15:23:40 +09:00
|
|
|
virtual void onOpenOutputDirectory( wxCommandEvent& event ) { event.Skip(); }
|
2024-08-18 09:57:55 -06:00
|
|
|
virtual void onDNPCheckbox( wxCommandEvent& event ) { event.Skip(); }
|
2024-05-27 23:02:12 +01:00
|
|
|
virtual void onSketchPads( wxCommandEvent& event ) { event.Skip(); }
|
2018-02-28 09:44:22 +00:00
|
|
|
virtual void OnSetScaleOpt( wxCommandEvent& event ) { event.Skip(); }
|
2020-09-20 21:17:33 +01:00
|
|
|
virtual void onBoardSetup( wxHyperlinkEvent& event ) { event.Skip(); }
|
2018-02-28 09:44:22 +00:00
|
|
|
virtual void OnGerberX2Checked( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
virtual void OnChangeDXFPlotMode( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
virtual void onRunDRC( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
virtual void CreateDrillFile( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
virtual void Plot( wxCommandEvent& event ) { event.Skip(); }
|
2018-12-08 17:46:41 +01:00
|
|
|
|
|
|
|
|
2018-02-28 09:44:22 +00:00
|
|
|
public:
|
2018-12-08 17:46:41 +01:00
|
|
|
|
2020-10-22 21:59:37 -04:00
|
|
|
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 );
|
2022-09-03 19:29:02 +01:00
|
|
|
|
2018-02-28 09:44:22 +00:00
|
|
|
~DIALOG_PLOT_BASE();
|
2018-12-08 17:46:41 +01:00
|
|
|
|
2018-02-28 09:44:22 +00:00
|
|
|
};
|
|
|
|
|