2018-10-13 18:37:28 +00:00
|
|
|
///////////////////////////////////////////////////////////////////////////
|
2022-09-12 23:58:55 +00:00
|
|
|
// C++ code generated with wxFormBuilder (version 3.10.1-0-g8feb16b)
|
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-11-23 11:44:46 +00:00
|
|
|
#include <wx/bmpbuttn.h>
|
2020-04-19 11:41:54 +00:00
|
|
|
#include <wx/bitmap.h>
|
|
|
|
#include <wx/image.h>
|
|
|
|
#include <wx/icon.h>
|
2020-11-22 03:11:24 +00:00
|
|
|
#include <wx/button.h>
|
2018-10-13 18:37:28 +00:00
|
|
|
#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>
|
2019-06-08 16:34:52 +00:00
|
|
|
#include <wx/statbox.h>
|
2018-10-13 18:37:28 +00:00
|
|
|
#include <wx/bmpcbox.h>
|
2020-08-20 00:22:48 +00:00
|
|
|
#include <wx/statline.h>
|
|
|
|
#include <wx/checkbox.h>
|
2022-09-12 23:58:55 +00:00
|
|
|
#include <wx/choice.h>
|
2018-10-13 18:37:28 +00:00
|
|
|
#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;
|
2020-11-23 11:44:46 +00:00
|
|
|
wxBitmapButton* m_browseButton;
|
2018-11-05 16:04:05 +00:00
|
|
|
wxRadioButton* m_rbInteractivePlacement;
|
|
|
|
wxRadioButton* m_rbAbsolutePlacement;
|
2022-09-12 23:58:55 +00:00
|
|
|
wxStaticText* m_xLabel;
|
|
|
|
wxTextCtrl* m_xCtrl;
|
|
|
|
wxStaticText* m_xUnits;
|
|
|
|
wxStaticText* m_yLabel;
|
|
|
|
wxTextCtrl* m_yCtrl;
|
|
|
|
wxStaticText* m_yUnits;
|
2018-10-13 18:37:28 +00:00
|
|
|
wxStaticText* m_staticTextBrdlayer;
|
|
|
|
PCB_LAYER_BOX_SELECTOR* m_SelLayerBox;
|
2022-09-12 23:58:55 +00:00
|
|
|
wxStaticText* m_importScaleLabel;
|
|
|
|
wxTextCtrl* m_importScaleCtrl;
|
2020-08-20 00:22:48 +00:00
|
|
|
wxStaticLine* m_staticline1;
|
|
|
|
wxCheckBox* m_groupItems;
|
2022-09-12 23:58:55 +00:00
|
|
|
wxStaticText* m_lineWidthLabel;
|
|
|
|
wxTextCtrl* m_lineWidthCtrl;
|
|
|
|
wxStaticText* m_lineWidthUnits;
|
2020-11-22 03:11:24 +00:00
|
|
|
wxStaticText* m_staticTextLineWidth1;
|
|
|
|
wxChoice* m_choiceDxfUnits;
|
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
|
|
|
|
2022-09-12 23:58:55 +00:00
|
|
|
// Virtual event handlers, override 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(); }
|
2020-08-20 00:22:48 +00:00
|
|
|
virtual void onGroupItems( 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
|
|
|
|
2020-11-11 15:58:12 +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 );
|
2022-09-12 23:58:55 +00:00
|
|
|
|
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
|
|
|
};
|
|
|
|
|