KiCad PCB EDA Suite
Loading...
Searching...
No Matches
dialog_export_older_version_base.cpp
Go to the documentation of this file.
1
2// C++ code generated with wxFormBuilder (version 4.2.1-0-g80c4cb6)
3// http://www.wxformbuilder.org/
4//
5// PLEASE DO *NOT* EDIT THIS FILE!
7
9
11
12DIALOG_EXPORT_OLDER_VERSION_BASE::DIALOG_EXPORT_OLDER_VERSION_BASE( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : DIALOG_SHIM( parent, id, title, pos, size, style )
13{
14 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
15
16 wxBoxSizer* bSizerMain;
17 bSizerMain = new wxBoxSizer( wxVERTICAL );
18
19 wxFlexGridSizer* fgSizerFields;
20 fgSizerFields = new wxFlexGridSizer( 3, 2, 5, 5 );
21 fgSizerFields->AddGrowableCol( 1 );
22 fgSizerFields->SetFlexibleDirection( wxBOTH );
23 fgSizerFields->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
24
25 m_targetLabel = new wxStaticText( this, wxID_ANY, _("Target version:"), wxDefaultPosition, wxDefaultSize, 0 );
26 m_targetLabel->Wrap( -1 );
27 fgSizerFields->Add( m_targetLabel, 0, wxALL, 5 );
28
29 wxArrayString m_targetChoiceChoices;
30 m_targetChoice = new wxChoice( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, m_targetChoiceChoices, 0 );
31 m_targetChoice->SetSelection( 0 );
32 fgSizerFields->Add( m_targetChoice, 0, wxEXPAND, 5 );
33
34 m_variantLabel = new wxStaticText( this, wxID_ANY, _("Variant:"), wxDefaultPosition, wxDefaultSize, 0 );
35 m_variantLabel->Wrap( -1 );
36 fgSizerFields->Add( m_variantLabel, 0, wxALL, 5 );
37
38 wxArrayString m_variantChoiceChoices;
39 m_variantChoice = new wxChoice( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, m_variantChoiceChoices, 0 );
40 m_variantChoice->SetSelection( 0 );
41 fgSizerFields->Add( m_variantChoice, 0, wxEXPAND, 5 );
42
43 m_destLabel = new wxStaticText( this, wxID_ANY, _("Destination folder:"), wxDefaultPosition, wxDefaultSize, 0 );
44 m_destLabel->Wrap( -1 );
45 fgSizerFields->Add( m_destLabel, 0, wxALL, 5 );
46
47 m_destPicker = new wxDirPickerCtrl( this, wxID_ANY, wxEmptyString, _("Select a folder"), wxDefaultPosition, wxDefaultSize, wxDIRP_DEFAULT_STYLE );
48 m_destPicker->SetMinSize( wxSize( 300,-1 ) );
49
50 fgSizerFields->Add( m_destPicker, 0, wxALL|wxEXPAND, 5 );
51
52
53 bSizerMain->Add( fgSizerFields, 1, wxALL|wxEXPAND, 10 );
54
55 m_cbDropInsteadOfApproximate = new wxCheckBox( this, wxID_ANY, _("Drop features instead of approximating them"), wxDefaultPosition, wxDefaultSize, 0 );
56 m_cbDropInsteadOfApproximate->SetToolTip( _("Omit features that would otherwise be approximated. This may remove drawing or electrical data from the exported copy.") );
57
58 bSizerMain->Add( m_cbDropInsteadOfApproximate, 0, wxALL|wxEXPAND, 10 );
59
60 m_sdbSizer = new wxStdDialogButtonSizer();
61 m_sdbSizerOK = new wxButton( this, wxID_OK );
62 m_sdbSizer->AddButton( m_sdbSizerOK );
63 m_sdbSizerCancel = new wxButton( this, wxID_CANCEL );
64 m_sdbSizer->AddButton( m_sdbSizerCancel );
65 m_sdbSizer->Realize();
66
67 bSizerMain->Add( m_sdbSizer, 0, wxALL|wxEXPAND, 5 );
68
69
70 this->SetSizer( bSizerMain );
71 this->Layout();
72 bSizerMain->Fit( this );
73
74 this->Centre( wxBOTH );
75}
76
DIALOG_EXPORT_OLDER_VERSION_BASE(wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Export for Older KiCad Version"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER)
DIALOG_SHIM(wxWindow *aParent, wxWindowID id, const wxString &title, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxDEFAULT_FRAME_STYLE|wxRESIZE_BORDER, const wxString &name=wxDialogNameStr)
#define _(s)