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-g80c4cb6)
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( 500,-1 ), wxDefaultSize );
15
16 m_GeneralBoxSizer = new wxBoxSizer( wxVERTICAL );
17
18 wxFlexGridSizer* fgSizer3;
19 fgSizer3 = new wxFlexGridSizer( 3, 1, 0, 0 );
20 fgSizer3->AddGrowableCol( 0 );
21 fgSizer3->AddGrowableRow( 0 );
22 fgSizer3->SetFlexibleDirection( wxBOTH );
23 fgSizer3->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
24
25 m_sourceNotebook = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
26
27 fgSizer3->Add( m_sourceNotebook, 1, wxEXPAND | wxALL, 5 );
28
29 wxBoxSizer* bSizer13;
30 bSizer13 = new wxBoxSizer( wxVERTICAL );
31
32 m_cbReplaceExisting = new wxCheckBox( this, wxID_ANY, _("Replace existing placement rule areas"), wxDefaultPosition, wxDefaultSize, 0 );
33 bSizer13->Add( m_cbReplaceExisting, 0, wxALL, 5 );
34
35 m_cbGroupItems = new wxCheckBox( this, wxID_ANY, _("Group components with their placement rule areas"), wxDefaultPosition, wxDefaultSize, 0 );
36 bSizer13->Add( m_cbGroupItems, 0, wxALL, 5 );
37
38
39 fgSizer3->Add( bSizer13, 1, wxEXPAND, 5 );
40
41 wxBoxSizer* bottomButtonsSizer;
42 bottomButtonsSizer = new wxBoxSizer( wxHORIZONTAL );
43
44
45 bottomButtonsSizer->Add( 10, 0, 1, 0, 5 );
46
47 m_sdbSizerStdButtons = new wxStdDialogButtonSizer();
48 m_sdbSizerStdButtonsOK = new wxButton( this, wxID_OK );
50 m_sdbSizerStdButtonsCancel = new wxButton( this, wxID_CANCEL );
52 m_sdbSizerStdButtons->Realize();
53
54 bottomButtonsSizer->Add( m_sdbSizerStdButtons, 0, wxALL, 5 );
55
56
57 fgSizer3->Add( bottomButtonsSizer, 0, wxEXPAND|wxLEFT, 5 );
58
59
60 m_GeneralBoxSizer->Add( fgSizer3, 1, wxEXPAND, 5 );
61
62
63 this->SetSizer( m_GeneralBoxSizer );
64 this->Layout();
65
66 // Connect Events
67 this->Connect( wxEVT_INIT_DIALOG, wxInitDialogEventHandler( DIALOG_MULTICHANNEL_GENERATE_RULE_AREAS_BASE::OnInitDlg ) );
68 this->Connect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( DIALOG_MULTICHANNEL_GENERATE_RULE_AREAS_BASE::OnUpdateUI ) );
69}
70
72{
73 // Disconnect Events
74 this->Disconnect( wxEVT_INIT_DIALOG, wxInitDialogEventHandler( DIALOG_MULTICHANNEL_GENERATE_RULE_AREAS_BASE::OnInitDlg ) );
75 this->Disconnect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( DIALOG_MULTICHANNEL_GENERATE_RULE_AREAS_BASE::OnUpdateUI ) );
76
77}
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(548, 328), 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
#define _(s)