mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-04-21 18:53:45 +00:00
Pcbnew/FPedit: Make orthogonal dimensions the default
Aligned (free-angle) dimensions are much less common than H/V ones in most PCB fab drawings and footprint drawings.
This commit is contained in:
parent
f2d2e953f7
commit
67b6ba33d3
@ -177,8 +177,8 @@ void FOOTPRINT_EDIT_FRAME::doReCreateMenuBar()
|
||||
placeMenu->Add( PCB_ACTIONS::drawTable );
|
||||
|
||||
placeMenu->AppendSeparator();
|
||||
placeMenu->Add( PCB_ACTIONS::drawAlignedDimension );
|
||||
placeMenu->Add( PCB_ACTIONS::drawOrthogonalDimension );
|
||||
placeMenu->Add( PCB_ACTIONS::drawAlignedDimension );
|
||||
placeMenu->Add( PCB_ACTIONS::drawCenterDimension );
|
||||
placeMenu->Add( PCB_ACTIONS::drawRadialDimension );
|
||||
placeMenu->Add( PCB_ACTIONS::drawLeader );
|
||||
|
@ -321,8 +321,8 @@ void PCB_EDIT_FRAME::doReCreateMenuBar()
|
||||
ACTION_MENU* dimensionSubmenu = new ACTION_MENU( false, selTool );
|
||||
dimensionSubmenu->SetTitle( _( "Add Dimension" ) );
|
||||
dimensionSubmenu->SetIcon( BITMAPS::add_aligned_dimension );
|
||||
dimensionSubmenu->Add( PCB_ACTIONS::drawAlignedDimension );
|
||||
dimensionSubmenu->Add( PCB_ACTIONS::drawOrthogonalDimension );
|
||||
dimensionSubmenu->Add( PCB_ACTIONS::drawAlignedDimension );
|
||||
dimensionSubmenu->Add( PCB_ACTIONS::drawCenterDimension );
|
||||
dimensionSubmenu->Add( PCB_ACTIONS::drawRadialDimension );
|
||||
dimensionSubmenu->Add( PCB_ACTIONS::drawLeader );
|
||||
|
@ -166,8 +166,8 @@ void FOOTPRINT_EDIT_FRAME::ReCreateVToolbar()
|
||||
if( !dimensionGroup )
|
||||
{
|
||||
dimensionGroup = new ACTION_GROUP( "group.pcbDimensions",
|
||||
{ &PCB_ACTIONS::drawAlignedDimension,
|
||||
&PCB_ACTIONS::drawOrthogonalDimension,
|
||||
{ &PCB_ACTIONS::drawOrthogonalDimension,
|
||||
&PCB_ACTIONS::drawAlignedDimension,
|
||||
&PCB_ACTIONS::drawCenterDimension,
|
||||
&PCB_ACTIONS::drawRadialDimension,
|
||||
&PCB_ACTIONS::drawLeader } );
|
||||
|
@ -327,8 +327,8 @@ void PCB_EDIT_FRAME::ReCreateVToolbar()
|
||||
if( !dimensionGroup )
|
||||
{
|
||||
dimensionGroup = new ACTION_GROUP( "group.pcbDimensions",
|
||||
{ &PCB_ACTIONS::drawAlignedDimension,
|
||||
&PCB_ACTIONS::drawOrthogonalDimension,
|
||||
{ &PCB_ACTIONS::drawOrthogonalDimension,
|
||||
&PCB_ACTIONS::drawAlignedDimension,
|
||||
&PCB_ACTIONS::drawCenterDimension,
|
||||
&PCB_ACTIONS::drawRadialDimension,
|
||||
&PCB_ACTIONS::drawLeader } );
|
||||
|
@ -232,7 +232,6 @@ TOOL_ACTION PCB_ACTIONS::amplDecrease( TOOL_ACTION_ARGS()
|
||||
TOOL_ACTION PCB_ACTIONS::drawAlignedDimension( TOOL_ACTION_ARGS()
|
||||
.Name( "pcbnew.InteractiveDrawing.alignedDimension" )
|
||||
.Scope( AS_GLOBAL )
|
||||
.DefaultHotkey( MD_SHIFT + MD_CTRL + 'H' )
|
||||
.LegacyHotkeyName( "Add Dimension" )
|
||||
.FriendlyName( _( "Add Aligned Dimension" ) )
|
||||
.Tooltip( _( "Add an aligned linear dimension" ) )
|
||||
@ -258,6 +257,7 @@ TOOL_ACTION PCB_ACTIONS::drawRadialDimension( TOOL_ACTION_ARGS()
|
||||
TOOL_ACTION PCB_ACTIONS::drawOrthogonalDimension( TOOL_ACTION_ARGS()
|
||||
.Name( "pcbnew.InteractiveDrawing.orthogonalDimension" )
|
||||
.Scope( AS_GLOBAL )
|
||||
.DefaultHotkey( MD_SHIFT + MD_CTRL + 'H' )
|
||||
.FriendlyName( _( "Add Orthogonal Dimension" ) )
|
||||
.Tooltip( _( "Add an orthogonal dimension" ) )
|
||||
.Icon( BITMAPS::add_orthogonal_dimension )
|
||||
|
Loading…
Reference in New Issue
Block a user