2017-11-23 13:05:26 +00:00
|
|
|
///////////////////////////////////////////////////////////////////////////
|
2018-03-19 14:36:21 +00:00
|
|
|
// C++ code generated with wxFormBuilder (version Oct 17 2016)
|
2017-11-23 13:05:26 +00:00
|
|
|
// http://www.wxformbuilder.org/
|
|
|
|
//
|
2018-03-19 14:36:21 +00:00
|
|
|
// PLEASE DO "NOT" EDIT THIS FILE!
|
2017-11-23 13:05:26 +00:00
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#ifndef __DIALOG_EXPORT_STEP_BASE_H__
|
|
|
|
#define __DIALOG_EXPORT_STEP_BASE_H__
|
|
|
|
|
|
|
|
#include <wx/artprov.h>
|
|
|
|
#include <wx/xrc/xmlres.h>
|
|
|
|
#include <wx/intl.h>
|
2018-03-19 14:36:21 +00:00
|
|
|
class DIALOG_SHIM;
|
2017-11-23 13:05:26 +00:00
|
|
|
class TEXT_CTRL_EVAL;
|
2018-03-19 14:36:21 +00:00
|
|
|
class WX_HTML_REPORT_PANEL;
|
2017-11-23 13:05:26 +00:00
|
|
|
|
|
|
|
#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>
|
|
|
|
#include <wx/filepicker.h>
|
|
|
|
#include <wx/statline.h>
|
2018-02-18 00:02:45 +00:00
|
|
|
#include <wx/radiobut.h>
|
2017-11-23 13:05:26 +00:00
|
|
|
#include <wx/sizer.h>
|
|
|
|
#include <wx/choice.h>
|
|
|
|
#include <wx/textctrl.h>
|
|
|
|
#include <wx/valtext.h>
|
2018-02-18 00:02:45 +00:00
|
|
|
#include <wx/checkbox.h>
|
2018-03-19 14:36:21 +00:00
|
|
|
#include <wx/panel.h>
|
2017-11-23 13:05:26 +00:00
|
|
|
#include <wx/button.h>
|
|
|
|
#include <wx/dialog.h>
|
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
/// Class DIALOG_EXPORT_STEP_BASE
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
class DIALOG_EXPORT_STEP_BASE : public DIALOG_SHIM
|
|
|
|
{
|
|
|
|
private:
|
|
|
|
|
|
|
|
protected:
|
|
|
|
wxStaticText* m_txtBrdFile;
|
|
|
|
wxFilePickerCtrl* m_filePickerSTEP;
|
|
|
|
wxStaticLine* m_staticline2;
|
|
|
|
wxStaticText* m_staticText6;
|
2018-02-18 00:02:45 +00:00
|
|
|
wxRadioButton* m_rbDrillAndPlotOrigin;
|
|
|
|
wxRadioButton* m_rbGridOrigin;
|
|
|
|
wxRadioButton* m_rbUserDefinedOrigin;
|
|
|
|
wxRadioButton* m_rbBoardCenterOrigin;
|
2017-11-23 13:05:26 +00:00
|
|
|
wxStaticText* m_staticText2;
|
|
|
|
wxStaticText* m_staticText5;
|
|
|
|
wxChoice* m_STEP_OrgUnitChoice;
|
|
|
|
wxStaticText* m_staticText3;
|
|
|
|
TEXT_CTRL_EVAL* m_STEP_Xorg;
|
|
|
|
wxStaticText* m_staticText4;
|
|
|
|
TEXT_CTRL_EVAL* m_STEP_Yorg;
|
|
|
|
wxStaticText* m_staticText7;
|
|
|
|
wxCheckBox* m_cbRemoveVirtual;
|
2018-03-19 14:36:21 +00:00
|
|
|
WX_HTML_REPORT_PANEL* m_messagesPanel;
|
2017-11-23 13:05:26 +00:00
|
|
|
wxStaticLine* m_staticline1;
|
2018-03-19 14:36:21 +00:00
|
|
|
wxButton* m_btnClose;
|
|
|
|
wxButton* m_btnExport;
|
2017-11-23 13:05:26 +00:00
|
|
|
|
|
|
|
// Virtual event handlers, overide them in your derived class
|
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(); }
|
2017-11-23 13:05:26 +00:00
|
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
|
|
|
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 );
|
|
|
|
~DIALOG_EXPORT_STEP_BASE();
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif //__DIALOG_EXPORT_STEP_BASE_H__
|