2018-10-13 18:37:28 +00:00
|
|
|
///////////////////////////////////////////////////////////////////////////
|
2020-04-19 11:41:54 +00:00
|
|
|
// C++ code generated with wxFormBuilder (version Jul 10 2019)
|
2018-10-13 18:37:28 +00:00
|
|
|
// http://www.wxformbuilder.org/
|
|
|
|
//
|
|
|
|
// PLEASE DO *NOT* EDIT THIS FILE!
|
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
|
2020-04-19 11:41:54 +00:00
|
|
|
#pragma once
|
2018-10-13 18:37:28 +00:00
|
|
|
|
|
|
|
#include <wx/artprov.h>
|
|
|
|
#include <wx/xrc/xmlres.h>
|
|
|
|
#include <wx/intl.h>
|
|
|
|
class PCB_LAYER_BOX_SELECTOR;
|
|
|
|
|
|
|
|
#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/textctrl.h>
|
2020-04-19 11:41:54 +00:00
|
|
|
#include <wx/bitmap.h>
|
|
|
|
#include <wx/image.h>
|
|
|
|
#include <wx/icon.h>
|
2018-10-13 18:37:28 +00:00
|
|
|
#include <wx/button.h>
|
|
|
|
#include <wx/sizer.h>
|
2018-11-05 16:04:05 +00:00
|
|
|
#include <wx/radiobut.h>
|
2018-10-13 18:37:28 +00:00
|
|
|
#include <wx/valtext.h>
|
2018-11-05 16:04:05 +00:00
|
|
|
#include <wx/choice.h>
|
2019-06-08 16:34:52 +00:00
|
|
|
#include <wx/statbox.h>
|
2018-10-13 18:37:28 +00:00
|
|
|
#include <wx/bmpcbox.h>
|
|
|
|
#include <wx/dialog.h>
|
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
/// Class DIALOG_IMPORT_GFX_BASE
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
class DIALOG_IMPORT_GFX_BASE : public DIALOG_SHIM
|
|
|
|
{
|
|
|
|
private:
|
2020-04-19 11:41:54 +00:00
|
|
|
|
2018-10-13 18:37:28 +00:00
|
|
|
protected:
|
2018-11-05 16:04:05 +00:00
|
|
|
wxStaticText* m_staticTextFile;
|
2018-10-13 18:37:28 +00:00
|
|
|
wxTextCtrl* m_textCtrlFileName;
|
|
|
|
wxButton* m_buttonBrowse;
|
2018-11-05 16:04:05 +00:00
|
|
|
wxRadioButton* m_rbInteractivePlacement;
|
|
|
|
wxRadioButton* m_rbAbsolutePlacement;
|
|
|
|
wxStaticText* m_staticTextXpos;
|
|
|
|
wxTextCtrl* m_DxfPcbXCoord;
|
|
|
|
wxStaticText* m_staticTextYpos;
|
|
|
|
wxTextCtrl* m_DxfPcbYCoord;
|
|
|
|
wxStaticText* m_staticTextUnits;
|
|
|
|
wxChoice* m_DxfPcbPositionUnits;
|
|
|
|
wxStaticText* m_staticTextLineWidth;
|
|
|
|
wxTextCtrl* m_textCtrlLineWidth;
|
|
|
|
wxChoice* m_choiceUnitLineWidth;
|
2018-10-13 18:37:28 +00:00
|
|
|
wxStaticText* m_staticTextBrdlayer;
|
|
|
|
PCB_LAYER_BOX_SELECTOR* m_SelLayerBox;
|
2018-11-05 16:04:05 +00:00
|
|
|
wxStaticText* m_staticTextscale;
|
|
|
|
wxTextCtrl* m_textCtrlImportScale;
|
2018-11-01 09:47:41 +00:00
|
|
|
wxStdDialogButtonSizer* m_sdbSizer;
|
|
|
|
wxButton* m_sdbSizerOK;
|
|
|
|
wxButton* m_sdbSizerCancel;
|
2020-04-19 11:41:54 +00:00
|
|
|
|
2018-10-13 18:37:28 +00:00
|
|
|
// Virtual event handlers, overide them in your derived class
|
2018-11-05 16:04:05 +00:00
|
|
|
virtual void onBrowseFiles( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
virtual void onInteractivePlacement( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
virtual void originOptionOnUpdateUI( wxUpdateUIEvent& event ) { event.Skip(); }
|
|
|
|
virtual void onAbsolutePlacement( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
virtual void onUnitPositionSelection( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
virtual void onUnitWidthSelection( wxCommandEvent& event ) { event.Skip(); }
|
2020-04-19 11:41:54 +00:00
|
|
|
|
|
|
|
|
2018-10-13 18:37:28 +00:00
|
|
|
public:
|
2020-04-19 11:41:54 +00:00
|
|
|
|
|
|
|
DIALOG_IMPORT_GFX_BASE( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Import Vector Graphics File"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( -1,-1 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );
|
2018-10-13 18:37:28 +00:00
|
|
|
~DIALOG_IMPORT_GFX_BASE();
|
2020-04-19 11:41:54 +00:00
|
|
|
|
2018-10-13 18:37:28 +00:00
|
|
|
};
|
|
|
|
|