KiCad PCB EDA Suite
Loading...
Searching...
No Matches
dialog_multichannel_generate_rule_areas_base.cpp
Go to the documentation of this file.
1
2// C++ code generated with wxFormBuilder (version 4.2.1-0-g80c4cb6a)
3// http://www.wxformbuilder.org/
4//
5// PLEASE DO *NOT* EDIT THIS FILE!
7
9
11
12DIALOG_MULTICHANNEL_GENERATE_RULE_AREAS_BASE::DIALOG_MULTICHANNEL_GENERATE_RULE_AREAS_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( wxSize( -1,-1 ), wxSize( -1,-1 ) );
15
16 wxFlexGridSizer* fgSizer3;
17 fgSizer3 = new wxFlexGridSizer( 0, 1, 0, 0 );
18 fgSizer3->AddGrowableCol( 0 );
19 fgSizer3->AddGrowableRow( 0 );
20 fgSizer3->SetFlexibleDirection( wxBOTH );
21 fgSizer3->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
22
23 m_sourceNotebook = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
24 m_sourceNotebook->SetMinSize( wxSize( 600,400 ) );
25
26 m_panel1 = new wxPanel( m_sourceNotebook, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
27 m_sourceNotebook->AddPage( m_panel1, _("Sheets"), false );
28 m_panel2 = new wxPanel( m_sourceNotebook, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
29 m_sourceNotebook->AddPage( m_panel2, _("Component Classes"), false );
30
31 fgSizer3->Add( m_sourceNotebook, 1, wxEXPAND | wxALL, 5 );
32
33 wxBoxSizer* bSizer4;
34 bSizer4 = new wxBoxSizer( wxVERTICAL );
35
36
37 fgSizer3->Add( bSizer4, 1, wxEXPAND, 5 );
38
39 wxBoxSizer* bSizer13;
40 bSizer13 = new wxBoxSizer( wxVERTICAL );
41
42 m_cbReplaceExisting = new wxCheckBox( this, wxID_ANY, _("Replace existing placement rule areas"), wxDefaultPosition, wxDefaultSize, 0 );
43 bSizer13->Add( m_cbReplaceExisting, 0, wxALL, 5 );
44
45 m_cbGroupItems = new wxCheckBox( this, wxID_ANY, _("Group footprints with their placement rule areas"), wxDefaultPosition, wxDefaultSize, 0 );
46 bSizer13->Add( m_cbGroupItems, 0, wxALL, 5 );
47
48
49 fgSizer3->Add( bSizer13, 1, wxEXPAND, 5 );
50
51 wxBoxSizer* bottomButtonsSizer;
52 bottomButtonsSizer = new wxBoxSizer( wxHORIZONTAL );
53
54
55 bottomButtonsSizer->Add( 10, 0, 1, 0, 5 );
56
57 m_sdbSizerStdButtons = new wxStdDialogButtonSizer();
58 m_sdbSizerStdButtonsOK = new wxButton( this, wxID_OK );
60 m_sdbSizerStdButtonsCancel = new wxButton( this, wxID_CANCEL );
62 m_sdbSizerStdButtons->Realize();
63
64 bottomButtonsSizer->Add( m_sdbSizerStdButtons, 0, wxALL, 5 );
65
66
67 fgSizer3->Add( bottomButtonsSizer, 0, wxEXPAND|wxLEFT, 5 );
68
69
70 this->SetSizer( fgSizer3 );
71 this->Layout();
72 fgSizer3->Fit( this );
73
74 // Connect Events
75 this->Connect( wxEVT_INIT_DIALOG, wxInitDialogEventHandler( DIALOG_MULTICHANNEL_GENERATE_RULE_AREAS_BASE::OnInitDlg ) );
76 this->Connect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( DIALOG_MULTICHANNEL_GENERATE_RULE_AREAS_BASE::OnUpdateUI ) );
77 m_sourceNotebook->Connect( wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED, wxNotebookEventHandler( DIALOG_MULTICHANNEL_GENERATE_RULE_AREAS_BASE::OnNotebookPageChanged ), NULL, this );
78}
79
81{
82 // Disconnect Events
83 this->Disconnect( wxEVT_INIT_DIALOG, wxInitDialogEventHandler( DIALOG_MULTICHANNEL_GENERATE_RULE_AREAS_BASE::OnInitDlg ) );
84 this->Disconnect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( DIALOG_MULTICHANNEL_GENERATE_RULE_AREAS_BASE::OnUpdateUI ) );
85 m_sourceNotebook->Disconnect( wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED, wxNotebookEventHandler( DIALOG_MULTICHANNEL_GENERATE_RULE_AREAS_BASE::OnNotebookPageChanged ), NULL, this );
86
87}
DIALOG_MULTICHANNEL_GENERATE_RULE_AREAS_BASE(wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Generate Multichannel Rule Areas"), 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:61
#define _(s)