KiCad PCB EDA Suite
dialog_cleaning_options_base.cpp
Go to the documentation of this file.
1 // C++ code generated with wxFormBuilder (version Sep 8 2016)
3 // http://www.wxformbuilder.org/
4 //
5 // PLEASE DO "NOT" EDIT THIS FILE!
7 
9 
11 
12 DIALOG_CLEANING_OPTIONS_BASE::DIALOG_CLEANING_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 )
13 {
14  this->SetSizeHints( wxDefaultSize, wxDefaultSize );
15 
16  wxBoxSizer* bSizerMain;
17  bSizerMain = new wxBoxSizer( wxVERTICAL );
18 
19  wxBoxSizer* bSizerUpper;
20  bSizerUpper = new wxBoxSizer( wxVERTICAL );
21 
22  m_cleanShortCircuitOpt = new wxCheckBox( this, wxID_ANY, _("Delete &track segments connecting different nets"), wxDefaultPosition, wxDefaultSize, 0 );
23  m_cleanShortCircuitOpt->SetToolTip( _("remove track segments connecting nodes belonging to different nets (short circuit)") );
24 
25  bSizerUpper->Add( m_cleanShortCircuitOpt, 0, wxALL, 5 );
26 
27  m_cleanViasOpt = new wxCheckBox( this, wxID_ANY, _("&Delete redundant vias"), wxDefaultPosition, wxDefaultSize, 0 );
28  m_cleanViasOpt->SetToolTip( _("remove vias on through hole pads and superimposed vias") );
29 
30  bSizerUpper->Add( m_cleanViasOpt, 0, wxALL, 5 );
31 
32  m_mergeSegmOpt = new wxCheckBox( this, wxID_ANY, _("&Merge overlapping segments"), wxDefaultPosition, wxDefaultSize, 0 );
33  m_mergeSegmOpt->SetToolTip( _("merge aligned track segments, and remove null segments") );
34 
35  bSizerUpper->Add( m_mergeSegmOpt, 0, wxALL, 5 );
36 
37  m_deleteUnconnectedOpt = new wxCheckBox( this, wxID_ANY, _("Delete &dangling tracks"), wxDefaultPosition, wxDefaultSize, 0 );
38  m_deleteUnconnectedOpt->SetToolTip( _("delete tracks having at least one dangling end") );
39 
40  bSizerUpper->Add( m_deleteUnconnectedOpt, 0, wxALL, 5 );
41 
42 
43  bSizerMain->Add( bSizerUpper, 1, wxEXPAND|wxALL, 5 );
44 
45  m_staticline = new wxStaticLine( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
46  bSizerMain->Add( m_staticline, 0, wxEXPAND | wxALL, 5 );
47 
48  m_sdbSizer = new wxStdDialogButtonSizer();
49  m_sdbSizerOK = new wxButton( this, wxID_OK );
50  m_sdbSizer->AddButton( m_sdbSizerOK );
51  m_sdbSizerCancel = new wxButton( this, wxID_CANCEL );
52  m_sdbSizer->AddButton( m_sdbSizerCancel );
53  m_sdbSizer->Realize();
54 
55  bSizerMain->Add( m_sdbSizer, 0, wxALL|wxEXPAND, 5 );
56 
57 
58  this->SetSizer( bSizerMain );
59  this->Layout();
60 
61  this->Centre( wxBOTH );
62 }
63 
65 {
66 }
Class DIALOG_SHIM may sit in the inheritance tree between wxDialog and any class written by wxFormBui...
Definition: dialog_shim.h:60
DIALOG_CLEANING_OPTIONS_BASE(wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Cleaning Options"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(342, 179), long style=wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER)