KiCad PCB EDA Suite
Loading...
Searching...
No Matches
dialog_track_via_size_base.cpp
Go to the documentation of this file.
1
2// C++ code generated with wxFormBuilder (version Oct 26 2018)
3// http://www.wxformbuilder.org/
4//
5// PLEASE DO *NOT* EDIT THIS FILE!
7
9
11
12DIALOG_TRACK_VIA_SIZE_BASE::DIALOG_TRACK_VIA_SIZE_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 ), wxDefaultSize );
15
16 wxBoxSizer* bSizes;
17 bSizes = new wxBoxSizer( wxVERTICAL );
18
19 wxFlexGridSizer* fgSizer1;
20 fgSizer1 = new wxFlexGridSizer( 0, 3, 0, 0 );
21 fgSizer1->AddGrowableCol( 1 );
22 fgSizer1->SetFlexibleDirection( wxBOTH );
23 fgSizer1->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
24
25 m_trackWidthLabel = new wxStaticText( this, wxID_ANY, _("Track width:"), wxDefaultPosition, wxDefaultSize, 0 );
26 m_trackWidthLabel->Wrap( -1 );
27 fgSizer1->Add( m_trackWidthLabel, 0, wxALIGN_CENTER_VERTICAL|wxTOP|wxBOTTOM|wxRIGHT, 5 );
28
29 m_trackWidthText = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
30 fgSizer1->Add( m_trackWidthText, 1, wxEXPAND|wxTOP|wxBOTTOM, 5 );
31
32 m_trackWidthUnits = new wxStaticText( this, wxID_ANY, _("unit"), wxDefaultPosition, wxDefaultSize, 0 );
33 m_trackWidthUnits->Wrap( -1 );
34 fgSizer1->Add( m_trackWidthUnits, 0, wxALL|wxALIGN_CENTER_VERTICAL, 5 );
35
36 m_viaDiameterLabel = new wxStaticText( this, wxID_ANY, _("Via diameter:"), wxDefaultPosition, wxDefaultSize, 0 );
37 m_viaDiameterLabel->Wrap( -1 );
38 fgSizer1->Add( m_viaDiameterLabel, 0, wxALIGN_CENTER_VERTICAL|wxTOP|wxBOTTOM|wxRIGHT, 5 );
39
40 m_viaDiameterText = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
41 fgSizer1->Add( m_viaDiameterText, 1, wxEXPAND|wxTOP|wxBOTTOM, 5 );
42
43 m_viaDiameterUnits = new wxStaticText( this, wxID_ANY, _("unit"), wxDefaultPosition, wxDefaultSize, 0 );
44 m_viaDiameterUnits->Wrap( -1 );
45 fgSizer1->Add( m_viaDiameterUnits, 0, wxALL|wxALIGN_CENTER_VERTICAL, 5 );
46
47 m_viaDrillLabel = new wxStaticText( this, wxID_ANY, _("Via hole:"), wxDefaultPosition, wxDefaultSize, 0 );
48 m_viaDrillLabel->Wrap( -1 );
49 fgSizer1->Add( m_viaDrillLabel, 0, wxALIGN_CENTER_VERTICAL|wxTOP|wxBOTTOM|wxRIGHT, 5 );
50
51 m_viaDrillText = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
52 fgSizer1->Add( m_viaDrillText, 1, wxEXPAND|wxTOP|wxBOTTOM, 5 );
53
54 m_viaDrillUnits = new wxStaticText( this, wxID_ANY, _("unit"), wxDefaultPosition, wxDefaultSize, 0 );
55 m_viaDrillUnits->Wrap( -1 );
56 fgSizer1->Add( m_viaDrillUnits, 0, wxALL|wxALIGN_CENTER_VERTICAL, 5 );
57
58
59 bSizes->Add( fgSizer1, 1, wxEXPAND|wxALL, 10 );
60
61 m_staticline1 = new wxStaticLine( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
62 bSizes->Add( m_staticline1, 0, wxEXPAND, 5 );
63
64 m_stdButtons = new wxStdDialogButtonSizer();
65 m_stdButtonsOK = new wxButton( this, wxID_OK );
66 m_stdButtons->AddButton( m_stdButtonsOK );
67 m_stdButtonsCancel = new wxButton( this, wxID_CANCEL );
68 m_stdButtons->AddButton( m_stdButtonsCancel );
69 m_stdButtons->Realize();
70
71 bSizes->Add( m_stdButtons, 0, wxEXPAND|wxALL, 5 );
72
73
74 this->SetSizer( bSizes );
75 this->Layout();
76 bSizes->Fit( this );
77
78 this->Centre( wxBOTH );
79}
80
82{
83}
Dialog helper object to sit in the inheritance tree between wxDialog and any class written by wxFormB...
Definition: dialog_shim.h:83
DIALOG_TRACK_VIA_SIZE_BASE(wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Track and Via Dimensions"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER)
wxStdDialogButtonSizer * m_stdButtons
#define _(s)