mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-04-02 00:26:45 +00:00
Remove redundant tooltips.
Also fixes grammar and capitalisation in a few tooltips. Also standardises some terminology, such as "Add" vs "Draw"/"Place" and "Assignment" vs "Association". Fixes https://gitlab.com/kicad/code/kicad/-/issues/17694
This commit is contained in:
parent
e6a5669d02
commit
535aca7a8d
common/tool
cvpcb/tools
eeschema/tools
gerbview/tools
kicad/tools
pagelayout_editor/tools
pcbnew
@ -186,7 +186,6 @@ TOOL_ACTION ACTIONS::undo( TOOL_ACTION_ARGS()
|
||||
.DefaultHotkey( MD_CTRL + 'Z' )
|
||||
.LegacyHotkeyName( "Undo" )
|
||||
.FriendlyName( _( "Undo" ) )
|
||||
.Tooltip( _( "Undo last edit" ) )
|
||||
.Icon( BITMAPS::undo ) );
|
||||
|
||||
TOOL_ACTION ACTIONS::redo( TOOL_ACTION_ARGS()
|
||||
@ -199,7 +198,6 @@ TOOL_ACTION ACTIONS::redo( TOOL_ACTION_ARGS()
|
||||
#endif
|
||||
.LegacyHotkeyName( "Redo" )
|
||||
.FriendlyName( _( "Redo" ) )
|
||||
.Tooltip( _( "Redo last edit" ) )
|
||||
.Icon( BITMAPS::redo ) );
|
||||
|
||||
// The following actions need to have a hard-coded UI ID using a wx-specific ID
|
||||
@ -279,7 +277,7 @@ TOOL_ACTION ACTIONS::doDelete( TOOL_ACTION_ARGS()
|
||||
#endif
|
||||
.LegacyHotkeyName( "Delete Item" )
|
||||
.FriendlyName( _( "Delete" ) )
|
||||
.Tooltip( _( "Deletes selected item(s)" ) )
|
||||
.Tooltip( _( "Delete selected item(s)" ) ) // differentiation from deleteTool, below
|
||||
.Icon( BITMAPS::trash )
|
||||
.Parameter( ACTIONS::REMOVE_FLAGS::NORMAL ) );
|
||||
|
||||
@ -434,7 +432,6 @@ TOOL_ACTION ACTIONS::find( TOOL_ACTION_ARGS()
|
||||
.DefaultHotkey( MD_CTRL + 'F' )
|
||||
.LegacyHotkeyName( "Find" )
|
||||
.FriendlyName( _( "Find" ) )
|
||||
.Tooltip( _( "Find text" ) )
|
||||
.Icon( BITMAPS::find ) );
|
||||
|
||||
TOOL_ACTION ACTIONS::findAndReplace( TOOL_ACTION_ARGS()
|
||||
@ -443,7 +440,6 @@ TOOL_ACTION ACTIONS::findAndReplace( TOOL_ACTION_ARGS()
|
||||
.DefaultHotkey( MD_CTRL + MD_ALT + 'F' )
|
||||
.LegacyHotkeyName( "Find and Replace" )
|
||||
.FriendlyName( _( "Find and Replace" ) )
|
||||
.Tooltip( _( "Find and replace text" ) )
|
||||
.Icon( BITMAPS::find_replace ) );
|
||||
|
||||
TOOL_ACTION ACTIONS::findNext( TOOL_ACTION_ARGS()
|
||||
@ -452,7 +448,6 @@ TOOL_ACTION ACTIONS::findNext( TOOL_ACTION_ARGS()
|
||||
.DefaultHotkey( WXK_F3 )
|
||||
.LegacyHotkeyName( "Find Next" )
|
||||
.FriendlyName( _( "Find Next" ) )
|
||||
.Tooltip( _( "Find next match" ) )
|
||||
.Icon( BITMAPS::find ) );
|
||||
|
||||
TOOL_ACTION ACTIONS::findPrevious( TOOL_ACTION_ARGS()
|
||||
@ -461,7 +456,6 @@ TOOL_ACTION ACTIONS::findPrevious( TOOL_ACTION_ARGS()
|
||||
.DefaultHotkey( MD_SHIFT + static_cast<int>( WXK_F3 ) )
|
||||
.LegacyHotkeyName( "Find Previous" )
|
||||
.FriendlyName( _( "Find Previous" ) )
|
||||
.Tooltip( _( "Find previous match" ) )
|
||||
.Icon( BITMAPS::find ) );
|
||||
|
||||
TOOL_ACTION ACTIONS::findNextMarker( TOOL_ACTION_ARGS()
|
||||
@ -476,14 +470,12 @@ TOOL_ACTION ACTIONS::replaceAndFindNext( TOOL_ACTION_ARGS()
|
||||
.Name( "common.Interactive.replaceAndFindNext" )
|
||||
.Scope( AS_GLOBAL )
|
||||
.FriendlyName( _( "Replace and Find Next" ) )
|
||||
.Tooltip( _( "Replace current match and find next" ) )
|
||||
.Icon( BITMAPS::find_replace ) );
|
||||
|
||||
TOOL_ACTION ACTIONS::replaceAll( TOOL_ACTION_ARGS()
|
||||
.Name( "common.Interactive.replaceAll" )
|
||||
.Scope( AS_GLOBAL )
|
||||
.FriendlyName( _( "Replace All" ) )
|
||||
.Tooltip( _( "Replace all matches" ) )
|
||||
.Icon( BITMAPS::find_replace ) );
|
||||
|
||||
TOOL_ACTION ACTIONS::updateFind( TOOL_ACTION_ARGS()
|
||||
@ -496,14 +488,12 @@ TOOL_ACTION ACTIONS::prevMarker( TOOL_ACTION_ARGS()
|
||||
.Name( "common.Checker.prevMarker" )
|
||||
.Scope( AS_GLOBAL )
|
||||
.FriendlyName( _( "Previous Marker" ) )
|
||||
.Tooltip( _( "Go to previous marker in Checker window" ) )
|
||||
.Icon( BITMAPS::marker_previous ) );
|
||||
|
||||
TOOL_ACTION ACTIONS::nextMarker( TOOL_ACTION_ARGS()
|
||||
.Name( "common.Checker.nextMarker" )
|
||||
.Scope( AS_GLOBAL )
|
||||
.FriendlyName( _( "Next Marker" ) )
|
||||
.Tooltip( _( "Go to next marker in Checker window" ) )
|
||||
.Icon( BITMAPS::marker_next ) );
|
||||
|
||||
TOOL_ACTION ACTIONS::excludeMarker( TOOL_ACTION_ARGS()
|
||||
@ -524,7 +514,6 @@ TOOL_ACTION ACTIONS::zoomRedraw( TOOL_ACTION_ARGS()
|
||||
#endif
|
||||
.LegacyHotkeyName( "Zoom Redraw" )
|
||||
.FriendlyName( _( "Refresh" ) )
|
||||
.Tooltip( _( "Refresh" ) )
|
||||
.Icon( BITMAPS::refresh ) );
|
||||
|
||||
TOOL_ACTION ACTIONS::zoomFitScreen( TOOL_ACTION_ARGS()
|
||||
@ -890,7 +879,6 @@ TOOL_ACTION ACTIONS::inchesUnits( TOOL_ACTION_ARGS()
|
||||
.Name( "common.Control.imperialUnits" )
|
||||
.Scope( AS_GLOBAL )
|
||||
.FriendlyName( _( "Inches" ) )
|
||||
.Tooltip( _( "Use inches" ) )
|
||||
.Icon( BITMAPS::unit_inch )
|
||||
.Flags( AF_NONE )
|
||||
.Parameter( EDA_UNITS::INCHES ) );
|
||||
@ -899,7 +887,6 @@ TOOL_ACTION ACTIONS::milsUnits( TOOL_ACTION_ARGS()
|
||||
.Name( "common.Control.mils" )
|
||||
.Scope( AS_GLOBAL )
|
||||
.FriendlyName( _( "Mils" ) )
|
||||
.Tooltip( _( "Use mils" ) )
|
||||
.Icon( BITMAPS::unit_mil )
|
||||
.Flags( AF_NONE )
|
||||
.Parameter( EDA_UNITS::MILS ) );
|
||||
@ -908,7 +895,6 @@ TOOL_ACTION ACTIONS::millimetersUnits( TOOL_ACTION_ARGS()
|
||||
.Name( "common.Control.metricUnits" )
|
||||
.Scope( AS_GLOBAL )
|
||||
.FriendlyName( _( "Millimeters" ) )
|
||||
.Tooltip( _( "Use millimeters" ) )
|
||||
.Icon( BITMAPS::unit_mm )
|
||||
.Flags( AF_NONE )
|
||||
.Parameter( EDA_UNITS::MILLIMETRES ) );
|
||||
@ -1035,7 +1021,6 @@ TOOL_ACTION ACTIONS::showSymbolBrowser( TOOL_ACTION_ARGS()
|
||||
.Name( "common.Control.showSymbolBrowser" )
|
||||
.Scope( AS_GLOBAL )
|
||||
.FriendlyName( _( "Symbol Library Browser" ) )
|
||||
.Tooltip( _( "Browse symbol libraries" ) )
|
||||
.Icon( BITMAPS::library_browser )
|
||||
.Flags( AF_NONE)
|
||||
.Parameter( FRAME_SCH_VIEWER ) );
|
||||
@ -1044,7 +1029,7 @@ TOOL_ACTION ACTIONS::showSymbolEditor( TOOL_ACTION_ARGS()
|
||||
.Name( "common.Control.showSymbolEditor" )
|
||||
.Scope( AS_GLOBAL )
|
||||
.FriendlyName( _( "Symbol Editor" ) )
|
||||
.Tooltip( _( "Create, delete and edit symbols" ) )
|
||||
.Tooltip( _( "Create, delete and edit schematic symbols" ) )
|
||||
.Icon( BITMAPS::libedit )
|
||||
.Flags( AF_NONE )
|
||||
.Parameter( FRAME_SCH_SYMBOL_EDITOR ) );
|
||||
@ -1053,7 +1038,6 @@ TOOL_ACTION ACTIONS::showFootprintBrowser( TOOL_ACTION_ARGS()
|
||||
.Name( "common.Control.showFootprintBrowser" )
|
||||
.Scope( AS_GLOBAL )
|
||||
.FriendlyName( _( "Footprint Library Browser" ) )
|
||||
.Tooltip( _( "Browse footprint libraries" ) )
|
||||
.Icon( BITMAPS::library_browser )
|
||||
.Flags( AF_NONE )
|
||||
.Parameter( FRAME_FOOTPRINT_VIEWER ) );
|
||||
@ -1062,7 +1046,7 @@ TOOL_ACTION ACTIONS::showFootprintEditor( TOOL_ACTION_ARGS()
|
||||
.Name( "common.Control.showFootprintEditor" )
|
||||
.Scope( AS_GLOBAL )
|
||||
.FriendlyName( _( "Footprint Editor" ) )
|
||||
.Tooltip( _( "Create, delete and edit footprints" ) )
|
||||
.Tooltip( _( "Create, delete and edit board footprints" ) )
|
||||
.Icon( BITMAPS::module_editor )
|
||||
.Flags( AF_NONE )
|
||||
.Parameter( FRAME_FOOTPRINT_EDITOR ) );
|
||||
@ -1138,7 +1122,6 @@ TOOL_ACTION ACTIONS::about( TOOL_ACTION_ARGS()
|
||||
.Name( "common.SuiteControl.about" )
|
||||
.Scope( AS_GLOBAL )
|
||||
.FriendlyName( _( "About KiCad" ) )
|
||||
.Tooltip( _( "Open about dialog" ) )
|
||||
.UIId( wxID_ABOUT )
|
||||
.Icon( BITMAPS::about ) );
|
||||
|
||||
|
@ -52,8 +52,7 @@ TOOL_ACTION CVPCB_ACTIONS::controlActivate( TOOL_ACTION_ARGS()
|
||||
TOOL_ACTION CVPCB_ACTIONS::showFootprintViewer( TOOL_ACTION_ARGS()
|
||||
.Name( "cvpcb.Control.ShowFootprintViewer" )
|
||||
.Scope( AS_GLOBAL )
|
||||
.FriendlyName( _( "View selected footprint" ) )
|
||||
.Tooltip( _( "View the selected footprint in the footprint viewer" ) )
|
||||
.FriendlyName( _( "View Selected Footprint" ) )
|
||||
.Icon( BITMAPS::show_footprint ) );
|
||||
|
||||
|
||||
@ -63,7 +62,7 @@ TOOL_ACTION CVPCB_ACTIONS::showEquFileTable( TOOL_ACTION_ARGS()
|
||||
.Scope( AS_GLOBAL )
|
||||
.FriendlyName( _( "Manage Footprint Association Files..." ) )
|
||||
.Tooltip( _( "Edit the footprint association files list. These files are used to "
|
||||
"automatically assign footprint names from symbol values." ) ) );
|
||||
"automatically assign footprints based on symbol values." ) ) );
|
||||
|
||||
TOOL_ACTION CVPCB_ACTIONS::saveAssociationsToSchematic( TOOL_ACTION_ARGS()
|
||||
.Name( "cvpcb.Control.SaveAssociationsToSchematic" )
|
||||
@ -71,7 +70,7 @@ TOOL_ACTION CVPCB_ACTIONS::saveAssociationsToSchematic( TOOL_ACTION_ARGS()
|
||||
.DefaultHotkey( MD_CTRL + 'S' )
|
||||
.LegacyHotkeyName( "Save" )
|
||||
.FriendlyName( _( "Save to Schematic" ) )
|
||||
.Tooltip( _( "Save footprint associations in schematic symbol footprint fields" ) )
|
||||
.Tooltip( _( "Save footprint assignments in 'footprint' fields of schematic symbols" ) )
|
||||
.Icon( BITMAPS::save ) );
|
||||
|
||||
TOOL_ACTION CVPCB_ACTIONS::saveAssociationsToFile( TOOL_ACTION_ARGS()
|
||||
@ -80,7 +79,7 @@ TOOL_ACTION CVPCB_ACTIONS::saveAssociationsToFile( TOOL_ACTION_ARGS()
|
||||
.DefaultHotkey( MD_CTRL + 'S' )
|
||||
.LegacyHotkeyName( "Save" )
|
||||
.FriendlyName( _( "Save to Schematic and File" ) )
|
||||
.Tooltip( _( "Save footprint associations in schematic symbol footprint fields and schematic files" ) )
|
||||
.Tooltip( _( "Save footprint assignments in 'footprint' fields of schematic symbols and then save schematic files" ) )
|
||||
.Icon( BITMAPS::save ) );
|
||||
|
||||
// Actions to navigate the display
|
||||
@ -102,7 +101,7 @@ TOOL_ACTION CVPCB_ACTIONS::changeFocusLeft( TOOL_ACTION_ARGS()
|
||||
TOOL_ACTION CVPCB_ACTIONS::gotoNextNA( TOOL_ACTION_ARGS()
|
||||
.Name( "cvpcb.Control.GotoNextNA" )
|
||||
.Scope( AS_GLOBAL )
|
||||
.FriendlyName( _( "Select next unassigned symbol" ) )
|
||||
.FriendlyName( _( "Select Next Unassigned Symbol" ) )
|
||||
.Tooltip( _( "Select next symbol with no footprint assignment" ) )
|
||||
.Icon( BITMAPS::right )
|
||||
.Flags( AF_NONE )
|
||||
@ -111,7 +110,7 @@ TOOL_ACTION CVPCB_ACTIONS::gotoNextNA( TOOL_ACTION_ARGS()
|
||||
TOOL_ACTION CVPCB_ACTIONS::gotoPreviousNA( TOOL_ACTION_ARGS()
|
||||
.Name( "cvpcb.Control.GotoPreviousNA" )
|
||||
.Scope( AS_GLOBAL )
|
||||
.FriendlyName( _( "Select previous unassigned symbol" ) )
|
||||
.FriendlyName( _( "Select Previous Unassigned Symbol" ) )
|
||||
.Tooltip( _( "Select previous symbol with no footprint assignment" ) )
|
||||
.Icon( BITMAPS::left )
|
||||
.Flags( AF_NONE )
|
||||
@ -123,30 +122,27 @@ TOOL_ACTION CVPCB_ACTIONS::associate( TOOL_ACTION_ARGS()
|
||||
.Name( "cvpcb.Association.Associate" )
|
||||
.Scope( AS_GLOBAL )
|
||||
.DefaultHotkey( WXK_RETURN )
|
||||
.FriendlyName( _( "Assign footprint" ) )
|
||||
.Tooltip( _( "Assign footprint to selected symbols" ) )
|
||||
.FriendlyName( _( "Assign Footprint" ) )
|
||||
.Icon( BITMAPS::auto_associate ) );
|
||||
|
||||
TOOL_ACTION CVPCB_ACTIONS::autoAssociate( TOOL_ACTION_ARGS()
|
||||
.Name( "cvpcb.Association.AutoAssociate" )
|
||||
.Scope( AS_GLOBAL )
|
||||
.FriendlyName( _( "Automatically assign footprints" ) )
|
||||
.Tooltip( _( "Perform automatic footprint assignment" ) )
|
||||
.FriendlyName( _( "Automatically Assign Footprints" ) )
|
||||
.Tooltip( _( "Assign footprints automatically using a footprint association file" ) )
|
||||
.Icon( BITMAPS::auto_associate ) );
|
||||
|
||||
TOOL_ACTION CVPCB_ACTIONS::deleteAssoc( TOOL_ACTION_ARGS()
|
||||
.Name( "cvpcb.Association.Delete" )
|
||||
.Scope( AS_GLOBAL )
|
||||
.DefaultHotkey( WXK_DELETE )
|
||||
.FriendlyName( _( "Delete association" ) )
|
||||
.Tooltip( _( "Delete selected footprint associations" ) )
|
||||
.FriendlyName( _( "Delete Footprint Assignment" ) )
|
||||
.Icon( BITMAPS::delete_association ) );
|
||||
|
||||
TOOL_ACTION CVPCB_ACTIONS::deleteAll( TOOL_ACTION_ARGS()
|
||||
.Name( "cvpcb.Association.DeleteAll" )
|
||||
.Scope( AS_GLOBAL )
|
||||
.FriendlyName( _( "Delete all footprint associations" ) )
|
||||
.Tooltip( _( "Delete all footprint associations" ) )
|
||||
.FriendlyName( _( "Delete All Footprint Assignments" ) )
|
||||
.Icon( BITMAPS::delete_association ) );
|
||||
|
||||
|
||||
|
@ -44,7 +44,7 @@ TOOL_ACTION EE_ACTIONS::runERC( TOOL_ACTION_ARGS()
|
||||
.Name( "eeschema.InspectionTool.runERC" )
|
||||
.Scope( AS_GLOBAL )
|
||||
.FriendlyName( _( "Electrical Rules Checker" ) )
|
||||
.Tooltip( _( "Perform electrical rules check" ) )
|
||||
.Tooltip( _( "Show the electrical rules checker window" ) )
|
||||
.Icon( BITMAPS::erc ) );
|
||||
|
||||
TOOL_ACTION EE_ACTIONS::checkSymbol( TOOL_ACTION_ARGS()
|
||||
@ -80,7 +80,7 @@ TOOL_ACTION EE_ACTIONS::showDatasheet( TOOL_ACTION_ARGS()
|
||||
.DefaultHotkey( 'D' )
|
||||
.LegacyHotkeyName( "Show Datasheet" )
|
||||
.FriendlyName( _( "Show Datasheet" ) )
|
||||
.Tooltip( _( "Opens the datasheet in a browser" ) )
|
||||
.Tooltip( _( "Open the datasheet in a browser" ) )
|
||||
.Icon( BITMAPS::datasheet ) );
|
||||
|
||||
|
||||
@ -111,7 +111,6 @@ TOOL_ACTION EE_ACTIONS::selectNode( TOOL_ACTION_ARGS()
|
||||
.Scope( AS_GLOBAL )
|
||||
.DefaultHotkey( MD_ALT + '3' )
|
||||
.LegacyHotkeyName( "Select Node" )
|
||||
.FriendlyName( _( "Select Node" ) )
|
||||
.Tooltip( _( "Select a connection item under the cursor" ) ) );
|
||||
|
||||
TOOL_ACTION EE_ACTIONS::selectConnection( TOOL_ACTION_ARGS()
|
||||
@ -119,7 +118,6 @@ TOOL_ACTION EE_ACTIONS::selectConnection( TOOL_ACTION_ARGS()
|
||||
.Scope( AS_GLOBAL )
|
||||
.DefaultHotkey( MD_ALT + '4' )
|
||||
.LegacyHotkeyName( "Select Connection" )
|
||||
.FriendlyName( _( "Select Connection" ) )
|
||||
.Tooltip( _( "Select a complete connection" ) )
|
||||
.Icon( BITMAPS::net_highlight_schematic ) );
|
||||
|
||||
@ -159,14 +157,14 @@ TOOL_ACTION EE_ACTIONS::saveLibraryAs( TOOL_ACTION_ARGS()
|
||||
.DefaultHotkey( MD_SHIFT + MD_CTRL + 'S' )
|
||||
.LegacyHotkeyName( "Save As" )
|
||||
.FriendlyName( _( "Save Library As..." ) )
|
||||
.Tooltip( _( "Save the current library to a new file." ) ) );
|
||||
.Tooltip( _( "Save the current library to a new file" ) ) );
|
||||
|
||||
TOOL_ACTION EE_ACTIONS::newSymbol( TOOL_ACTION_ARGS()
|
||||
.Name( "eeschema.SymbolLibraryControl.newSymbol" )
|
||||
.Scope( AS_GLOBAL )
|
||||
.DefaultHotkey( MD_CTRL + 'N' )
|
||||
.FriendlyName( _( "New Symbol..." ) )
|
||||
.Tooltip( _( "Create a new symbol" ) )
|
||||
.Tooltip( _( "Create a new symbol in an existing library" ) )
|
||||
.Icon( BITMAPS::new_component ) );
|
||||
|
||||
TOOL_ACTION EE_ACTIONS::deriveFromExistingSymbol( TOOL_ACTION_ARGS()
|
||||
@ -187,21 +185,19 @@ TOOL_ACTION EE_ACTIONS::duplicateSymbol( TOOL_ACTION_ARGS()
|
||||
.Name( "eeschema.SymbolLibraryControl.duplicateSymbol" )
|
||||
.Scope( AS_GLOBAL )
|
||||
.FriendlyName( _( "Duplicate Symbol" ) )
|
||||
.Tooltip( _( "Make a copy of the selected symbol" ) )
|
||||
.Icon( BITMAPS::duplicate ) );
|
||||
|
||||
TOOL_ACTION EE_ACTIONS::renameSymbol( TOOL_ACTION_ARGS()
|
||||
.Name( "eeschema.SymbolLibraryControl.renameFootprint" )
|
||||
.Scope( AS_GLOBAL )
|
||||
.FriendlyName( _( "Rename Symbol..." ) )
|
||||
.Tooltip( _( "Rename the selected symbol" ) )
|
||||
.Icon( BITMAPS::edit ) );
|
||||
|
||||
TOOL_ACTION EE_ACTIONS::saveSymbolCopyAs( TOOL_ACTION_ARGS()
|
||||
.Name( "eeschema.SymbolLibraryControl.saveSymbolCopyAs" )
|
||||
.Scope( AS_GLOBAL )
|
||||
.FriendlyName( _( "Save Copy As..." ) )
|
||||
.Tooltip( _( "Save a copy of the current symbol to a different library." ) )
|
||||
.Tooltip( _( "Save a copy of the current symbol to a different library" ) )
|
||||
.Icon( BITMAPS::save_as ) );
|
||||
|
||||
TOOL_ACTION EE_ACTIONS::deleteSymbol( TOOL_ACTION_ARGS()
|
||||
@ -247,7 +243,7 @@ TOOL_ACTION EE_ACTIONS::setUnitDisplayName( TOOL_ACTION_ARGS()
|
||||
.Name( "eeschema.SymbolLibraryControl.setUnitDisplayName" )
|
||||
.Scope( AS_GLOBAL )
|
||||
.FriendlyName( _( "Set Unit Display Name..." ) )
|
||||
.Tooltip( _( "Set the display name for a unit" ) ) );
|
||||
.Tooltip( _( "Set the display name for a particular unit in a multi-unit symbol" ) ) );
|
||||
|
||||
TOOL_ACTION EE_ACTIONS::addSymbolToSchematic( TOOL_ACTION_ARGS()
|
||||
.Name( "eeschema.SymbolLibraryControl.addSymbolToSchematic" )
|
||||
@ -297,14 +293,12 @@ TOOL_ACTION EE_ACTIONS::showHiddenPins( TOOL_ACTION_ARGS()
|
||||
.Name( "eeschema.SymbolLibraryControl.showHiddenPins" )
|
||||
.Scope( AS_GLOBAL )
|
||||
.FriendlyName( _( "Show Hidden Pins" ) )
|
||||
.Tooltip( _( "Toggle display of hidden pins" ) )
|
||||
.Icon( BITMAPS::hidden_pin ) );
|
||||
|
||||
TOOL_ACTION EE_ACTIONS::showHiddenFields( TOOL_ACTION_ARGS()
|
||||
.Name( "eeschema.SymbolLibraryControl.showHiddenFields" )
|
||||
.Scope( AS_GLOBAL )
|
||||
.FriendlyName( _( "Show Hidden Fields" ) )
|
||||
.Tooltip( _( "Toggle display of hidden text fields" ) )
|
||||
.Icon( BITMAPS::text_sketch ) );
|
||||
|
||||
|
||||
@ -315,8 +309,7 @@ TOOL_ACTION EE_ACTIONS::placeSymbolPin( TOOL_ACTION_ARGS()
|
||||
.Scope( AS_GLOBAL )
|
||||
.DefaultHotkey( 'P' )
|
||||
.LegacyHotkeyName( "Create Pin" )
|
||||
.FriendlyName( _( "Add Pin" ) )
|
||||
.Tooltip( _( "Add a pin" ) )
|
||||
.FriendlyName( _( "Draw Pins" ) )
|
||||
.Icon( BITMAPS::pin )
|
||||
.Flags( AF_ACTIVATE )
|
||||
.Parameter( SCH_PIN_T ) );
|
||||
@ -324,8 +317,7 @@ TOOL_ACTION EE_ACTIONS::placeSymbolPin( TOOL_ACTION_ARGS()
|
||||
TOOL_ACTION EE_ACTIONS::placeSymbolText( TOOL_ACTION_ARGS()
|
||||
.Name( "eeschema.SymbolDrawing.placeSymbolText" )
|
||||
.Scope( AS_GLOBAL )
|
||||
.FriendlyName( _( "Add Text" ) )
|
||||
.Tooltip( _( "Add a text item" ) )
|
||||
.FriendlyName( _( "Draw Text" ) )
|
||||
.Icon( BITMAPS::text )
|
||||
.Flags( AF_ACTIVATE )
|
||||
.Parameter( SCH_TEXT_T ) );
|
||||
@ -333,16 +325,15 @@ TOOL_ACTION EE_ACTIONS::placeSymbolText( TOOL_ACTION_ARGS()
|
||||
TOOL_ACTION EE_ACTIONS::drawSymbolTextBox( TOOL_ACTION_ARGS()
|
||||
.Name( "eeschema.SymbolDrawing.drawSymbolTextBox" )
|
||||
.Scope( AS_GLOBAL )
|
||||
.FriendlyName( _( "Add Text Box" ) )
|
||||
.Tooltip( _( "Add a text box item" ) )
|
||||
.FriendlyName( _( "Draw Text Boxes" ) )
|
||||
.Icon( BITMAPS::add_textbox )
|
||||
.Flags( AF_ACTIVATE ) );
|
||||
|
||||
TOOL_ACTION EE_ACTIONS::drawSymbolLines( TOOL_ACTION_ARGS()
|
||||
.Name( "eeschema.SymbolDrawing.drawSymbolLines" )
|
||||
.Scope( AS_GLOBAL )
|
||||
.FriendlyName( _( "Add Lines" ) )
|
||||
.Tooltip( _( "Add connected graphic lines" ) )
|
||||
.FriendlyName( _( "Draw Lines" ) )
|
||||
.Tooltip( _( "Draw connected graphic lines" ) )
|
||||
.Icon( BITMAPS::add_graphical_segments )
|
||||
.Flags( AF_ACTIVATE )
|
||||
.Parameter( SHAPE_T::POLY ) );
|
||||
@ -350,8 +341,7 @@ TOOL_ACTION EE_ACTIONS::drawSymbolLines( TOOL_ACTION_ARGS()
|
||||
TOOL_ACTION EE_ACTIONS::drawSymbolPolygon( TOOL_ACTION_ARGS()
|
||||
.Name( "eeschema.SymbolDrawing.drawSymbolPolygon" )
|
||||
.Scope( AS_GLOBAL )
|
||||
.FriendlyName( _( "Add Polygon" ) )
|
||||
.Tooltip( _( "Draw polygons" ) )
|
||||
.FriendlyName( _( "Draw Polygons" ) )
|
||||
.Icon( BITMAPS::add_graphical_polygon )
|
||||
.Flags( AF_ACTIVATE )
|
||||
.Parameter( SHAPE_T::POLY ) );
|
||||
@ -360,7 +350,6 @@ TOOL_ACTION EE_ACTIONS::placeSymbolAnchor( TOOL_ACTION_ARGS()
|
||||
.Name( "eeschema.SymbolDrawing.placeSymbolAnchor" )
|
||||
.Scope( AS_GLOBAL )
|
||||
.FriendlyName( _( "Move Symbol Anchor" ) )
|
||||
.Tooltip( _( "Specify a new location for the symbol anchor" ) )
|
||||
.Icon( BITMAPS::anchor )
|
||||
.Flags( AF_ACTIVATE ) );
|
||||
|
||||
@ -395,8 +384,7 @@ TOOL_ACTION EE_ACTIONS::placeSymbol( TOOL_ACTION_ARGS()
|
||||
.Scope( AS_GLOBAL )
|
||||
.DefaultHotkey( 'A' )
|
||||
.LegacyHotkeyName( "Add Symbol" )
|
||||
.FriendlyName( _( "Add Symbol" ) )
|
||||
.Tooltip( _( "Add symbols" ) )
|
||||
.FriendlyName( _( "Place Symbols" ) )
|
||||
.Icon( BITMAPS::add_component )
|
||||
.Flags( AF_ACTIVATE )
|
||||
.Parameter<SCH_SYMBOL*>( nullptr ) );
|
||||
@ -406,8 +394,7 @@ TOOL_ACTION EE_ACTIONS::placePower( TOOL_ACTION_ARGS()
|
||||
.Scope( AS_GLOBAL )
|
||||
.DefaultHotkey( 'P' )
|
||||
.LegacyHotkeyName( "Add Power" )
|
||||
.FriendlyName( _( "Add Power" ) )
|
||||
.Tooltip( _( "Add power symbols" ) )
|
||||
.FriendlyName( _( "Place Power Symbols" ) )
|
||||
.Icon( BITMAPS::add_power )
|
||||
.Flags( AF_ACTIVATE )
|
||||
.Parameter<SCH_SYMBOL*>( nullptr ) );
|
||||
@ -417,8 +404,7 @@ TOOL_ACTION EE_ACTIONS::placeNoConnect( TOOL_ACTION_ARGS()
|
||||
.Scope( AS_GLOBAL )
|
||||
.DefaultHotkey( 'Q' )
|
||||
.LegacyHotkeyName( "Add No Connect Flag" )
|
||||
.FriendlyName( _( "Add No Connect Flag" ) )
|
||||
.Tooltip( _( "Draw no-connection flags" ) )
|
||||
.FriendlyName( _( "Place No Connect Flags" ) )
|
||||
.Icon( BITMAPS::noconn )
|
||||
.Flags( AF_ACTIVATE )
|
||||
.Parameter( SCH_NO_CONNECT_T ) );
|
||||
@ -428,8 +414,7 @@ TOOL_ACTION EE_ACTIONS::placeJunction( TOOL_ACTION_ARGS()
|
||||
.Scope( AS_GLOBAL )
|
||||
.DefaultHotkey( 'J' )
|
||||
.LegacyHotkeyName( "Add Junction" )
|
||||
.FriendlyName( _( "Add Junction" ) )
|
||||
.Tooltip( _( "Draw junctions" ) )
|
||||
.FriendlyName( _( "Place Junctions" ) )
|
||||
.Icon( BITMAPS::add_junction )
|
||||
.Flags( AF_ACTIVATE )
|
||||
.Parameter( SCH_JUNCTION_T ) );
|
||||
@ -439,8 +424,7 @@ TOOL_ACTION EE_ACTIONS::placeBusWireEntry( TOOL_ACTION_ARGS()
|
||||
.Scope( AS_GLOBAL )
|
||||
.DefaultHotkey( 'Z' )
|
||||
.LegacyHotkeyName( "Add Wire Entry" )
|
||||
.FriendlyName( _( "Add Wire to Bus Entry" ) )
|
||||
.Tooltip( _( "Add a wire entry to a bus" ) )
|
||||
.FriendlyName( _( "Place Wire to Bus Entries" ) )
|
||||
.Icon( BITMAPS::add_line2bus )
|
||||
.Flags( AF_ACTIVATE )
|
||||
.Parameter( SCH_BUS_WIRE_ENTRY_T ) );
|
||||
@ -450,16 +434,14 @@ TOOL_ACTION EE_ACTIONS::placeLabel( TOOL_ACTION_ARGS()
|
||||
.Scope( AS_GLOBAL )
|
||||
.DefaultHotkey( 'L' )
|
||||
.LegacyHotkeyName( "Add Label" )
|
||||
.FriendlyName( _( "Add Label" ) )
|
||||
.Tooltip( _( "Draw net labels" ) )
|
||||
.FriendlyName( _( "Place Net Labels" ) )
|
||||
.Icon( BITMAPS::add_label )
|
||||
.Flags( AF_ACTIVATE ) );
|
||||
|
||||
TOOL_ACTION EE_ACTIONS::placeClassLabel( TOOL_ACTION_ARGS()
|
||||
.Name( "eeschema.InteractiveDrawing.placeClassLabel" )
|
||||
.Scope( AS_GLOBAL )
|
||||
.FriendlyName( _( "Add Net Class Directive" ) )
|
||||
.Tooltip( _( "Add net class directive labels" ) )
|
||||
.FriendlyName( _( "Place Net Class Directives" ) )
|
||||
.Icon( BITMAPS::add_class_flag )
|
||||
.Flags( AF_ACTIVATE ) );
|
||||
|
||||
@ -468,8 +450,7 @@ TOOL_ACTION EE_ACTIONS::placeHierLabel( TOOL_ACTION_ARGS()
|
||||
.Scope( AS_GLOBAL )
|
||||
.DefaultHotkey( 'H' )
|
||||
.LegacyHotkeyName( "Add Hierarchical Label" )
|
||||
.FriendlyName( _( "Add Hierarchical Label" ) )
|
||||
.Tooltip( _( "Add hierarchical labels" ) )
|
||||
.FriendlyName( _( "Place Hierarchical Labels" ) )
|
||||
.Icon( BITMAPS::add_hierarchical_label )
|
||||
.Flags( AF_ACTIVATE ) );
|
||||
|
||||
@ -478,8 +459,7 @@ TOOL_ACTION EE_ACTIONS::drawSheet( TOOL_ACTION_ARGS()
|
||||
.Scope( AS_GLOBAL )
|
||||
.DefaultHotkey( 'S' )
|
||||
.LegacyHotkeyName( "Add Sheet" )
|
||||
.FriendlyName( _( "Add Sheet" ) )
|
||||
.Tooltip( _( "Draw hierarchical sheets" ) )
|
||||
.FriendlyName( _( "Draw Hierarchical Sheets" ) )
|
||||
.Icon( BITMAPS::add_hierarchical_subsheet )
|
||||
.Flags( AF_ACTIVATE )
|
||||
.Parameter( SCH_SHEET_T ) );
|
||||
@ -487,8 +467,7 @@ TOOL_ACTION EE_ACTIONS::drawSheet( TOOL_ACTION_ARGS()
|
||||
TOOL_ACTION EE_ACTIONS::placeSheetPin( TOOL_ACTION_ARGS()
|
||||
.Name( "eeschema.InteractiveDrawing.placeSheetPin" )
|
||||
.Scope( AS_GLOBAL )
|
||||
.FriendlyName( _( "Add Sheet Pin" ) )
|
||||
.Tooltip( _( "Add sheet pins" ) )
|
||||
.FriendlyName( _( "Place Sheet Pins" ) )
|
||||
.Icon( BITMAPS::add_hierar_pin )
|
||||
.Flags( AF_ACTIVATE ) );
|
||||
|
||||
@ -513,8 +492,7 @@ TOOL_ACTION EE_ACTIONS::placeGlobalLabel( TOOL_ACTION_ARGS()
|
||||
.Scope( AS_GLOBAL )
|
||||
.DefaultHotkey( MD_CTRL + 'L' )
|
||||
.LegacyHotkeyName( "Add Global Label" )
|
||||
.FriendlyName( _( "Add Global Label" ) )
|
||||
.Tooltip( _( "Add global labels" ) )
|
||||
.FriendlyName( _( "Place Global Labels" ) )
|
||||
.Icon( BITMAPS::add_glabel )
|
||||
.Flags( AF_ACTIVATE ) );
|
||||
|
||||
@ -523,16 +501,14 @@ TOOL_ACTION EE_ACTIONS::placeSchematicText( TOOL_ACTION_ARGS()
|
||||
.Scope( AS_GLOBAL )
|
||||
.DefaultHotkey( 'T' )
|
||||
.LegacyHotkeyName( "Add Graphic Text" )
|
||||
.FriendlyName( _( "Add Text" ) )
|
||||
.Tooltip( _( "Draw text items" ) )
|
||||
.FriendlyName( _( "Draw Text" ) )
|
||||
.Icon( BITMAPS::text )
|
||||
.Flags( AF_ACTIVATE ) );
|
||||
|
||||
TOOL_ACTION EE_ACTIONS::drawTextBox( TOOL_ACTION_ARGS()
|
||||
.Name( "eeschema.InteractiveDrawing.drawTextBox" )
|
||||
.Scope( AS_GLOBAL )
|
||||
.FriendlyName( _( "Add Text Box" ) )
|
||||
.Tooltip( _( "Draw text box items" ) )
|
||||
.FriendlyName( _( "Draw Text Boxes" ) )
|
||||
.Icon( BITMAPS::add_textbox )
|
||||
.Flags( AF_ACTIVATE )
|
||||
.Parameter( SHAPE_T::RECTANGLE ) );
|
||||
@ -540,16 +516,14 @@ TOOL_ACTION EE_ACTIONS::drawTextBox( TOOL_ACTION_ARGS()
|
||||
TOOL_ACTION EE_ACTIONS::drawTable( TOOL_ACTION_ARGS()
|
||||
.Name( "eeschema.InteractiveDrawing.drawTable" )
|
||||
.Scope( AS_GLOBAL )
|
||||
.FriendlyName( _( "Add Table" ) )
|
||||
.Tooltip( _( "Draw table" ) )
|
||||
.FriendlyName( _( "Draw Tables" ) )
|
||||
.Icon( BITMAPS::spreadsheet ) // JEY TODO
|
||||
.Flags( AF_ACTIVATE ) );
|
||||
|
||||
TOOL_ACTION EE_ACTIONS::drawRectangle( TOOL_ACTION_ARGS()
|
||||
.Name( "eeschema.InteractiveDrawing.drawRectangle" )
|
||||
.Scope( AS_GLOBAL )
|
||||
.FriendlyName( _( "Add Rectangle" ) )
|
||||
.Tooltip( _( "Draw rectangles" ) )
|
||||
.FriendlyName( _( "Draw Rectangles" ) )
|
||||
.Icon( BITMAPS::add_rectangle )
|
||||
.Flags( AF_ACTIVATE )
|
||||
.Parameter( SHAPE_T::RECTANGLE ) );
|
||||
@ -557,8 +531,7 @@ TOOL_ACTION EE_ACTIONS::drawRectangle( TOOL_ACTION_ARGS()
|
||||
TOOL_ACTION EE_ACTIONS::drawCircle( TOOL_ACTION_ARGS()
|
||||
.Name( "eeschema.InteractiveDrawing.drawCircle" )
|
||||
.Scope( AS_GLOBAL )
|
||||
.FriendlyName( _( "Add Circle" ) )
|
||||
.Tooltip( _( "Draw circles" ) )
|
||||
.FriendlyName( _( "Draw Circles" ) )
|
||||
.Icon( BITMAPS::add_circle )
|
||||
.Flags( AF_ACTIVATE )
|
||||
.Parameter( SHAPE_T::CIRCLE ) );
|
||||
@ -566,8 +539,7 @@ TOOL_ACTION EE_ACTIONS::drawCircle( TOOL_ACTION_ARGS()
|
||||
TOOL_ACTION EE_ACTIONS::drawArc( TOOL_ACTION_ARGS()
|
||||
.Name( "eeschema.InteractiveDrawing.drawArc" )
|
||||
.Scope( AS_GLOBAL )
|
||||
.FriendlyName( _( "Add Arc" ) )
|
||||
.Tooltip( _( "Draw arcs" ) )
|
||||
.FriendlyName( _( "Draw Arcs" ) )
|
||||
.Icon( BITMAPS::add_arc )
|
||||
.Flags( AF_ACTIVATE )
|
||||
.Parameter( SHAPE_T::ARC ) );
|
||||
@ -575,8 +547,7 @@ TOOL_ACTION EE_ACTIONS::drawArc( TOOL_ACTION_ARGS()
|
||||
TOOL_ACTION EE_ACTIONS::placeImage( TOOL_ACTION_ARGS()
|
||||
.Name( "eeschema.InteractiveDrawing.placeImage" )
|
||||
.Scope( AS_GLOBAL )
|
||||
.FriendlyName( _( "Add Image" ) )
|
||||
.Tooltip( _( "Add bitmap images" ) )
|
||||
.FriendlyName( _( "Place Images" ) )
|
||||
.Icon( BITMAPS::image )
|
||||
.Flags( AF_ACTIVATE )
|
||||
.Parameter<SCH_BITMAP*>( nullptr ) );
|
||||
@ -584,8 +555,7 @@ TOOL_ACTION EE_ACTIONS::placeImage( TOOL_ACTION_ARGS()
|
||||
TOOL_ACTION EE_ACTIONS::drawRuleArea( TOOL_ACTION_ARGS()
|
||||
.Name( "eeschema.InteractiveDrawing.drawRuleArea" )
|
||||
.Scope( AS_GLOBAL )
|
||||
.FriendlyName( _( "Add Rule Area" ) )
|
||||
.Tooltip( _( "Draw rule area" ) )
|
||||
.FriendlyName( _( "Draw Rule Areas" ) )
|
||||
.Icon( BITMAPS::add_keepout_area )
|
||||
.Flags( AF_ACTIVATE )
|
||||
.Parameter( SHAPE_T::RECTANGLE ) );
|
||||
@ -601,7 +571,7 @@ TOOL_ACTION EE_ACTIONS::closeOutline( TOOL_ACTION_ARGS()
|
||||
.Name( "eeschema.InteractiveDrawing.closeOutline" )
|
||||
.Scope( AS_CONTEXT )
|
||||
.FriendlyName( _( "Close Outline" ) )
|
||||
.Tooltip( _( "Close the in progress outline" ) )
|
||||
.Tooltip( _( "Close the in-progress outline" ) )
|
||||
.Icon( BITMAPS::checked_ok ) );
|
||||
|
||||
|
||||
@ -623,7 +593,6 @@ TOOL_ACTION EE_ACTIONS::rotateCW( TOOL_ACTION_ARGS()
|
||||
.Name( "eeschema.InteractiveEdit.rotateCW" )
|
||||
.Scope( AS_GLOBAL )
|
||||
.FriendlyName( _( "Rotate Clockwise" ) )
|
||||
.Tooltip( _( "Rotates selected item(s) clockwise" ) )
|
||||
.Icon( BITMAPS::rotate_cw ) );
|
||||
|
||||
TOOL_ACTION EE_ACTIONS::rotateCCW( TOOL_ACTION_ARGS()
|
||||
@ -632,7 +601,6 @@ TOOL_ACTION EE_ACTIONS::rotateCCW( TOOL_ACTION_ARGS()
|
||||
.DefaultHotkey( 'R' )
|
||||
.LegacyHotkeyName( "Rotate Item" )
|
||||
.FriendlyName( _( "Rotate Counterclockwise" ) )
|
||||
.Tooltip( _( "Rotates selected item(s) counter-clockwise" ) )
|
||||
.Icon( BITMAPS::rotate_ccw ) );
|
||||
|
||||
TOOL_ACTION EE_ACTIONS::mirrorV( TOOL_ACTION_ARGS()
|
||||
@ -658,7 +626,7 @@ TOOL_ACTION EE_ACTIONS::swap( TOOL_ACTION_ARGS()
|
||||
.Scope( AS_GLOBAL )
|
||||
.DefaultHotkey( 'S' )
|
||||
.FriendlyName( _( "Swap" ) )
|
||||
.Tooltip( _( "Swaps selected items' positions" ) )
|
||||
.Tooltip( _( "Swap positions of selected items" ) )
|
||||
.Icon( BITMAPS::swap ) );
|
||||
|
||||
TOOL_ACTION EE_ACTIONS::properties( TOOL_ACTION_ARGS()
|
||||
@ -667,7 +635,6 @@ TOOL_ACTION EE_ACTIONS::properties( TOOL_ACTION_ARGS()
|
||||
.DefaultHotkey( 'E' )
|
||||
.LegacyHotkeyName( "Edit Item" )
|
||||
.FriendlyName( _( "Properties..." ) )
|
||||
.Tooltip( _( "Displays item properties dialog" ) )
|
||||
.Icon( BITMAPS::edit ) );
|
||||
|
||||
TOOL_ACTION EE_ACTIONS::editReference( TOOL_ACTION_ARGS()
|
||||
@ -676,7 +643,6 @@ TOOL_ACTION EE_ACTIONS::editReference( TOOL_ACTION_ARGS()
|
||||
.DefaultHotkey( 'U' )
|
||||
.LegacyHotkeyName( "Edit Symbol Reference" )
|
||||
.FriendlyName( _( "Edit Reference Designator..." ) )
|
||||
.Tooltip( _( "Displays reference designator dialog" ) )
|
||||
.Icon( BITMAPS::edit_comp_ref ) );
|
||||
|
||||
TOOL_ACTION EE_ACTIONS::editValue( TOOL_ACTION_ARGS()
|
||||
@ -685,7 +651,6 @@ TOOL_ACTION EE_ACTIONS::editValue( TOOL_ACTION_ARGS()
|
||||
.DefaultHotkey( 'V' )
|
||||
.LegacyHotkeyName( "Edit Symbol Value" )
|
||||
.FriendlyName( _( "Edit Value..." ) )
|
||||
.Tooltip( _( "Displays value field dialog" ) )
|
||||
.Icon( BITMAPS::edit_comp_value ) );
|
||||
|
||||
TOOL_ACTION EE_ACTIONS::editFootprint( TOOL_ACTION_ARGS()
|
||||
@ -694,7 +659,6 @@ TOOL_ACTION EE_ACTIONS::editFootprint( TOOL_ACTION_ARGS()
|
||||
.DefaultHotkey( 'F' )
|
||||
.LegacyHotkeyName( "Edit Symbol Footprint" )
|
||||
.FriendlyName( _( "Edit Footprint..." ) )
|
||||
.Tooltip( _( "Displays footprint field dialog" ) )
|
||||
.Icon( BITMAPS::edit_comp_footprint ) );
|
||||
|
||||
TOOL_ACTION EE_ACTIONS::autoplaceFields( TOOL_ACTION_ARGS()
|
||||
@ -703,7 +667,7 @@ TOOL_ACTION EE_ACTIONS::autoplaceFields( TOOL_ACTION_ARGS()
|
||||
.DefaultHotkey( 'O' )
|
||||
.LegacyHotkeyName( "Autoplace Fields" )
|
||||
.FriendlyName( _( "Autoplace Fields" ) )
|
||||
.Tooltip( _( "Runs the automatic placement algorithm on the symbol or sheet's fields" ) )
|
||||
.Tooltip( _( "Runs the automatic placement algorithm on the symbol's (or sheet's) fields" ) )
|
||||
.Icon( BITMAPS::autoplace_fields ) );
|
||||
|
||||
TOOL_ACTION EE_ACTIONS::changeSymbols( TOOL_ACTION_ARGS()
|
||||
@ -833,7 +797,6 @@ TOOL_ACTION EE_ACTIONS::symbolProperties( TOOL_ACTION_ARGS()
|
||||
.Name( "eeschema.InteractiveEdit.symbolProperties" )
|
||||
.Scope( AS_GLOBAL )
|
||||
.FriendlyName( _( "Symbol Properties..." ) )
|
||||
.Tooltip( _( "Displays symbol properties dialog" ) )
|
||||
.Icon( BITMAPS::part_properties ) );
|
||||
|
||||
TOOL_ACTION EE_ACTIONS::pinTable( TOOL_ACTION_ARGS()
|
||||
@ -893,8 +856,7 @@ TOOL_ACTION EE_ACTIONS::highlightNetTool( TOOL_ACTION_ARGS()
|
||||
TOOL_ACTION EE_ACTIONS::showNetNavigator( TOOL_ACTION_ARGS()
|
||||
.Name( "eeschema.EditorControl.showNetNavigator" )
|
||||
.Scope( AS_GLOBAL )
|
||||
.FriendlyName( _( "Show Net Navigator" ) )
|
||||
.Tooltip( _( "Toggle the net navigator panel visibility" ) ) );
|
||||
.FriendlyName( _( "Show Net Navigator" ) ) );
|
||||
|
||||
TOOL_ACTION EE_ACTIONS::editWithLibEdit( TOOL_ACTION_ARGS()
|
||||
.Name( "eeschema.EditorControl.editWithSymbolEditor" )
|
||||
@ -1127,20 +1089,17 @@ TOOL_ACTION EE_ACTIONS::toggleHiddenPins( TOOL_ACTION_ARGS()
|
||||
.Name( "eeschema.EditorControl.showHiddenPins" )
|
||||
.Scope( AS_GLOBAL )
|
||||
.FriendlyName( _( "Show Hidden Pins" ) )
|
||||
.Tooltip( _( "Toggle display of hidden pins" ) )
|
||||
.Icon( BITMAPS::hidden_pin ) );
|
||||
|
||||
TOOL_ACTION EE_ACTIONS::toggleHiddenFields( TOOL_ACTION_ARGS()
|
||||
.Name( "eeschema.EditorControl.showHiddenFields" )
|
||||
.Scope( AS_GLOBAL )
|
||||
.FriendlyName( _( "Show Hidden Fields" ) )
|
||||
.Tooltip( _( "Toggle display of hidden text fields" ) ) );
|
||||
.FriendlyName( _( "Show Hidden Fields" ) ) );
|
||||
|
||||
TOOL_ACTION EE_ACTIONS::toggleDirectiveLabels( TOOL_ACTION_ARGS()
|
||||
.Name( "eeschema.EditorControl.showDirectiveLabels" )
|
||||
.Scope( AS_GLOBAL )
|
||||
.FriendlyName( _( "Show Directive Labels" ) )
|
||||
.Tooltip( _( "Toggle display of directive labels" ) ) );
|
||||
.FriendlyName( _( "Show Directive Labels" ) ) );
|
||||
|
||||
TOOL_ACTION EE_ACTIONS::toggleERCWarnings( TOOL_ACTION_ARGS()
|
||||
.Name( "eeschema.EditorControl.showERCWarnings" )
|
||||
@ -1316,8 +1275,7 @@ TOOL_ACTION EE_ACTIONS::drawWire( TOOL_ACTION_ARGS()
|
||||
.Scope( AS_GLOBAL )
|
||||
.DefaultHotkey( 'W' )
|
||||
.LegacyHotkeyName( "Begin Wire" )
|
||||
.FriendlyName( _( "Add Wire" ) )
|
||||
.Tooltip( _( "Add a wire" ) )
|
||||
.FriendlyName( _( "Draw Wires" ) )
|
||||
.Icon( BITMAPS::add_line )
|
||||
.Flags( AF_ACTIVATE )
|
||||
.Parameter( &drawWireActionParam ) );
|
||||
@ -1328,8 +1286,7 @@ TOOL_ACTION EE_ACTIONS::drawBus( TOOL_ACTION_ARGS()
|
||||
.Scope( AS_GLOBAL )
|
||||
.DefaultHotkey( 'B' )
|
||||
.LegacyHotkeyName( "Begin Bus" )
|
||||
.FriendlyName( _( "Add Bus" ) )
|
||||
.Tooltip( _( "Add a bus" ) )
|
||||
.FriendlyName( _( "Draw Buses" ) )
|
||||
.Icon( BITMAPS::add_bus )
|
||||
.Flags( AF_ACTIVATE )
|
||||
.Parameter( &drawBusActionParam ) );
|
||||
@ -1351,8 +1308,7 @@ TOOL_ACTION EE_ACTIONS::drawLines( TOOL_ACTION_ARGS()
|
||||
.Scope( AS_GLOBAL )
|
||||
.DefaultHotkey( 'I' )
|
||||
.LegacyHotkeyName( "Add Graphic PolyLine" )
|
||||
.FriendlyName( _( "Add Lines" ) )
|
||||
.Tooltip( _( "Draw graphic lines" ) )
|
||||
.FriendlyName( _( "Draw Lines" ) )
|
||||
.Icon( BITMAPS::add_graphical_segments )
|
||||
.Flags( AF_ACTIVATE )
|
||||
.Parameter( &drawLinesActionParam ) );
|
||||
@ -1382,7 +1338,6 @@ TOOL_ACTION EE_ACTIONS::move( TOOL_ACTION_ARGS()
|
||||
.DefaultHotkey( 'M' )
|
||||
.LegacyHotkeyName( "Move Item" )
|
||||
.FriendlyName( _( "Move" ) )
|
||||
.Tooltip( _( "Moves the selected item(s)" ) )
|
||||
.Icon( BITMAPS::move )
|
||||
.Flags( AF_ACTIVATE ) );
|
||||
|
||||
@ -1392,7 +1347,7 @@ TOOL_ACTION EE_ACTIONS::drag( TOOL_ACTION_ARGS()
|
||||
.DefaultHotkey( 'G' )
|
||||
.LegacyHotkeyName( "Drag Item" )
|
||||
.FriendlyName( _( "Drag" ) )
|
||||
.Tooltip( _( "Drags the selected item(s)" ) )
|
||||
.Tooltip( _( "Move items while keeping their connections" ) )
|
||||
.Icon( BITMAPS::drag )
|
||||
.Flags( AF_ACTIVATE ) );
|
||||
|
||||
|
@ -416,7 +416,7 @@ int SCH_DRAWING_TOOLS::PlaceSymbol( const TOOL_EVENT& aEvent )
|
||||
lwbTool->TrimOverLappingWires( &commit, &m_selectionTool->GetSelection() );
|
||||
lwbTool->AddJunctionsIfNeeded( &commit, &m_selectionTool->GetSelection() );
|
||||
|
||||
commit.Push( _( "Add Symbol" ) );
|
||||
commit.Push( _( "Place Symbol" ) );
|
||||
|
||||
SCH_SYMBOL* nextSymbol = nullptr;
|
||||
|
||||
@ -730,7 +730,7 @@ int SCH_DRAWING_TOOLS::PlaceImage( const TOOL_EVENT& aEvent )
|
||||
{
|
||||
SCH_COMMIT commit( m_toolMgr );
|
||||
commit.Add( image, m_frame->GetScreen() );
|
||||
commit.Push( _( "Add Image" ) );
|
||||
commit.Push( _( "Place Image" ) );
|
||||
|
||||
image = nullptr;
|
||||
m_toolMgr->PostAction( ACTIONS::activatePointEditor );
|
||||
|
@ -288,13 +288,13 @@ int SYMBOL_EDITOR_DRAWING_TOOLS::TwoClickPlace( const TOOL_EVENT& aEvent )
|
||||
case SCH_PIN_T:
|
||||
pinTool->PlacePin( static_cast<SCH_PIN*>( item ) );
|
||||
item->ClearEditFlags();
|
||||
commit.Push( _( "Add Pin" ) );
|
||||
commit.Push( _( "Place Pin" ) );
|
||||
break;
|
||||
|
||||
case SCH_TEXT_T:
|
||||
symbol->AddDrawItem( static_cast<SCH_TEXT*>( item ) );
|
||||
item->ClearEditFlags();
|
||||
commit.Push( _( "Add Text" ) );
|
||||
commit.Push( _( "Draw Text" ) );
|
||||
break;
|
||||
|
||||
default:
|
||||
|
@ -74,7 +74,6 @@ TOOL_ACTION GERBVIEW_ACTIONS::toggleLayerManager( TOOL_ACTION_ARGS()
|
||||
.Name( "gerbview.Control.toggleLayerManager" )
|
||||
.Scope( AS_GLOBAL )
|
||||
.FriendlyName( _( "Show Layers Manager" ) )
|
||||
.Tooltip( _( "Show or hide the layer manager" ) )
|
||||
.Icon( BITMAPS::layers_manager ) );
|
||||
|
||||
TOOL_ACTION GERBVIEW_ACTIONS::showDCodes( TOOL_ACTION_ARGS()
|
||||
@ -102,21 +101,18 @@ TOOL_ACTION GERBVIEW_ACTIONS::clearLayer( TOOL_ACTION_ARGS()
|
||||
.Name( "gerbview.Control.clearLayer" )
|
||||
.Scope( AS_GLOBAL )
|
||||
.FriendlyName( _( "Clear Current Layer..." ) )
|
||||
.Tooltip( _( "Clear the selected graphic layer" ) )
|
||||
.Icon( BITMAPS::delete_sheet ) );
|
||||
|
||||
TOOL_ACTION GERBVIEW_ACTIONS::clearAllLayers( TOOL_ACTION_ARGS()
|
||||
.Name( "gerbview.Control.clearAllLayers" )
|
||||
.Scope( AS_GLOBAL )
|
||||
.FriendlyName( _( "Clear All Layers" ) )
|
||||
.Tooltip( _( "Clear all layers. All data will be deleted" ) )
|
||||
.Icon( BITMAPS::delete_gerber ) );
|
||||
|
||||
TOOL_ACTION GERBVIEW_ACTIONS::reloadAllLayers( TOOL_ACTION_ARGS()
|
||||
.Name( "gerbview.Control.reloadAllLayers" )
|
||||
.Scope( AS_GLOBAL )
|
||||
.FriendlyName( _( "Reload All Layers" ) )
|
||||
.Tooltip( _( "Reload all layers. All data will be reloaded" ) )
|
||||
.Icon( BITMAPS::reload ) );
|
||||
|
||||
TOOL_ACTION GERBVIEW_ACTIONS::layerChanged( TOOL_ACTION_ARGS()
|
||||
@ -173,7 +169,6 @@ TOOL_ACTION GERBVIEW_ACTIONS::moveLayerUp( TOOL_ACTION_ARGS()
|
||||
.Scope( AS_GLOBAL )
|
||||
.DefaultHotkey( '+' )
|
||||
.FriendlyName( _( "Move Layer Up" ) )
|
||||
.Tooltip( _( "Move current layer up" ) )
|
||||
.Icon( BITMAPS::up ) );
|
||||
|
||||
TOOL_ACTION GERBVIEW_ACTIONS::moveLayerDown( TOOL_ACTION_ARGS()
|
||||
@ -181,7 +176,6 @@ TOOL_ACTION GERBVIEW_ACTIONS::moveLayerDown( TOOL_ACTION_ARGS()
|
||||
.Scope( AS_GLOBAL )
|
||||
.DefaultHotkey( '-' )
|
||||
.FriendlyName( _( "Move Layer Down" ) )
|
||||
.Tooltip( _( "Move current layer down" ) )
|
||||
.Icon( BITMAPS::down ) );
|
||||
|
||||
TOOL_ACTION GERBVIEW_ACTIONS::linesDisplayOutlines( TOOL_ACTION_ARGS()
|
||||
@ -225,7 +219,7 @@ TOOL_ACTION GERBVIEW_ACTIONS::dcodeDisplay( TOOL_ACTION_ARGS()
|
||||
.DefaultHotkey( 'D' )
|
||||
.LegacyHotkeyName( "DCodes Display Mode" )
|
||||
.FriendlyName( _( "Show DCodes" ) )
|
||||
.Tooltip( _( "Show dcode number" ) )
|
||||
.Tooltip( _( "Show dcode numbers" ) )
|
||||
.Icon( BITMAPS::show_dcodenumber ) );
|
||||
|
||||
TOOL_ACTION GERBVIEW_ACTIONS::toggleForceOpacityMode( TOOL_ACTION_ARGS()
|
||||
|
@ -41,7 +41,7 @@ TOOL_ACTION KICAD_MANAGER_ACTIONS::newProject( TOOL_ACTION_ARGS()
|
||||
.DefaultHotkey( MD_CTRL + 'N' )
|
||||
.LegacyHotkeyName( "New Project" )
|
||||
.FriendlyName( _( "New Project..." ) )
|
||||
.Tooltip( _( "Create new blank project" ) )
|
||||
.Tooltip( _( "Create a new, blank project" ) )
|
||||
.Icon( BITMAPS::new_project ) );
|
||||
|
||||
TOOL_ACTION KICAD_MANAGER_ACTIONS::newFromTemplate( TOOL_ACTION_ARGS()
|
||||
@ -50,7 +50,7 @@ TOOL_ACTION KICAD_MANAGER_ACTIONS::newFromTemplate( TOOL_ACTION_ARGS()
|
||||
.DefaultHotkey( MD_CTRL + 'T' )
|
||||
.LegacyHotkeyName( "New Project From Template" )
|
||||
.FriendlyName( _( "New Project from Template..." ) )
|
||||
.Tooltip( _( "Create new project from template" ) )
|
||||
.Tooltip( _( "Create new project based on an existing project" ) )
|
||||
.Icon( BITMAPS::new_project_from_template ) );
|
||||
|
||||
TOOL_ACTION KICAD_MANAGER_ACTIONS::newFromRepository( TOOL_ACTION_ARGS()
|
||||
@ -58,7 +58,6 @@ TOOL_ACTION KICAD_MANAGER_ACTIONS::newFromRepository( TOOL_ACTION_ARGS()
|
||||
.Scope( AS_GLOBAL )
|
||||
.LegacyHotkeyName( "Clone Project From Repository" )
|
||||
.FriendlyName( _( "Clone Project from Repository..." ) )
|
||||
.Tooltip( _( "Clone a project from an existing repository" ) )
|
||||
.Icon( BITMAPS::new_project_from_template ) );
|
||||
|
||||
TOOL_ACTION KICAD_MANAGER_ACTIONS::openDemoProject( TOOL_ACTION_ARGS()
|
||||
@ -66,7 +65,6 @@ TOOL_ACTION KICAD_MANAGER_ACTIONS::openDemoProject( TOOL_ACTION_ARGS()
|
||||
.Scope( AS_GLOBAL )
|
||||
.LegacyHotkeyName( "Open Demo Project" )
|
||||
.FriendlyName( _( "Open Demo Project..." ) )
|
||||
.Tooltip( _( "Open a demo project" ) )
|
||||
.Icon( BITMAPS::open_project_demo ) );
|
||||
|
||||
TOOL_ACTION KICAD_MANAGER_ACTIONS::openProject( TOOL_ACTION_ARGS()
|
||||
@ -75,7 +73,6 @@ TOOL_ACTION KICAD_MANAGER_ACTIONS::openProject( TOOL_ACTION_ARGS()
|
||||
.DefaultHotkey( MD_CTRL + 'O' )
|
||||
.LegacyHotkeyName( "Open Project" )
|
||||
.FriendlyName( _( "Open Project..." ) )
|
||||
.Tooltip( _( "Open an existing project" ) )
|
||||
.Icon( BITMAPS::open_project ) );
|
||||
|
||||
TOOL_ACTION KICAD_MANAGER_ACTIONS::closeProject( TOOL_ACTION_ARGS()
|
||||
@ -83,7 +80,6 @@ TOOL_ACTION KICAD_MANAGER_ACTIONS::closeProject( TOOL_ACTION_ARGS()
|
||||
.Scope( AS_GLOBAL )
|
||||
.LegacyHotkeyName( "Close Project" )
|
||||
.FriendlyName( _( "Close Project" ) )
|
||||
.Tooltip( _( "Close the current project" ) )
|
||||
.Icon( BITMAPS::project_close ) );
|
||||
|
||||
TOOL_ACTION KICAD_MANAGER_ACTIONS::loadProject( TOOL_ACTION_ARGS()
|
||||
@ -102,7 +98,7 @@ TOOL_ACTION KICAD_MANAGER_ACTIONS::editSchematic( TOOL_ACTION_ARGS()
|
||||
.DefaultHotkey( MD_CTRL + 'E' )
|
||||
.LegacyHotkeyName( "Run Eeschema" )
|
||||
.FriendlyName( _( "Schematic Editor" ) )
|
||||
.Tooltip( _( "Edit schematic" ) )
|
||||
.Tooltip( _( "Edit schematic in schematic editor" ) )
|
||||
.Icon( BITMAPS::icon_eeschema_24 )
|
||||
.Flags( AF_NONE )
|
||||
.Parameter( FRAME_SCH ) );
|
||||
@ -113,7 +109,7 @@ TOOL_ACTION KICAD_MANAGER_ACTIONS::editSymbols( TOOL_ACTION_ARGS()
|
||||
.DefaultHotkey( MD_CTRL + 'L' )
|
||||
.LegacyHotkeyName( "Run LibEdit" )
|
||||
.FriendlyName( _( "Symbol Editor" ) )
|
||||
.Tooltip( _( "Edit schematic symbols" ) )
|
||||
.Tooltip( _( "Create, delete and edit schematic symbols" ) )
|
||||
.Icon( BITMAPS::icon_libedit_24 )
|
||||
.Flags( AF_NONE )
|
||||
.Parameter( FRAME_SCH_SYMBOL_EDITOR ) );
|
||||
@ -124,7 +120,7 @@ TOOL_ACTION KICAD_MANAGER_ACTIONS::editPCB( TOOL_ACTION_ARGS()
|
||||
.DefaultHotkey( MD_CTRL + 'P' )
|
||||
.LegacyHotkeyName( "Run Pcbnew" )
|
||||
.FriendlyName( _( "PCB Editor" ) )
|
||||
.Tooltip( _( "Edit PCB" ) )
|
||||
.Tooltip( _( "Edit PCB in PCB editor" ) )
|
||||
.Icon( BITMAPS::icon_pcbnew_24 )
|
||||
.Flags( AF_NONE )
|
||||
.Parameter( FRAME_PCB_EDITOR ) );
|
||||
@ -135,7 +131,7 @@ TOOL_ACTION KICAD_MANAGER_ACTIONS::editFootprints( TOOL_ACTION_ARGS()
|
||||
.DefaultHotkey( MD_CTRL + 'F' )
|
||||
.LegacyHotkeyName( "Run FpEditor" )
|
||||
.FriendlyName( _( "Footprint Editor" ) )
|
||||
.Tooltip( _( "Edit PCB footprints" ) )
|
||||
.Tooltip( _( "Create, delete and edit PCB footprints" ) )
|
||||
.Icon( BITMAPS::icon_modedit_24 )
|
||||
.Flags( AF_NONE )
|
||||
.Parameter( FRAME_FOOTPRINT_EDITOR ) );
|
||||
|
@ -42,8 +42,7 @@
|
||||
TOOL_ACTION PL_ACTIONS::drawLine( TOOL_ACTION_ARGS()
|
||||
.Name( "plEditor.InteractiveDrawing.drawLine" )
|
||||
.Scope( AS_GLOBAL )
|
||||
.FriendlyName( _( "Add Line" ) )
|
||||
.Tooltip( _( "Add a line" ) )
|
||||
.FriendlyName( _( "Draw Lines" ) )
|
||||
.Icon( BITMAPS::add_graphical_segments )
|
||||
.Flags( AF_ACTIVATE )
|
||||
.Parameter( DS_DATA_ITEM::DS_SEGMENT ) );
|
||||
@ -51,8 +50,7 @@ TOOL_ACTION PL_ACTIONS::drawLine( TOOL_ACTION_ARGS()
|
||||
TOOL_ACTION PL_ACTIONS::drawRectangle( TOOL_ACTION_ARGS()
|
||||
.Name( "plEditor.InteractiveDrawing.drawRectangle" )
|
||||
.Scope( AS_GLOBAL )
|
||||
.FriendlyName( _( "Add Rectangle" ) )
|
||||
.Tooltip( _( "Add a rectangle" ) )
|
||||
.FriendlyName( _( "Draw Rectangles" ) )
|
||||
.Icon( BITMAPS::add_rectangle )
|
||||
.Flags( AF_ACTIVATE )
|
||||
.Parameter( DS_DATA_ITEM::DS_RECT ) );
|
||||
@ -60,8 +58,7 @@ TOOL_ACTION PL_ACTIONS::drawRectangle( TOOL_ACTION_ARGS()
|
||||
TOOL_ACTION PL_ACTIONS::placeText( TOOL_ACTION_ARGS()
|
||||
.Name( "plEditor.InteractiveDrawing.placeText" )
|
||||
.Scope( AS_GLOBAL )
|
||||
.FriendlyName( _( "Add Text" ) )
|
||||
.Tooltip( _( "Add a text item" ) )
|
||||
.FriendlyName( _( "Draw Text" ) )
|
||||
.Icon( BITMAPS::text )
|
||||
.Flags( AF_ACTIVATE )
|
||||
.Parameter( DS_DATA_ITEM::DS_TEXT ) );
|
||||
@ -69,8 +66,7 @@ TOOL_ACTION PL_ACTIONS::placeText( TOOL_ACTION_ARGS()
|
||||
TOOL_ACTION PL_ACTIONS::placeImage( TOOL_ACTION_ARGS()
|
||||
.Name( "plEditor.InteractiveDrawing.placeImage" )
|
||||
.Scope( AS_GLOBAL )
|
||||
.FriendlyName( _( "Add Bitmap" ) )
|
||||
.Tooltip( _( "Add a bitmap image" ) )
|
||||
.FriendlyName( _( "Place Bitmaps" ) )
|
||||
.Icon( BITMAPS::image )
|
||||
.Flags( AF_ACTIVATE )
|
||||
.Parameter( DS_DATA_ITEM::DS_BITMAP ) );
|
||||
@ -84,7 +80,6 @@ TOOL_ACTION PL_ACTIONS::move( TOOL_ACTION_ARGS()
|
||||
.DefaultHotkey( 'M' )
|
||||
.LegacyHotkeyName( "Move Item" )
|
||||
.FriendlyName( _( "Move" ) )
|
||||
.Tooltip( _( "Moves the selected item(s)" ) )
|
||||
.Icon( BITMAPS::move )
|
||||
.Flags( AF_ACTIVATE ) );
|
||||
|
||||
@ -92,7 +87,7 @@ TOOL_ACTION PL_ACTIONS::appendImportedDrawingSheet( TOOL_ACTION_ARGS()
|
||||
.Name( "plEditor.InteractiveEdit.appendWorksheet" )
|
||||
.Scope( AS_GLOBAL )
|
||||
.FriendlyName( _( "Append Existing Drawing Sheet..." ) )
|
||||
.Tooltip( _( "Append an existing drawing sheet file to current file" ) )
|
||||
.Tooltip( _( "Append an existing drawing sheet file to the current file" ) )
|
||||
.Icon( BITMAPS::import )
|
||||
.Flags( AF_ACTIVATE ) );
|
||||
|
||||
@ -103,7 +98,6 @@ TOOL_ACTION PL_ACTIONS::showInspector( TOOL_ACTION_ARGS()
|
||||
.Name( "plEditor.EditorControl.ShowInspector" )
|
||||
.Scope( AS_GLOBAL )
|
||||
.FriendlyName( _( "Show Design Inspector" ) )
|
||||
.Tooltip( _( "Show the list of items in the drawing sheet" ) )
|
||||
.Icon( BITMAPS::spreadsheet ) );
|
||||
|
||||
TOOL_ACTION PL_ACTIONS::previewSettings( TOOL_ACTION_ARGS()
|
||||
|
@ -297,7 +297,7 @@ void PCB_EDIT_FRAME::doReCreateMenuBar()
|
||||
placeMenu->Add( PCB_ACTIONS::drawRuleArea );
|
||||
|
||||
ACTION_MENU* muwaveSubmenu = new ACTION_MENU( false, selTool );
|
||||
muwaveSubmenu->SetTitle( _( "Add Microwave Shape" ) );
|
||||
muwaveSubmenu->SetTitle( _( "Draw Microwave Shapes" ) );
|
||||
muwaveSubmenu->SetIcon( BITMAPS::mw_add_line );
|
||||
muwaveSubmenu->Add( PCB_ACTIONS::microwaveCreateLine );
|
||||
muwaveSubmenu->Add( PCB_ACTIONS::microwaveCreateGap );
|
||||
@ -319,7 +319,7 @@ void PCB_EDIT_FRAME::doReCreateMenuBar()
|
||||
|
||||
placeMenu->AppendSeparator();
|
||||
ACTION_MENU* dimensionSubmenu = new ACTION_MENU( false, selTool );
|
||||
dimensionSubmenu->SetTitle( _( "Add Dimension" ) );
|
||||
dimensionSubmenu->SetTitle( _( "Draw Dimensions" ) );
|
||||
dimensionSubmenu->SetIcon( BITMAPS::add_aligned_dimension );
|
||||
dimensionSubmenu->Add( PCB_ACTIONS::drawOrthogonalDimension );
|
||||
dimensionSubmenu->Add( PCB_ACTIONS::drawAlignedDimension );
|
||||
|
@ -1168,7 +1168,7 @@ int BOARD_EDITOR_CONTROL::PlaceFootprint( const TOOL_EVENT& aEvent )
|
||||
else
|
||||
{
|
||||
m_toolMgr->RunAction( PCB_ACTIONS::selectionClear );
|
||||
commit.Push( _( "Place a Footprint" ) );
|
||||
commit.Push( _( "Place Footprint" ) );
|
||||
fp = nullptr; // to indicate that there is no footprint that we currently modify
|
||||
m_placingFootprint = false;
|
||||
}
|
||||
|
@ -971,7 +971,7 @@ int DRAWING_TOOL::PlaceText( const TOOL_EVENT& aEvent )
|
||||
m_toolMgr->RunAction( PCB_ACTIONS::selectionClear );
|
||||
|
||||
commit.Add( text );
|
||||
commit.Push( _( "Place Text" ) );
|
||||
commit.Push( _( "Draw Text" ) );
|
||||
|
||||
m_toolMgr->RunAction<EDA_ITEM*>( PCB_ACTIONS::selectItem, text );
|
||||
|
||||
|
@ -97,8 +97,7 @@ TOOL_ACTION PCB_ACTIONS::drawLine( TOOL_ACTION_ARGS()
|
||||
.Scope( AS_GLOBAL )
|
||||
.DefaultHotkey( MD_SHIFT + MD_CTRL + 'L' )
|
||||
.LegacyHotkeyName( "Draw Line" )
|
||||
.FriendlyName( _( "Draw Line" ) )
|
||||
.Tooltip( _( "Draw a line" ) )
|
||||
.FriendlyName( _( "Draw Lines" ) )
|
||||
.Icon( BITMAPS::add_graphical_segments )
|
||||
.Flags( AF_ACTIVATE ) );
|
||||
|
||||
@ -107,8 +106,7 @@ TOOL_ACTION PCB_ACTIONS::drawPolygon( TOOL_ACTION_ARGS()
|
||||
.Scope( AS_GLOBAL )
|
||||
.DefaultHotkey( MD_SHIFT + MD_CTRL + 'P' )
|
||||
.LegacyHotkeyName( "Draw Graphic Polygon" )
|
||||
.FriendlyName( _( "Draw Graphic Polygon" ) )
|
||||
.Tooltip( _( "Draw a graphic polygon" ) )
|
||||
.FriendlyName( _( "Draw Polygons" ) )
|
||||
.Icon( BITMAPS::add_graphical_polygon )
|
||||
.Flags( AF_ACTIVATE )
|
||||
.Parameter( ZONE_MODE::GRAPHIC_POLYGON ) );
|
||||
@ -116,8 +114,7 @@ TOOL_ACTION PCB_ACTIONS::drawPolygon( TOOL_ACTION_ARGS()
|
||||
TOOL_ACTION PCB_ACTIONS::drawRectangle( TOOL_ACTION_ARGS()
|
||||
.Name( "pcbnew.InteractiveDrawing.rectangle" )
|
||||
.Scope( AS_GLOBAL )
|
||||
.FriendlyName( _( "Draw Rectangle" ) )
|
||||
.Tooltip( _( "Draw a rectangle" ) )
|
||||
.FriendlyName( _( "Draw Rectangles" ) )
|
||||
.Icon( BITMAPS::add_rectangle )
|
||||
.Flags( AF_ACTIVATE ) );
|
||||
|
||||
@ -126,8 +123,7 @@ TOOL_ACTION PCB_ACTIONS::drawCircle( TOOL_ACTION_ARGS()
|
||||
.Scope( AS_GLOBAL )
|
||||
.DefaultHotkey( MD_SHIFT + MD_CTRL + 'C' )
|
||||
.LegacyHotkeyName( "Draw Circle" )
|
||||
.FriendlyName( _( "Draw Circle" ) )
|
||||
.Tooltip( _( "Draw a circle" ) )
|
||||
.FriendlyName( _( "Draw Circles" ) )
|
||||
.Icon( BITMAPS::add_circle )
|
||||
.Flags( AF_ACTIVATE ) );
|
||||
|
||||
@ -136,8 +132,7 @@ TOOL_ACTION PCB_ACTIONS::drawArc( TOOL_ACTION_ARGS()
|
||||
.Scope( AS_GLOBAL )
|
||||
.DefaultHotkey( MD_SHIFT + MD_CTRL + 'A' )
|
||||
.LegacyHotkeyName( "Draw Arc" )
|
||||
.FriendlyName( _( "Draw Arc" ) )
|
||||
.Tooltip( _( "Draw an arc" ) )
|
||||
.FriendlyName( _( "Draw Arcs" ) )
|
||||
.Icon( BITMAPS::add_arc )
|
||||
.Flags( AF_ACTIVATE ) );
|
||||
|
||||
@ -160,8 +155,8 @@ TOOL_ACTION PCB_ACTIONS::placeStackup( TOOL_ACTION_ARGS()
|
||||
TOOL_ACTION PCB_ACTIONS::placeReferenceImage( TOOL_ACTION_ARGS()
|
||||
.Name( "pcbnew.InteractiveDrawing.placeReferenceImage" )
|
||||
.Scope( AS_GLOBAL )
|
||||
.FriendlyName( _( "Add Reference Image" ) )
|
||||
.Tooltip( _( "Add a bitmap image to be used as a reference (image will not be included in any output)" ) )
|
||||
.FriendlyName( _( "Place Reference Images" ) )
|
||||
.Tooltip( _( "Add bitmap images to be used as reference (images will not be included in any output)" ) )
|
||||
.Icon( BITMAPS::image )
|
||||
.Flags( AF_ACTIVATE )
|
||||
.Parameter<PCB_REFERENCE_IMAGE*>( nullptr ) );
|
||||
@ -171,24 +166,21 @@ TOOL_ACTION PCB_ACTIONS::placeText( TOOL_ACTION_ARGS()
|
||||
.Scope( AS_GLOBAL )
|
||||
.DefaultHotkey( MD_SHIFT + MD_CTRL + 'T' )
|
||||
.LegacyHotkeyName( "Add Text" )
|
||||
.FriendlyName( _( "Add Text" ) )
|
||||
.Tooltip( _( "Add a text item" ) )
|
||||
.FriendlyName( _( "Draw Text" ) )
|
||||
.Icon( BITMAPS::text )
|
||||
.Flags( AF_ACTIVATE ) );
|
||||
|
||||
TOOL_ACTION PCB_ACTIONS::drawTextBox( TOOL_ACTION_ARGS()
|
||||
.Name( "pcbnew.InteractiveDrawing.textbox" )
|
||||
.Scope( AS_GLOBAL )
|
||||
.FriendlyName( _( "Add Text Box" ) )
|
||||
.Tooltip( _( "Add a line-wrapped text item" ) )
|
||||
.FriendlyName( _( "Draw Text Boxes" ) )
|
||||
.Icon( BITMAPS::add_textbox )
|
||||
.Flags( AF_ACTIVATE ) );
|
||||
|
||||
TOOL_ACTION PCB_ACTIONS::drawTable( TOOL_ACTION_ARGS()
|
||||
.Name( "pcbnew.InteractiveDrawing.drawTable" )
|
||||
.Scope( AS_GLOBAL )
|
||||
.FriendlyName( _( "Add Table" ) )
|
||||
.Tooltip( _( "Draw table" ) )
|
||||
.FriendlyName( _( "Draw Tables" ) )
|
||||
.Icon( BITMAPS::spreadsheet ) // JEY TODO
|
||||
.Flags( AF_ACTIVATE ) );
|
||||
|
||||
@ -233,24 +225,21 @@ TOOL_ACTION PCB_ACTIONS::drawAlignedDimension( TOOL_ACTION_ARGS()
|
||||
.Name( "pcbnew.InteractiveDrawing.alignedDimension" )
|
||||
.Scope( AS_GLOBAL )
|
||||
.LegacyHotkeyName( "Add Dimension" )
|
||||
.FriendlyName( _( "Add Aligned Dimension" ) )
|
||||
.Tooltip( _( "Add an aligned linear dimension" ) )
|
||||
.FriendlyName( _( "Draw Aligned Dimensions" ) )
|
||||
.Icon( BITMAPS::add_aligned_dimension )
|
||||
.Flags( AF_ACTIVATE ) );
|
||||
|
||||
TOOL_ACTION PCB_ACTIONS::drawCenterDimension( TOOL_ACTION_ARGS()
|
||||
.Name( "pcbnew.InteractiveDrawing.centerDimension" )
|
||||
.Scope( AS_GLOBAL )
|
||||
.FriendlyName( _( "Add Center Dimension" ) )
|
||||
.Tooltip( _( "Add a center dimension" ) )
|
||||
.FriendlyName( _( "Draw Center Dimensions" ) )
|
||||
.Icon( BITMAPS::add_center_dimension )
|
||||
.Flags( AF_ACTIVATE ) );
|
||||
|
||||
TOOL_ACTION PCB_ACTIONS::drawRadialDimension( TOOL_ACTION_ARGS()
|
||||
.Name( "pcbnew.InteractiveDrawing.radialDimension" )
|
||||
.Scope( AS_GLOBAL )
|
||||
.FriendlyName( _( "Add Radial Dimension" ) )
|
||||
.Tooltip( _( "Add a radial dimension" ) )
|
||||
.FriendlyName( _( "Draw Radial Dimensions" ) )
|
||||
.Icon( BITMAPS::add_radial_dimension )
|
||||
.Flags( AF_ACTIVATE ) );
|
||||
|
||||
@ -258,16 +247,14 @@ 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" ) )
|
||||
.FriendlyName( _( "Draw Orthogonal Dimensions" ) )
|
||||
.Icon( BITMAPS::add_orthogonal_dimension )
|
||||
.Flags( AF_ACTIVATE ) );
|
||||
|
||||
TOOL_ACTION PCB_ACTIONS::drawLeader( TOOL_ACTION_ARGS()
|
||||
.Name( "pcbnew.InteractiveDrawing.leader" )
|
||||
.Scope( AS_GLOBAL )
|
||||
.FriendlyName( _( "Add Leader" ) )
|
||||
.Tooltip( _( "Add a leader dimension" ) )
|
||||
.FriendlyName( _( "Draw Leaders" ) )
|
||||
.Icon( BITMAPS::add_leader )
|
||||
.Flags( AF_ACTIVATE ) );
|
||||
|
||||
@ -280,8 +267,7 @@ TOOL_ACTION PCB_ACTIONS::drawZone( TOOL_ACTION_ARGS()
|
||||
.DefaultHotkey( MD_SHIFT + MD_CTRL + 'Z' )
|
||||
#endif
|
||||
.LegacyHotkeyName( "Add Filled Zone" )
|
||||
.FriendlyName( _( "Add Filled Zone" ) )
|
||||
.Tooltip( _( "Add a filled zone" ) )
|
||||
.FriendlyName( _( "Draw Filled Zones" ) )
|
||||
.Icon( BITMAPS::add_zone )
|
||||
.Flags( AF_ACTIVATE )
|
||||
.Parameter( ZONE_MODE::ADD ) );
|
||||
@ -291,8 +277,8 @@ TOOL_ACTION PCB_ACTIONS::drawVia( TOOL_ACTION_ARGS()
|
||||
.Scope( AS_GLOBAL )
|
||||
.DefaultHotkey( MD_SHIFT + MD_CTRL + 'V' )
|
||||
.LegacyHotkeyName( "Add Vias" )
|
||||
.FriendlyName( _( "Add Vias" ) )
|
||||
.Tooltip( _( "Add free-standing vias" ) )
|
||||
.FriendlyName( _( "Place Vias" ) )
|
||||
.Tooltip( _( "Place free-standing vias" ) )
|
||||
.Icon( BITMAPS::add_via )
|
||||
.Flags( AF_ACTIVATE ) );
|
||||
|
||||
@ -301,8 +287,7 @@ TOOL_ACTION PCB_ACTIONS::drawRuleArea( TOOL_ACTION_ARGS()
|
||||
.Scope( AS_GLOBAL )
|
||||
.DefaultHotkey( MD_SHIFT + MD_CTRL + 'K' )
|
||||
.LegacyHotkeyName( "Add Keepout Area" )
|
||||
.FriendlyName( _( "Add Rule Area" ) )
|
||||
.Tooltip( _( "Add a rule area (keepout)" ) )
|
||||
.FriendlyName( _( "Draw Rule Areas" ) )
|
||||
.Icon( BITMAPS::add_keepout_area )
|
||||
.Flags( AF_ACTIVATE )
|
||||
.Parameter( ZONE_MODE::ADD ) );
|
||||
@ -313,7 +298,7 @@ TOOL_ACTION PCB_ACTIONS::drawZoneCutout( TOOL_ACTION_ARGS()
|
||||
.DefaultHotkey( MD_SHIFT + 'C' )
|
||||
.LegacyHotkeyName( "Add a Zone Cutout" )
|
||||
.FriendlyName( _( "Add a Zone Cutout" ) )
|
||||
.Tooltip( _( "Add a cutout area of an existing zone" ) )
|
||||
.Tooltip( _( "Add a cutout to an existing zone or rule area" ) )
|
||||
.Icon( BITMAPS::add_zone_cutout )
|
||||
.Flags( AF_ACTIVATE )
|
||||
.Parameter( ZONE_MODE::CUTOUT ) );
|
||||
@ -354,24 +339,21 @@ TOOL_ACTION PCB_ACTIONS::incWidth( TOOL_ACTION_ARGS()
|
||||
.Scope( AS_CONTEXT )
|
||||
.DefaultHotkey( MD_CTRL + '+' )
|
||||
.LegacyHotkeyName( "Increase Line Width" )
|
||||
.FriendlyName( _( "Increase Line Width" ) )
|
||||
.Tooltip( _( "Increase the line width" ) ) );
|
||||
.FriendlyName( _( "Increase Line Width" ) ) );
|
||||
|
||||
TOOL_ACTION PCB_ACTIONS::decWidth( TOOL_ACTION_ARGS()
|
||||
.Name( "pcbnew.InteractiveDrawing.decWidth" )
|
||||
.Scope( AS_CONTEXT )
|
||||
.DefaultHotkey( MD_CTRL + '-' )
|
||||
.LegacyHotkeyName( "Decrease Line Width" )
|
||||
.FriendlyName( _( "Decrease Line Width" ) )
|
||||
.Tooltip( _( "Decrease the line width" ) ) );
|
||||
.FriendlyName( _( "Decrease Line Width" ) ) );
|
||||
|
||||
TOOL_ACTION PCB_ACTIONS::arcPosture( TOOL_ACTION_ARGS()
|
||||
.Name( "pcbnew.InteractiveDrawing.arcPosture" )
|
||||
.Scope( AS_CONTEXT )
|
||||
.DefaultHotkey( '/' )
|
||||
.LegacyHotkeyName( "Switch Track Posture" )
|
||||
.FriendlyName( _( "Switch Arc Posture" ) )
|
||||
.Tooltip( _( "Switch the arc posture" ) ) );
|
||||
.FriendlyName( _( "Switch Arc Posture" ) ) );
|
||||
|
||||
|
||||
TOOL_ACTION PCB_ACTIONS::magneticSnapActiveLayer( TOOL_ACTION_ARGS()
|
||||
@ -426,7 +408,6 @@ TOOL_ACTION PCB_ACTIONS::editFpInFpEditor( TOOL_ACTION_ARGS()
|
||||
.DefaultHotkey( MD_CTRL + 'E' )
|
||||
.LegacyHotkeyName( "Edit with Footprint Editor" )
|
||||
.FriendlyName( _( "Open in Footprint Editor" ) )
|
||||
.Tooltip( _( "Opens the selected footprint in the Footprint Editor" ) )
|
||||
.Icon( BITMAPS::module_editor ) );
|
||||
|
||||
TOOL_ACTION PCB_ACTIONS::editLibFpInFpEditor( TOOL_ACTION_ARGS()
|
||||
@ -434,7 +415,6 @@ TOOL_ACTION PCB_ACTIONS::editLibFpInFpEditor( TOOL_ACTION_ARGS()
|
||||
.Scope( AS_GLOBAL )
|
||||
.DefaultHotkey( MD_CTRL + MD_SHIFT + 'E' )
|
||||
.FriendlyName( _( "Edit Library Footprint..." ) )
|
||||
.Tooltip( _( "Opens the selected footprint in the Footprint Editor" ) )
|
||||
.Icon( BITMAPS::module_editor ) );
|
||||
|
||||
TOOL_ACTION PCB_ACTIONS::getAndPlace( TOOL_ACTION_ARGS()
|
||||
@ -453,7 +433,6 @@ TOOL_ACTION PCB_ACTIONS::move( TOOL_ACTION_ARGS()
|
||||
.DefaultHotkey( 'M' )
|
||||
.LegacyHotkeyName( "Move Item" )
|
||||
.FriendlyName( _( "Move" ) )
|
||||
.Tooltip( _( "Moves the selected item(s)" ) )
|
||||
.Icon( BITMAPS::move )
|
||||
.Flags( AF_ACTIVATE )
|
||||
.Parameter( ACTIONS::CURSOR_EVENT_TYPE::CURSOR_NONE ) );
|
||||
@ -533,7 +512,6 @@ TOOL_ACTION PCB_ACTIONS::rotateCw( TOOL_ACTION_ARGS()
|
||||
// Don't be tempted to remove "Modern Toolset only". It's in the legacy property name.
|
||||
.LegacyHotkeyName( "Rotate Item Clockwise (Modern Toolset only)" )
|
||||
.FriendlyName( _( "Rotate Clockwise" ) )
|
||||
.Tooltip( _( "Rotates selected item(s) clockwise" ) )
|
||||
.Icon( BITMAPS::rotate_cw )
|
||||
.Flags( AF_NONE )
|
||||
.Parameter( -1 ) );
|
||||
@ -544,7 +522,6 @@ TOOL_ACTION PCB_ACTIONS::rotateCcw( TOOL_ACTION_ARGS()
|
||||
.DefaultHotkey( 'R' )
|
||||
.LegacyHotkeyName( "Rotate Item" )
|
||||
.FriendlyName( _( "Rotate Counterclockwise" ) )
|
||||
.Tooltip( _( "Rotates selected item(s) counterclockwise" ) )
|
||||
.Icon( BITMAPS::rotate_ccw )
|
||||
.Flags( AF_NONE )
|
||||
.Parameter( 1 ) );
|
||||
@ -562,14 +539,14 @@ TOOL_ACTION PCB_ACTIONS::mirrorH( TOOL_ACTION_ARGS()
|
||||
.Name( "pcbnew.InteractiveEdit.mirrorHoriontally" )
|
||||
.Scope( AS_GLOBAL )
|
||||
.FriendlyName( _( "Mirror Horizontally" ) )
|
||||
.Tooltip( _( "Mirrors selected item across the Y axis" ) )
|
||||
.Tooltip( _( "Mirrors selected item(s) across the Y axis" ) )
|
||||
.Icon( BITMAPS::mirror_h ) );
|
||||
|
||||
TOOL_ACTION PCB_ACTIONS::mirrorV( TOOL_ACTION_ARGS()
|
||||
.Name( "pcbnew.InteractiveEdit.mirrorVertically" )
|
||||
.Scope( AS_GLOBAL )
|
||||
.FriendlyName( _( "Mirror Vertically" ) )
|
||||
.Tooltip( _( "Mirrors selected item across the X axis" ) )
|
||||
.Tooltip( _( "Mirrors selected item(s) across the X axis" ) )
|
||||
.Icon( BITMAPS::mirror_v ) );
|
||||
|
||||
TOOL_ACTION PCB_ACTIONS::swap( TOOL_ACTION_ARGS()
|
||||
@ -577,7 +554,7 @@ TOOL_ACTION PCB_ACTIONS::swap( TOOL_ACTION_ARGS()
|
||||
.Scope( AS_GLOBAL )
|
||||
.DefaultHotkey( 'S' )
|
||||
.FriendlyName( _( "Swap" ) )
|
||||
.Tooltip( _( "Swaps selected items' positions" ) )
|
||||
.Tooltip( _( "Swap positiona of selected items" ) )
|
||||
.Icon( BITMAPS::swap ) );
|
||||
|
||||
TOOL_ACTION PCB_ACTIONS::packAndMoveFootprints( TOOL_ACTION_ARGS()
|
||||
@ -593,7 +570,7 @@ TOOL_ACTION PCB_ACTIONS::skip( TOOL_ACTION_ARGS()
|
||||
.Scope( AS_CONTEXT )
|
||||
.DefaultHotkey( WXK_TAB )
|
||||
.FriendlyName( _( "Skip" ) )
|
||||
.Tooltip( _( "Skip item" ) )
|
||||
.Tooltip( _( "Skip to next item" ) )
|
||||
.Icon( BITMAPS::right ) );
|
||||
|
||||
TOOL_ACTION PCB_ACTIONS::changeTrackWidth( TOOL_ACTION_ARGS()
|
||||
@ -685,7 +662,6 @@ TOOL_ACTION PCB_ACTIONS::properties( TOOL_ACTION_ARGS()
|
||||
.DefaultHotkey( 'E' )
|
||||
.LegacyHotkeyName( "Edit Item" )
|
||||
.FriendlyName( _( "Properties..." ) )
|
||||
.Tooltip( _( "Displays item properties dialog" ) )
|
||||
.Icon( BITMAPS::edit ) );
|
||||
|
||||
|
||||
@ -718,21 +694,18 @@ TOOL_ACTION PCB_ACTIONS::duplicateFootprint( TOOL_ACTION_ARGS()
|
||||
.Name( "pcbnew.ModuleEditor.duplicateFootprint" )
|
||||
.Scope( AS_GLOBAL )
|
||||
.FriendlyName( _( "Duplicate Footprint" ) )
|
||||
.Tooltip( _( "Make a copy of the selected footprint" ) )
|
||||
.Icon( BITMAPS::duplicate ) );
|
||||
|
||||
TOOL_ACTION PCB_ACTIONS::renameFootprint( TOOL_ACTION_ARGS()
|
||||
.Name( "pcbnew.ModuleEditor.renameFootprint" )
|
||||
.Scope( AS_GLOBAL )
|
||||
.FriendlyName( _( "Rename Footprint..." ) )
|
||||
.Tooltip( _( "Rename the selected footprint" ) )
|
||||
.Icon( BITMAPS::edit ) );
|
||||
|
||||
TOOL_ACTION PCB_ACTIONS::deleteFootprint( TOOL_ACTION_ARGS()
|
||||
.Name( "pcbnew.ModuleEditor.deleteFootprint" )
|
||||
.Scope( AS_GLOBAL )
|
||||
.FriendlyName( _( "Delete Footprint from Library" ) )
|
||||
.Tooltip( _( "Delete Footprint from Library" ) )
|
||||
.Icon( BITMAPS::trash ) );
|
||||
|
||||
TOOL_ACTION PCB_ACTIONS::cutFootprint( TOOL_ACTION_ARGS()
|
||||
@ -871,7 +844,7 @@ TOOL_ACTION PCB_ACTIONS::cleanupGraphics( TOOL_ACTION_ARGS()
|
||||
TOOL_ACTION PCB_ACTIONS::microwaveCreateGap( TOOL_ACTION_ARGS()
|
||||
.Name( "pcbnew.MicrowaveTool.createGap" )
|
||||
.Scope( AS_GLOBAL )
|
||||
.FriendlyName( _( "Add Microwave Gap" ) )
|
||||
.FriendlyName( _( "Draw Microwave Gaps" ) )
|
||||
.Tooltip( _( "Create gap of specified length for microwave applications" ) )
|
||||
.Icon( BITMAPS::mw_add_gap )
|
||||
.Flags( AF_ACTIVATE )
|
||||
@ -880,7 +853,7 @@ TOOL_ACTION PCB_ACTIONS::microwaveCreateGap( TOOL_ACTION_ARGS()
|
||||
TOOL_ACTION PCB_ACTIONS::microwaveCreateStub( TOOL_ACTION_ARGS()
|
||||
.Name( "pcbnew.MicrowaveTool.createStub" )
|
||||
.Scope( AS_GLOBAL )
|
||||
.FriendlyName( _( "Add Microwave Stub" ) )
|
||||
.FriendlyName( _( "Draw Microwave Stubs" ) )
|
||||
.Tooltip( _( "Create stub of specified length for microwave applications" ) )
|
||||
.Icon( BITMAPS::mw_add_stub )
|
||||
.Flags( AF_ACTIVATE )
|
||||
@ -889,7 +862,7 @@ TOOL_ACTION PCB_ACTIONS::microwaveCreateStub( TOOL_ACTION_ARGS()
|
||||
TOOL_ACTION PCB_ACTIONS::microwaveCreateStubArc( TOOL_ACTION_ARGS()
|
||||
.Name( "pcbnew.MicrowaveTool.createStubArc" )
|
||||
.Scope( AS_GLOBAL )
|
||||
.FriendlyName( _( "Add Microwave Arc Stub" ) )
|
||||
.FriendlyName( _( "Draw Microwave Arc Stubs" ) )
|
||||
.Tooltip( _( "Create stub (arc) of specified size for microwave applications" ) )
|
||||
.Icon( BITMAPS::mw_add_stub_arc )
|
||||
.Flags( AF_ACTIVATE )
|
||||
@ -898,7 +871,7 @@ TOOL_ACTION PCB_ACTIONS::microwaveCreateStubArc( TOOL_ACTION_ARGS()
|
||||
TOOL_ACTION PCB_ACTIONS::microwaveCreateFunctionShape( TOOL_ACTION_ARGS()
|
||||
.Name( "pcbnew.MicrowaveTool.createFunctionShape" )
|
||||
.Scope( AS_GLOBAL )
|
||||
.FriendlyName( _( "Add Microwave Polygonal Shape" ) )
|
||||
.FriendlyName( _( "Draw Microwave Polygonal Shapes" ) )
|
||||
.Tooltip( _( "Create a microwave polygonal shape from a list of vertices" ) )
|
||||
.Icon( BITMAPS::mw_add_shape )
|
||||
.Flags( AF_ACTIVATE )
|
||||
@ -907,7 +880,7 @@ TOOL_ACTION PCB_ACTIONS::microwaveCreateFunctionShape( TOOL_ACTION_ARGS()
|
||||
TOOL_ACTION PCB_ACTIONS::microwaveCreateLine( TOOL_ACTION_ARGS()
|
||||
.Name( "pcbnew.MicrowaveTool.createLine" )
|
||||
.Scope( AS_GLOBAL )
|
||||
.FriendlyName( _( "Add Microwave Line" ) )
|
||||
.FriendlyName( _( "Draw Microwave Lines" ) )
|
||||
.Tooltip( _( "Create line of specified length for microwave applications" ) )
|
||||
.Icon( BITMAPS::mw_add_line )
|
||||
.Flags( AF_ACTIVATE ) );
|
||||
@ -1118,14 +1091,12 @@ TOOL_ACTION PCB_ACTIONS::assignNetClass( TOOL_ACTION_ARGS()
|
||||
TOOL_ACTION PCB_ACTIONS::zoneMerge( TOOL_ACTION_ARGS()
|
||||
.Name( "pcbnew.EditorControl.zoneMerge" )
|
||||
.Scope( AS_GLOBAL )
|
||||
.FriendlyName( _( "Merge Zones" ) )
|
||||
.Tooltip( _( "Merge zones" ) ) );
|
||||
.FriendlyName( _( "Merge Zones" ) ) );
|
||||
|
||||
TOOL_ACTION PCB_ACTIONS::zoneDuplicate( TOOL_ACTION_ARGS()
|
||||
.Name( "pcbnew.EditorControl.zoneDuplicate" )
|
||||
.Scope( AS_GLOBAL )
|
||||
.FriendlyName( _( "Duplicate Zone onto Layer..." ) )
|
||||
.Tooltip( _( "Duplicate zone outline onto a different layer" ) )
|
||||
.Icon( BITMAPS::zone_duplicate ) );
|
||||
|
||||
TOOL_ACTION PCB_ACTIONS::placeFootprint( TOOL_ACTION_ARGS()
|
||||
@ -1133,8 +1104,7 @@ TOOL_ACTION PCB_ACTIONS::placeFootprint( TOOL_ACTION_ARGS()
|
||||
.Scope( AS_GLOBAL )
|
||||
.DefaultHotkey( 'A' )
|
||||
.LegacyHotkeyName( "Add Footprint" )
|
||||
.FriendlyName( _( "Add Footprint" ) )
|
||||
.Tooltip( _( "Add a footprint" ) )
|
||||
.FriendlyName( _( "Place Footprints" ) )
|
||||
.Icon( BITMAPS::module )
|
||||
.Flags( AF_ACTIVATE )
|
||||
.Parameter<FOOTPRINT*>( nullptr ) );
|
||||
@ -1248,15 +1218,13 @@ TOOL_ACTION PCB_ACTIONS::clearHighlight( TOOL_ACTION_ARGS()
|
||||
.Name( "pcbnew.EditorControl.clearHighlight" )
|
||||
.Scope( AS_GLOBAL )
|
||||
.DefaultHotkey( '~' )
|
||||
.FriendlyName( _( "Clear Net Highlighting" ) )
|
||||
.Tooltip( _( "Clear any existing net highlighting" ) ) );
|
||||
.FriendlyName( _( "Clear Net Highlighting" ) ) );
|
||||
|
||||
TOOL_ACTION PCB_ACTIONS::toggleNetHighlight( TOOL_ACTION_ARGS()
|
||||
.Name( "pcbnew.EditorControl.toggleNetHighlight" )
|
||||
.Scope( AS_GLOBAL )
|
||||
.DefaultHotkey( MD_ALT + '`' )
|
||||
.FriendlyName( _( "Toggle Net Highlight" ) )
|
||||
.Tooltip( _( "Toggle net highlighting" ) )
|
||||
.Icon( BITMAPS::net_highlight )
|
||||
.Parameter<int>( 0 ) );
|
||||
|
||||
@ -1327,19 +1295,18 @@ TOOL_ACTION PCB_ACTIONS::showLayersManager( TOOL_ACTION_ARGS()
|
||||
.Name( "pcbnew.Control.showLayersManager" )
|
||||
.Scope( AS_GLOBAL )
|
||||
.FriendlyName( _( "Show Appearance Manager" ) )
|
||||
.Tooltip( _( "Show/hide the appearance manager" ) )
|
||||
.Icon( BITMAPS::layers_manager ) );
|
||||
|
||||
TOOL_ACTION PCB_ACTIONS::showNetInspector( TOOL_ACTION_ARGS()
|
||||
.Name( "pcbnew.Control.showNetInspector" )
|
||||
.Scope( AS_GLOBAL )
|
||||
.FriendlyName( _( "Show Net Inspector" ) )
|
||||
.Tooltip( _( "Show/hide the net inspector" ) )
|
||||
.Icon( BITMAPS::tools ) );
|
||||
|
||||
TOOL_ACTION PCB_ACTIONS::zonesManager( "pcbnew.Control.zonesManager",
|
||||
AS_GLOBAL, 0, "",
|
||||
_( "Zone Manager" ), _( "Show the zone manager dialog" ),
|
||||
_( "Zone Manager" ),
|
||||
_( "Show the zone manager dialog" ),
|
||||
BITMAPS::show_zone );
|
||||
|
||||
TOOL_ACTION PCB_ACTIONS::flipBoard( TOOL_ACTION_ARGS()
|
||||
@ -1354,7 +1321,7 @@ TOOL_ACTION PCB_ACTIONS::showRatsnest( TOOL_ACTION_ARGS()
|
||||
.Name( "pcbnew.Control.showRatsnest" )
|
||||
.Scope( AS_GLOBAL )
|
||||
.FriendlyName( _( "Show Ratsnest" ) )
|
||||
.Tooltip( _( "Show board ratsnest" ) )
|
||||
.Tooltip( _( "Show lines/arcs representing missing connections on the board" ) )
|
||||
.Icon( BITMAPS::general_ratsnest ) );
|
||||
|
||||
TOOL_ACTION PCB_ACTIONS::ratsnestLineMode( TOOL_ACTION_ARGS()
|
||||
@ -1417,7 +1384,6 @@ TOOL_ACTION PCB_ACTIONS::showPadNumbers( TOOL_ACTION_ARGS()
|
||||
.Name( "pcbnew.Control.showPadNumbers" )
|
||||
.Scope( AS_GLOBAL )
|
||||
.FriendlyName( _( "Show Pad Numbers" ) )
|
||||
.Tooltip( _( "Show pad numbers" ) )
|
||||
.Icon( BITMAPS::pad_number ) );
|
||||
|
||||
TOOL_ACTION PCB_ACTIONS::zoneDisplayFilled( TOOL_ACTION_ARGS()
|
||||
|
@ -227,7 +227,7 @@ void ZONE_CREATE_HELPER::commitZone( std::unique_ptr<ZONE> aZone )
|
||||
aZone->HatchBorder();
|
||||
|
||||
commit.Add( aZone.get() );
|
||||
commit.Push( _( "Add a zone" ) );
|
||||
commit.Push( _( "Draw Zone" ) );
|
||||
|
||||
m_tool.GetManager()->RunAction<EDA_ITEM*>( PCB_ACTIONS::selectItem, aZone.release() );
|
||||
break;
|
||||
@ -249,7 +249,7 @@ void ZONE_CREATE_HELPER::commitZone( std::unique_ptr<ZONE> aZone )
|
||||
poly->SetPolyShape( *aZone->Outline() );
|
||||
|
||||
commit.Add( poly );
|
||||
commit.Push( _( "Add Polygon" ) );
|
||||
commit.Push( _( "Draw Polygon" ) );
|
||||
|
||||
m_tool.GetManager()->RunAction<EDA_ITEM*>( PCB_ACTIONS::selectItem, poly );
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user