2017-11-23 13:05:26 +00:00
|
|
|
///////////////////////////////////////////////////////////////////////////
|
2024-04-17 14:31:07 +00:00
|
|
|
// C++ code generated with wxFormBuilder (version 4.0.0-0-g0efcecf)
|
2017-11-23 13:05:26 +00:00
|
|
|
// http://www.wxformbuilder.org/
|
|
|
|
//
|
2019-01-29 06:15:38 +00:00
|
|
|
// PLEASE DO *NOT* EDIT THIS FILE!
|
2017-11-23 13:05:26 +00:00
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
|
2019-01-29 06:15:38 +00:00
|
|
|
#pragma once
|
2017-11-23 13:05:26 +00:00
|
|
|
|
|
|
|
#include <wx/artprov.h>
|
|
|
|
#include <wx/xrc/xmlres.h>
|
|
|
|
#include <wx/intl.h>
|
2023-10-23 17:01:04 +00:00
|
|
|
class STD_BITMAP_BUTTON;
|
2017-11-23 13:05:26 +00:00
|
|
|
class TEXT_CTRL_EVAL;
|
|
|
|
|
|
|
|
#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>
|
2023-10-23 17:01:04 +00:00
|
|
|
#include <wx/textctrl.h>
|
|
|
|
#include <wx/bmpbuttn.h>
|
|
|
|
#include <wx/bitmap.h>
|
|
|
|
#include <wx/image.h>
|
|
|
|
#include <wx/icon.h>
|
|
|
|
#include <wx/button.h>
|
2017-11-23 13:05:26 +00:00
|
|
|
#include <wx/sizer.h>
|
2021-07-01 12:16:28 +00:00
|
|
|
#include <wx/radiobut.h>
|
|
|
|
#include <wx/statbox.h>
|
2017-11-23 13:05:26 +00:00
|
|
|
#include <wx/choice.h>
|
|
|
|
#include <wx/valtext.h>
|
2018-02-18 00:02:45 +00:00
|
|
|
#include <wx/checkbox.h>
|
2023-08-21 07:36:25 +00:00
|
|
|
#include <wx/statline.h>
|
2017-11-23 13:05:26 +00:00
|
|
|
#include <wx/dialog.h>
|
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
/// Class DIALOG_EXPORT_STEP_BASE
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
class DIALOG_EXPORT_STEP_BASE : public DIALOG_SHIM
|
|
|
|
{
|
|
|
|
private:
|
2019-01-29 06:15:38 +00:00
|
|
|
|
2017-11-23 13:05:26 +00:00
|
|
|
protected:
|
2021-08-20 21:07:00 +00:00
|
|
|
wxBoxSizer* bSizerSTEPFile;
|
|
|
|
wxBoxSizer* bSizerTop;
|
2017-11-23 13:05:26 +00:00
|
|
|
wxStaticText* m_txtBrdFile;
|
2023-10-23 17:01:04 +00:00
|
|
|
wxTextCtrl* m_outputFileName;
|
|
|
|
STD_BITMAP_BUTTON* m_browseButton;
|
2018-02-18 00:02:45 +00:00
|
|
|
wxRadioButton* m_rbDrillAndPlotOrigin;
|
|
|
|
wxRadioButton* m_rbGridOrigin;
|
|
|
|
wxRadioButton* m_rbUserDefinedOrigin;
|
|
|
|
wxRadioButton* m_rbBoardCenterOrigin;
|
2018-10-02 06:34:07 +00:00
|
|
|
wxStaticText* m_staticTextUnits;
|
2017-11-23 13:05:26 +00:00
|
|
|
wxChoice* m_STEP_OrgUnitChoice;
|
2018-10-02 06:34:07 +00:00
|
|
|
wxStaticText* m_staticTextXpos;
|
2017-11-23 13:05:26 +00:00
|
|
|
TEXT_CTRL_EVAL* m_STEP_Xorg;
|
2018-10-02 06:34:07 +00:00
|
|
|
wxStaticText* m_staticTextYpos;
|
2017-11-23 13:05:26 +00:00
|
|
|
TEXT_CTRL_EVAL* m_STEP_Yorg;
|
2023-04-13 14:30:31 +00:00
|
|
|
wxCheckBox* m_cbRemoveDNP;
|
|
|
|
wxCheckBox* m_cbRemoveUnspecified;
|
2021-06-08 22:46:37 +00:00
|
|
|
wxCheckBox* m_cbSubstModels;
|
2018-10-02 06:34:07 +00:00
|
|
|
wxCheckBox* m_cbOverwriteFile;
|
2023-12-05 10:55:26 +00:00
|
|
|
wxStaticLine* m_staticline11_hidden;
|
2023-11-19 12:21:25 +00:00
|
|
|
wxCheckBox* m_cbOptimizeStep;
|
2023-12-05 10:55:26 +00:00
|
|
|
wxCheckBox* m_cbExportCompound_hidden;
|
2023-08-21 07:36:25 +00:00
|
|
|
wxStaticLine* m_staticline1;
|
2024-04-22 00:39:43 +00:00
|
|
|
wxCheckBox* m_cbExportBody;
|
|
|
|
wxCheckBox* m_cbExportComponents;
|
2023-03-02 18:38:19 +00:00
|
|
|
wxCheckBox* m_cbExportTracks;
|
2023-08-21 02:10:43 +00:00
|
|
|
wxCheckBox* m_cbExportZones;
|
2024-04-22 00:39:43 +00:00
|
|
|
wxCheckBox* m_cbExportInnerCopper;
|
2024-04-19 00:42:41 +00:00
|
|
|
wxCheckBox* m_cbFuseShapes;
|
2023-12-05 10:55:26 +00:00
|
|
|
wxCheckBox* m_cbExportSilkscreen_hidden;
|
|
|
|
wxCheckBox* m_cbExportSoldermask_hidden;
|
|
|
|
wxCheckBox* m_cbExportSolderpaste_hidden;
|
2024-04-25 18:10:31 +00:00
|
|
|
wxStaticText* m_staticTextNetFilter;
|
|
|
|
wxTextCtrl* m_txtNetFilter;
|
2018-10-02 06:34:07 +00:00
|
|
|
wxStaticText* m_staticTextTolerance;
|
2023-03-02 18:38:19 +00:00
|
|
|
wxChoice* m_choiceTolerance;
|
2018-05-09 11:24:42 +00:00
|
|
|
wxStdDialogButtonSizer* m_sdbSizer;
|
|
|
|
wxButton* m_sdbSizerOK;
|
|
|
|
wxButton* m_sdbSizerCancel;
|
2019-01-29 06:15:38 +00:00
|
|
|
|
2021-08-20 21:07:00 +00:00
|
|
|
// Virtual event handlers, override them in your derived class
|
2023-10-23 17:01:04 +00:00
|
|
|
virtual void onBrowseClicked( wxCommandEvent& event ) { event.Skip(); }
|
2018-02-18 00:02:45 +00:00
|
|
|
virtual void onUpdateUnits( wxUpdateUIEvent& event ) { event.Skip(); }
|
|
|
|
virtual void onUpdateXPos( wxUpdateUIEvent& event ) { event.Skip(); }
|
|
|
|
virtual void onUpdateYPos( wxUpdateUIEvent& event ) { event.Skip(); }
|
2018-03-19 14:36:21 +00:00
|
|
|
virtual void onExportButton( wxCommandEvent& event ) { event.Skip(); }
|
2019-01-29 06:15:38 +00:00
|
|
|
|
|
|
|
|
2017-11-23 13:05:26 +00:00
|
|
|
public:
|
2019-01-29 06:15:38 +00:00
|
|
|
|
2024-04-17 14:31:07 +00:00
|
|
|
DIALOG_EXPORT_STEP_BASE( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Export STEP / BREP / GLTF"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( -1,-1 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );
|
2022-10-05 18:51:38 +00:00
|
|
|
|
2017-11-23 13:05:26 +00:00
|
|
|
~DIALOG_EXPORT_STEP_BASE();
|
2019-01-29 06:15:38 +00:00
|
|
|
|
2017-11-23 13:05:26 +00:00
|
|
|
};
|
|
|
|
|