2018-10-13 18:37:28 +00:00
|
|
|
///////////////////////////////////////////////////////////////////////////
|
2023-12-13 16:07:09 +00:00
|
|
|
// C++ code generated with wxFormBuilder (version 4.0.0-0-g0efcecf)
|
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;
|
2022-12-13 20:47:28 +00:00
|
|
|
class STD_BITMAP_BUTTON;
|
2018-10-13 18:37:28 +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/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>
|
2023-10-18 13:20:34 +00:00
|
|
|
#include <wx/choice.h>
|
2020-08-20 00:22:48 +00:00
|
|
|
#include <wx/statline.h>
|
|
|
|
#include <wx/checkbox.h>
|
2023-10-18 13:20:34 +00:00
|
|
|
#include <wx/valtext.h>
|
|
|
|
#include <wx/bmpcbox.h>
|
|
|
|
#include <wx/gbsizer.h>
|
2018-10-13 18:37:28 +00:00
|
|
|
#include <wx/dialog.h>
|
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
2023-10-18 13:20:34 +00:00
|
|
|
/// Class DIALOG_IMPORT_GRAPHICS_BASE
|
2018-10-13 18:37:28 +00:00
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
2023-10-18 13:20:34 +00:00
|
|
|
class DIALOG_IMPORT_GRAPHICS_BASE : public DIALOG_SHIM
|
2018-10-13 18:37:28 +00:00
|
|
|
{
|
|
|
|
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;
|
2022-12-13 20:47:28 +00:00
|
|
|
STD_BITMAP_BUTTON* m_browseButton;
|
2023-10-18 13:20:34 +00:00
|
|
|
wxStaticText* m_importScaleLabel;
|
|
|
|
wxTextCtrl* m_importScaleCtrl;
|
|
|
|
wxStaticText* m_lineWidthLabel;
|
|
|
|
wxTextCtrl* m_lineWidthCtrl;
|
|
|
|
wxStaticText* m_lineWidthUnits;
|
|
|
|
wxStaticText* m_dxfUnitsLabel;
|
|
|
|
wxChoice* m_dxfUnitsChoice;
|
|
|
|
wxStaticLine* m_staticline2;
|
|
|
|
wxCheckBox* m_placeAtCheckbox;
|
2023-11-16 10:00:25 +00:00
|
|
|
wxStaticText* m_xLabel;
|
2022-09-12 23:58:55 +00:00
|
|
|
wxTextCtrl* m_xCtrl;
|
|
|
|
wxStaticText* m_yLabel;
|
|
|
|
wxTextCtrl* m_yCtrl;
|
|
|
|
wxStaticText* m_yUnits;
|
2023-10-18 13:20:34 +00:00
|
|
|
wxCheckBox* m_setLayerCheckbox;
|
2018-10-13 18:37:28 +00:00
|
|
|
PCB_LAYER_BOX_SELECTOR* m_SelLayerBox;
|
2023-11-15 19:22:43 +00:00
|
|
|
wxCheckBox* m_cbGroupItems;
|
|
|
|
wxStaticLine* m_staticline3;
|
2023-10-17 07:27:59 +00:00
|
|
|
wxCheckBox* m_rbFixDiscontinuities;
|
|
|
|
wxStaticText* m_toleranceLabel;
|
|
|
|
wxTextCtrl* m_toleranceCtrl;
|
|
|
|
wxStaticText* m_toleranceUnits;
|
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
|
2023-10-18 13:20:34 +00:00
|
|
|
virtual void onUpdateUI( wxUpdateUIEvent& event ) { event.Skip(); }
|
2018-11-05 16:04:05 +00:00
|
|
|
virtual void onBrowseFiles( 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
|
|
|
|
2023-10-18 13:20:34 +00:00
|
|
|
DIALOG_IMPORT_GRAPHICS_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
|
|
|
|
2023-10-18 13:20:34 +00:00
|
|
|
~DIALOG_IMPORT_GRAPHICS_BASE();
|
2020-04-19 11:41:54 +00:00
|
|
|
|
2018-10-13 18:37:28 +00:00
|
|
|
};
|
|
|
|
|