2015-02-18 00:29:54 +00:00
|
|
|
///////////////////////////////////////////////////////////////////////////
|
2023-01-09 13:49:20 +00:00
|
|
|
// C++ code generated with wxFormBuilder (version 3.10.1-0-g8feb16b)
|
2015-02-18 00:29:54 +00:00
|
|
|
// http://www.wxformbuilder.org/
|
|
|
|
//
|
2018-09-01 13:01:42 +00:00
|
|
|
// PLEASE DO *NOT* EDIT THIS FILE!
|
2015-02-18 00:29:54 +00:00
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#include "dialog_pns_diff_pair_dimensions_base.h"
|
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
DIALOG_PNS_DIFF_PAIR_DIMENSIONS_BASE::DIALOG_PNS_DIFF_PAIR_DIMENSIONS_BASE( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : DIALOG_SHIM( parent, id, title, pos, size, style )
|
|
|
|
{
|
2017-12-27 17:09:27 +00:00
|
|
|
this->SetSizeHints( wxSize( -1,-1 ), wxDefaultSize );
|
2023-01-09 13:49:20 +00:00
|
|
|
|
2015-02-18 00:29:54 +00:00
|
|
|
wxBoxSizer* bSizer7;
|
|
|
|
bSizer7 = new wxBoxSizer( wxVERTICAL );
|
2023-01-09 13:49:20 +00:00
|
|
|
|
2015-02-18 00:29:54 +00:00
|
|
|
wxFlexGridSizer* fgSizer1;
|
2018-09-01 13:01:42 +00:00
|
|
|
fgSizer1 = new wxFlexGridSizer( 0, 3, 5, 0 );
|
2015-02-18 00:29:54 +00:00
|
|
|
fgSizer1->AddGrowableCol( 1 );
|
|
|
|
fgSizer1->SetFlexibleDirection( wxBOTH );
|
|
|
|
fgSizer1->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
|
2023-01-09 13:49:20 +00:00
|
|
|
|
2015-02-18 00:29:54 +00:00
|
|
|
m_traceWidthLabel = new wxStaticText( this, wxID_ANY, _("Width:"), wxDefaultPosition, wxDefaultSize, 0 );
|
|
|
|
m_traceWidthLabel->Wrap( -1 );
|
2023-10-19 11:35:10 +00:00
|
|
|
fgSizer1->Add( m_traceWidthLabel, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT|wxLEFT, 1 );
|
2023-01-09 13:49:20 +00:00
|
|
|
|
2019-02-06 00:05:17 +00:00
|
|
|
m_traceWidthText = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
|
2018-09-01 13:01:42 +00:00
|
|
|
fgSizer1->Add( m_traceWidthText, 0, wxEXPAND|wxRIGHT|wxLEFT|wxALIGN_CENTER_VERTICAL, 5 );
|
2023-01-09 13:49:20 +00:00
|
|
|
|
2015-02-18 00:29:54 +00:00
|
|
|
m_traceWidthUnit = new wxStaticText( this, wxID_ANY, _("u"), wxDefaultPosition, wxDefaultSize, 0 );
|
|
|
|
m_traceWidthUnit->Wrap( -1 );
|
2018-09-01 13:01:42 +00:00
|
|
|
fgSizer1->Add( m_traceWidthUnit, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT, 5 );
|
2023-01-09 13:49:20 +00:00
|
|
|
|
2023-10-19 11:35:10 +00:00
|
|
|
m_traceGapLabel = new wxStaticText( this, wxID_ANY, _("Track gap:"), wxDefaultPosition, wxDefaultSize, 0 );
|
2015-02-18 00:29:54 +00:00
|
|
|
m_traceGapLabel->Wrap( -1 );
|
2018-09-01 13:01:42 +00:00
|
|
|
fgSizer1->Add( m_traceGapLabel, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT, 5 );
|
2023-01-09 13:49:20 +00:00
|
|
|
|
2019-02-06 00:05:17 +00:00
|
|
|
m_traceGapText = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
|
2018-09-01 13:01:42 +00:00
|
|
|
fgSizer1->Add( m_traceGapText, 0, wxEXPAND|wxRIGHT|wxLEFT|wxALIGN_CENTER_VERTICAL, 5 );
|
2023-01-09 13:49:20 +00:00
|
|
|
|
2015-02-18 00:29:54 +00:00
|
|
|
m_traceGapUnit = new wxStaticText( this, wxID_ANY, _("u"), wxDefaultPosition, wxDefaultSize, 0 );
|
|
|
|
m_traceGapUnit->Wrap( -1 );
|
2018-09-01 13:01:42 +00:00
|
|
|
fgSizer1->Add( m_traceGapUnit, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT, 5 );
|
2023-01-09 13:49:20 +00:00
|
|
|
|
2015-02-18 00:29:54 +00:00
|
|
|
m_viaGapLabel = new wxStaticText( this, wxID_ANY, _("Via gap:"), wxDefaultPosition, wxDefaultSize, 0 );
|
|
|
|
m_viaGapLabel->Wrap( -1 );
|
|
|
|
m_viaGapLabel->Enable( false );
|
2023-01-09 13:49:20 +00:00
|
|
|
|
2023-10-19 11:35:10 +00:00
|
|
|
fgSizer1->Add( m_viaGapLabel, 0, wxALIGN_CENTER_VERTICAL|wxLEFT, 1 );
|
2023-01-09 13:49:20 +00:00
|
|
|
|
2019-02-06 00:05:17 +00:00
|
|
|
m_viaGapText = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
|
2015-02-18 00:29:54 +00:00
|
|
|
m_viaGapText->Enable( false );
|
2023-01-09 13:49:20 +00:00
|
|
|
|
2018-09-01 13:01:42 +00:00
|
|
|
fgSizer1->Add( m_viaGapText, 0, wxEXPAND|wxRIGHT|wxLEFT|wxALIGN_CENTER_VERTICAL, 5 );
|
2023-01-09 13:49:20 +00:00
|
|
|
|
2015-02-18 00:29:54 +00:00
|
|
|
m_viaGapUnit = new wxStaticText( this, wxID_ANY, _("u"), wxDefaultPosition, wxDefaultSize, 0 );
|
|
|
|
m_viaGapUnit->Wrap( -1 );
|
|
|
|
m_viaGapUnit->Enable( false );
|
2023-01-09 13:49:20 +00:00
|
|
|
|
2018-09-01 13:01:42 +00:00
|
|
|
fgSizer1->Add( m_viaGapUnit, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT, 5 );
|
2023-01-09 13:49:20 +00:00
|
|
|
|
|
|
|
|
2018-09-01 13:01:42 +00:00
|
|
|
bSizer7->Add( fgSizer1, 0, wxEXPAND|wxTOP|wxRIGHT|wxLEFT, 10 );
|
2023-01-09 13:49:20 +00:00
|
|
|
|
2015-02-18 00:29:54 +00:00
|
|
|
m_viaTraceGapEqual = new wxCheckBox( this, wxID_ANY, _("Via gap same as trace gap"), wxDefaultPosition, wxDefaultSize, 0 );
|
2023-01-09 13:49:20 +00:00
|
|
|
m_viaTraceGapEqual->SetValue(true);
|
2015-05-03 18:43:07 +00:00
|
|
|
bSizer7->Add( m_viaTraceGapEqual, 0, wxALL|wxEXPAND, 10 );
|
2023-01-09 13:49:20 +00:00
|
|
|
|
2015-02-18 00:29:54 +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();
|
2023-01-09 13:49:20 +00:00
|
|
|
|
|
|
|
bSizer7->Add( m_stdButtons, 0, wxBOTTOM|wxEXPAND|wxTOP, 5 );
|
|
|
|
|
|
|
|
|
2015-02-18 00:29:54 +00:00
|
|
|
this->SetSizer( bSizer7 );
|
|
|
|
this->Layout();
|
2017-12-27 17:09:27 +00:00
|
|
|
bSizer7->Fit( this );
|
2023-01-09 13:49:20 +00:00
|
|
|
|
2015-02-18 00:29:54 +00:00
|
|
|
// Connect Events
|
2015-04-05 14:58:19 +00:00
|
|
|
m_viaTraceGapEqual->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( DIALOG_PNS_DIFF_PAIR_DIMENSIONS_BASE::OnViaTraceGapEqualCheck ), NULL, this );
|
2015-02-18 00:29:54 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
DIALOG_PNS_DIFF_PAIR_DIMENSIONS_BASE::~DIALOG_PNS_DIFF_PAIR_DIMENSIONS_BASE()
|
|
|
|
{
|
|
|
|
// Disconnect Events
|
2015-04-05 14:58:19 +00:00
|
|
|
m_viaTraceGapEqual->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( DIALOG_PNS_DIFF_PAIR_DIMENSIONS_BASE::OnViaTraceGapEqualCheck ), NULL, this );
|
2023-01-09 13:49:20 +00:00
|
|
|
|
2015-02-18 00:29:54 +00:00
|
|
|
}
|