KiCad PCB EDA Suite
Loading...
Searching...
No Matches
dialog_jobset_output_options_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_JOBSET_OUTPUT_OPTIONS_BASE::DIALOG_JOBSET_OUTPUT_OPTIONS_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, _("Output 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 wxArrayString m_includeJobsChoices;
69 m_includeJobs = new wxCheckListBox( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, m_includeJobsChoices, 0 );
70 m_includeJobs->SetMinSize( wxSize( 300,200 ) );
71
72 fgSizer1->Add( m_includeJobs, 1, wxEXPAND, 5 );
73
74
75 bSizerMain->Add( fgSizer1, 1, wxEXPAND|wxALL, 10 );
76
77 m_sdbSizer1 = new wxStdDialogButtonSizer();
78 m_sdbSizer1OK = new wxButton( this, wxID_OK );
79 m_sdbSizer1->AddButton( m_sdbSizer1OK );
80 m_sdbSizer1Cancel = new wxButton( this, wxID_CANCEL );
81 m_sdbSizer1->AddButton( m_sdbSizer1Cancel );
82 m_sdbSizer1->Realize();
83
84 bSizerMain->Add( m_sdbSizer1, 0, wxBOTTOM|wxEXPAND, 5 );
85
86
87 this->SetSizer( bSizerMain );
88 this->Layout();
89 bSizerMain->Fit( this );
90
91 this->Centre( wxBOTH );
92
93 // Connect Events
94 m_buttonOutputPath->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_JOBSET_OUTPUT_OPTIONS_BASE::onOutputPathBrowseClicked ), NULL, this );
95}
96
98{
99 // Disconnect Events
100 m_buttonOutputPath->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_JOBSET_OUTPUT_OPTIONS_BASE::onOutputPathBrowseClicked ), NULL, this );
101
102}
virtual void onOutputPathBrowseClicked(wxCommandEvent &event)
DIALOG_JOBSET_OUTPUT_OPTIONS_BASE(wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("%s Output Options"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER)
Dialog helper object to sit in the inheritance tree between wxDialog and any class written by wxFormB...
Definition: dialog_shim.h:88
A bitmap button widget that behaves like a standard dialog button except with an icon.
#define _(s)