KiCad PCB EDA Suite
Loading...
Searching...
No Matches
dialog_destination_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
13
14DIALOG_DESTINATION_BASE::DIALOG_DESTINATION_BASE( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : DIALOG_SHIM( parent, id, title, pos, size, style )
15{
16 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
17
18 wxBoxSizer* bSizerMain;
19 bSizerMain = new wxBoxSizer( wxVERTICAL );
20
21 wxFlexGridSizer* fgSizer1;
22 fgSizer1 = new wxFlexGridSizer( 4, 2, 5, 5 );
23 fgSizer1->AddGrowableCol( 1 );
24 fgSizer1->AddGrowableRow( 3 );
25 fgSizer1->SetFlexibleDirection( wxBOTH );
26 fgSizer1->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
27
28 m_textArchiveDesc = new wxStaticText( this, wxID_ANY, _("Description:"), wxDefaultPosition, wxDefaultSize, 0 );
29 m_textArchiveDesc->Wrap( -1 );
30 fgSizer1->Add( m_textArchiveDesc, 0, wxALIGN_CENTER_VERTICAL, 5 );
31
32 m_textCtrlDescription = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
33 fgSizer1->Add( m_textCtrlDescription, 0, wxEXPAND|wxALIGN_CENTER_VERTICAL, 5 );
34
35 m_textArchiveFormat = new wxStaticText( this, wxID_ANY, _("Format:"), wxDefaultPosition, wxDefaultSize, 0 );
36 m_textArchiveFormat->Wrap( -1 );
37 fgSizer1->Add( m_textArchiveFormat, 0, wxALIGN_CENTER_VERTICAL, 5 );
38
39 wxArrayString m_choiceArchiveformatChoices;
40 m_choiceArchiveformat = new wxChoice( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, m_choiceArchiveformatChoices, 0 );
41 m_choiceArchiveformat->SetSelection( 0 );
42 m_choiceArchiveformat->SetMinSize( wxSize( 100,-1 ) );
43
44 fgSizer1->Add( m_choiceArchiveformat, 0, wxALIGN_CENTER_VERTICAL, 5 );
45
46 m_textOutputPath = new wxStaticText( this, wxID_ANY, _("Destination path:"), wxDefaultPosition, wxDefaultSize, 0 );
47 m_textOutputPath->Wrap( -1 );
48 fgSizer1->Add( m_textOutputPath, 0, wxALIGN_CENTER_VERTICAL, 5 );
49
50 wxBoxSizer* bSizer16;
51 bSizer16 = new wxBoxSizer( wxHORIZONTAL );
52
53 m_textCtrlOutputPath = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
54 m_textCtrlOutputPath->SetMinSize( wxSize( 350,-1 ) );
55
56 bSizer16->Add( m_textCtrlOutputPath, 1, wxALIGN_CENTER_VERTICAL, 5 );
57
58 m_buttonOutputPath = new STD_BITMAP_BUTTON( this, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxDefaultSize, wxBU_AUTODRAW|0 );
59 bSizer16->Add( m_buttonOutputPath, 0, wxALIGN_CENTER_VERTICAL, 5 );
60
61
62 fgSizer1->Add( bSizer16, 1, wxEXPAND|wxALIGN_CENTER_VERTICAL, 5 );
63
64 m_staticText10 = new wxStaticText( this, wxID_ANY, _("Include jobs:"), wxDefaultPosition, wxDefaultSize, 0 );
65 m_staticText10->Wrap( -1 );
66 fgSizer1->Add( m_staticText10, 0, wxTOP, 5 );
67
68 wxBoxSizer* bSizer3;
69 bSizer3 = new wxBoxSizer( wxVERTICAL );
70
71 wxArrayString m_includeJobsChoices;
72 m_includeJobs = new wxCheckListBox( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, m_includeJobsChoices, wxLB_EXTENDED );
73 m_includeJobs->SetMinSize( wxSize( 300,200 ) );
74
75 bSizer3->Add( m_includeJobs, 1, wxEXPAND, 5 );
76
77 m_buttonDeselectAll = new wxButton( this, wxID_ANY, _("Deselect All"), wxDefaultPosition, wxDefaultSize, 0 );
78 bSizer3->Add( m_buttonDeselectAll, 0, wxALL, 5 );
79
80
81 fgSizer1->Add( bSizer3, 1, wxEXPAND, 5 );
82
83
84 bSizerMain->Add( fgSizer1, 1, wxEXPAND|wxALL, 10 );
85
86 m_sdbSizer1 = new wxStdDialogButtonSizer();
87 m_sdbSizer1OK = new wxButton( this, wxID_OK );
88 m_sdbSizer1->AddButton( m_sdbSizer1OK );
89 m_sdbSizer1Cancel = new wxButton( this, wxID_CANCEL );
90 m_sdbSizer1->AddButton( m_sdbSizer1Cancel );
91 m_sdbSizer1->Realize();
92
93 bSizerMain->Add( m_sdbSizer1, 0, wxBOTTOM|wxEXPAND, 5 );
94
95
96 this->SetSizer( bSizerMain );
97 this->Layout();
98 bSizerMain->Fit( this );
99
100 this->Centre( wxBOTH );
101
102 // Connect Events
103 m_buttonOutputPath->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_DESTINATION_BASE::onOutputPathBrowseClicked ), NULL, this );
104}
105
107{
108 // Disconnect Events
109 m_buttonOutputPath->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_DESTINATION_BASE::onOutputPathBrowseClicked ), NULL, this );
110
111}
wxStdDialogButtonSizer * m_sdbSizer1
STD_BITMAP_BUTTON * m_buttonOutputPath
virtual void onOutputPathBrowseClicked(wxCommandEvent &event)
DIALOG_DESTINATION_BASE(wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("%s Destination"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), 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)
A bitmap button widget that behaves like a standard dialog button except with an icon.
#define _(s)