KiCad PCB EDA Suite
dialog_import_gfx_base.h
Go to the documentation of this file.
1 // C++ code generated with wxFormBuilder (version Dec 30 2017)
3 // http://www.wxformbuilder.org/
4 //
5 // PLEASE DO *NOT* EDIT THIS FILE!
7 
8 #ifndef __DIALOG_IMPORT_GFX_BASE_H__
9 #define __DIALOG_IMPORT_GFX_BASE_H__
10 
11 #include <wx/artprov.h>
12 #include <wx/xrc/xmlres.h>
13 #include <wx/intl.h>
15 
16 #include "dialog_shim.h"
17 #include <wx/string.h>
18 #include <wx/stattext.h>
19 #include <wx/gdicmn.h>
20 #include <wx/font.h>
21 #include <wx/colour.h>
22 #include <wx/settings.h>
23 #include <wx/textctrl.h>
24 #include <wx/button.h>
25 #include <wx/sizer.h>
26 #include <wx/radiobut.h>
27 #include <wx/valtext.h>
28 #include <wx/choice.h>
29 #include <wx/statbox.h>
30 #include <wx/bmpcbox.h>
31 #include <wx/dialog.h>
32 
34 
35 
40 {
41  private:
42 
43  protected:
44  wxStaticText* m_staticTextFile;
45  wxTextCtrl* m_textCtrlFileName;
46  wxButton* m_buttonBrowse;
47  wxRadioButton* m_rbInteractivePlacement;
48  wxRadioButton* m_rbAbsolutePlacement;
49  wxStaticText* m_staticTextXpos;
50  wxTextCtrl* m_DxfPcbXCoord;
51  wxStaticText* m_staticTextYpos;
52  wxTextCtrl* m_DxfPcbYCoord;
53  wxStaticText* m_staticTextUnits;
55  wxStaticText* m_staticTextLineWidth;
56  wxTextCtrl* m_textCtrlLineWidth;
58  wxStaticText* m_staticTextBrdlayer;
60  wxStaticText* m_staticTextscale;
61  wxTextCtrl* m_textCtrlImportScale;
62  wxStdDialogButtonSizer* m_sdbSizer;
63  wxButton* m_sdbSizerOK;
64  wxButton* m_sdbSizerCancel;
65 
66  // Virtual event handlers, overide them in your derived class
67  virtual void onBrowseFiles( wxCommandEvent& event ) { event.Skip(); }
68  virtual void onInteractivePlacement( wxCommandEvent& event ) { event.Skip(); }
69  virtual void originOptionOnUpdateUI( wxUpdateUIEvent& event ) { event.Skip(); }
70  virtual void onAbsolutePlacement( wxCommandEvent& event ) { event.Skip(); }
71  virtual void onUnitPositionSelection( wxCommandEvent& event ) { event.Skip(); }
72  virtual void onUnitWidthSelection( wxCommandEvent& event ) { event.Skip(); }
73 
74 
75  public:
76 
77  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 );
79 
80 };
81 
82 #endif //__DIALOG_IMPORT_GFX_BASE_H__
virtual void onInteractivePlacement(wxCommandEvent &event)
Class DIALOG_IMPORT_GFX_BASE.
wxRadioButton * m_rbInteractivePlacement
Class to display a pcb layer list in a wxBitmapComboBox.
Class DIALOG_SHIM may sit in the inheritance tree between wxDialog and any class written by wxFormBui...
Definition: dialog_shim.h:83
virtual void onAbsolutePlacement(wxCommandEvent &event)
wxStaticText * m_staticTextLineWidth
PCB_LAYER_BOX_SELECTOR * m_SelLayerBox
wxStdDialogButtonSizer * m_sdbSizer
#define _(s)
virtual void onUnitPositionSelection(wxCommandEvent &event)
virtual void onBrowseFiles(wxCommandEvent &event)
wxRadioButton * m_rbAbsolutePlacement
virtual void originOptionOnUpdateUI(wxUpdateUIEvent &event)
virtual void onUnitWidthSelection(wxCommandEvent &event)
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)