2014-05-14 13:53:54 +00:00
|
|
|
///////////////////////////////////////////////////////////////////////////
|
2019-02-06 00:05:17 +00:00
|
|
|
// C++ code generated with wxFormBuilder (version Dec 30 2017)
|
2014-05-14 13:53:54 +00:00
|
|
|
// http://www.wxformbuilder.org/
|
|
|
|
//
|
2019-02-06 00:05:17 +00:00
|
|
|
// PLEASE DO *NOT* EDIT THIS FILE!
|
2014-05-14 13:53:54 +00:00
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#include "dialog_track_via_size_base.h"
|
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
|
2016-07-14 14:25:35 +00:00
|
|
|
DIALOG_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 )
|
2014-05-14 13:53:54 +00:00
|
|
|
{
|
2015-03-13 16:48:42 +00:00
|
|
|
this->SetSizeHints( wxSize( -1,-1 ), wxDefaultSize );
|
2014-05-14 13:53:54 +00:00
|
|
|
|
|
|
|
wxBoxSizer* bSizes;
|
|
|
|
bSizes = new wxBoxSizer( wxVERTICAL );
|
|
|
|
|
2015-02-18 00:29:54 +00:00
|
|
|
wxFlexGridSizer* fgSizer1;
|
|
|
|
fgSizer1 = new wxFlexGridSizer( 0, 3, 0, 0 );
|
2015-03-13 16:48:42 +00:00
|
|
|
fgSizer1->AddGrowableCol( 1 );
|
2015-02-18 00:29:54 +00:00
|
|
|
fgSizer1->SetFlexibleDirection( wxBOTH );
|
|
|
|
fgSizer1->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
|
2014-05-14 13:53:54 +00:00
|
|
|
|
2019-02-06 00:05:17 +00:00
|
|
|
m_trackWidthLabel = new wxStaticText( this, wxID_ANY, _("Track width:"), wxDefaultPosition, wxDefaultSize, 0 );
|
2015-02-18 00:29:54 +00:00
|
|
|
m_trackWidthLabel->Wrap( -1 );
|
|
|
|
fgSizer1->Add( m_trackWidthLabel, 0, wxALL|wxALIGN_CENTER_VERTICAL, 5 );
|
|
|
|
|
2019-02-06 00:05:17 +00:00
|
|
|
m_trackWidthText = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
|
|
|
|
fgSizer1->Add( m_trackWidthText, 1, wxALL|wxEXPAND, 5 );
|
2015-02-18 00:29:54 +00:00
|
|
|
|
2019-02-06 00:05:17 +00:00
|
|
|
m_trackWidthUnits = new wxStaticText( this, wxID_ANY, _("unit"), wxDefaultPosition, wxDefaultSize, 0 );
|
|
|
|
m_trackWidthUnits->Wrap( -1 );
|
|
|
|
fgSizer1->Add( m_trackWidthUnits, 0, wxALL|wxALIGN_CENTER_VERTICAL, 5 );
|
2015-02-18 00:29:54 +00:00
|
|
|
|
2019-02-06 00:05:17 +00:00
|
|
|
m_viaDiameterLabel = new wxStaticText( this, wxID_ANY, _("Via diameter:"), wxDefaultPosition, wxDefaultSize, 0 );
|
2015-02-18 00:29:54 +00:00
|
|
|
m_viaDiameterLabel->Wrap( -1 );
|
|
|
|
fgSizer1->Add( m_viaDiameterLabel, 0, wxALL|wxALIGN_CENTER_VERTICAL, 5 );
|
|
|
|
|
2019-02-06 00:05:17 +00:00
|
|
|
m_viaDiameterText = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
|
|
|
|
fgSizer1->Add( m_viaDiameterText, 1, wxALL|wxEXPAND, 5 );
|
2015-02-18 00:29:54 +00:00
|
|
|
|
2019-02-06 00:05:17 +00:00
|
|
|
m_viaDiameterUnits = new wxStaticText( this, wxID_ANY, _("unit"), wxDefaultPosition, wxDefaultSize, 0 );
|
|
|
|
m_viaDiameterUnits->Wrap( -1 );
|
|
|
|
fgSizer1->Add( m_viaDiameterUnits, 0, wxALL|wxALIGN_CENTER_VERTICAL, 5 );
|
2015-02-18 00:29:54 +00:00
|
|
|
|
2019-02-06 00:05:17 +00:00
|
|
|
m_viaDrillLabel = new wxStaticText( this, wxID_ANY, _("Via drill:"), wxDefaultPosition, wxDefaultSize, 0 );
|
2015-02-18 00:29:54 +00:00
|
|
|
m_viaDrillLabel->Wrap( -1 );
|
|
|
|
fgSizer1->Add( m_viaDrillLabel, 0, wxALL|wxALIGN_CENTER_VERTICAL, 5 );
|
|
|
|
|
2019-02-06 00:05:17 +00:00
|
|
|
m_viaDrillText = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
|
|
|
|
fgSizer1->Add( m_viaDrillText, 1, wxALL|wxEXPAND, 5 );
|
|
|
|
|
|
|
|
m_viaDrillUnits = new wxStaticText( this, wxID_ANY, _("unit"), wxDefaultPosition, wxDefaultSize, 0 );
|
|
|
|
m_viaDrillUnits->Wrap( -1 );
|
|
|
|
fgSizer1->Add( m_viaDrillUnits, 0, wxALL|wxALIGN_CENTER_VERTICAL, 5 );
|
|
|
|
|
2015-02-18 00:29:54 +00:00
|
|
|
|
|
|
|
bSizes->Add( fgSizer1, 1, wxEXPAND|wxALL, 5 );
|
2014-05-14 13:53:54 +00:00
|
|
|
|
2016-07-14 14:25:35 +00:00
|
|
|
m_staticline1 = new wxStaticLine( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
|
2017-12-27 17:09:27 +00:00
|
|
|
bSizes->Add( m_staticline1, 0, wxEXPAND, 5 );
|
2016-07-14 14:25:35 +00:00
|
|
|
|
2014-11-14 18:15:58 +00:00
|
|
|
m_stdButtons = new wxStdDialogButtonSizer();
|
|
|
|
m_stdButtonsOK = new wxButton( this, wxID_OK );
|
|
|
|
m_stdButtons->AddButton( m_stdButtonsOK );
|
|
|
|
m_stdButtonsCancel = new wxButton( this, wxID_CANCEL );
|
|
|
|
m_stdButtons->AddButton( m_stdButtonsCancel );
|
|
|
|
m_stdButtons->Realize();
|
2014-05-14 13:53:54 +00:00
|
|
|
|
2014-11-14 18:15:58 +00:00
|
|
|
bSizes->Add( m_stdButtons, 0, wxEXPAND|wxALL, 5 );
|
2014-05-14 13:53:54 +00:00
|
|
|
|
|
|
|
|
|
|
|
this->SetSizer( bSizes );
|
|
|
|
this->Layout();
|
2017-12-27 17:09:27 +00:00
|
|
|
bSizes->Fit( this );
|
2014-05-14 13:53:54 +00:00
|
|
|
|
|
|
|
this->Centre( wxBOTH );
|
|
|
|
}
|
|
|
|
|
|
|
|
DIALOG_TRACK_VIA_SIZE_BASE::~DIALOG_TRACK_VIA_SIZE_BASE()
|
|
|
|
{
|
|
|
|
}
|