Pcbnew: design rules dialog fixes and improvements. (fixes lp:1499538)
* Use default dialog size to allow sizers to do their job. * General layout and sizer improvements. * Remove HTML message window which could not be used when error dialog was displayed. * Use wxStdDialogButtonSizer for the OK and Cancel buttons. * Check for design rule validity in TransferDataFromWindow() to prevent dialog from being closed and all new design rules being lost when an error is detected. This gives the user a chance to fix any design rules errors before dismissing the dialog. * Add missing test for extra via drill diameter violations. * Remove unnecessary OK and Cancel butten clicked event handlers.
This commit is contained in:
parent
23d0de1bda
commit
8e5e2164e8
|
@ -7,7 +7,7 @@
|
||||||
*
|
*
|
||||||
* Copyright (C) 2004-2009 Jean-Pierre Charras, jean-pierre.charras@gpisa-lab.inpg.fr
|
* Copyright (C) 2004-2009 Jean-Pierre Charras, jean-pierre.charras@gpisa-lab.inpg.fr
|
||||||
* Copyright (C) 2009 Dick Hollenbeck, dick@softplc.com
|
* Copyright (C) 2009 Dick Hollenbeck, dick@softplc.com
|
||||||
* Copyright (C) 2009 KiCad Developers, see change_log.txt for contributors.
|
* Copyright (C) 2009-2015 KiCad Developers, see change_log.txt for contributors.
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or
|
* This program is free software; you can redistribute it and/or
|
||||||
* modify it under the terms of the GNU General Public License
|
* modify it under the terms of the GNU General Public License
|
||||||
|
@ -41,6 +41,7 @@
|
||||||
#include <pcbnew_id.h>
|
#include <pcbnew_id.h>
|
||||||
#include <class_track.h>
|
#include <class_track.h>
|
||||||
#include <macros.h>
|
#include <macros.h>
|
||||||
|
#include <html_messagebox.h>
|
||||||
|
|
||||||
#include <dialog_design_rules.h>
|
#include <dialog_design_rules.h>
|
||||||
#include <wx/generic/gridctrl.h>
|
#include <wx/generic/gridctrl.h>
|
||||||
|
@ -177,6 +178,7 @@ DIALOG_DESIGN_RULES::DIALOG_DESIGN_RULES( PCB_EDIT_FRAME* parent ) :
|
||||||
Layout();
|
Layout();
|
||||||
GetSizer()->Fit( this );
|
GetSizer()->Fit( this );
|
||||||
GetSizer()->SetSizeHints( this );
|
GetSizer()->SetSizeHints( this );
|
||||||
|
m_sdbSizer1OK->SetDefault();
|
||||||
|
|
||||||
// Allow tabbing out of grid controls. Only available on wxWidgets 2.9.5 or later.
|
// Allow tabbing out of grid controls. Only available on wxWidgets 2.9.5 or later.
|
||||||
#if wxCHECK_VERSION( 2, 9, 5 )
|
#if wxCHECK_VERSION( 2, 9, 5 )
|
||||||
|
@ -189,29 +191,10 @@ DIALOG_DESIGN_RULES::DIALOG_DESIGN_RULES( PCB_EDIT_FRAME* parent ) :
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void DIALOG_DESIGN_RULES::PrintCurrentSettings()
|
|
||||||
{
|
|
||||||
wxString msg, value;
|
|
||||||
|
|
||||||
m_MessagesList->AppendToPage( _( "<b>Current general settings:</b><br>" ) );
|
|
||||||
|
|
||||||
// Display min values:
|
|
||||||
value = StringFromValue( g_UserUnit, m_BrdSettings->m_TrackMinWidth, true );
|
|
||||||
msg.Printf( _( "Minimum value for tracks width: <b>%s</b><br>\n" ), GetChars( value ) );
|
|
||||||
m_MessagesList->AppendToPage( msg );
|
|
||||||
|
|
||||||
value = StringFromValue( g_UserUnit, m_BrdSettings->m_ViasMinSize, true );
|
|
||||||
msg.Printf( _( "Minimum value for vias diameter: <b>%s</b><br>\n" ), GetChars( value ) );
|
|
||||||
m_MessagesList->AppendToPage( msg );
|
|
||||||
|
|
||||||
value = StringFromValue( g_UserUnit, m_BrdSettings->m_MicroViasMinSize, true );
|
|
||||||
msg.Printf( _( "Minimum value for microvias diameter: <b>%s</b><br>\n" ), GetChars( value ) );
|
|
||||||
m_MessagesList->AppendToPage( msg );
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
void DIALOG_DESIGN_RULES::InitDialogRules()
|
void DIALOG_DESIGN_RULES::InitDialogRules()
|
||||||
{
|
{
|
||||||
|
// @todo: Move the initialization code into TransferDataToWindow() to follow wxWidgets
|
||||||
|
// dialog data transfer convention.
|
||||||
SetFocus();
|
SetFocus();
|
||||||
SetReturnCode( 0 );
|
SetReturnCode( 0 );
|
||||||
|
|
||||||
|
@ -223,7 +206,8 @@ void DIALOG_DESIGN_RULES::InitDialogRules()
|
||||||
|
|
||||||
// copy all NETs into m_AllNets by adding them as NETCUPs.
|
// copy all NETs into m_AllNets by adding them as NETCUPs.
|
||||||
|
|
||||||
// @todo go fix m_Pcb->SynchronizeNetsAndNetClasses() so that the netcode==0 is not present in the BOARD::m_NetClasses
|
// @todo go fix m_Pcb->SynchronizeNetsAndNetClasses() so that the netcode==0 is not
|
||||||
|
// present in the BOARD::m_NetClasses
|
||||||
NETCLASSES& netclasses = m_BrdSettings->m_NetClasses;
|
NETCLASSES& netclasses = m_BrdSettings->m_NetClasses;
|
||||||
NETCLASSPTR netclass = netclasses.GetDefault();
|
NETCLASSPTR netclass = netclasses.GetDefault();
|
||||||
|
|
||||||
|
@ -246,8 +230,6 @@ void DIALOG_DESIGN_RULES::InitDialogRules()
|
||||||
|
|
||||||
InitializeRulesSelectionBoxes();
|
InitializeRulesSelectionBoxes();
|
||||||
InitGlobalRules();
|
InitGlobalRules();
|
||||||
|
|
||||||
PrintCurrentSettings();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -631,31 +613,32 @@ void DIALOG_DESIGN_RULES::CopyDimensionsListsToBoard()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void DIALOG_DESIGN_RULES::OnCancelButtonClick( wxCommandEvent& event )
|
void DIALOG_DESIGN_RULES::OnNotebookPageChanged( wxNotebookEvent& event )
|
||||||
{
|
{
|
||||||
s_LastTabSelection = m_DRnotebook->GetSelection();
|
s_LastTabSelection = event.GetSelection();
|
||||||
|
|
||||||
EndModal( wxID_CANCEL );
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void DIALOG_DESIGN_RULES::OnOkButtonClick( wxCommandEvent& event )
|
bool DIALOG_DESIGN_RULES::TransferDataFromWindow()
|
||||||
{
|
{
|
||||||
s_LastTabSelection = m_DRnotebook->GetSelection();
|
if( !wxDialog::TransferDataFromWindow() )
|
||||||
|
return false;
|
||||||
|
|
||||||
if( !TestDataValidity() )
|
wxString errorMsg;
|
||||||
|
|
||||||
|
if( !TestDataValidity( &errorMsg ) )
|
||||||
{
|
{
|
||||||
DisplayError( this, _( "Errors detected, Abort" ) );
|
HTML_MESSAGE_BOX dlg( this, _( "Design Rule Setting Error" ) );
|
||||||
return;
|
dlg.MessageSet( errorMsg );
|
||||||
|
dlg.ShowModal();
|
||||||
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
CopyRulesListToBoard();
|
CopyRulesListToBoard();
|
||||||
CopyGlobalRulesToBoard();
|
CopyGlobalRulesToBoard();
|
||||||
CopyDimensionsListsToBoard();
|
CopyDimensionsListsToBoard();
|
||||||
|
|
||||||
EndModal( wxID_OK );
|
|
||||||
|
|
||||||
m_BrdSettings->SetCurrentNetClass( NETCLASS::Default );
|
m_BrdSettings->SetCurrentNetClass( NETCLASS::Default );
|
||||||
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -903,13 +886,12 @@ void DIALOG_DESIGN_RULES::setNetClass( const wxString& aNetName, const wxString&
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
bool DIALOG_DESIGN_RULES::TestDataValidity()
|
bool DIALOG_DESIGN_RULES::TestDataValidity( wxString* aErrorMsg )
|
||||||
{
|
{
|
||||||
bool result = true;
|
bool result = true;
|
||||||
|
|
||||||
m_MessagesList->SetPage( wxEmptyString ); // Clear message list
|
|
||||||
|
|
||||||
wxString msg;
|
wxString msg;
|
||||||
|
wxString errorMsg;
|
||||||
|
|
||||||
int minViaDia = ValueFromTextCtrl( *m_SetViasMinSizeCtrl );
|
int minViaDia = ValueFromTextCtrl( *m_SetViasMinSizeCtrl );
|
||||||
int minViaDrill = ValueFromTextCtrl( *m_SetViasMinDrillCtrl );
|
int minViaDrill = ValueFromTextCtrl( *m_SetViasMinDrillCtrl );
|
||||||
|
@ -918,8 +900,10 @@ bool DIALOG_DESIGN_RULES::TestDataValidity()
|
||||||
int minTrackWidth = ValueFromTextCtrl( *m_SetTrackMinWidthCtrl );
|
int minTrackWidth = ValueFromTextCtrl( *m_SetTrackMinWidthCtrl );
|
||||||
int maxval = 1000 * IU_PER_MILS; // a max value for tracks and vias sizes (1 inch)
|
int maxval = 1000 * IU_PER_MILS; // a max value for tracks and vias sizes (1 inch)
|
||||||
|
|
||||||
|
// @todo Change this code to set the focus to the control where the first error occurs
|
||||||
|
// so the user doesn't have to figure out where the issue is.
|
||||||
|
|
||||||
|
// Test net class parameters.
|
||||||
for( int row = 0; row < m_grid->GetNumberRows(); row++ )
|
for( int row = 0; row < m_grid->GetNumberRows(); row++ )
|
||||||
{
|
{
|
||||||
int tracksize = ValueFromString( g_UserUnit,
|
int tracksize = ValueFromString( g_UserUnit,
|
||||||
|
@ -929,8 +913,7 @@ bool DIALOG_DESIGN_RULES::TestDataValidity()
|
||||||
result = false;
|
result = false;
|
||||||
msg.Printf( _( "%s: <b>Track Size</b> < <b>Min Track Size</b><br>" ),
|
msg.Printf( _( "%s: <b>Track Size</b> < <b>Min Track Size</b><br>" ),
|
||||||
GetChars( m_grid->GetRowLabelValue( row ) ) );
|
GetChars( m_grid->GetRowLabelValue( row ) ) );
|
||||||
|
errorMsg += msg;
|
||||||
m_MessagesList->AppendToPage( msg );
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Test vias
|
// Test vias
|
||||||
|
@ -942,8 +925,7 @@ bool DIALOG_DESIGN_RULES::TestDataValidity()
|
||||||
result = false;
|
result = false;
|
||||||
msg.Printf( _( "%s: <b>Via Diameter</b> < <b>Minimun Via Diameter</b><br>" ),
|
msg.Printf( _( "%s: <b>Via Diameter</b> < <b>Minimun Via Diameter</b><br>" ),
|
||||||
GetChars( m_grid->GetRowLabelValue( row ) ) );
|
GetChars( m_grid->GetRowLabelValue( row ) ) );
|
||||||
|
errorMsg += msg;
|
||||||
m_MessagesList->AppendToPage( msg );
|
|
||||||
}
|
}
|
||||||
|
|
||||||
int viadrill = ValueFromString( g_UserUnit,
|
int viadrill = ValueFromString( g_UserUnit,
|
||||||
|
@ -954,8 +936,7 @@ bool DIALOG_DESIGN_RULES::TestDataValidity()
|
||||||
result = false;
|
result = false;
|
||||||
msg.Printf( _( "%s: <b>Via Drill</b> ≥ <b>Via Dia</b><br>" ),
|
msg.Printf( _( "%s: <b>Via Drill</b> ≥ <b>Via Dia</b><br>" ),
|
||||||
GetChars( m_grid->GetRowLabelValue( row ) ) );
|
GetChars( m_grid->GetRowLabelValue( row ) ) );
|
||||||
|
errorMsg += msg;
|
||||||
m_MessagesList->AppendToPage( msg );
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if( viadrill < minViaDrill )
|
if( viadrill < minViaDrill )
|
||||||
|
@ -963,8 +944,7 @@ bool DIALOG_DESIGN_RULES::TestDataValidity()
|
||||||
result = false;
|
result = false;
|
||||||
msg.Printf( _( "%s: <b>Via Drill</b> < <b>Min Via Drill</b><br>" ),
|
msg.Printf( _( "%s: <b>Via Drill</b> < <b>Min Via Drill</b><br>" ),
|
||||||
GetChars( m_grid->GetRowLabelValue( row ) ) );
|
GetChars( m_grid->GetRowLabelValue( row ) ) );
|
||||||
|
errorMsg += msg;
|
||||||
m_MessagesList->AppendToPage( msg );
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Test Micro vias
|
// Test Micro vias
|
||||||
|
@ -976,8 +956,7 @@ bool DIALOG_DESIGN_RULES::TestDataValidity()
|
||||||
result = false;
|
result = false;
|
||||||
msg.Printf( _( "%s: <b>MicroVia Diameter</b> < <b>MicroVia Min Diameter</b><br>" ),
|
msg.Printf( _( "%s: <b>MicroVia Diameter</b> < <b>MicroVia Min Diameter</b><br>" ),
|
||||||
GetChars( m_grid->GetRowLabelValue( row ) ) );
|
GetChars( m_grid->GetRowLabelValue( row ) ) );
|
||||||
|
errorMsg += msg;
|
||||||
m_MessagesList->AppendToPage( msg );
|
|
||||||
}
|
}
|
||||||
|
|
||||||
int muviadrill = ValueFromString( g_UserUnit,
|
int muviadrill = ValueFromString( g_UserUnit,
|
||||||
|
@ -988,8 +967,7 @@ bool DIALOG_DESIGN_RULES::TestDataValidity()
|
||||||
result = false;
|
result = false;
|
||||||
msg.Printf( _( "%s: <b>MicroVia Drill</b> ≥ <b>MicroVia Dia</b><br>" ),
|
msg.Printf( _( "%s: <b>MicroVia Drill</b> ≥ <b>MicroVia Dia</b><br>" ),
|
||||||
GetChars( m_grid->GetRowLabelValue( row ) ) );
|
GetChars( m_grid->GetRowLabelValue( row ) ) );
|
||||||
|
errorMsg += msg;
|
||||||
m_MessagesList->AppendToPage( msg );
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if( muviadrill < minUViaDrill )
|
if( muviadrill < minUViaDrill )
|
||||||
|
@ -997,13 +975,11 @@ bool DIALOG_DESIGN_RULES::TestDataValidity()
|
||||||
result = false;
|
result = false;
|
||||||
msg.Printf( _( "%s: <b>MicroVia Drill</b> < <b>MicroVia Min Drill</b><br>" ),
|
msg.Printf( _( "%s: <b>MicroVia Drill</b> < <b>MicroVia Min Drill</b><br>" ),
|
||||||
GetChars( m_grid->GetRowLabelValue( row ) ) );
|
GetChars( m_grid->GetRowLabelValue( row ) ) );
|
||||||
|
errorMsg += msg;
|
||||||
m_MessagesList->AppendToPage( msg );
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Test list of values for specific vias and tracks
|
// Test custom tracks
|
||||||
// Test tracks
|
|
||||||
for( int row = 0; row < m_gridTrackWidthList->GetNumberRows(); ++row )
|
for( int row = 0; row < m_gridTrackWidthList->GetNumberRows(); ++row )
|
||||||
{
|
{
|
||||||
wxString tvalue = m_gridTrackWidthList->GetCellValue( row, 0 );
|
wxString tvalue = m_gridTrackWidthList->GetCellValue( row, 0 );
|
||||||
|
@ -1019,7 +995,7 @@ bool DIALOG_DESIGN_RULES::TestDataValidity()
|
||||||
msg.Printf( _( "<b>Extra Track %d Size</b> %s < <b>Min Track Size</b><br>" ),
|
msg.Printf( _( "<b>Extra Track %d Size</b> %s < <b>Min Track Size</b><br>" ),
|
||||||
row + 1, GetChars( tvalue ) );
|
row + 1, GetChars( tvalue ) );
|
||||||
|
|
||||||
m_MessagesList->AppendToPage( msg );
|
errorMsg += msg;
|
||||||
}
|
}
|
||||||
|
|
||||||
if( tracksize > maxval )
|
if( tracksize > maxval )
|
||||||
|
@ -1028,11 +1004,11 @@ bool DIALOG_DESIGN_RULES::TestDataValidity()
|
||||||
msg.Printf( _( "<b>Extra Track %d Size</b> %s > <b>1 inch!</b><br>" ),
|
msg.Printf( _( "<b>Extra Track %d Size</b> %s > <b>1 inch!</b><br>" ),
|
||||||
row + 1, GetChars( tvalue ) );
|
row + 1, GetChars( tvalue ) );
|
||||||
|
|
||||||
m_MessagesList->AppendToPage( msg );
|
errorMsg += msg;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Test vias
|
// Test custom vias
|
||||||
for( int row = 0; row < m_gridViaSizeList->GetNumberRows(); ++row )
|
for( int row = 0; row < m_gridViaSizeList->GetNumberRows(); ++row )
|
||||||
{
|
{
|
||||||
wxString tvalue = m_gridViaSizeList->GetCellValue( row, 0 );
|
wxString tvalue = m_gridViaSizeList->GetCellValue( row, 0 );
|
||||||
|
@ -1041,19 +1017,34 @@ bool DIALOG_DESIGN_RULES::TestDataValidity()
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
int viadia = ValueFromString( g_UserUnit, tvalue );
|
int viadia = ValueFromString( g_UserUnit, tvalue );
|
||||||
int viadrill = 0;
|
|
||||||
wxString drlvalue = m_gridViaSizeList->GetCellValue( row, 1 );
|
|
||||||
|
|
||||||
if( !drlvalue.IsEmpty() )
|
|
||||||
viadrill = ValueFromString( g_UserUnit, drlvalue );
|
|
||||||
|
|
||||||
if( viadia < minViaDia )
|
if( viadia < minViaDia )
|
||||||
{
|
{
|
||||||
result = false;
|
result = false;
|
||||||
msg.Printf( _( "<b>Extra Via %d Size</b> %s < <b>Min Via Size</b><br>" ),
|
msg.Printf( _( "<b>Extra Via %d Size</b> %s < <b>Min Via Size</b><br>" ),
|
||||||
row + 1, GetChars( tvalue ) );
|
row + 1, GetChars( tvalue ) );
|
||||||
|
errorMsg += msg;
|
||||||
|
}
|
||||||
|
|
||||||
m_MessagesList->AppendToPage( msg );
|
wxString drlvalue = m_gridViaSizeList->GetCellValue( row, 1 );
|
||||||
|
|
||||||
|
if( drlvalue.IsEmpty() )
|
||||||
|
{
|
||||||
|
result = false;
|
||||||
|
msg.Printf( _( "<b>No via drill size define in row %d</b><br>" ), row + 1 );
|
||||||
|
errorMsg += msg;
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
|
int viadrill = ValueFromString( g_UserUnit, drlvalue );
|
||||||
|
|
||||||
|
if( viadrill < minViaDrill )
|
||||||
|
{
|
||||||
|
result = false;
|
||||||
|
msg.Printf( _( "<b>Extra Via %d Drill</b> %s < <b>Min Via Drill %s</b><br>" ),
|
||||||
|
row + 1, GetChars( drlvalue ),
|
||||||
|
GetChars( m_SetViasMinDrillCtrl->GetValue() ) );
|
||||||
|
errorMsg += msg;
|
||||||
}
|
}
|
||||||
|
|
||||||
if( viadia <= viadrill )
|
if( viadia <= viadrill )
|
||||||
|
@ -1061,8 +1052,7 @@ bool DIALOG_DESIGN_RULES::TestDataValidity()
|
||||||
result = false;
|
result = false;
|
||||||
msg.Printf( _( "<b>Extra Via %d Size</b> %s ≤ <b> Drill Size</b> %s<br>" ),
|
msg.Printf( _( "<b>Extra Via %d Size</b> %s ≤ <b> Drill Size</b> %s<br>" ),
|
||||||
row + 1, GetChars( tvalue ), GetChars( drlvalue ) );
|
row + 1, GetChars( tvalue ), GetChars( drlvalue ) );
|
||||||
|
errorMsg += msg;
|
||||||
m_MessagesList->AppendToPage( msg );
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Test for a reasonable via size:
|
// Test for a reasonable via size:
|
||||||
|
@ -1071,10 +1061,12 @@ bool DIALOG_DESIGN_RULES::TestDataValidity()
|
||||||
result = false;
|
result = false;
|
||||||
msg.Printf( _( "<b>Extra Via %d Size</b>%s > <b>1 inch!</b><br>" ),
|
msg.Printf( _( "<b>Extra Via %d Size</b>%s > <b>1 inch!</b><br>" ),
|
||||||
row + 1, GetChars( tvalue ) );
|
row + 1, GetChars( tvalue ) );
|
||||||
|
errorMsg += msg;
|
||||||
m_MessagesList->AppendToPage( msg );
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if( !result && aErrorMsg )
|
||||||
|
*aErrorMsg = errorMsg;
|
||||||
|
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
*
|
*
|
||||||
* Copyright (C) 2004-2009 Jean-Pierre Charras, jean-pierre.charras@gpisa-lab.inpg.fr
|
* Copyright (C) 2004-2009 Jean-Pierre Charras, jean-pierre.charras@gpisa-lab.inpg.fr
|
||||||
* Copyright (C) 2009 Dick Hollenbeck, dick@softplc.com
|
* Copyright (C) 2009 Dick Hollenbeck, dick@softplc.com
|
||||||
* Copyright (C) 2009 KiCad Developers, see change_log.txt for contributors.
|
* Copyright (C) 2009-2015 KiCad Developers, see change_log.txt for contributors.
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or
|
* This program is free software; you can redistribute it and/or
|
||||||
* modify it under the terms of the GNU General Public License
|
* modify it under the terms of the GNU General Public License
|
||||||
|
@ -73,7 +73,7 @@ private:
|
||||||
/**
|
/**
|
||||||
* A two column table which gets filled once and never loses any elements, so it is
|
* A two column table which gets filled once and never loses any elements, so it is
|
||||||
* basically constant, except that the NETCUP::clazz member can change for any
|
* basically constant, except that the NETCUP::clazz member can change for any
|
||||||
* given row a NET is moved in and out of a class. clazz reflects the respective
|
* given row a NET is moved in and out of a class. class reflects the respective
|
||||||
* NET's current net class.
|
* NET's current net class.
|
||||||
*/
|
*/
|
||||||
NETCUPS m_AllNets;
|
NETCUPS m_AllNets;
|
||||||
|
@ -85,8 +85,6 @@ private:
|
||||||
private:
|
private:
|
||||||
void OnNetClassesNameLeftClick( wxGridEvent& event ){ event.Skip(); }
|
void OnNetClassesNameLeftClick( wxGridEvent& event ){ event.Skip(); }
|
||||||
void OnNetClassesNameRightClick( wxGridEvent& event ){ event.Skip(); }
|
void OnNetClassesNameRightClick( wxGridEvent& event ){ event.Skip(); }
|
||||||
void OnCancelButtonClick( wxCommandEvent& event );
|
|
||||||
void OnOkButtonClick( wxCommandEvent& event );
|
|
||||||
void OnAddNetclassClick( wxCommandEvent& event );
|
void OnAddNetclassClick( wxCommandEvent& event );
|
||||||
void OnRemoveNetclassClick( wxCommandEvent& event );
|
void OnRemoveNetclassClick( wxCommandEvent& event );
|
||||||
|
|
||||||
|
@ -110,6 +108,8 @@ private:
|
||||||
void OnRightToLeftCopyButton( wxCommandEvent& event );
|
void OnRightToLeftCopyButton( wxCommandEvent& event );
|
||||||
void OnLeftToRightCopyButton( wxCommandEvent& event );
|
void OnLeftToRightCopyButton( wxCommandEvent& event );
|
||||||
|
|
||||||
|
void OnNotebookPageChanged( wxNotebookEvent& event );
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Called on clicking the left "select all" button:
|
* Called on clicking the left "select all" button:
|
||||||
* select all items of the left netname list list box
|
* select all items of the left netname list list box
|
||||||
|
@ -125,11 +125,12 @@ private:
|
||||||
/*
|
/*
|
||||||
* Function TestDataValidity
|
* Function TestDataValidity
|
||||||
*
|
*
|
||||||
* Performs a control of data validity
|
* Performs a check of design rule data validity and displays an error message if errors
|
||||||
* set the background of a bad cell in RED and display an info message
|
* are found.
|
||||||
|
* @param aErrorMsg is a pointer to a wxString to copy the error message into. Can be NULL.
|
||||||
* @return true if Ok, false if error
|
* @return true if Ok, false if error
|
||||||
*/
|
*/
|
||||||
bool TestDataValidity( );
|
bool TestDataValidity( wxString* aErrorMsg = NULL );
|
||||||
|
|
||||||
void InitDialogRules();
|
void InitDialogRules();
|
||||||
void InitGlobalRules();
|
void InitGlobalRules();
|
||||||
|
@ -159,13 +160,6 @@ private:
|
||||||
*/
|
*/
|
||||||
void FillListBoxWithNetNames( NETS_LIST_CTRL* aListCtrl, const wxString& aNetClass );
|
void FillListBoxWithNetNames( NETS_LIST_CTRL* aListCtrl, const wxString& aNetClass );
|
||||||
|
|
||||||
/**
|
|
||||||
* Function PrintCurrentSettings
|
|
||||||
* Display on m_MessagesList the current global settings:
|
|
||||||
* minimal values for tracks, vias, clearance ...
|
|
||||||
*/
|
|
||||||
void PrintCurrentSettings( );
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Function swapNetClass
|
* Function swapNetClass
|
||||||
* replaces one net class name with another in the master list, m_AllNets.
|
* replaces one net class name with another in the master list, m_AllNets.
|
||||||
|
@ -188,8 +182,9 @@ private:
|
||||||
|
|
||||||
public:
|
public:
|
||||||
DIALOG_DESIGN_RULES( PCB_EDIT_FRAME* parent );
|
DIALOG_DESIGN_RULES( PCB_EDIT_FRAME* parent );
|
||||||
~DIALOG_DESIGN_RULES( ) { };
|
~DIALOG_DESIGN_RULES( ) { }
|
||||||
|
|
||||||
|
virtual bool TransferDataFromWindow();
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif //__dialog_design_rules_h_
|
#endif //__dialog_design_rules_h_
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
///////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////
|
||||||
// C++ code generated with wxFormBuilder (version Mar 9 2015)
|
// C++ code generated with wxFormBuilder (version Jun 5 2014)
|
||||||
// http://www.wxformbuilder.org/
|
// http://www.wxformbuilder.org/
|
||||||
//
|
//
|
||||||
// PLEASE DO "NOT" EDIT THIS FILE!
|
// PLEASE DO "NOT" EDIT THIS FILE!
|
||||||
|
@ -64,7 +64,6 @@ DIALOG_DESIGN_RULES_BASE::DIALOG_DESIGN_RULES_BASE( wxWindow* parent, wxWindowID
|
||||||
// Cell Defaults
|
// Cell Defaults
|
||||||
m_grid->SetDefaultCellAlignment( wxALIGN_LEFT, wxALIGN_TOP );
|
m_grid->SetDefaultCellAlignment( wxALIGN_LEFT, wxALIGN_TOP );
|
||||||
m_grid->SetToolTip( _("Net Class parameters") );
|
m_grid->SetToolTip( _("Net Class parameters") );
|
||||||
m_grid->SetMinSize( wxSize( -1,150 ) );
|
|
||||||
|
|
||||||
sbSizerUpper->Add( m_grid, 1, wxEXPAND, 5 );
|
sbSizerUpper->Add( m_grid, 1, wxEXPAND, 5 );
|
||||||
|
|
||||||
|
@ -87,10 +86,10 @@ DIALOG_DESIGN_RULES_BASE::DIALOG_DESIGN_RULES_BASE( wxWindow* parent, wxWindowID
|
||||||
buttonBoxSizer->Add( m_moveUpButton, 0, wxTOP|wxRIGHT|wxLEFT, 5 );
|
buttonBoxSizer->Add( m_moveUpButton, 0, wxTOP|wxRIGHT|wxLEFT, 5 );
|
||||||
|
|
||||||
|
|
||||||
sbSizerUpper->Add( buttonBoxSizer, 0, wxALIGN_CENTER_HORIZONTAL|wxRIGHT|wxLEFT, 5 );
|
sbSizerUpper->Add( buttonBoxSizer, 0, wxALIGN_CENTER_HORIZONTAL|wxBOTTOM|wxLEFT|wxRIGHT|wxTOP, 5 );
|
||||||
|
|
||||||
|
|
||||||
bpanelNetClassesSizer->Add( sbSizerUpper, 1, wxRIGHT|wxLEFT|wxEXPAND, 5 );
|
bpanelNetClassesSizer->Add( sbSizerUpper, 2, wxEXPAND|wxLEFT|wxRIGHT, 5 );
|
||||||
|
|
||||||
wxStaticBoxSizer* sbSizerNetSelectMain;
|
wxStaticBoxSizer* sbSizerNetSelectMain;
|
||||||
sbSizerNetSelectMain = new wxStaticBoxSizer( new wxStaticBox( m_panelNetClassesEditor, wxID_ANY, _("Membership:") ), wxHORIZONTAL );
|
sbSizerNetSelectMain = new wxStaticBoxSizer( new wxStaticBox( m_panelNetClassesEditor, wxID_ANY, _("Membership:") ), wxHORIZONTAL );
|
||||||
|
@ -102,8 +101,6 @@ DIALOG_DESIGN_RULES_BASE::DIALOG_DESIGN_RULES_BASE( wxWindow* parent, wxWindowID
|
||||||
leftNetSelectBoxSizer->Add( m_leftClassChoice, 0, wxEXPAND, 5 );
|
leftNetSelectBoxSizer->Add( m_leftClassChoice, 0, wxEXPAND, 5 );
|
||||||
|
|
||||||
m_leftListCtrl = new NETS_LIST_CTRL( m_panelNetClassesEditor, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_HRULES|wxLC_REPORT|wxLC_VIRTUAL|wxLC_VRULES|wxSUNKEN_BORDER );
|
m_leftListCtrl = new NETS_LIST_CTRL( m_panelNetClassesEditor, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_HRULES|wxLC_REPORT|wxLC_VIRTUAL|wxLC_VRULES|wxSUNKEN_BORDER );
|
||||||
m_leftListCtrl->SetMinSize( wxSize( 220,200 ) );
|
|
||||||
|
|
||||||
leftNetSelectBoxSizer->Add( m_leftListCtrl, 1, wxEXPAND|wxTOP, 5 );
|
leftNetSelectBoxSizer->Add( m_leftListCtrl, 1, wxEXPAND|wxTOP, 5 );
|
||||||
|
|
||||||
|
|
||||||
|
@ -142,15 +139,13 @@ DIALOG_DESIGN_RULES_BASE::DIALOG_DESIGN_RULES_BASE( wxWindow* parent, wxWindowID
|
||||||
rghtNetSelectBoxSizer->Add( m_rightClassChoice, 0, wxEXPAND, 5 );
|
rghtNetSelectBoxSizer->Add( m_rightClassChoice, 0, wxEXPAND, 5 );
|
||||||
|
|
||||||
m_rightListCtrl = new NETS_LIST_CTRL( m_panelNetClassesEditor, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_HRULES|wxLC_REPORT|wxLC_VIRTUAL|wxLC_VRULES|wxSUNKEN_BORDER );
|
m_rightListCtrl = new NETS_LIST_CTRL( m_panelNetClassesEditor, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_HRULES|wxLC_REPORT|wxLC_VIRTUAL|wxLC_VRULES|wxSUNKEN_BORDER );
|
||||||
m_rightListCtrl->SetMinSize( wxSize( 220,-1 ) );
|
|
||||||
|
|
||||||
rghtNetSelectBoxSizer->Add( m_rightListCtrl, 1, wxEXPAND|wxTOP, 5 );
|
rghtNetSelectBoxSizer->Add( m_rightListCtrl, 1, wxEXPAND|wxTOP, 5 );
|
||||||
|
|
||||||
|
|
||||||
sbSizerNetSelectMain->Add( rghtNetSelectBoxSizer, 1, wxEXPAND|wxRIGHT|wxLEFT, 5 );
|
sbSizerNetSelectMain->Add( rghtNetSelectBoxSizer, 1, wxEXPAND|wxRIGHT|wxLEFT, 5 );
|
||||||
|
|
||||||
|
|
||||||
bpanelNetClassesSizer->Add( sbSizerNetSelectMain, 2, wxEXPAND|wxRIGHT|wxLEFT, 5 );
|
bpanelNetClassesSizer->Add( sbSizerNetSelectMain, 3, wxEXPAND|wxRIGHT|wxLEFT, 5 );
|
||||||
|
|
||||||
|
|
||||||
m_panelNetClassesEditor->SetSizer( bpanelNetClassesSizer );
|
m_panelNetClassesEditor->SetSizer( bpanelNetClassesSizer );
|
||||||
|
@ -264,7 +259,7 @@ DIALOG_DESIGN_RULES_BASE::DIALOG_DESIGN_RULES_BASE( wxWindow* parent, wxWindowID
|
||||||
m_gridViaSizeList = new wxGrid( m_panelGolbalDesignRules, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
|
m_gridViaSizeList = new wxGrid( m_panelGolbalDesignRules, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
|
||||||
|
|
||||||
// Grid
|
// Grid
|
||||||
m_gridViaSizeList->CreateGrid( 12, 2 );
|
m_gridViaSizeList->CreateGrid( 8, 2 );
|
||||||
m_gridViaSizeList->EnableEditing( true );
|
m_gridViaSizeList->EnableEditing( true );
|
||||||
m_gridViaSizeList->EnableGridLines( true );
|
m_gridViaSizeList->EnableGridLines( true );
|
||||||
m_gridViaSizeList->EnableDragGridSize( false );
|
m_gridViaSizeList->EnableDragGridSize( false );
|
||||||
|
@ -314,7 +309,7 @@ DIALOG_DESIGN_RULES_BASE::DIALOG_DESIGN_RULES_BASE( wxWindow* parent, wxWindowID
|
||||||
m_gridTrackWidthList = new wxGrid( m_panelGolbalDesignRules, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
|
m_gridTrackWidthList = new wxGrid( m_panelGolbalDesignRules, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
|
||||||
|
|
||||||
// Grid
|
// Grid
|
||||||
m_gridTrackWidthList->CreateGrid( 12, 1 );
|
m_gridTrackWidthList->CreateGrid( 8, 1 );
|
||||||
m_gridTrackWidthList->EnableEditing( true );
|
m_gridTrackWidthList->EnableEditing( true );
|
||||||
m_gridTrackWidthList->EnableGridLines( true );
|
m_gridTrackWidthList->EnableGridLines( true );
|
||||||
m_gridTrackWidthList->EnableDragGridSize( false );
|
m_gridTrackWidthList->EnableDragGridSize( false );
|
||||||
|
@ -364,35 +359,22 @@ DIALOG_DESIGN_RULES_BASE::DIALOG_DESIGN_RULES_BASE( wxWindow* parent, wxWindowID
|
||||||
|
|
||||||
bMainSizer->Add( m_DRnotebook, 1, wxEXPAND|wxRIGHT|wxLEFT, 5 );
|
bMainSizer->Add( m_DRnotebook, 1, wxEXPAND|wxRIGHT|wxLEFT, 5 );
|
||||||
|
|
||||||
wxStaticBoxSizer* sbSizer2;
|
m_sdbSizer1 = new wxStdDialogButtonSizer();
|
||||||
sbSizer2 = new wxStaticBoxSizer( new wxStaticBox( this, wxID_ANY, _("Messages:") ), wxHORIZONTAL );
|
m_sdbSizer1OK = new wxButton( this, wxID_OK );
|
||||||
|
m_sdbSizer1->AddButton( m_sdbSizer1OK );
|
||||||
|
m_sdbSizer1Cancel = new wxButton( this, wxID_CANCEL );
|
||||||
|
m_sdbSizer1->AddButton( m_sdbSizer1Cancel );
|
||||||
|
m_sdbSizer1->Realize();
|
||||||
|
|
||||||
m_MessagesList = new wxHtmlWindow( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxHW_SCROLLBAR_AUTO|wxSUNKEN_BORDER );
|
bMainSizer->Add( m_sdbSizer1, 0, wxALL|wxEXPAND, 5 );
|
||||||
m_MessagesList->SetMinSize( wxSize( -1,90 ) );
|
|
||||||
|
|
||||||
sbSizer2->Add( m_MessagesList, 1, wxEXPAND, 5 );
|
|
||||||
|
|
||||||
wxBoxSizer* bSizerButtons;
|
|
||||||
bSizerButtons = new wxBoxSizer( wxVERTICAL );
|
|
||||||
|
|
||||||
m_buttonOk = new wxButton( this, wxID_OK, _("OK"), wxDefaultPosition, wxDefaultSize, 0 );
|
|
||||||
m_buttonOk->SetDefault();
|
|
||||||
bSizerButtons->Add( m_buttonOk, 0, wxALL|wxEXPAND, 5 );
|
|
||||||
|
|
||||||
m_buttonCancel = new wxButton( this, wxID_CANCEL, _("Cancel"), wxDefaultPosition, wxDefaultSize, 0 );
|
|
||||||
bSizerButtons->Add( m_buttonCancel, 0, wxALL|wxEXPAND, 5 );
|
|
||||||
|
|
||||||
|
|
||||||
sbSizer2->Add( bSizerButtons, 0, 0, 5 );
|
|
||||||
|
|
||||||
|
|
||||||
bMainSizer->Add( sbSizer2, 0, wxEXPAND|wxRIGHT|wxLEFT, 5 );
|
|
||||||
|
|
||||||
|
|
||||||
this->SetSizer( bMainSizer );
|
this->SetSizer( bMainSizer );
|
||||||
this->Layout();
|
this->Layout();
|
||||||
|
bMainSizer->Fit( this );
|
||||||
|
|
||||||
// Connect Events
|
// Connect Events
|
||||||
|
m_DRnotebook->Connect( wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED, wxNotebookEventHandler( DIALOG_DESIGN_RULES_BASE::OnNotebookPageChanged ), NULL, this );
|
||||||
m_grid->Connect( wxEVT_GRID_LABEL_LEFT_CLICK, wxGridEventHandler( DIALOG_DESIGN_RULES_BASE::OnNetClassesNameLeftClick ), NULL, this );
|
m_grid->Connect( wxEVT_GRID_LABEL_LEFT_CLICK, wxGridEventHandler( DIALOG_DESIGN_RULES_BASE::OnNetClassesNameLeftClick ), NULL, this );
|
||||||
m_grid->Connect( wxEVT_GRID_LABEL_RIGHT_CLICK, wxGridEventHandler( DIALOG_DESIGN_RULES_BASE::OnNetClassesNameRightClick ), NULL, this );
|
m_grid->Connect( wxEVT_GRID_LABEL_RIGHT_CLICK, wxGridEventHandler( DIALOG_DESIGN_RULES_BASE::OnNetClassesNameRightClick ), NULL, this );
|
||||||
m_addButton->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_DESIGN_RULES_BASE::OnAddNetclassClick ), NULL, this );
|
m_addButton->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_DESIGN_RULES_BASE::OnAddNetclassClick ), NULL, this );
|
||||||
|
@ -404,13 +386,12 @@ DIALOG_DESIGN_RULES_BASE::DIALOG_DESIGN_RULES_BASE( wxWindow* parent, wxWindowID
|
||||||
m_buttonLeftSelAll->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_DESIGN_RULES_BASE::OnLeftSelectAllButton ), NULL, this );
|
m_buttonLeftSelAll->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_DESIGN_RULES_BASE::OnLeftSelectAllButton ), NULL, this );
|
||||||
m_buttonRightSelAll->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_DESIGN_RULES_BASE::OnRightSelectAllButton ), NULL, this );
|
m_buttonRightSelAll->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_DESIGN_RULES_BASE::OnRightSelectAllButton ), NULL, this );
|
||||||
m_rightClassChoice->Connect( wxEVT_COMMAND_COMBOBOX_SELECTED, wxCommandEventHandler( DIALOG_DESIGN_RULES_BASE::OnRightCBSelection ), NULL, this );
|
m_rightClassChoice->Connect( wxEVT_COMMAND_COMBOBOX_SELECTED, wxCommandEventHandler( DIALOG_DESIGN_RULES_BASE::OnRightCBSelection ), NULL, this );
|
||||||
m_buttonOk->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_DESIGN_RULES_BASE::OnOkButtonClick ), NULL, this );
|
|
||||||
m_buttonCancel->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_DESIGN_RULES_BASE::OnCancelButtonClick ), NULL, this );
|
|
||||||
}
|
}
|
||||||
|
|
||||||
DIALOG_DESIGN_RULES_BASE::~DIALOG_DESIGN_RULES_BASE()
|
DIALOG_DESIGN_RULES_BASE::~DIALOG_DESIGN_RULES_BASE()
|
||||||
{
|
{
|
||||||
// Disconnect Events
|
// Disconnect Events
|
||||||
|
m_DRnotebook->Disconnect( wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED, wxNotebookEventHandler( DIALOG_DESIGN_RULES_BASE::OnNotebookPageChanged ), NULL, this );
|
||||||
m_grid->Disconnect( wxEVT_GRID_LABEL_LEFT_CLICK, wxGridEventHandler( DIALOG_DESIGN_RULES_BASE::OnNetClassesNameLeftClick ), NULL, this );
|
m_grid->Disconnect( wxEVT_GRID_LABEL_LEFT_CLICK, wxGridEventHandler( DIALOG_DESIGN_RULES_BASE::OnNetClassesNameLeftClick ), NULL, this );
|
||||||
m_grid->Disconnect( wxEVT_GRID_LABEL_RIGHT_CLICK, wxGridEventHandler( DIALOG_DESIGN_RULES_BASE::OnNetClassesNameRightClick ), NULL, this );
|
m_grid->Disconnect( wxEVT_GRID_LABEL_RIGHT_CLICK, wxGridEventHandler( DIALOG_DESIGN_RULES_BASE::OnNetClassesNameRightClick ), NULL, this );
|
||||||
m_addButton->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_DESIGN_RULES_BASE::OnAddNetclassClick ), NULL, this );
|
m_addButton->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_DESIGN_RULES_BASE::OnAddNetclassClick ), NULL, this );
|
||||||
|
@ -422,7 +403,5 @@ DIALOG_DESIGN_RULES_BASE::~DIALOG_DESIGN_RULES_BASE()
|
||||||
m_buttonLeftSelAll->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_DESIGN_RULES_BASE::OnLeftSelectAllButton ), NULL, this );
|
m_buttonLeftSelAll->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_DESIGN_RULES_BASE::OnLeftSelectAllButton ), NULL, this );
|
||||||
m_buttonRightSelAll->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_DESIGN_RULES_BASE::OnRightSelectAllButton ), NULL, this );
|
m_buttonRightSelAll->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_DESIGN_RULES_BASE::OnRightSelectAllButton ), NULL, this );
|
||||||
m_rightClassChoice->Disconnect( wxEVT_COMMAND_COMBOBOX_SELECTED, wxCommandEventHandler( DIALOG_DESIGN_RULES_BASE::OnRightCBSelection ), NULL, this );
|
m_rightClassChoice->Disconnect( wxEVT_COMMAND_COMBOBOX_SELECTED, wxCommandEventHandler( DIALOG_DESIGN_RULES_BASE::OnRightCBSelection ), NULL, this );
|
||||||
m_buttonOk->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_DESIGN_RULES_BASE::OnOkButtonClick ), NULL, this );
|
|
||||||
m_buttonCancel->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_DESIGN_RULES_BASE::OnCancelButtonClick ), NULL, this );
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -44,7 +44,7 @@
|
||||||
<property name="minimum_size">-1,-1</property>
|
<property name="minimum_size">-1,-1</property>
|
||||||
<property name="name">DIALOG_DESIGN_RULES_BASE</property>
|
<property name="name">DIALOG_DESIGN_RULES_BASE</property>
|
||||||
<property name="pos"></property>
|
<property name="pos"></property>
|
||||||
<property name="size">777,697</property>
|
<property name="size">-1,-1</property>
|
||||||
<property name="style">wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER</property>
|
<property name="style">wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER</property>
|
||||||
<property name="subclass">DIALOG_SHIM; dialog_shim.h</property>
|
<property name="subclass">DIALOG_SHIM; dialog_shim.h</property>
|
||||||
<property name="title">Design Rules Editor</property>
|
<property name="title">Design Rules Editor</property>
|
||||||
|
@ -166,7 +166,7 @@
|
||||||
<event name="OnMotion"></event>
|
<event name="OnMotion"></event>
|
||||||
<event name="OnMouseEvents"></event>
|
<event name="OnMouseEvents"></event>
|
||||||
<event name="OnMouseWheel"></event>
|
<event name="OnMouseWheel"></event>
|
||||||
<event name="OnNotebookPageChanged"></event>
|
<event name="OnNotebookPageChanged">OnNotebookPageChanged</event>
|
||||||
<event name="OnNotebookPageChanging"></event>
|
<event name="OnNotebookPageChanging"></event>
|
||||||
<event name="OnPaint"></event>
|
<event name="OnPaint"></event>
|
||||||
<event name="OnRightDClick"></event>
|
<event name="OnRightDClick"></event>
|
||||||
|
@ -260,8 +260,8 @@
|
||||||
<property name="permission">none</property>
|
<property name="permission">none</property>
|
||||||
<object class="sizeritem" expanded="1">
|
<object class="sizeritem" expanded="1">
|
||||||
<property name="border">5</property>
|
<property name="border">5</property>
|
||||||
<property name="flag">wxRIGHT|wxLEFT|wxEXPAND</property>
|
<property name="flag">wxEXPAND|wxLEFT|wxRIGHT</property>
|
||||||
<property name="proportion">1</property>
|
<property name="proportion">2</property>
|
||||||
<object class="wxStaticBoxSizer" expanded="1">
|
<object class="wxStaticBoxSizer" expanded="1">
|
||||||
<property name="id">wxID_ANY</property>
|
<property name="id">wxID_ANY</property>
|
||||||
<property name="label">Net Classes:</property>
|
<property name="label">Net Classes:</property>
|
||||||
|
@ -332,7 +332,7 @@
|
||||||
<property name="maximum_size"></property>
|
<property name="maximum_size"></property>
|
||||||
<property name="min_size"></property>
|
<property name="min_size"></property>
|
||||||
<property name="minimize_button">0</property>
|
<property name="minimize_button">0</property>
|
||||||
<property name="minimum_size">-1,150</property>
|
<property name="minimum_size">-1,-1</property>
|
||||||
<property name="moveable">1</property>
|
<property name="moveable">1</property>
|
||||||
<property name="name">m_grid</property>
|
<property name="name">m_grid</property>
|
||||||
<property name="pane_border">1</property>
|
<property name="pane_border">1</property>
|
||||||
|
@ -415,7 +415,7 @@
|
||||||
</object>
|
</object>
|
||||||
<object class="sizeritem" expanded="1">
|
<object class="sizeritem" expanded="1">
|
||||||
<property name="border">5</property>
|
<property name="border">5</property>
|
||||||
<property name="flag">wxALIGN_CENTER_HORIZONTAL|wxRIGHT|wxLEFT</property>
|
<property name="flag">wxALIGN_CENTER_HORIZONTAL|wxBOTTOM|wxLEFT|wxRIGHT|wxTOP</property>
|
||||||
<property name="proportion">0</property>
|
<property name="proportion">0</property>
|
||||||
<object class="wxBoxSizer" expanded="1">
|
<object class="wxBoxSizer" expanded="1">
|
||||||
<property name="minimum_size"></property>
|
<property name="minimum_size"></property>
|
||||||
|
@ -693,7 +693,7 @@
|
||||||
<object class="sizeritem" expanded="1">
|
<object class="sizeritem" expanded="1">
|
||||||
<property name="border">5</property>
|
<property name="border">5</property>
|
||||||
<property name="flag">wxEXPAND|wxRIGHT|wxLEFT</property>
|
<property name="flag">wxEXPAND|wxRIGHT|wxLEFT</property>
|
||||||
<property name="proportion">2</property>
|
<property name="proportion">3</property>
|
||||||
<object class="wxStaticBoxSizer" expanded="1">
|
<object class="wxStaticBoxSizer" expanded="1">
|
||||||
<property name="id">wxID_ANY</property>
|
<property name="id">wxID_ANY</property>
|
||||||
<property name="label">Membership:</property>
|
<property name="label">Membership:</property>
|
||||||
|
@ -839,7 +839,7 @@
|
||||||
<property name="maximum_size"></property>
|
<property name="maximum_size"></property>
|
||||||
<property name="min_size"></property>
|
<property name="min_size"></property>
|
||||||
<property name="minimize_button">0</property>
|
<property name="minimize_button">0</property>
|
||||||
<property name="minimum_size">220,200</property>
|
<property name="minimum_size">-1,-1</property>
|
||||||
<property name="moveable">1</property>
|
<property name="moveable">1</property>
|
||||||
<property name="name">m_leftListCtrl</property>
|
<property name="name">m_leftListCtrl</property>
|
||||||
<property name="pane_border">1</property>
|
<property name="pane_border">1</property>
|
||||||
|
@ -1409,7 +1409,7 @@
|
||||||
<property name="maximum_size"></property>
|
<property name="maximum_size"></property>
|
||||||
<property name="min_size"></property>
|
<property name="min_size"></property>
|
||||||
<property name="minimize_button">0</property>
|
<property name="minimize_button">0</property>
|
||||||
<property name="minimum_size">220,-1</property>
|
<property name="minimum_size">-1,-1</property>
|
||||||
<property name="moveable">1</property>
|
<property name="moveable">1</property>
|
||||||
<property name="name">m_rightListCtrl</property>
|
<property name="name">m_rightListCtrl</property>
|
||||||
<property name="pane_border">1</property>
|
<property name="pane_border">1</property>
|
||||||
|
@ -3019,7 +3019,7 @@
|
||||||
<property name="row_label_values">"Via 1" "Via 2" "Via 3" "Via 4" "Via 5" "Via 6" "Via 7" "Via 8" "Via 9" "Via 10" "Via 11" "Via 12"</property>
|
<property name="row_label_values">"Via 1" "Via 2" "Via 3" "Via 4" "Via 5" "Via 6" "Via 7" "Via 8" "Via 9" "Via 10" "Via 11" "Via 12"</property>
|
||||||
<property name="row_label_vert_alignment">wxALIGN_CENTRE</property>
|
<property name="row_label_vert_alignment">wxALIGN_CENTRE</property>
|
||||||
<property name="row_sizes"></property>
|
<property name="row_sizes"></property>
|
||||||
<property name="rows">12</property>
|
<property name="rows">8</property>
|
||||||
<property name="show">1</property>
|
<property name="show">1</property>
|
||||||
<property name="size"></property>
|
<property name="size"></property>
|
||||||
<property name="subclass"></property>
|
<property name="subclass"></property>
|
||||||
|
@ -3259,7 +3259,7 @@
|
||||||
<property name="row_label_values">"Track 1" "Track 2" "Track 3" "Track 4" "Track 5" "Track 6" "Track 7" "Track 8" "Track 9" "Track 10" "Track 11" "Track 12"</property>
|
<property name="row_label_values">"Track 1" "Track 2" "Track 3" "Track 4" "Track 5" "Track 6" "Track 7" "Track 8" "Track 9" "Track 10" "Track 11" "Track 12"</property>
|
||||||
<property name="row_label_vert_alignment">wxALIGN_CENTRE</property>
|
<property name="row_label_vert_alignment">wxALIGN_CENTRE</property>
|
||||||
<property name="row_sizes"></property>
|
<property name="row_sizes"></property>
|
||||||
<property name="rows">12</property>
|
<property name="rows">8</property>
|
||||||
<property name="show">1</property>
|
<property name="show">1</property>
|
||||||
<property name="size"></property>
|
<property name="size"></property>
|
||||||
<property name="subclass"></property>
|
<property name="subclass"></property>
|
||||||
|
@ -3336,287 +3336,28 @@
|
||||||
</object>
|
</object>
|
||||||
<object class="sizeritem" expanded="1">
|
<object class="sizeritem" expanded="1">
|
||||||
<property name="border">5</property>
|
<property name="border">5</property>
|
||||||
<property name="flag">wxEXPAND|wxRIGHT|wxLEFT</property>
|
<property name="flag">wxALL|wxEXPAND</property>
|
||||||
<property name="proportion">0</property>
|
<property name="proportion">0</property>
|
||||||
<object class="wxStaticBoxSizer" expanded="1">
|
<object class="wxStdDialogButtonSizer" expanded="1">
|
||||||
<property name="id">wxID_ANY</property>
|
<property name="Apply">0</property>
|
||||||
<property name="label">Messages:</property>
|
<property name="Cancel">1</property>
|
||||||
|
<property name="ContextHelp">0</property>
|
||||||
|
<property name="Help">0</property>
|
||||||
|
<property name="No">0</property>
|
||||||
|
<property name="OK">1</property>
|
||||||
|
<property name="Save">0</property>
|
||||||
|
<property name="Yes">0</property>
|
||||||
<property name="minimum_size"></property>
|
<property name="minimum_size"></property>
|
||||||
<property name="name">sbSizer2</property>
|
<property name="name">m_sdbSizer1</property>
|
||||||
<property name="orient">wxHORIZONTAL</property>
|
<property name="permission">protected</property>
|
||||||
<property name="permission">none</property>
|
<event name="OnApplyButtonClick"></event>
|
||||||
<event name="OnUpdateUI"></event>
|
<event name="OnCancelButtonClick"></event>
|
||||||
<object class="sizeritem" expanded="1">
|
<event name="OnContextHelpButtonClick"></event>
|
||||||
<property name="border">5</property>
|
<event name="OnHelpButtonClick"></event>
|
||||||
<property name="flag">wxEXPAND</property>
|
<event name="OnNoButtonClick"></event>
|
||||||
<property name="proportion">1</property>
|
<event name="OnOKButtonClick"></event>
|
||||||
<object class="wxHtmlWindow" expanded="1">
|
<event name="OnSaveButtonClick"></event>
|
||||||
<property name="BottomDockable">1</property>
|
<event name="OnYesButtonClick"></event>
|
||||||
<property name="LeftDockable">1</property>
|
|
||||||
<property name="RightDockable">1</property>
|
|
||||||
<property name="TopDockable">1</property>
|
|
||||||
<property name="aui_layer"></property>
|
|
||||||
<property name="aui_name"></property>
|
|
||||||
<property name="aui_position"></property>
|
|
||||||
<property name="aui_row"></property>
|
|
||||||
<property name="best_size"></property>
|
|
||||||
<property name="bg"></property>
|
|
||||||
<property name="caption"></property>
|
|
||||||
<property name="caption_visible">1</property>
|
|
||||||
<property name="center_pane">0</property>
|
|
||||||
<property name="close_button">1</property>
|
|
||||||
<property name="context_help"></property>
|
|
||||||
<property name="context_menu">1</property>
|
|
||||||
<property name="default_pane">0</property>
|
|
||||||
<property name="dock">Dock</property>
|
|
||||||
<property name="dock_fixed">0</property>
|
|
||||||
<property name="docking">Left</property>
|
|
||||||
<property name="enabled">1</property>
|
|
||||||
<property name="fg"></property>
|
|
||||||
<property name="floatable">1</property>
|
|
||||||
<property name="font"></property>
|
|
||||||
<property name="gripper">0</property>
|
|
||||||
<property name="hidden">0</property>
|
|
||||||
<property name="id">wxID_ANY</property>
|
|
||||||
<property name="max_size"></property>
|
|
||||||
<property name="maximize_button">0</property>
|
|
||||||
<property name="maximum_size"></property>
|
|
||||||
<property name="min_size"></property>
|
|
||||||
<property name="minimize_button">0</property>
|
|
||||||
<property name="minimum_size">-1,90</property>
|
|
||||||
<property name="moveable">1</property>
|
|
||||||
<property name="name">m_MessagesList</property>
|
|
||||||
<property name="pane_border">1</property>
|
|
||||||
<property name="pane_position"></property>
|
|
||||||
<property name="pane_size"></property>
|
|
||||||
<property name="permission">protected</property>
|
|
||||||
<property name="pin_button">1</property>
|
|
||||||
<property name="pos"></property>
|
|
||||||
<property name="resize">Resizable</property>
|
|
||||||
<property name="show">1</property>
|
|
||||||
<property name="size"></property>
|
|
||||||
<property name="style">wxHW_SCROLLBAR_AUTO</property>
|
|
||||||
<property name="subclass"></property>
|
|
||||||
<property name="toolbar_pane">0</property>
|
|
||||||
<property name="tooltip"></property>
|
|
||||||
<property name="window_extra_style"></property>
|
|
||||||
<property name="window_name"></property>
|
|
||||||
<property name="window_style">wxSUNKEN_BORDER</property>
|
|
||||||
<event name="OnChar"></event>
|
|
||||||
<event name="OnEnterWindow"></event>
|
|
||||||
<event name="OnEraseBackground"></event>
|
|
||||||
<event name="OnHtmlCellClicked"></event>
|
|
||||||
<event name="OnHtmlCellHover"></event>
|
|
||||||
<event name="OnHtmlLinkClicked"></event>
|
|
||||||
<event name="OnKeyDown"></event>
|
|
||||||
<event name="OnKeyUp"></event>
|
|
||||||
<event name="OnKillFocus"></event>
|
|
||||||
<event name="OnLeaveWindow"></event>
|
|
||||||
<event name="OnLeftDClick"></event>
|
|
||||||
<event name="OnLeftDown"></event>
|
|
||||||
<event name="OnLeftUp"></event>
|
|
||||||
<event name="OnMiddleDClick"></event>
|
|
||||||
<event name="OnMiddleDown"></event>
|
|
||||||
<event name="OnMiddleUp"></event>
|
|
||||||
<event name="OnMotion"></event>
|
|
||||||
<event name="OnMouseEvents"></event>
|
|
||||||
<event name="OnMouseWheel"></event>
|
|
||||||
<event name="OnPaint"></event>
|
|
||||||
<event name="OnRightDClick"></event>
|
|
||||||
<event name="OnRightDown"></event>
|
|
||||||
<event name="OnRightUp"></event>
|
|
||||||
<event name="OnSetFocus"></event>
|
|
||||||
<event name="OnSize"></event>
|
|
||||||
<event name="OnUpdateUI"></event>
|
|
||||||
</object>
|
|
||||||
</object>
|
|
||||||
<object class="sizeritem" expanded="1">
|
|
||||||
<property name="border">5</property>
|
|
||||||
<property name="flag"></property>
|
|
||||||
<property name="proportion">0</property>
|
|
||||||
<object class="wxBoxSizer" expanded="1">
|
|
||||||
<property name="minimum_size"></property>
|
|
||||||
<property name="name">bSizerButtons</property>
|
|
||||||
<property name="orient">wxVERTICAL</property>
|
|
||||||
<property name="permission">none</property>
|
|
||||||
<object class="sizeritem" expanded="1">
|
|
||||||
<property name="border">5</property>
|
|
||||||
<property name="flag">wxALL|wxEXPAND</property>
|
|
||||||
<property name="proportion">0</property>
|
|
||||||
<object class="wxButton" expanded="1">
|
|
||||||
<property name="BottomDockable">1</property>
|
|
||||||
<property name="LeftDockable">1</property>
|
|
||||||
<property name="RightDockable">1</property>
|
|
||||||
<property name="TopDockable">1</property>
|
|
||||||
<property name="aui_layer"></property>
|
|
||||||
<property name="aui_name"></property>
|
|
||||||
<property name="aui_position"></property>
|
|
||||||
<property name="aui_row"></property>
|
|
||||||
<property name="best_size"></property>
|
|
||||||
<property name="bg"></property>
|
|
||||||
<property name="caption"></property>
|
|
||||||
<property name="caption_visible">1</property>
|
|
||||||
<property name="center_pane">0</property>
|
|
||||||
<property name="close_button">1</property>
|
|
||||||
<property name="context_help"></property>
|
|
||||||
<property name="context_menu">1</property>
|
|
||||||
<property name="default">1</property>
|
|
||||||
<property name="default_pane">0</property>
|
|
||||||
<property name="dock">Dock</property>
|
|
||||||
<property name="dock_fixed">0</property>
|
|
||||||
<property name="docking">Left</property>
|
|
||||||
<property name="enabled">1</property>
|
|
||||||
<property name="fg"></property>
|
|
||||||
<property name="floatable">1</property>
|
|
||||||
<property name="font"></property>
|
|
||||||
<property name="gripper">0</property>
|
|
||||||
<property name="hidden">0</property>
|
|
||||||
<property name="id">wxID_OK</property>
|
|
||||||
<property name="label">OK</property>
|
|
||||||
<property name="max_size"></property>
|
|
||||||
<property name="maximize_button">0</property>
|
|
||||||
<property name="maximum_size"></property>
|
|
||||||
<property name="min_size"></property>
|
|
||||||
<property name="minimize_button">0</property>
|
|
||||||
<property name="minimum_size"></property>
|
|
||||||
<property name="moveable">1</property>
|
|
||||||
<property name="name">m_buttonOk</property>
|
|
||||||
<property name="pane_border">1</property>
|
|
||||||
<property name="pane_position"></property>
|
|
||||||
<property name="pane_size"></property>
|
|
||||||
<property name="permission">protected</property>
|
|
||||||
<property name="pin_button">1</property>
|
|
||||||
<property name="pos"></property>
|
|
||||||
<property name="resize">Resizable</property>
|
|
||||||
<property name="show">1</property>
|
|
||||||
<property name="size"></property>
|
|
||||||
<property name="style"></property>
|
|
||||||
<property name="subclass"></property>
|
|
||||||
<property name="toolbar_pane">0</property>
|
|
||||||
<property name="tooltip"></property>
|
|
||||||
<property name="validator_data_type"></property>
|
|
||||||
<property name="validator_style">wxFILTER_NONE</property>
|
|
||||||
<property name="validator_type">wxDefaultValidator</property>
|
|
||||||
<property name="validator_variable"></property>
|
|
||||||
<property name="window_extra_style"></property>
|
|
||||||
<property name="window_name"></property>
|
|
||||||
<property name="window_style"></property>
|
|
||||||
<event name="OnButtonClick">OnOkButtonClick</event>
|
|
||||||
<event name="OnChar"></event>
|
|
||||||
<event name="OnEnterWindow"></event>
|
|
||||||
<event name="OnEraseBackground"></event>
|
|
||||||
<event name="OnKeyDown"></event>
|
|
||||||
<event name="OnKeyUp"></event>
|
|
||||||
<event name="OnKillFocus"></event>
|
|
||||||
<event name="OnLeaveWindow"></event>
|
|
||||||
<event name="OnLeftDClick"></event>
|
|
||||||
<event name="OnLeftDown"></event>
|
|
||||||
<event name="OnLeftUp"></event>
|
|
||||||
<event name="OnMiddleDClick"></event>
|
|
||||||
<event name="OnMiddleDown"></event>
|
|
||||||
<event name="OnMiddleUp"></event>
|
|
||||||
<event name="OnMotion"></event>
|
|
||||||
<event name="OnMouseEvents"></event>
|
|
||||||
<event name="OnMouseWheel"></event>
|
|
||||||
<event name="OnPaint"></event>
|
|
||||||
<event name="OnRightDClick"></event>
|
|
||||||
<event name="OnRightDown"></event>
|
|
||||||
<event name="OnRightUp"></event>
|
|
||||||
<event name="OnSetFocus"></event>
|
|
||||||
<event name="OnSize"></event>
|
|
||||||
<event name="OnUpdateUI"></event>
|
|
||||||
</object>
|
|
||||||
</object>
|
|
||||||
<object class="sizeritem" expanded="1">
|
|
||||||
<property name="border">5</property>
|
|
||||||
<property name="flag">wxALL|wxEXPAND</property>
|
|
||||||
<property name="proportion">0</property>
|
|
||||||
<object class="wxButton" expanded="1">
|
|
||||||
<property name="BottomDockable">1</property>
|
|
||||||
<property name="LeftDockable">1</property>
|
|
||||||
<property name="RightDockable">1</property>
|
|
||||||
<property name="TopDockable">1</property>
|
|
||||||
<property name="aui_layer"></property>
|
|
||||||
<property name="aui_name"></property>
|
|
||||||
<property name="aui_position"></property>
|
|
||||||
<property name="aui_row"></property>
|
|
||||||
<property name="best_size"></property>
|
|
||||||
<property name="bg"></property>
|
|
||||||
<property name="caption"></property>
|
|
||||||
<property name="caption_visible">1</property>
|
|
||||||
<property name="center_pane">0</property>
|
|
||||||
<property name="close_button">1</property>
|
|
||||||
<property name="context_help"></property>
|
|
||||||
<property name="context_menu">1</property>
|
|
||||||
<property name="default">0</property>
|
|
||||||
<property name="default_pane">0</property>
|
|
||||||
<property name="dock">Dock</property>
|
|
||||||
<property name="dock_fixed">0</property>
|
|
||||||
<property name="docking">Left</property>
|
|
||||||
<property name="enabled">1</property>
|
|
||||||
<property name="fg"></property>
|
|
||||||
<property name="floatable">1</property>
|
|
||||||
<property name="font"></property>
|
|
||||||
<property name="gripper">0</property>
|
|
||||||
<property name="hidden">0</property>
|
|
||||||
<property name="id">wxID_CANCEL</property>
|
|
||||||
<property name="label">Cancel</property>
|
|
||||||
<property name="max_size"></property>
|
|
||||||
<property name="maximize_button">0</property>
|
|
||||||
<property name="maximum_size"></property>
|
|
||||||
<property name="min_size"></property>
|
|
||||||
<property name="minimize_button">0</property>
|
|
||||||
<property name="minimum_size"></property>
|
|
||||||
<property name="moveable">1</property>
|
|
||||||
<property name="name">m_buttonCancel</property>
|
|
||||||
<property name="pane_border">1</property>
|
|
||||||
<property name="pane_position"></property>
|
|
||||||
<property name="pane_size"></property>
|
|
||||||
<property name="permission">protected</property>
|
|
||||||
<property name="pin_button">1</property>
|
|
||||||
<property name="pos"></property>
|
|
||||||
<property name="resize">Resizable</property>
|
|
||||||
<property name="show">1</property>
|
|
||||||
<property name="size"></property>
|
|
||||||
<property name="style"></property>
|
|
||||||
<property name="subclass"></property>
|
|
||||||
<property name="toolbar_pane">0</property>
|
|
||||||
<property name="tooltip"></property>
|
|
||||||
<property name="validator_data_type"></property>
|
|
||||||
<property name="validator_style">wxFILTER_NONE</property>
|
|
||||||
<property name="validator_type">wxDefaultValidator</property>
|
|
||||||
<property name="validator_variable"></property>
|
|
||||||
<property name="window_extra_style"></property>
|
|
||||||
<property name="window_name"></property>
|
|
||||||
<property name="window_style"></property>
|
|
||||||
<event name="OnButtonClick">OnCancelButtonClick</event>
|
|
||||||
<event name="OnChar"></event>
|
|
||||||
<event name="OnEnterWindow"></event>
|
|
||||||
<event name="OnEraseBackground"></event>
|
|
||||||
<event name="OnKeyDown"></event>
|
|
||||||
<event name="OnKeyUp"></event>
|
|
||||||
<event name="OnKillFocus"></event>
|
|
||||||
<event name="OnLeaveWindow"></event>
|
|
||||||
<event name="OnLeftDClick"></event>
|
|
||||||
<event name="OnLeftDown"></event>
|
|
||||||
<event name="OnLeftUp"></event>
|
|
||||||
<event name="OnMiddleDClick"></event>
|
|
||||||
<event name="OnMiddleDown"></event>
|
|
||||||
<event name="OnMiddleUp"></event>
|
|
||||||
<event name="OnMotion"></event>
|
|
||||||
<event name="OnMouseEvents"></event>
|
|
||||||
<event name="OnMouseWheel"></event>
|
|
||||||
<event name="OnPaint"></event>
|
|
||||||
<event name="OnRightDClick"></event>
|
|
||||||
<event name="OnRightDown"></event>
|
|
||||||
<event name="OnRightUp"></event>
|
|
||||||
<event name="OnSetFocus"></event>
|
|
||||||
<event name="OnSize"></event>
|
|
||||||
<event name="OnUpdateUI"></event>
|
|
||||||
</object>
|
|
||||||
</object>
|
|
||||||
</object>
|
|
||||||
</object>
|
|
||||||
</object>
|
</object>
|
||||||
</object>
|
</object>
|
||||||
</object>
|
</object>
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
///////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////
|
||||||
// C++ code generated with wxFormBuilder (version Mar 9 2015)
|
// C++ code generated with wxFormBuilder (version Jun 5 2014)
|
||||||
// http://www.wxformbuilder.org/
|
// http://www.wxformbuilder.org/
|
||||||
//
|
//
|
||||||
// PLEASE DO "NOT" EDIT THIS FILE!
|
// PLEASE DO "NOT" EDIT THIS FILE!
|
||||||
|
@ -35,7 +35,6 @@ class NETS_LIST_CTRL;
|
||||||
#include <wx/textctrl.h>
|
#include <wx/textctrl.h>
|
||||||
#include <wx/statline.h>
|
#include <wx/statline.h>
|
||||||
#include <wx/notebook.h>
|
#include <wx/notebook.h>
|
||||||
#include <wx/html/htmlwin.h>
|
|
||||||
#include <wx/dialog.h>
|
#include <wx/dialog.h>
|
||||||
|
|
||||||
///////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////
|
||||||
|
@ -89,11 +88,12 @@ class DIALOG_DESIGN_RULES_BASE : public DIALOG_SHIM
|
||||||
wxGrid* m_gridViaSizeList;
|
wxGrid* m_gridViaSizeList;
|
||||||
wxStaticText* m_staticText8;
|
wxStaticText* m_staticText8;
|
||||||
wxGrid* m_gridTrackWidthList;
|
wxGrid* m_gridTrackWidthList;
|
||||||
wxHtmlWindow* m_MessagesList;
|
wxStdDialogButtonSizer* m_sdbSizer1;
|
||||||
wxButton* m_buttonOk;
|
wxButton* m_sdbSizer1OK;
|
||||||
wxButton* m_buttonCancel;
|
wxButton* m_sdbSizer1Cancel;
|
||||||
|
|
||||||
// Virtual event handlers, overide them in your derived class
|
// Virtual event handlers, overide them in your derived class
|
||||||
|
virtual void OnNotebookPageChanged( wxNotebookEvent& event ) { event.Skip(); }
|
||||||
virtual void OnNetClassesNameLeftClick( wxGridEvent& event ) { event.Skip(); }
|
virtual void OnNetClassesNameLeftClick( wxGridEvent& event ) { event.Skip(); }
|
||||||
virtual void OnNetClassesNameRightClick( wxGridEvent& event ) { event.Skip(); }
|
virtual void OnNetClassesNameRightClick( wxGridEvent& event ) { event.Skip(); }
|
||||||
virtual void OnAddNetclassClick( wxCommandEvent& event ) { event.Skip(); }
|
virtual void OnAddNetclassClick( wxCommandEvent& event ) { event.Skip(); }
|
||||||
|
@ -105,13 +105,11 @@ class DIALOG_DESIGN_RULES_BASE : public DIALOG_SHIM
|
||||||
virtual void OnLeftSelectAllButton( wxCommandEvent& event ) { event.Skip(); }
|
virtual void OnLeftSelectAllButton( wxCommandEvent& event ) { event.Skip(); }
|
||||||
virtual void OnRightSelectAllButton( wxCommandEvent& event ) { event.Skip(); }
|
virtual void OnRightSelectAllButton( wxCommandEvent& event ) { event.Skip(); }
|
||||||
virtual void OnRightCBSelection( wxCommandEvent& event ) { event.Skip(); }
|
virtual void OnRightCBSelection( wxCommandEvent& event ) { event.Skip(); }
|
||||||
virtual void OnOkButtonClick( wxCommandEvent& event ) { event.Skip(); }
|
|
||||||
virtual void OnCancelButtonClick( wxCommandEvent& event ) { event.Skip(); }
|
|
||||||
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
DIALOG_DESIGN_RULES_BASE( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Design Rules Editor"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 777,697 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );
|
DIALOG_DESIGN_RULES_BASE( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Design Rules Editor"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( -1,-1 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );
|
||||||
~DIALOG_DESIGN_RULES_BASE();
|
~DIALOG_DESIGN_RULES_BASE();
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue