2019-06-17 00:34:21 +00:00
|
|
|
/*
|
|
|
|
* This program source code file is part of KiCad, a free EDA CAD application.
|
|
|
|
*
|
2023-01-01 23:37:24 +00:00
|
|
|
* Copyright (C) 2019-2023 CERN
|
|
|
|
* Copyright (C) 2019-2023 KiCad Developers, see AUTHORS.txt for contributors.
|
2019-06-17 00:34:21 +00:00
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU General Public License
|
|
|
|
* as published by the Free Software Foundation; either version 2
|
|
|
|
* of the License, or (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with this program; if not, you may find one here:
|
|
|
|
* http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
|
|
|
|
* or you may search the http://www.gnu.org website for the version 2 license,
|
|
|
|
* or you may write to the Free Software Foundation, Inc.,
|
|
|
|
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include <bitmaps.h>
|
2019-06-17 22:02:30 +00:00
|
|
|
#include <core/typeinfo.h>
|
2021-07-29 09:47:43 +00:00
|
|
|
#include <layer_ids.h>
|
2020-10-01 23:53:47 +00:00
|
|
|
#include <sch_line_wire_bus_tool.h>
|
|
|
|
#include <tools/ee_actions.h>
|
|
|
|
#include <tool/tool_action.h>
|
2019-06-17 00:34:21 +00:00
|
|
|
|
|
|
|
|
2023-07-03 10:38:51 +00:00
|
|
|
// Forward-define of parameter types
|
|
|
|
class SCH_BITMAP;
|
|
|
|
|
2019-06-17 00:34:21 +00:00
|
|
|
// Actions, being statically-defined, require specialized I18N handling. We continue to
|
|
|
|
// use the _() macro so that string harvesting by the I18N framework doesn't have to be
|
|
|
|
// specialized, but we don't translate on initialization and instead do it in the getters.
|
|
|
|
|
|
|
|
#undef _
|
|
|
|
#define _(s) s
|
|
|
|
|
|
|
|
|
|
|
|
// EE_INSPECTION_TOOL
|
|
|
|
//
|
2023-08-05 22:28:07 +00:00
|
|
|
TOOL_ACTION EE_ACTIONS::runERC( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.InspectionTool.runERC" )
|
|
|
|
.Scope( AS_GLOBAL )
|
2023-10-27 22:40:35 +00:00
|
|
|
.FriendlyName( _( "Electrical Rules Checker" ) )
|
2023-08-05 22:28:07 +00:00
|
|
|
.Tooltip( _( "Perform electrical rules check" ) )
|
|
|
|
.Icon( BITMAPS::erc ) );
|
|
|
|
|
|
|
|
TOOL_ACTION EE_ACTIONS::checkSymbol( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.InspectionTool.checkSymbol" )
|
|
|
|
.Scope( AS_GLOBAL )
|
2023-10-27 22:40:35 +00:00
|
|
|
.FriendlyName( _( "Symbol Checker" ) )
|
2023-08-05 22:28:07 +00:00
|
|
|
.Tooltip( _( "Show the symbol checker window" ) )
|
|
|
|
.Icon( BITMAPS::erc ) );
|
|
|
|
|
|
|
|
TOOL_ACTION EE_ACTIONS::diffSymbol( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.InspectionTool.diffSymbol" )
|
|
|
|
.Scope( AS_GLOBAL )
|
2023-10-27 22:40:35 +00:00
|
|
|
.FriendlyName( _( "Diff Symbol with Library" ) )
|
2023-08-05 22:28:07 +00:00
|
|
|
.Tooltip( _( "Show differences between schematic symbol and its library equivalent" ) )
|
|
|
|
.Icon( BITMAPS::library ) );
|
|
|
|
|
|
|
|
TOOL_ACTION EE_ACTIONS::showSimulator( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.EditorControl.showSimulator" )
|
|
|
|
.Scope( AS_GLOBAL )
|
2023-10-27 22:40:35 +00:00
|
|
|
.FriendlyName( _( "Simulator" ) )
|
2023-08-05 22:28:07 +00:00
|
|
|
.Tooltip( _( "Show simulation window for running SPICE or IBIS simulations." ) )
|
|
|
|
.Icon( BITMAPS::simulator ) );
|
|
|
|
|
|
|
|
TOOL_ACTION EE_ACTIONS::showDatasheet( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.InspectionTool.showDatasheet" )
|
|
|
|
.Scope( AS_GLOBAL )
|
|
|
|
.DefaultHotkey( 'D' )
|
|
|
|
.LegacyHotkeyName( "Show Datasheet" )
|
2023-10-27 22:40:35 +00:00
|
|
|
.FriendlyName( _( "Show Datasheet" ) )
|
2023-08-05 22:28:07 +00:00
|
|
|
.Tooltip( _( "Opens the datasheet in a browser" ) )
|
|
|
|
.Icon( BITMAPS::datasheet ) );
|
2019-06-17 00:34:21 +00:00
|
|
|
|
|
|
|
|
|
|
|
// EE_POINT_EDITOR
|
|
|
|
//
|
2023-08-05 22:28:07 +00:00
|
|
|
TOOL_ACTION EE_ACTIONS::pointEditorAddCorner( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.PointEditor.addCorner" )
|
|
|
|
.Scope( AS_GLOBAL )
|
2023-10-27 22:40:35 +00:00
|
|
|
.FriendlyName( _( "Create Corner" ) )
|
2023-08-05 22:28:07 +00:00
|
|
|
.Tooltip( _( "Create a corner" ) )
|
|
|
|
.Icon( BITMAPS::add_corner ) );
|
2019-06-17 00:34:21 +00:00
|
|
|
|
2023-08-05 22:28:07 +00:00
|
|
|
TOOL_ACTION EE_ACTIONS::pointEditorRemoveCorner( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.PointEditor.removeCorner" )
|
|
|
|
.Scope( AS_GLOBAL )
|
2023-10-27 22:40:35 +00:00
|
|
|
.FriendlyName( _( "Remove Corner" ) )
|
2023-08-05 22:28:07 +00:00
|
|
|
.Tooltip( _( "Remove corner" ) )
|
|
|
|
.Icon( BITMAPS::delete_cursor ) );
|
2019-06-17 00:34:21 +00:00
|
|
|
|
|
|
|
|
|
|
|
// EE_SELECTION_TOOL
|
|
|
|
//
|
2023-08-05 22:28:07 +00:00
|
|
|
TOOL_ACTION EE_ACTIONS::selectionActivate( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.InteractiveSelection" )
|
|
|
|
.Scope( AS_GLOBAL )
|
|
|
|
.Flags( AF_ACTIVATE ) );
|
2019-06-17 00:34:21 +00:00
|
|
|
|
2023-08-05 22:28:07 +00:00
|
|
|
TOOL_ACTION EE_ACTIONS::selectNode( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.InteractiveSelection.SelectNode" )
|
|
|
|
.Scope( AS_GLOBAL )
|
|
|
|
.DefaultHotkey( MD_ALT + '3' )
|
|
|
|
.LegacyHotkeyName( "Select Node" )
|
2023-10-27 22:40:35 +00:00
|
|
|
.FriendlyName( _( "Select Node" ) )
|
2023-08-05 22:28:07 +00:00
|
|
|
.Tooltip( _( "Select a connection item under the cursor" ) ) );
|
2019-06-17 00:34:21 +00:00
|
|
|
|
2023-08-05 22:28:07 +00:00
|
|
|
TOOL_ACTION EE_ACTIONS::selectConnection( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.InteractiveSelection.SelectConnection" )
|
|
|
|
.Scope( AS_GLOBAL )
|
|
|
|
.DefaultHotkey( MD_ALT + '4' )
|
|
|
|
.LegacyHotkeyName( "Select Connection" )
|
2023-10-27 22:40:35 +00:00
|
|
|
.FriendlyName( _( "Select Connection" ) )
|
2023-08-05 22:28:07 +00:00
|
|
|
.Tooltip( _( "Select a complete connection" ) )
|
|
|
|
.Icon( BITMAPS::net_highlight_schematic ) );
|
2019-06-17 00:34:21 +00:00
|
|
|
|
2023-08-05 22:28:07 +00:00
|
|
|
TOOL_ACTION EE_ACTIONS::selectionMenu( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.InteractiveSelection.SelectionMenu" )
|
|
|
|
.Scope( AS_GLOBAL ) );
|
2019-06-17 00:34:21 +00:00
|
|
|
|
2023-08-05 22:28:07 +00:00
|
|
|
TOOL_ACTION EE_ACTIONS::addItemToSel( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.InteractiveSelection.AddItemToSel" )
|
|
|
|
.Scope( AS_GLOBAL ) );
|
2019-06-17 00:34:21 +00:00
|
|
|
|
2023-08-05 22:28:07 +00:00
|
|
|
TOOL_ACTION EE_ACTIONS::addItemsToSel( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.InteractiveSelection.AddItemsToSel" )
|
|
|
|
.Scope( AS_GLOBAL ) );
|
2019-06-17 00:34:21 +00:00
|
|
|
|
2023-08-05 22:28:07 +00:00
|
|
|
TOOL_ACTION EE_ACTIONS::removeItemFromSel( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.InteractiveSelection.RemoveItemFromSel" )
|
|
|
|
.Scope( AS_GLOBAL ) );
|
2019-06-17 00:34:21 +00:00
|
|
|
|
2023-08-05 22:28:07 +00:00
|
|
|
TOOL_ACTION EE_ACTIONS::removeItemsFromSel( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.InteractiveSelection.RemoveItemsFromSel" )
|
|
|
|
.Scope( AS_GLOBAL ) );
|
2019-06-17 00:34:21 +00:00
|
|
|
|
2023-08-05 22:28:07 +00:00
|
|
|
TOOL_ACTION EE_ACTIONS::clearSelection( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.InteractiveSelection.ClearSelection" )
|
|
|
|
.Scope( AS_GLOBAL ) );
|
2019-06-17 00:34:21 +00:00
|
|
|
|
2023-08-05 22:28:07 +00:00
|
|
|
TOOL_ACTION EE_ACTIONS::syncSelection( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.InteractiveSelection.SyncSelection" )
|
|
|
|
.Scope( AS_GLOBAL ) );
|
2022-07-19 15:00:35 +00:00
|
|
|
|
2019-06-17 00:34:21 +00:00
|
|
|
|
2020-12-12 03:13:52 +00:00
|
|
|
// SYMBOL_EDITOR_CONTROL
|
2019-06-17 00:34:21 +00:00
|
|
|
//
|
2023-08-05 22:28:07 +00:00
|
|
|
TOOL_ACTION EE_ACTIONS::saveLibraryAs( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.SymbolLibraryControl.saveLibraryAs" )
|
|
|
|
.Scope( AS_GLOBAL )
|
|
|
|
.DefaultHotkey( MD_SHIFT + MD_CTRL + 'S' )
|
|
|
|
.LegacyHotkeyName( "Save As" )
|
2023-10-27 22:40:35 +00:00
|
|
|
.FriendlyName( _( "Save Library As..." ) )
|
2023-08-05 22:28:07 +00:00
|
|
|
.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( 'N' )
|
2023-10-27 22:40:35 +00:00
|
|
|
.FriendlyName( _( "New Symbol..." ) )
|
2023-08-05 22:28:07 +00:00
|
|
|
.Tooltip( _( "Create a new symbol" ) )
|
|
|
|
.Icon( BITMAPS::new_component ) );
|
|
|
|
|
|
|
|
TOOL_ACTION EE_ACTIONS::deriveFromExistingSymbol( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.SymbolLibraryControl.deriveFromExistingSymbol" )
|
|
|
|
.Scope( AS_GLOBAL )
|
2023-10-27 22:40:35 +00:00
|
|
|
.FriendlyName( _( "Derive from existing symbol" ) )
|
2023-08-05 22:28:07 +00:00
|
|
|
.Tooltip( _( "Create a new symbol, derived from an existing symbol" ) )
|
|
|
|
.Icon( BITMAPS::new_component ) );
|
|
|
|
|
|
|
|
TOOL_ACTION EE_ACTIONS::editSymbol( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.SymbolLibraryControl.editSymbol" )
|
|
|
|
.Scope( AS_GLOBAL )
|
2023-10-27 22:40:35 +00:00
|
|
|
.FriendlyName( _( "Edit Symbol" ) )
|
2023-08-05 22:28:07 +00:00
|
|
|
.Tooltip( _( "Show selected symbol on editor canvas" ) )
|
|
|
|
.Icon( BITMAPS::edit ) );
|
|
|
|
|
|
|
|
TOOL_ACTION EE_ACTIONS::duplicateSymbol( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.SymbolLibraryControl.duplicateSymbol" )
|
|
|
|
.Scope( AS_GLOBAL )
|
2023-10-27 22:40:35 +00:00
|
|
|
.FriendlyName( _( "Duplicate Symbol" ) )
|
2023-08-05 22:28:07 +00:00
|
|
|
.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 )
|
2023-10-27 22:40:35 +00:00
|
|
|
.FriendlyName( _( "Rename Symbol..." ) )
|
2023-08-05 22:28:07 +00:00
|
|
|
.Tooltip( _( "Rename the selected symbol" ) )
|
|
|
|
.Icon( BITMAPS::edit ) );
|
|
|
|
|
2023-10-28 21:25:33 +00:00
|
|
|
TOOL_ACTION EE_ACTIONS::saveSymbolCopyAs( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.SymbolLibraryControl.saveSymbolCopyAs" )
|
2023-08-05 22:28:07 +00:00
|
|
|
.Scope( AS_GLOBAL )
|
2023-10-28 21:25:33 +00:00
|
|
|
.FriendlyName( _( "Save Copy As..." ) )
|
|
|
|
.Tooltip( _( "Save a copy of the current symbol to a different library." ) )
|
2023-08-05 22:28:07 +00:00
|
|
|
.Icon( BITMAPS::save_as ) );
|
|
|
|
|
|
|
|
TOOL_ACTION EE_ACTIONS::deleteSymbol( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.SymbolLibraryControl.deleteSymbol" )
|
|
|
|
.Scope( AS_GLOBAL )
|
2023-10-27 22:40:35 +00:00
|
|
|
.FriendlyName( _( "Delete Symbol" ) )
|
2023-08-05 22:28:07 +00:00
|
|
|
.Tooltip( _( "Remove the selected symbol from its library" ) )
|
|
|
|
.Icon( BITMAPS::trash ) );
|
|
|
|
|
|
|
|
TOOL_ACTION EE_ACTIONS::cutSymbol( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.SymbolLibraryControl.cutSymbol" )
|
|
|
|
.Scope( AS_GLOBAL )
|
2023-10-27 22:40:35 +00:00
|
|
|
.FriendlyName( _( "Cut" ) )
|
2023-08-05 22:28:07 +00:00
|
|
|
.Icon( BITMAPS::cut ) );
|
|
|
|
|
|
|
|
TOOL_ACTION EE_ACTIONS::copySymbol( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.SymbolLibraryControl.copySymbol" )
|
|
|
|
.Scope( AS_GLOBAL )
|
2023-10-27 22:40:35 +00:00
|
|
|
.FriendlyName( _( "Copy" ) )
|
2023-08-05 22:28:07 +00:00
|
|
|
.Icon( BITMAPS::copy ) );
|
|
|
|
|
|
|
|
TOOL_ACTION EE_ACTIONS::pasteSymbol( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.SymbolLibraryControl.pasteSymbol" )
|
|
|
|
.Scope( AS_GLOBAL )
|
2023-10-27 22:40:35 +00:00
|
|
|
.FriendlyName( _( "Paste Symbol" ) )
|
2023-08-05 22:28:07 +00:00
|
|
|
.Icon( BITMAPS::paste ) );
|
|
|
|
|
|
|
|
TOOL_ACTION EE_ACTIONS::importSymbol( TOOL_ACTION_ARGS()
|
|
|
|
.Name("eeschema.SymbolLibraryControl.importSymbol" )
|
|
|
|
.Scope( AS_GLOBAL )
|
2023-10-27 22:40:35 +00:00
|
|
|
.FriendlyName( _( "Import Symbol..." ) )
|
2023-08-05 22:28:07 +00:00
|
|
|
.Tooltip( _( "Import a symbol to the current library" ) )
|
|
|
|
.Icon( BITMAPS::import_part ) );
|
|
|
|
|
|
|
|
TOOL_ACTION EE_ACTIONS::exportSymbol( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.SymbolLibraryControl.exportSymbol" )
|
|
|
|
.Scope( AS_GLOBAL )
|
2023-10-27 22:40:35 +00:00
|
|
|
.FriendlyName( _( "Export..." ) )
|
2023-08-05 22:28:07 +00:00
|
|
|
.Tooltip( _( "Export a symbol to a new library file" ) )
|
|
|
|
.Icon( BITMAPS::export_part ) );
|
|
|
|
|
|
|
|
TOOL_ACTION EE_ACTIONS::updateSymbolFields( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.SymbolLibraryControl.updateSymbolFields" )
|
|
|
|
.Scope( AS_GLOBAL )
|
2023-10-27 22:40:35 +00:00
|
|
|
.FriendlyName( _( "Update Symbol Fields..." ) )
|
2023-08-05 22:28:07 +00:00
|
|
|
.Tooltip( _( "Update symbol to match changes made in parent symbol" ) )
|
|
|
|
.Icon( BITMAPS::refresh ) );
|
|
|
|
|
|
|
|
TOOL_ACTION EE_ACTIONS::setUnitDisplayName( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.SymbolLibraryControl.setUnitDisplayName" )
|
|
|
|
.Scope( AS_GLOBAL )
|
2023-10-27 22:40:35 +00:00
|
|
|
.FriendlyName( _( "Set Unit Display Name..." ) )
|
2023-08-05 22:28:07 +00:00
|
|
|
.Tooltip( _( "Set the display name for a unit" ) ) );
|
|
|
|
|
|
|
|
TOOL_ACTION EE_ACTIONS::addSymbolToSchematic( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.SymbolLibraryControl.addSymbolToSchematic" )
|
|
|
|
.Scope( AS_GLOBAL )
|
2023-10-27 22:40:35 +00:00
|
|
|
.FriendlyName( _( "Add Symbol to Schematic" ) )
|
2023-08-05 22:28:07 +00:00
|
|
|
.Tooltip( _( "Add Symbol to Schematic" ) )
|
|
|
|
.Icon( BITMAPS::add_symbol_to_schematic ) );
|
|
|
|
|
|
|
|
TOOL_ACTION EE_ACTIONS::showElectricalTypes( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.SymbolLibraryControl.showElectricalTypes" )
|
|
|
|
.Scope( AS_GLOBAL )
|
2023-10-27 22:40:35 +00:00
|
|
|
.FriendlyName( _( "Show Pin Electrical Types" ) )
|
2023-08-05 22:28:07 +00:00
|
|
|
.Tooltip( _( "Annotate pins with their electrical types" ) )
|
|
|
|
.Icon( BITMAPS::pin_show_etype ) );
|
|
|
|
|
|
|
|
TOOL_ACTION EE_ACTIONS::showPinNumbers( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.SymbolLibraryControl.showPinNumbers" )
|
|
|
|
.Scope( AS_GLOBAL )
|
2023-10-27 22:40:35 +00:00
|
|
|
.FriendlyName( _( "Show Pin Numbers" ) )
|
2023-08-05 22:28:07 +00:00
|
|
|
.Tooltip( _( "Annotate pins with their numbers" ) )
|
|
|
|
.Icon( BITMAPS::pin ) );
|
|
|
|
|
|
|
|
TOOL_ACTION EE_ACTIONS::showSymbolTree( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.SymbolLibraryControl.showSymbolTree" )
|
|
|
|
.Scope( AS_GLOBAL )
|
2023-10-27 22:40:35 +00:00
|
|
|
.FriendlyName( _( "Show Symbol Tree" ) )
|
2023-08-05 22:28:07 +00:00
|
|
|
.Icon( BITMAPS::search_tree ) );
|
|
|
|
|
|
|
|
TOOL_ACTION EE_ACTIONS::hideSymbolTree( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.SymbolLibraryControl.hideSymbolTree" )
|
|
|
|
.Scope( AS_GLOBAL )
|
2023-10-27 22:40:35 +00:00
|
|
|
.FriendlyName( _( "Hide Symbol Tree" ) )
|
2023-08-05 22:28:07 +00:00
|
|
|
.Icon( BITMAPS::search_tree ) );
|
|
|
|
|
|
|
|
TOOL_ACTION EE_ACTIONS::exportSymbolView( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.SymbolLibraryControl.exportSymbolView" )
|
|
|
|
.Scope( AS_GLOBAL )
|
2023-10-27 22:40:35 +00:00
|
|
|
.FriendlyName( _( "Export View as PNG..." ) )
|
2023-08-05 22:28:07 +00:00
|
|
|
.Tooltip( _( "Create PNG file from the current view" ) )
|
|
|
|
.Icon( BITMAPS::export_png ) );
|
|
|
|
|
|
|
|
TOOL_ACTION EE_ACTIONS::exportSymbolAsSVG( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.SymbolLibraryControl.exportSymbolAsSVG" )
|
|
|
|
.Scope( AS_GLOBAL )
|
2023-10-27 22:40:35 +00:00
|
|
|
.FriendlyName( _( "Export Symbol as SVG..." ) )
|
2023-08-05 22:28:07 +00:00
|
|
|
.Tooltip( _( "Create SVG file from the current symbol" ) )
|
|
|
|
.Icon( BITMAPS::export_svg ) );
|
|
|
|
|
|
|
|
TOOL_ACTION EE_ACTIONS::toggleSyncedPinsMode( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.SymbolLibraryControl.toggleSyncedPinsMode" )
|
|
|
|
.Scope( AS_GLOBAL )
|
2023-10-27 22:40:35 +00:00
|
|
|
.FriendlyName( _( "Synchronized Pins Mode" ) )
|
2023-08-05 22:28:07 +00:00
|
|
|
.Tooltip( _( "Synchronized Pins Mode\n"
|
|
|
|
"When enabled propagates all changes (except pin numbers) to other units.\n"
|
|
|
|
"Enabled by default for multiunit parts with interchangeable units." ) )
|
|
|
|
.Icon( BITMAPS::pin2pin ) );
|
2019-06-17 00:34:21 +00:00
|
|
|
|
|
|
|
|
2020-12-12 03:13:52 +00:00
|
|
|
// SYMBOL_EDITOR_DRAWING_TOOLS
|
2019-06-17 00:34:21 +00:00
|
|
|
//
|
2022-09-28 01:15:19 +00:00
|
|
|
TOOL_ACTION EE_ACTIONS::placeSymbolPin( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.SymbolDrawing.placeSymbolPin" )
|
|
|
|
.Scope( AS_GLOBAL )
|
|
|
|
.DefaultHotkey( 'P' )
|
|
|
|
.LegacyHotkeyName( "Create Pin" )
|
2023-10-27 22:40:35 +00:00
|
|
|
.FriendlyName( _( "Add Pin" ) )
|
2022-09-28 01:15:19 +00:00
|
|
|
.Tooltip( _( "Add a pin" ) )
|
|
|
|
.Icon( BITMAPS::pin )
|
|
|
|
.Flags( AF_ACTIVATE )
|
|
|
|
.Parameter( LIB_PIN_T ) );
|
|
|
|
|
|
|
|
TOOL_ACTION EE_ACTIONS::placeSymbolText( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.SymbolDrawing.placeSymbolText" )
|
|
|
|
.Scope( AS_GLOBAL )
|
2023-10-27 22:40:35 +00:00
|
|
|
.FriendlyName( _( "Add Text" ) )
|
2022-09-28 01:15:19 +00:00
|
|
|
.Tooltip( _( "Add a text item" ) )
|
|
|
|
.Icon( BITMAPS::text )
|
|
|
|
.Flags( AF_ACTIVATE )
|
|
|
|
.Parameter( LIB_TEXT_T ) );
|
|
|
|
|
|
|
|
TOOL_ACTION EE_ACTIONS::drawSymbolTextBox( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.SymbolDrawing.drawSymbolTextBox" )
|
|
|
|
.Scope( AS_GLOBAL )
|
2023-10-27 22:40:35 +00:00
|
|
|
.FriendlyName( _( "Add Text Box" ) )
|
2022-09-28 01:15:19 +00:00
|
|
|
.Tooltip( _( "Add a text box item" ) )
|
|
|
|
.Icon( BITMAPS::add_textbox )
|
2023-06-28 23:01:07 +00:00
|
|
|
.Flags( AF_ACTIVATE ) );
|
2022-09-28 01:15:19 +00:00
|
|
|
|
|
|
|
TOOL_ACTION EE_ACTIONS::drawSymbolLines( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.SymbolDrawing.drawSymbolLines" )
|
|
|
|
.Scope( AS_GLOBAL )
|
2023-10-27 22:40:35 +00:00
|
|
|
.FriendlyName( _( "Add Lines" ) )
|
2022-09-28 01:15:19 +00:00
|
|
|
.Tooltip( _( "Add connected graphic lines" ) )
|
|
|
|
.Icon( BITMAPS::add_graphical_segments )
|
|
|
|
.Flags( AF_ACTIVATE )
|
|
|
|
.Parameter( SHAPE_T::POLY ) );
|
|
|
|
|
|
|
|
TOOL_ACTION EE_ACTIONS::drawSymbolPolygon( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.SymbolDrawing.drawSymbolPolygon" )
|
|
|
|
.Scope( AS_GLOBAL )
|
2023-10-27 22:40:35 +00:00
|
|
|
.FriendlyName( _( "Add Polygon" ) )
|
2022-09-28 01:15:19 +00:00
|
|
|
.Tooltip( _( "Draw polygons" ) )
|
|
|
|
.Icon( BITMAPS::add_graphical_polygon )
|
|
|
|
.Flags( AF_ACTIVATE )
|
|
|
|
.Parameter( SHAPE_T::POLY ) );
|
2019-06-17 00:34:21 +00:00
|
|
|
|
2023-08-05 22:28:07 +00:00
|
|
|
TOOL_ACTION EE_ACTIONS::placeSymbolAnchor( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.SymbolDrawing.placeSymbolAnchor" )
|
|
|
|
.Scope( AS_GLOBAL )
|
2023-10-27 22:40:35 +00:00
|
|
|
.FriendlyName( _( "Move Symbol Anchor" ) )
|
2023-08-05 22:28:07 +00:00
|
|
|
.Tooltip( _( "Specify a new location for the symbol anchor" ) )
|
|
|
|
.Icon( BITMAPS::anchor )
|
|
|
|
.Flags( AF_ACTIVATE ) );
|
2019-06-17 00:34:21 +00:00
|
|
|
|
2023-10-09 00:54:34 +00:00
|
|
|
TOOL_ACTION EE_ACTIONS::symbolImportGraphics( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.SymbolDrawing.symbolImportGraphics" )
|
|
|
|
.Scope( AS_GLOBAL )
|
|
|
|
.DefaultHotkey( MD_SHIFT + MD_CTRL + 'F' )
|
|
|
|
.LegacyHotkeyName( "Place DXF" )
|
2023-10-27 22:40:35 +00:00
|
|
|
.FriendlyName( _( "Import Graphics..." ) )
|
2023-10-09 00:54:34 +00:00
|
|
|
.Tooltip( _( "Import 2D drawing file" ) )
|
|
|
|
.Icon( BITMAPS::import_vector )
|
|
|
|
.Flags( AF_ACTIVATE ) );
|
|
|
|
|
2023-08-05 22:28:07 +00:00
|
|
|
TOOL_ACTION EE_ACTIONS::finishDrawing( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.SymbolDrawing.finishDrawing" )
|
|
|
|
.Scope( AS_GLOBAL )
|
2023-10-27 22:40:35 +00:00
|
|
|
.FriendlyName( _( "Finish Drawing" ) )
|
2023-08-05 22:28:07 +00:00
|
|
|
.Tooltip( _( "Finish drawing shape" ) )
|
|
|
|
.Icon( BITMAPS::checked_ok ) );
|
2019-06-17 00:34:21 +00:00
|
|
|
|
2020-12-12 03:13:52 +00:00
|
|
|
// SYMBOL_EDITOR_PIN_TOOL
|
2019-06-17 00:34:21 +00:00
|
|
|
//
|
2023-08-05 22:28:07 +00:00
|
|
|
TOOL_ACTION EE_ACTIONS::pushPinLength( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.PinEditing.pushPinLength" )
|
|
|
|
.Scope( AS_GLOBAL )
|
2023-10-27 22:40:35 +00:00
|
|
|
.FriendlyName( _( "Push Pin Length" ) )
|
2023-08-05 22:28:07 +00:00
|
|
|
.Tooltip( _( "Copy pin length to other pins in symbol" ) )
|
|
|
|
.Icon( BITMAPS::pin_size_to ) );
|
2019-06-17 00:34:21 +00:00
|
|
|
|
2023-08-05 22:28:07 +00:00
|
|
|
TOOL_ACTION EE_ACTIONS::pushPinNameSize( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.PinEditing.pushPinNameSize" )
|
|
|
|
.Scope( AS_GLOBAL )
|
2023-10-27 22:40:35 +00:00
|
|
|
.FriendlyName( _( "Push Pin Name Size" ) )
|
2023-08-05 22:28:07 +00:00
|
|
|
.Tooltip( _( "Copy pin name size to other pins in symbol" ) )
|
|
|
|
.Icon( BITMAPS::pin_size_to ) );
|
2019-06-17 00:34:21 +00:00
|
|
|
|
2023-08-05 22:28:07 +00:00
|
|
|
TOOL_ACTION EE_ACTIONS::pushPinNumSize( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.PinEditing.pushPinNumSize" )
|
|
|
|
.Scope( AS_GLOBAL )
|
2023-10-27 22:40:35 +00:00
|
|
|
.FriendlyName( _( "Push Pin Number Size" ) )
|
2023-08-05 22:28:07 +00:00
|
|
|
.Tooltip( _( "Copy pin number size to other pins in symbol" ) )
|
|
|
|
.Icon( BITMAPS::pin_size_to ) );
|
2019-06-17 00:34:21 +00:00
|
|
|
|
|
|
|
|
|
|
|
// SCH_DRAWING_TOOLS
|
|
|
|
//
|
2023-06-21 12:42:21 +00:00
|
|
|
TOOL_ACTION EE_ACTIONS::placeSymbol( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.InteractiveDrawing.placeSymbol" )
|
|
|
|
.Scope( AS_GLOBAL )
|
|
|
|
.DefaultHotkey( 'A' )
|
|
|
|
.LegacyHotkeyName( "Add Symbol" )
|
2023-10-27 22:40:35 +00:00
|
|
|
.FriendlyName( _( "Add Symbol" ) )
|
2023-06-21 12:42:21 +00:00
|
|
|
.Tooltip( _( "Add symbols" ) )
|
|
|
|
.Icon( BITMAPS::add_component )
|
|
|
|
.Flags( AF_ACTIVATE )
|
|
|
|
.Parameter<SCH_SYMBOL*>( nullptr ) );
|
2019-06-17 00:34:21 +00:00
|
|
|
|
2023-06-21 12:42:21 +00:00
|
|
|
TOOL_ACTION EE_ACTIONS::placePower( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.InteractiveDrawing.placePowerSymbol" )
|
|
|
|
.Scope( AS_GLOBAL )
|
|
|
|
.DefaultHotkey( 'P' )
|
|
|
|
.LegacyHotkeyName( "Add Power" )
|
2023-10-27 22:40:35 +00:00
|
|
|
.FriendlyName( _( "Add Power" ) )
|
2023-06-21 12:42:21 +00:00
|
|
|
.Tooltip( _( "Add power symbols" ) )
|
|
|
|
.Icon( BITMAPS::add_power )
|
|
|
|
.Flags( AF_ACTIVATE )
|
|
|
|
.Parameter<SCH_SYMBOL*>( nullptr ) );
|
2019-06-17 00:34:21 +00:00
|
|
|
|
2022-09-28 01:15:19 +00:00
|
|
|
TOOL_ACTION EE_ACTIONS::placeNoConnect( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.InteractiveDrawing.placeNoConnect" )
|
|
|
|
.Scope( AS_GLOBAL )
|
|
|
|
.DefaultHotkey( 'Q' )
|
|
|
|
.LegacyHotkeyName( "Add No Connect Flag" )
|
2023-10-27 22:40:35 +00:00
|
|
|
.FriendlyName( _( "Add No Connect Flag" ) )
|
2022-09-28 01:15:19 +00:00
|
|
|
.Tooltip( _( "Draw no-connection flags" ) )
|
|
|
|
.Icon( BITMAPS::noconn )
|
|
|
|
.Flags( AF_ACTIVATE )
|
|
|
|
.Parameter( SCH_NO_CONNECT_T ) );
|
|
|
|
|
|
|
|
TOOL_ACTION EE_ACTIONS::placeJunction( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.InteractiveDrawing.placeJunction" )
|
|
|
|
.Scope( AS_GLOBAL )
|
|
|
|
.DefaultHotkey( 'J' )
|
|
|
|
.LegacyHotkeyName( "Add Junction" )
|
2023-10-27 22:40:35 +00:00
|
|
|
.FriendlyName( _( "Add Junction" ) )
|
2022-09-28 01:15:19 +00:00
|
|
|
.Tooltip( _( "Draw junctions" ) )
|
|
|
|
.Icon( BITMAPS::add_junction )
|
|
|
|
.Flags( AF_ACTIVATE )
|
|
|
|
.Parameter( SCH_JUNCTION_T ) );
|
|
|
|
|
|
|
|
TOOL_ACTION EE_ACTIONS::placeBusWireEntry( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.InteractiveDrawing.placeBusWireEntry" )
|
|
|
|
.Scope( AS_GLOBAL )
|
|
|
|
.DefaultHotkey( 'Z' )
|
|
|
|
.LegacyHotkeyName( "Add Wire Entry" )
|
2023-10-27 22:40:35 +00:00
|
|
|
.FriendlyName( _( "Add Wire to Bus Entry" ) )
|
2022-09-28 01:15:19 +00:00
|
|
|
.Tooltip( _( "Add a wire entry to a bus" ) )
|
|
|
|
.Icon( BITMAPS::add_line2bus )
|
|
|
|
.Flags( AF_ACTIVATE )
|
|
|
|
.Parameter( SCH_BUS_WIRE_ENTRY_T ) );
|
2019-06-17 00:34:21 +00:00
|
|
|
|
2023-08-05 22:28:07 +00:00
|
|
|
TOOL_ACTION EE_ACTIONS::placeLabel( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.InteractiveDrawing.placeLabel" )
|
|
|
|
.Scope( AS_GLOBAL )
|
|
|
|
.DefaultHotkey( 'L' )
|
|
|
|
.LegacyHotkeyName( "Add Label" )
|
2023-10-27 22:40:35 +00:00
|
|
|
.FriendlyName( _( "Add Label" ) )
|
2023-08-05 22:28:07 +00:00
|
|
|
.Tooltip( _( "Draw net labels" ) )
|
|
|
|
.Icon( BITMAPS::add_label )
|
|
|
|
.Flags( AF_ACTIVATE ) );
|
2019-06-17 00:34:21 +00:00
|
|
|
|
2023-08-05 22:28:07 +00:00
|
|
|
TOOL_ACTION EE_ACTIONS::placeClassLabel( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.InteractiveDrawing.placeClassLabel" )
|
|
|
|
.Scope( AS_GLOBAL )
|
2023-10-27 22:40:35 +00:00
|
|
|
.FriendlyName( _( "Add Net Class Directive" ) )
|
2023-08-05 22:28:07 +00:00
|
|
|
.Tooltip( _( "Add net class directive labels" ) )
|
|
|
|
.Icon( BITMAPS::add_class_flag )
|
|
|
|
.Flags( AF_ACTIVATE ) );
|
2021-10-12 20:05:37 +00:00
|
|
|
|
2023-08-05 22:28:07 +00:00
|
|
|
TOOL_ACTION EE_ACTIONS::placeHierLabel( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.InteractiveDrawing.placeHierarchicalLabel" )
|
|
|
|
.Scope( AS_GLOBAL )
|
|
|
|
.DefaultHotkey( 'H' )
|
|
|
|
.LegacyHotkeyName( "Add Hierarchical Label" )
|
2023-10-27 22:40:35 +00:00
|
|
|
.FriendlyName( _( "Add Hierarchical Label" ) )
|
2023-08-05 22:28:07 +00:00
|
|
|
.Tooltip( _( "Add hierarchical labels" ) )
|
|
|
|
.Icon( BITMAPS::add_hierarchical_label )
|
|
|
|
.Flags( AF_ACTIVATE ) );
|
2019-06-17 00:34:21 +00:00
|
|
|
|
2022-09-28 01:15:19 +00:00
|
|
|
TOOL_ACTION EE_ACTIONS::drawSheet( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.InteractiveDrawing.drawSheet" )
|
|
|
|
.Scope( AS_GLOBAL )
|
|
|
|
.DefaultHotkey( 'S' )
|
|
|
|
.LegacyHotkeyName( "Add Sheet" )
|
2023-10-27 22:40:35 +00:00
|
|
|
.FriendlyName( _( "Add Sheet" ) )
|
2022-09-28 01:15:19 +00:00
|
|
|
.Tooltip( _( "Draw hierarchical sheets" ) )
|
|
|
|
.Icon( BITMAPS::add_hierarchical_subsheet )
|
|
|
|
.Flags( AF_ACTIVATE )
|
|
|
|
.Parameter( SCH_SHEET_T ) );
|
2019-06-17 00:34:21 +00:00
|
|
|
|
2023-08-05 22:28:07 +00:00
|
|
|
TOOL_ACTION EE_ACTIONS::importSheetPin( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.InteractiveDrawing.importSheetPin" )
|
|
|
|
.Scope( AS_GLOBAL )
|
2023-10-27 22:40:35 +00:00
|
|
|
.FriendlyName( _( "Import Sheet Pin" ) )
|
2023-08-05 22:28:07 +00:00
|
|
|
.Tooltip( _( "Import hierarchical sheet pins" ) )
|
|
|
|
.Icon( BITMAPS::import_hierarchical_label )
|
|
|
|
.Flags( AF_ACTIVATE ) );
|
2019-06-17 00:34:21 +00:00
|
|
|
|
2023-08-05 22:28:07 +00:00
|
|
|
TOOL_ACTION EE_ACTIONS::placeGlobalLabel( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.InteractiveDrawing.placeGlobalLabel" )
|
|
|
|
.Scope( AS_GLOBAL )
|
|
|
|
.DefaultHotkey( MD_CTRL + 'L' )
|
|
|
|
.LegacyHotkeyName( "Add Global Label" )
|
2023-10-27 22:40:35 +00:00
|
|
|
.FriendlyName( _( "Add Global Label" ) )
|
2023-08-05 22:28:07 +00:00
|
|
|
.Tooltip( _( "Add global labels" ) )
|
|
|
|
.Icon( BITMAPS::add_glabel )
|
|
|
|
.Flags( AF_ACTIVATE ) );
|
2019-06-17 00:34:21 +00:00
|
|
|
|
2023-08-05 22:28:07 +00:00
|
|
|
TOOL_ACTION EE_ACTIONS::placeSchematicText( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.InteractiveDrawing.placeSchematicText" )
|
|
|
|
.Scope( AS_GLOBAL )
|
|
|
|
.DefaultHotkey( 'T' )
|
|
|
|
.LegacyHotkeyName( "Add Graphic Text" )
|
2023-10-27 22:40:35 +00:00
|
|
|
.FriendlyName( _( "Add Text" ) )
|
2023-08-05 22:28:07 +00:00
|
|
|
.Tooltip( _( "Draw text items" ) )
|
|
|
|
.Icon( BITMAPS::text )
|
|
|
|
.Flags( AF_ACTIVATE ) );
|
2019-06-17 00:34:21 +00:00
|
|
|
|
2022-09-28 01:15:19 +00:00
|
|
|
TOOL_ACTION EE_ACTIONS::drawTextBox( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.InteractiveDrawing.drawTextBox" )
|
|
|
|
.Scope( AS_GLOBAL )
|
2023-10-27 22:40:35 +00:00
|
|
|
.FriendlyName( _( "Add Text Box" ) )
|
2022-09-28 01:15:19 +00:00
|
|
|
.Tooltip( _( "Draw text box items" ) )
|
|
|
|
.Icon( BITMAPS::add_textbox )
|
|
|
|
.Flags( AF_ACTIVATE )
|
2023-07-24 16:07:56 +00:00
|
|
|
.Parameter( SHAPE_T::RECTANGLE ) );
|
2022-09-28 01:15:19 +00:00
|
|
|
|
|
|
|
TOOL_ACTION EE_ACTIONS::drawRectangle( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.InteractiveDrawing.drawRectangle" )
|
|
|
|
.Scope( AS_GLOBAL )
|
2023-10-27 22:40:35 +00:00
|
|
|
.FriendlyName( _( "Add Rectangle" ) )
|
2022-09-28 01:15:19 +00:00
|
|
|
.Tooltip( _( "Draw rectangles" ) )
|
|
|
|
.Icon( BITMAPS::add_rectangle )
|
|
|
|
.Flags( AF_ACTIVATE )
|
2023-07-24 16:07:56 +00:00
|
|
|
.Parameter( SHAPE_T::RECTANGLE ) );
|
2022-09-28 01:15:19 +00:00
|
|
|
|
|
|
|
TOOL_ACTION EE_ACTIONS::drawCircle( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.InteractiveDrawing.drawCircle" )
|
|
|
|
.Scope( AS_GLOBAL )
|
2023-10-27 22:40:35 +00:00
|
|
|
.FriendlyName( _( "Add Circle" ) )
|
2022-09-28 01:15:19 +00:00
|
|
|
.Tooltip( _( "Draw circles" ) )
|
|
|
|
.Icon( BITMAPS::add_circle )
|
|
|
|
.Flags( AF_ACTIVATE )
|
|
|
|
.Parameter( SHAPE_T::CIRCLE ) );
|
|
|
|
|
|
|
|
TOOL_ACTION EE_ACTIONS::drawArc( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.InteractiveDrawing.drawArc" )
|
|
|
|
.Scope( AS_GLOBAL )
|
2023-10-27 22:40:35 +00:00
|
|
|
.FriendlyName( _( "Add Arc" ) )
|
2022-09-28 01:15:19 +00:00
|
|
|
.Tooltip( _( "Draw arcs" ) )
|
|
|
|
.Icon( BITMAPS::add_arc )
|
|
|
|
.Flags( AF_ACTIVATE )
|
|
|
|
.Parameter( SHAPE_T::ARC ) );
|
2021-07-17 19:56:18 +00:00
|
|
|
|
2023-07-03 10:38:51 +00:00
|
|
|
TOOL_ACTION EE_ACTIONS::placeImage( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.InteractiveDrawing.placeImage" )
|
|
|
|
.Scope( AS_GLOBAL )
|
2023-10-27 22:40:35 +00:00
|
|
|
.FriendlyName( _( "Add Image" ) )
|
2023-07-03 10:38:51 +00:00
|
|
|
.Tooltip( _( "Add bitmap images" ) )
|
|
|
|
.Icon( BITMAPS::image )
|
|
|
|
.Flags( AF_ACTIVATE )
|
|
|
|
.Parameter<SCH_BITMAP*>( nullptr ) );
|
2019-06-17 00:34:21 +00:00
|
|
|
|
2023-10-09 03:56:13 +00:00
|
|
|
TOOL_ACTION EE_ACTIONS::schImportGraphics( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.InteractiveDrawing.schImportGraphics" )
|
|
|
|
.Scope( AS_GLOBAL )
|
|
|
|
.DefaultHotkey( MD_SHIFT + MD_CTRL + 'F' )
|
|
|
|
.LegacyHotkeyName( "Place DXF" )
|
2023-10-27 22:40:35 +00:00
|
|
|
.FriendlyName( _( "Import Graphics..." ) )
|
2023-10-09 03:56:13 +00:00
|
|
|
.Tooltip( _( "Import 2D drawing file" ) )
|
|
|
|
.Icon( BITMAPS::import_vector )
|
|
|
|
.Flags( AF_ACTIVATE ) );
|
|
|
|
|
2023-08-05 22:28:07 +00:00
|
|
|
TOOL_ACTION EE_ACTIONS::finishSheet( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.InteractiveDrawing.finishSheet" )
|
|
|
|
.Scope( AS_GLOBAL )
|
2023-10-27 22:40:35 +00:00
|
|
|
.FriendlyName( _( "Finish Sheet" ) )
|
2023-08-05 22:28:07 +00:00
|
|
|
.Tooltip( _( "Finish drawing sheet" ) )
|
|
|
|
.Icon( BITMAPS::checked_ok ) );
|
2019-06-17 00:34:21 +00:00
|
|
|
|
|
|
|
|
|
|
|
// SCH_EDIT_TOOL
|
|
|
|
//
|
2023-08-05 22:28:07 +00:00
|
|
|
TOOL_ACTION EE_ACTIONS::repeatDrawItem( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.InteractiveEdit.repeatDrawItem" )
|
|
|
|
.Scope( AS_GLOBAL )
|
2021-03-10 13:33:35 +00:00
|
|
|
#ifdef __WXMAC__
|
2023-08-05 22:28:07 +00:00
|
|
|
.DefaultHotkey( WXK_F1 )
|
2021-03-10 13:33:35 +00:00
|
|
|
#else
|
2023-08-05 22:28:07 +00:00
|
|
|
.DefaultHotkey( WXK_INSERT )
|
2021-03-10 13:33:35 +00:00
|
|
|
#endif
|
2023-08-05 22:28:07 +00:00
|
|
|
.LegacyHotkeyName( "Repeat Last Item" )
|
2023-10-27 22:40:35 +00:00
|
|
|
.FriendlyName( _( "Repeat Last Item" ) )
|
2023-08-05 22:28:07 +00:00
|
|
|
.Tooltip( _( "Duplicates the last drawn item" ) ) );
|
|
|
|
|
|
|
|
TOOL_ACTION EE_ACTIONS::rotateCW( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.InteractiveEdit.rotateCW" )
|
|
|
|
.Scope( AS_GLOBAL )
|
2023-10-27 22:40:35 +00:00
|
|
|
.FriendlyName( _( "Rotate Clockwise" ) )
|
2023-08-05 22:28:07 +00:00
|
|
|
.Tooltip( _( "Rotates selected item(s) clockwise" ) )
|
|
|
|
.Icon( BITMAPS::rotate_cw ) );
|
|
|
|
|
|
|
|
TOOL_ACTION EE_ACTIONS::rotateCCW( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.InteractiveEdit.rotateCCW" )
|
|
|
|
.Scope( AS_GLOBAL )
|
|
|
|
.DefaultHotkey( 'R' )
|
|
|
|
.LegacyHotkeyName( "Rotate Item" )
|
2023-10-27 22:40:35 +00:00
|
|
|
.FriendlyName( _( "Rotate Counterclockwise" ) )
|
2023-08-05 22:28:07 +00:00
|
|
|
.Tooltip( _( "Rotates selected item(s) counter-clockwise" ) )
|
|
|
|
.Icon( BITMAPS::rotate_ccw ) );
|
|
|
|
|
|
|
|
TOOL_ACTION EE_ACTIONS::mirrorV( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.InteractiveEdit.mirrorV" )
|
|
|
|
.Scope( AS_GLOBAL )
|
|
|
|
.DefaultHotkey( 'Y' )
|
|
|
|
.LegacyHotkeyName( "Mirror X" ) // Yes, these were backwards prior to 6.0....
|
2023-10-27 22:40:35 +00:00
|
|
|
.FriendlyName( _( "Mirror Vertically" ) )
|
2023-08-05 22:28:07 +00:00
|
|
|
.Tooltip( _( "Flips selected item(s) from top to bottom" ) )
|
|
|
|
.Icon( BITMAPS::mirror_v ) );
|
|
|
|
|
|
|
|
TOOL_ACTION EE_ACTIONS::mirrorH( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.InteractiveEdit.mirrorH" )
|
|
|
|
.Scope( AS_GLOBAL )
|
|
|
|
.DefaultHotkey( 'X' )
|
|
|
|
.LegacyHotkeyName( "Mirror Y" ) // Yes, these were backwards prior to 6.0....
|
2023-10-27 22:40:35 +00:00
|
|
|
.FriendlyName( _( "Mirror Horizontally" ) )
|
2023-08-05 22:28:07 +00:00
|
|
|
.Tooltip( _( "Flips selected item(s) from left to right" ) )
|
|
|
|
.Icon( BITMAPS::mirror_h ) );
|
|
|
|
|
|
|
|
TOOL_ACTION EE_ACTIONS::swap( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.InteractiveEdit.swap" )
|
|
|
|
.Scope( AS_GLOBAL )
|
|
|
|
.DefaultHotkey( 'S' )
|
2023-10-27 22:40:35 +00:00
|
|
|
.FriendlyName( _( "Swap" ) )
|
2023-08-05 22:28:07 +00:00
|
|
|
.Tooltip( _( "Swaps selected items' positions" ) )
|
|
|
|
.Icon( BITMAPS::swap ) );
|
|
|
|
|
|
|
|
TOOL_ACTION EE_ACTIONS::properties( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.InteractiveEdit.properties" )
|
|
|
|
.Scope( AS_GLOBAL )
|
|
|
|
.DefaultHotkey( 'E' )
|
|
|
|
.LegacyHotkeyName( "Edit Item" )
|
2023-10-27 22:40:35 +00:00
|
|
|
.FriendlyName( _( "Properties..." ) )
|
2023-08-05 22:28:07 +00:00
|
|
|
.Tooltip( _( "Displays item properties dialog" ) )
|
|
|
|
.Icon( BITMAPS::edit ) );
|
|
|
|
|
|
|
|
TOOL_ACTION EE_ACTIONS::editReference( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.InteractiveEdit.editReference" )
|
|
|
|
.Scope( AS_GLOBAL )
|
|
|
|
.DefaultHotkey( 'U' )
|
|
|
|
.LegacyHotkeyName( "Edit Symbol Reference" )
|
2023-10-27 22:40:35 +00:00
|
|
|
.FriendlyName( _( "Edit Reference Designator..." ) )
|
2023-08-05 22:28:07 +00:00
|
|
|
.Tooltip( _( "Displays reference designator dialog" ) )
|
|
|
|
.Icon( BITMAPS::edit_comp_ref ) );
|
|
|
|
|
|
|
|
TOOL_ACTION EE_ACTIONS::editValue( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.InteractiveEdit.editValue" )
|
|
|
|
.Scope( AS_GLOBAL )
|
|
|
|
.DefaultHotkey( 'V' )
|
|
|
|
.LegacyHotkeyName( "Edit Symbol Value" )
|
2023-10-27 22:40:35 +00:00
|
|
|
.FriendlyName( _( "Edit Value..." ) )
|
2023-08-05 22:28:07 +00:00
|
|
|
.Tooltip( _( "Displays value field dialog" ) )
|
|
|
|
.Icon( BITMAPS::edit_comp_value ) );
|
|
|
|
|
|
|
|
TOOL_ACTION EE_ACTIONS::editFootprint( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.InteractiveEdit.editFootprint" )
|
|
|
|
.Scope( AS_GLOBAL )
|
|
|
|
.DefaultHotkey( 'F' )
|
|
|
|
.LegacyHotkeyName( "Edit Symbol Footprint" )
|
2023-10-27 22:40:35 +00:00
|
|
|
.FriendlyName( _( "Edit Footprint..." ) )
|
2023-08-05 22:28:07 +00:00
|
|
|
.Tooltip( _( "Displays footprint field dialog" ) )
|
|
|
|
.Icon( BITMAPS::edit_comp_footprint ) );
|
|
|
|
|
|
|
|
TOOL_ACTION EE_ACTIONS::autoplaceFields( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.InteractiveEdit.autoplaceFields" )
|
|
|
|
.Scope( AS_GLOBAL )
|
|
|
|
.DefaultHotkey( 'O' )
|
|
|
|
.LegacyHotkeyName( "Autoplace Fields" )
|
2023-10-27 22:40:35 +00:00
|
|
|
.FriendlyName( _( "Autoplace Fields" ) )
|
2023-08-05 22:28:07 +00:00
|
|
|
.Tooltip( _( "Runs the automatic placement algorithm on the symbol or sheet's fields" ) )
|
|
|
|
.Icon( BITMAPS::autoplace_fields ) );
|
|
|
|
|
|
|
|
TOOL_ACTION EE_ACTIONS::changeSymbols( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.InteractiveEdit.changeSymbols" )
|
|
|
|
.Scope( AS_GLOBAL )
|
2023-10-27 22:40:35 +00:00
|
|
|
.FriendlyName( _( "Change Symbols..." ) )
|
2023-08-05 22:28:07 +00:00
|
|
|
.Tooltip( _( "Assign different symbols from the library" ) )
|
|
|
|
.Icon( BITMAPS::exchange ) );
|
|
|
|
|
|
|
|
TOOL_ACTION EE_ACTIONS::updateSymbols( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.InteractiveEdit.updateSymbols" )
|
|
|
|
.Scope( AS_GLOBAL )
|
2023-10-27 22:40:35 +00:00
|
|
|
.FriendlyName( _( "Update Symbols from Library..." ) )
|
2023-08-05 22:28:07 +00:00
|
|
|
.Tooltip( _( "Update symbols to include any changes from the library" ) )
|
|
|
|
.Icon( BITMAPS::refresh ) );
|
|
|
|
|
|
|
|
TOOL_ACTION EE_ACTIONS::changeSymbol( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.InteractiveEdit.changeSymbol" )
|
|
|
|
.Scope( AS_GLOBAL )
|
2023-10-27 22:40:35 +00:00
|
|
|
.FriendlyName( _( "Change Symbol..." ) )
|
2023-08-05 22:28:07 +00:00
|
|
|
.Tooltip( _( "Assign a different symbol from the library" ) )
|
|
|
|
.Icon( BITMAPS::exchange ) );
|
|
|
|
|
|
|
|
TOOL_ACTION EE_ACTIONS::updateSymbol( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.InteractiveEdit.updateSymbol" )
|
|
|
|
.Scope( AS_GLOBAL )
|
2023-10-27 22:40:35 +00:00
|
|
|
.FriendlyName( _( "Update Symbol..." ) )
|
2023-08-05 22:28:07 +00:00
|
|
|
.Tooltip( _( "Update symbol to include any changes from the library" ) )
|
|
|
|
.Icon( BITMAPS::refresh ) );
|
|
|
|
|
|
|
|
TOOL_ACTION EE_ACTIONS::assignNetclass( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.InteractiveEdit.assignNetclass" )
|
|
|
|
.Scope( AS_GLOBAL )
|
2023-10-27 22:40:35 +00:00
|
|
|
.FriendlyName( _( "Assign Netclass..." ) )
|
2023-08-05 22:28:07 +00:00
|
|
|
.Tooltip( _( "Assign a netclass to nets matching a pattern" ) )
|
|
|
|
.Icon( BITMAPS::netlist ) );
|
|
|
|
|
|
|
|
TOOL_ACTION EE_ACTIONS::toggleDeMorgan( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.InteractiveEdit.toggleDeMorgan" )
|
|
|
|
.Scope( AS_GLOBAL )
|
2023-10-27 22:40:35 +00:00
|
|
|
.FriendlyName( _( "De Morgan Conversion" ) )
|
2023-08-05 22:28:07 +00:00
|
|
|
.Tooltip( _( "Switch between De Morgan representations" ) )
|
|
|
|
.Icon( BITMAPS::morgan2 ) );
|
|
|
|
|
|
|
|
TOOL_ACTION EE_ACTIONS::showDeMorganStandard( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.InteractiveEdit.showDeMorganStandard" )
|
|
|
|
.Scope( AS_GLOBAL )
|
2023-10-27 22:40:35 +00:00
|
|
|
.FriendlyName( _( "De Morgan Standard" ) )
|
2023-08-05 22:28:07 +00:00
|
|
|
.Tooltip( _( "Switch to standard De Morgan representation" ) )
|
|
|
|
.Icon( BITMAPS::morgan1 ) );
|
|
|
|
|
|
|
|
TOOL_ACTION EE_ACTIONS::showDeMorganAlternate( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.InteractiveEdit.showDeMorganAlternate" )
|
|
|
|
.Scope( AS_GLOBAL )
|
2023-10-27 22:40:35 +00:00
|
|
|
.FriendlyName( _( "De Morgan Alternate" ) )
|
2023-08-05 22:28:07 +00:00
|
|
|
.Tooltip( _( "Switch to alternate De Morgan representation" ) )
|
|
|
|
.Icon( BITMAPS::morgan2 ) );
|
2019-06-17 00:34:21 +00:00
|
|
|
|
2022-09-28 01:15:19 +00:00
|
|
|
TOOL_ACTION EE_ACTIONS::toLabel( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.InteractiveEdit.toLabel" )
|
|
|
|
.Scope( AS_GLOBAL )
|
2023-10-27 22:40:35 +00:00
|
|
|
.FriendlyName( _( "Change to Label" ) )
|
2022-09-28 01:15:19 +00:00
|
|
|
.Tooltip( _( "Change existing item to a label" ) )
|
|
|
|
.Icon( BITMAPS::add_line_label )
|
|
|
|
.Flags( AF_NONE )
|
|
|
|
.Parameter( SCH_LABEL_T ) );
|
|
|
|
|
|
|
|
TOOL_ACTION EE_ACTIONS::toCLabel( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.InteractiveEdit.toCLabel" )
|
|
|
|
.Scope( AS_GLOBAL )
|
2023-10-27 22:40:35 +00:00
|
|
|
.FriendlyName( _( "Change to Directive Label" ) )
|
2022-09-28 01:15:19 +00:00
|
|
|
.Tooltip( _( "Change existing item to a directive label" ) )
|
|
|
|
.Icon( BITMAPS::add_class_flag )
|
|
|
|
.Flags( AF_NONE )
|
|
|
|
.Parameter( SCH_DIRECTIVE_LABEL_T ) );
|
|
|
|
|
|
|
|
TOOL_ACTION EE_ACTIONS::toHLabel( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.InteractiveEdit.toHLabel" )
|
|
|
|
.Scope( AS_GLOBAL )
|
2023-10-27 22:40:35 +00:00
|
|
|
.FriendlyName( _( "Change to Hierarchical Label" ) )
|
2022-09-28 01:15:19 +00:00
|
|
|
.Tooltip( _( "Change existing item to a hierarchical label" ) )
|
|
|
|
.Icon( BITMAPS::add_hierarchical_label )
|
|
|
|
.Flags( AF_NONE )
|
|
|
|
.Parameter( SCH_HIER_LABEL_T ) );
|
|
|
|
|
|
|
|
TOOL_ACTION EE_ACTIONS::toGLabel( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.InteractiveEdit.toGLabel" )
|
|
|
|
.Scope( AS_GLOBAL )
|
2023-10-27 22:40:35 +00:00
|
|
|
.FriendlyName( _( "Change to Global Label" ) )
|
2022-09-28 01:15:19 +00:00
|
|
|
.Tooltip( _( "Change existing item to a global label" ) )
|
|
|
|
.Icon( BITMAPS::add_glabel )
|
|
|
|
.Flags( AF_NONE )
|
|
|
|
.Parameter( SCH_GLOBAL_LABEL_T ) );
|
|
|
|
|
|
|
|
TOOL_ACTION EE_ACTIONS::toText( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.InteractiveEdit.toText" )
|
|
|
|
.Scope( AS_GLOBAL )
|
2023-10-27 22:40:35 +00:00
|
|
|
.FriendlyName( _( "Change to Text" ) )
|
2022-09-28 01:15:19 +00:00
|
|
|
.Tooltip( _( "Change existing item to a text comment" ) )
|
|
|
|
.Icon( BITMAPS::text )
|
|
|
|
.Flags( AF_NONE )
|
|
|
|
.Parameter( SCH_TEXT_T ) );
|
|
|
|
|
|
|
|
TOOL_ACTION EE_ACTIONS::toTextBox( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.InteractiveEdit.toTextBox" )
|
|
|
|
.Scope( AS_GLOBAL )
|
2023-10-27 22:40:35 +00:00
|
|
|
.FriendlyName( _( "Change to Text Box" ) )
|
2022-09-28 01:15:19 +00:00
|
|
|
.Tooltip( _( "Change existing item to a text box" ) )
|
|
|
|
.Icon( BITMAPS::add_textbox )
|
|
|
|
.Flags( AF_NONE )
|
|
|
|
.Parameter( SCH_TEXTBOX_T ) );
|
2022-07-21 11:40:58 +00:00
|
|
|
|
2023-08-05 22:28:07 +00:00
|
|
|
TOOL_ACTION EE_ACTIONS::cleanupSheetPins( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.InteractiveEdit.cleanupSheetPins" )
|
|
|
|
.Scope( AS_GLOBAL )
|
2023-10-27 22:40:35 +00:00
|
|
|
.FriendlyName( _( "Cleanup Sheet Pins" ) )
|
2023-08-05 22:28:07 +00:00
|
|
|
.Tooltip( _( "Delete unreferenced sheet pins" ) ) );
|
2019-06-17 00:34:21 +00:00
|
|
|
|
2023-08-05 22:28:07 +00:00
|
|
|
TOOL_ACTION EE_ACTIONS::editTextAndGraphics( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.InteractiveEdit.editTextAndGraphics" )
|
|
|
|
.Scope( AS_GLOBAL )
|
2023-10-27 22:40:35 +00:00
|
|
|
.FriendlyName( _( "Edit Text & Graphics Properties..." ) )
|
2023-08-05 22:28:07 +00:00
|
|
|
.Tooltip( _( "Edit text and graphics properties globally across schematic" ) )
|
|
|
|
.Icon( BITMAPS::text ) );
|
2019-06-30 22:06:34 +00:00
|
|
|
|
2023-08-05 22:28:07 +00:00
|
|
|
TOOL_ACTION EE_ACTIONS::symbolProperties( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.InteractiveEdit.symbolProperties" )
|
|
|
|
.Scope( AS_GLOBAL )
|
2023-10-27 22:40:35 +00:00
|
|
|
.FriendlyName( _( "Symbol Properties..." ) )
|
2023-08-05 22:28:07 +00:00
|
|
|
.Tooltip( _( "Displays symbol properties dialog" ) )
|
|
|
|
.Icon( BITMAPS::part_properties ) );
|
2019-06-17 00:34:21 +00:00
|
|
|
|
2023-08-05 22:28:07 +00:00
|
|
|
TOOL_ACTION EE_ACTIONS::pinTable( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.InteractiveEdit.pinTable" )
|
|
|
|
.Scope( AS_GLOBAL )
|
2023-10-27 22:40:35 +00:00
|
|
|
.FriendlyName( _( "Pin Table..." ) )
|
2023-08-05 22:28:07 +00:00
|
|
|
.Tooltip( _( "Displays pin table for bulk editing of pins" ) )
|
|
|
|
.Icon( BITMAPS::pin_table ) );
|
2019-06-17 00:34:21 +00:00
|
|
|
|
2023-08-05 22:28:07 +00:00
|
|
|
TOOL_ACTION EE_ACTIONS::breakWire( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.InteractiveEdit.breakWire" )
|
|
|
|
.Scope( AS_GLOBAL )
|
2023-10-27 22:40:35 +00:00
|
|
|
.FriendlyName( _( "Break" ) )
|
2023-08-05 22:28:07 +00:00
|
|
|
.Tooltip( _( "Divide into connected segments" ) )
|
|
|
|
.Icon( BITMAPS::break_line ) );
|
2019-06-17 00:34:21 +00:00
|
|
|
|
2023-08-05 22:28:07 +00:00
|
|
|
TOOL_ACTION EE_ACTIONS::slice( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.InteractiveEdit.slice" )
|
|
|
|
.Scope( AS_GLOBAL )
|
2023-10-27 22:40:35 +00:00
|
|
|
.FriendlyName( _( "Slice" ) )
|
2023-08-05 22:28:07 +00:00
|
|
|
.Tooltip( _( "Divide into unconnected segments" ) )
|
|
|
|
.Icon( BITMAPS::slice_line ) );
|
2019-06-17 00:34:21 +00:00
|
|
|
|
|
|
|
// SCH_EDITOR_CONTROL
|
|
|
|
//
|
2023-08-05 22:28:07 +00:00
|
|
|
TOOL_ACTION EE_ACTIONS::restartMove( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.EditorControl.restartMove" )
|
|
|
|
.Scope( AS_GLOBAL ) );
|
|
|
|
|
|
|
|
TOOL_ACTION EE_ACTIONS::highlightNet( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.EditorControl.highlightNet" )
|
|
|
|
.Scope( AS_GLOBAL )
|
|
|
|
.DefaultHotkey( '`' )
|
2023-10-27 22:40:35 +00:00
|
|
|
.FriendlyName( _( "Highlight Net" ) )
|
2023-08-05 22:28:07 +00:00
|
|
|
.Tooltip( _( "Highlight net under cursor" ) )
|
|
|
|
.Icon( BITMAPS::net_highlight_schematic ) );
|
|
|
|
|
|
|
|
TOOL_ACTION EE_ACTIONS::clearHighlight( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.EditorControl.clearHighlight" )
|
|
|
|
.Scope( AS_GLOBAL )
|
|
|
|
.DefaultHotkey( '~' )
|
2023-10-27 22:40:35 +00:00
|
|
|
.FriendlyName( _( "Clear Net Highlighting" ) )
|
2023-08-05 22:28:07 +00:00
|
|
|
.Tooltip( _( "Clear any existing net highlighting" ) ) );
|
|
|
|
|
|
|
|
TOOL_ACTION EE_ACTIONS::updateNetHighlighting( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.EditorControl.updateNetHighlighting" )
|
|
|
|
.Scope( AS_GLOBAL ) );
|
|
|
|
|
|
|
|
TOOL_ACTION EE_ACTIONS::highlightNetTool( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.EditorControl.highlightNetTool" )
|
|
|
|
.Scope( AS_GLOBAL )
|
2023-10-27 22:40:35 +00:00
|
|
|
.FriendlyName( _( "Highlight Nets" ) )
|
2023-08-05 22:28:07 +00:00
|
|
|
.Tooltip( _( "Highlight wires and pins of a net" ) )
|
|
|
|
.Icon( BITMAPS::net_highlight_schematic )
|
|
|
|
.Flags( AF_ACTIVATE ) );
|
|
|
|
|
|
|
|
TOOL_ACTION EE_ACTIONS::showNetNavigator( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.EditorControl.showNetNavigator" )
|
|
|
|
.Scope( AS_GLOBAL )
|
2023-10-27 22:40:35 +00:00
|
|
|
.FriendlyName( _( "Show Net Navigator" ) )
|
2023-08-05 22:28:07 +00:00
|
|
|
.Tooltip( _( "Toggle the net navigator panel visibility" ) ) );
|
|
|
|
|
|
|
|
TOOL_ACTION EE_ACTIONS::editWithLibEdit( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.EditorControl.editWithSymbolEditor" )
|
|
|
|
.Scope( AS_GLOBAL )
|
|
|
|
.DefaultHotkey( MD_CTRL + 'E' )
|
|
|
|
.LegacyHotkeyName( "Edit with Symbol Editor" )
|
2023-10-27 22:40:35 +00:00
|
|
|
.FriendlyName( _( "Edit with Symbol Editor" ) )
|
2023-08-05 22:28:07 +00:00
|
|
|
.Tooltip( _( "Open the selected symbol in the Symbol Editor" ) )
|
|
|
|
.Icon( BITMAPS::libedit ) );
|
|
|
|
|
|
|
|
TOOL_ACTION EE_ACTIONS::setExcludeFromBOM( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.EditorControl.setExcludeFromBOM" )
|
|
|
|
.Scope( AS_GLOBAL )
|
2023-10-27 22:40:35 +00:00
|
|
|
.FriendlyName( _( "Exclude from bill of materials" ) )
|
2023-08-05 22:28:07 +00:00
|
|
|
.Tooltip( _( "Set the exclude from bill of materials attribute" ) ) );
|
|
|
|
|
|
|
|
TOOL_ACTION EE_ACTIONS::unsetExcludeFromBOM( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.EditorControl.unsetExcludeFromBOM" )
|
|
|
|
.Scope( AS_GLOBAL )
|
2023-10-27 22:40:35 +00:00
|
|
|
.FriendlyName( _( "Include in bill of materials" ) )
|
2023-08-05 22:28:07 +00:00
|
|
|
.Tooltip( _( "Clear the exclude from bill of materials attribute" ) ) );
|
|
|
|
|
|
|
|
TOOL_ACTION EE_ACTIONS::toggleExcludeFromBOM( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.EditorControl.toggleExcludeFromBOM" )
|
|
|
|
.Scope( AS_GLOBAL )
|
2023-10-27 22:40:35 +00:00
|
|
|
.FriendlyName( _( "Toggle Exclude from BOM" ) )
|
2023-08-05 22:28:07 +00:00
|
|
|
.Tooltip( _( "Toggle the exclude from bill of materials attribute" ) ) );
|
|
|
|
|
|
|
|
TOOL_ACTION EE_ACTIONS::setExcludeFromSimulation( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.EditorControl.setExcludeFromSimulation" )
|
|
|
|
.Scope( AS_GLOBAL )
|
2023-10-27 22:40:35 +00:00
|
|
|
.FriendlyName( _( "Exclude from simulation" ) )
|
2023-08-05 22:28:07 +00:00
|
|
|
.Tooltip( _( "Set the exclude from simulation attribute" ) ) );
|
|
|
|
|
|
|
|
TOOL_ACTION EE_ACTIONS::unsetExcludeFromSimulation( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.EditorControl.unsetExcludeFromSimulation" )
|
|
|
|
.Scope( AS_GLOBAL )
|
2023-10-27 22:40:35 +00:00
|
|
|
.FriendlyName( _( "Include in simulation" ) )
|
2023-08-05 22:28:07 +00:00
|
|
|
.Tooltip( _( "Clear the exclude from simulation attribute" ) ) );
|
|
|
|
|
|
|
|
TOOL_ACTION EE_ACTIONS::toggleExcludeFromSimulation( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.EditorControl.toggleExcludeFromSimulation" )
|
|
|
|
.Scope( AS_GLOBAL )
|
2023-10-27 22:40:35 +00:00
|
|
|
.FriendlyName( _( "Toggle Exclude from simulation" ) )
|
2023-08-05 22:28:07 +00:00
|
|
|
.Tooltip( _( "Toggle the exclude from simulation attribute" ) ) );
|
|
|
|
|
|
|
|
TOOL_ACTION EE_ACTIONS::setExcludeFromBoard( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.EditorControl.setExcludeFromBoard" )
|
|
|
|
.Scope( AS_GLOBAL )
|
2023-10-27 22:40:35 +00:00
|
|
|
.FriendlyName( _( "Exclude from board" ) )
|
2023-08-05 22:28:07 +00:00
|
|
|
.Tooltip( _( "Set the exclude from board attribute" ) ) );
|
|
|
|
|
|
|
|
TOOL_ACTION EE_ACTIONS::unsetExcludeFromBoard( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.EditorControl.unsetExcludeFromBoard" )
|
|
|
|
.Scope( AS_GLOBAL )
|
2023-10-27 22:40:35 +00:00
|
|
|
.FriendlyName( _( "Include on board" ) )
|
2023-08-05 22:28:07 +00:00
|
|
|
.Tooltip( _( "Clear the exclude from board attribute" ) ) );
|
|
|
|
|
|
|
|
TOOL_ACTION EE_ACTIONS::toggleExcludeFromBoard( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.EditorControl.toggleExcludeFromBoard" )
|
|
|
|
.Scope( AS_GLOBAL )
|
2023-10-27 22:40:35 +00:00
|
|
|
.FriendlyName( _( "Toggle Exclude from board" ) )
|
2023-08-05 22:28:07 +00:00
|
|
|
.Tooltip( _( "Toggle the exclude from board attribute" ) ) );
|
|
|
|
|
|
|
|
TOOL_ACTION EE_ACTIONS::setDNP( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.EditorControl.setDNP" )
|
|
|
|
.Scope( AS_GLOBAL )
|
2023-10-27 22:40:35 +00:00
|
|
|
.FriendlyName( _( "Set do not populate" ) )
|
2023-08-05 22:28:07 +00:00
|
|
|
.Tooltip( _( "Set the do not populate attribute" ) ) );
|
|
|
|
|
|
|
|
TOOL_ACTION EE_ACTIONS::unsetDNP( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.EditorControl.unsetDNP" )
|
|
|
|
.Scope( AS_GLOBAL )
|
2023-10-27 22:40:35 +00:00
|
|
|
.FriendlyName( _( "Unset do not populate" ) )
|
2023-08-05 22:28:07 +00:00
|
|
|
.Tooltip( _( "Clear the do not populate attribute" ) ) );
|
|
|
|
|
|
|
|
TOOL_ACTION EE_ACTIONS::toggleDNP( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.EditorControl.toggleDNP" )
|
|
|
|
.Scope( AS_GLOBAL )
|
2023-10-27 22:40:35 +00:00
|
|
|
.FriendlyName( _( "Toggle do not populate" ) )
|
2023-08-05 22:28:07 +00:00
|
|
|
.Tooltip( _( "Toggle the do not populate attribute" ) ) );
|
|
|
|
|
|
|
|
TOOL_ACTION EE_ACTIONS::editLibSymbolWithLibEdit( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.EditorControl.editLibSymbolWithSymbolEditor" )
|
|
|
|
.Scope( AS_GLOBAL )
|
|
|
|
.DefaultHotkey( MD_CTRL + MD_SHIFT + 'E' )
|
2023-10-27 22:40:35 +00:00
|
|
|
.FriendlyName( _( "Edit Library Symbol..." ) )
|
2023-08-05 22:28:07 +00:00
|
|
|
.Tooltip( _( "Open the library symbol in the Symbol Editor" ) )
|
|
|
|
.Icon( BITMAPS::libedit ) );
|
|
|
|
|
|
|
|
TOOL_ACTION EE_ACTIONS::editSymbolFields( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.EditorControl.editSymbolFields" )
|
|
|
|
.Scope( AS_GLOBAL )
|
2023-10-27 22:40:35 +00:00
|
|
|
.FriendlyName( _( "Edit Symbol Fields..." ) )
|
2023-08-05 22:28:07 +00:00
|
|
|
.Tooltip( _( "Bulk-edit fields of all symbols in schematic" ) )
|
|
|
|
.Icon( BITMAPS::spreadsheet ) );
|
|
|
|
|
|
|
|
TOOL_ACTION EE_ACTIONS::editSymbolLibraryLinks( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.EditorControl.editSymbolLibraryLinks" )
|
|
|
|
.Scope( AS_GLOBAL )
|
2023-10-27 22:40:35 +00:00
|
|
|
.FriendlyName( _( "Edit Symbol Library Links..." ) )
|
2023-08-05 22:28:07 +00:00
|
|
|
.Tooltip( _( "Edit links between schematic and library symbols" ) )
|
|
|
|
.Icon( BITMAPS::edit_cmp_symb_links ) );
|
|
|
|
|
|
|
|
TOOL_ACTION EE_ACTIONS::assignFootprints( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.EditorControl.assignFootprints" )
|
|
|
|
.Scope( AS_GLOBAL )
|
2023-10-27 22:40:35 +00:00
|
|
|
.FriendlyName( _( "Assign Footprints..." ) )
|
2023-08-05 22:28:07 +00:00
|
|
|
.Tooltip( _( "Run footprint assignment tool" ) )
|
|
|
|
.Icon( BITMAPS::icon_cvpcb_24 ) );
|
|
|
|
|
|
|
|
TOOL_ACTION EE_ACTIONS::importFPAssignments( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.EditorControl.importFPAssignments" )
|
|
|
|
.Scope( AS_GLOBAL )
|
2023-10-27 22:40:35 +00:00
|
|
|
.FriendlyName( _( "Import Footprint Assignments..." ) )
|
2023-08-05 22:28:07 +00:00
|
|
|
.Tooltip( _( "Import symbol footprint assignments from .cmp file created by board editor" ) )
|
|
|
|
.Icon( BITMAPS::import_footprint_names ) );
|
|
|
|
|
|
|
|
TOOL_ACTION EE_ACTIONS::annotate( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.EditorControl.annotate" )
|
|
|
|
.Scope( AS_GLOBAL )
|
2023-10-27 22:40:35 +00:00
|
|
|
.FriendlyName( _( "Annotate Schematic..." ) )
|
2023-08-05 22:28:07 +00:00
|
|
|
.Tooltip( _( "Fill in schematic symbol reference designators" ) )
|
|
|
|
.Icon( BITMAPS::annotate ) );
|
|
|
|
|
|
|
|
TOOL_ACTION EE_ACTIONS::schematicSetup( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.EditorControl.schematicSetup" )
|
|
|
|
.Scope( AS_GLOBAL )
|
2023-10-27 22:40:35 +00:00
|
|
|
.FriendlyName( _( "Schematic Setup..." ) )
|
2023-08-05 22:28:07 +00:00
|
|
|
.Tooltip( _( "Edit schematic setup including annotation styles and electrical rules" ) )
|
|
|
|
.Icon( BITMAPS::options_schematic ) );
|
|
|
|
|
|
|
|
TOOL_ACTION EE_ACTIONS::editPageNumber( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.EditorControl.editPageNumber" )
|
|
|
|
.Scope( AS_GLOBAL )
|
2023-10-27 22:40:35 +00:00
|
|
|
.FriendlyName( _( "Edit Sheet Page Number..." ) )
|
2023-08-05 22:28:07 +00:00
|
|
|
.Tooltip( _( "Edit the page number of the current or selected sheet" ) ) );
|
|
|
|
|
|
|
|
TOOL_ACTION EE_ACTIONS::rescueSymbols( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.EditorControl.rescueSymbols" )
|
|
|
|
.Scope( AS_GLOBAL )
|
2023-10-27 22:40:35 +00:00
|
|
|
.FriendlyName( _( "Rescue Symbols..." ) )
|
2023-08-05 22:28:07 +00:00
|
|
|
.Tooltip( _( "Find old symbols in project and rename/rescue them" ) )
|
|
|
|
.Icon( BITMAPS::rescue ) );
|
|
|
|
|
|
|
|
TOOL_ACTION EE_ACTIONS::remapSymbols( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.EditorControl.remapSymbols" )
|
|
|
|
.Scope( AS_GLOBAL )
|
2023-10-27 22:40:35 +00:00
|
|
|
.FriendlyName( _( "Remap Legacy Library Symbols..." ) )
|
2023-08-05 22:28:07 +00:00
|
|
|
.Tooltip( _( "Remap library symbol references in legacy schematics to the symbol library table" ) )
|
|
|
|
.Icon( BITMAPS::rescue ) );
|
|
|
|
|
|
|
|
TOOL_ACTION EE_ACTIONS::drawSheetOnClipboard( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.EditorControl.drawSheetOnClipboard" )
|
|
|
|
.Scope( AS_GLOBAL )
|
2023-10-27 22:40:35 +00:00
|
|
|
.FriendlyName( _( "Export Drawing to Clipboard" ) )
|
2023-08-05 22:28:07 +00:00
|
|
|
.Tooltip( _( "Export drawing of current sheet to clipboard" ) )
|
|
|
|
.Icon( BITMAPS::copy ) );
|
|
|
|
|
|
|
|
TOOL_ACTION EE_ACTIONS::showPcbNew( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.EditorControl.showPcbNew" )
|
|
|
|
.Scope( AS_GLOBAL )
|
2023-10-27 22:40:35 +00:00
|
|
|
.FriendlyName( _( "Switch to PCB Editor" ) )
|
2023-08-05 22:28:07 +00:00
|
|
|
.Tooltip( _( "Open PCB in board editor" ) )
|
|
|
|
.Icon( BITMAPS::icon_pcbnew_24 ) );
|
|
|
|
|
|
|
|
TOOL_ACTION EE_ACTIONS::exportNetlist( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.EditorControl.exportNetlist" )
|
|
|
|
.Scope( AS_GLOBAL )
|
2023-10-27 22:40:35 +00:00
|
|
|
.FriendlyName( _( "Export Netlist..." ) )
|
2023-08-05 22:28:07 +00:00
|
|
|
.Tooltip( _( "Export file containing netlist in one of several formats" ) )
|
|
|
|
.Icon( BITMAPS::netlist ) );
|
|
|
|
|
|
|
|
TOOL_ACTION EE_ACTIONS::generateBOM( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.EditorControl.generateBOM" )
|
|
|
|
.Scope( AS_GLOBAL )
|
2023-10-27 22:40:35 +00:00
|
|
|
.FriendlyName( _( "Generate BOM..." ) )
|
2023-08-05 22:28:07 +00:00
|
|
|
.Tooltip( _( "Generate a bill of materials for the current schematic" ) )
|
|
|
|
.Icon( BITMAPS::post_bom ) );
|
|
|
|
|
2023-09-20 15:12:03 +00:00
|
|
|
TOOL_ACTION EE_ACTIONS::generateBOMLegacy( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.EditorControl.generateBOMLegacy" )
|
|
|
|
.Scope( AS_GLOBAL )
|
2023-10-27 22:40:35 +00:00
|
|
|
.FriendlyName( _( "Generate BOM (Legacy)..." ) )
|
2023-09-20 15:12:03 +00:00
|
|
|
.Tooltip( _( "Generate a bill of materials for the current schematic (Legacy Generator)" ) )
|
|
|
|
);
|
|
|
|
|
2023-08-05 22:28:07 +00:00
|
|
|
TOOL_ACTION EE_ACTIONS::exportSymbolsToLibrary( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.EditorControl.exportSymbolsToLibrary" )
|
|
|
|
.Scope( AS_GLOBAL )
|
2023-10-27 22:40:35 +00:00
|
|
|
.FriendlyName( _( "Export Symbols to Library..." ) )
|
2023-08-05 22:28:07 +00:00
|
|
|
.Tooltip( _( "Add symbols used in schematic to an existing symbol library\n"
|
|
|
|
"(does not remove other symbols from this library)" ) )
|
|
|
|
.Icon( BITMAPS::library_archive ) );
|
|
|
|
|
|
|
|
TOOL_ACTION EE_ACTIONS::exportSymbolsToNewLibrary( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.EditorControl.exportSymbolsToNewLibrary" )
|
|
|
|
.Scope( AS_GLOBAL )
|
2023-10-27 22:40:35 +00:00
|
|
|
.FriendlyName( _( "Export Symbols to New Library..." ) )
|
2023-08-05 22:28:07 +00:00
|
|
|
.Tooltip( _( "Create a new symbol library using the symbols used in the schematic\n"
|
|
|
|
"(if the library already exists it will be replaced)" ) )
|
|
|
|
.Icon( BITMAPS::library_archive_as ) );
|
|
|
|
|
|
|
|
TOOL_ACTION EE_ACTIONS::selectOnPCB( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.EditorControl.selectOnPCB" )
|
|
|
|
.Scope( AS_GLOBAL )
|
2023-10-27 22:40:35 +00:00
|
|
|
.FriendlyName( _( "Select on PCB" ) )
|
2023-08-05 22:28:07 +00:00
|
|
|
.Tooltip( _( "Select corresponding items in PCB editor" ) )
|
|
|
|
.Icon( BITMAPS::select_same_sheet ) );
|
|
|
|
|
|
|
|
TOOL_ACTION EE_ACTIONS::toggleHiddenPins( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.EditorControl.showHiddenPins" )
|
|
|
|
.Scope( AS_GLOBAL )
|
2023-10-27 22:40:35 +00:00
|
|
|
.FriendlyName( _( "Show Hidden Pins" ) )
|
2023-08-05 22:28:07 +00:00
|
|
|
.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 )
|
2023-10-27 22:40:35 +00:00
|
|
|
.FriendlyName( _( "Show Hidden Fields" ) )
|
2023-08-05 22:28:07 +00:00
|
|
|
.Tooltip( _( "Toggle display of hidden text fields" ) ) );
|
|
|
|
|
|
|
|
TOOL_ACTION EE_ACTIONS::toggleDirectiveLabels( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.EditorControl.showDirectiveLabels" )
|
|
|
|
.Scope( AS_GLOBAL )
|
2023-10-27 22:40:35 +00:00
|
|
|
.FriendlyName( _( "Show Directive Labels" ) )
|
2023-08-05 22:28:07 +00:00
|
|
|
.Tooltip( _( "Toggle display of directive labels" ) ) );
|
|
|
|
|
|
|
|
TOOL_ACTION EE_ACTIONS::toggleERCWarnings( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.EditorControl.showERCWarnings" )
|
|
|
|
.Scope( AS_GLOBAL )
|
2023-10-27 22:40:35 +00:00
|
|
|
.FriendlyName( _( "Show ERC Warnings" ) )
|
2023-08-05 22:28:07 +00:00
|
|
|
.Tooltip( _( "Show markers for electrical rules checker warnings" ) ) );
|
|
|
|
|
|
|
|
TOOL_ACTION EE_ACTIONS::toggleERCErrors( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.EditorControl.showERCErrors" )
|
|
|
|
.Scope( AS_GLOBAL )
|
2023-10-27 22:40:35 +00:00
|
|
|
.FriendlyName( _( "Show ERC Errors" ) )
|
2023-08-05 22:28:07 +00:00
|
|
|
.Tooltip( _( "Show markers for electrical rules checker errors" ) ) );
|
|
|
|
|
|
|
|
TOOL_ACTION EE_ACTIONS::toggleERCExclusions( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.EditorControl.showERCExclusions" )
|
|
|
|
.Scope( AS_GLOBAL )
|
2023-10-27 22:40:35 +00:00
|
|
|
.FriendlyName( _( "Show ERC Exclusions" ) )
|
2023-08-05 22:28:07 +00:00
|
|
|
.Tooltip( _( "Show markers for excluded electrical rules checker violations" ) ) );
|
|
|
|
|
|
|
|
TOOL_ACTION EE_ACTIONS::toggleOPVoltages( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.EditorControl.showOperatingPointVoltages" )
|
|
|
|
.Scope( AS_GLOBAL )
|
2023-10-27 22:40:35 +00:00
|
|
|
.FriendlyName( _( "Show OP Voltages" ) )
|
2023-08-05 22:28:07 +00:00
|
|
|
.Tooltip( _( "Show operating point voltage data from simulation" ) ) );
|
|
|
|
|
|
|
|
TOOL_ACTION EE_ACTIONS::toggleOPCurrents( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.EditorControl.showOperatingPointCurrents" )
|
|
|
|
.Scope( AS_GLOBAL )
|
2023-10-27 22:40:35 +00:00
|
|
|
.FriendlyName( _( "Show OP Currents" ) )
|
2023-08-05 22:28:07 +00:00
|
|
|
.Tooltip( _( "Show operating point current data from simulation" ) ) );
|
2023-02-09 17:18:56 +00:00
|
|
|
|
2023-06-25 12:37:58 +00:00
|
|
|
TOOL_ACTION EE_ACTIONS::lineModeFree( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.EditorControl.lineModeFree" )
|
|
|
|
.Scope( AS_GLOBAL )
|
2023-10-27 22:40:35 +00:00
|
|
|
.FriendlyName( _( "Line Mode for Wires and Buses" ) )
|
2023-06-25 12:37:58 +00:00
|
|
|
.Tooltip( _( "Draw and drag at any angle" ) )
|
|
|
|
.Icon( BITMAPS::lines_any )
|
|
|
|
.Flags( AF_NONE )
|
|
|
|
.Parameter( LINE_MODE::LINE_MODE_FREE ) );
|
2022-09-28 01:15:19 +00:00
|
|
|
|
2023-06-25 12:37:58 +00:00
|
|
|
TOOL_ACTION EE_ACTIONS::lineMode90( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.EditorControl.lineModeOrthonal" )
|
|
|
|
.Scope( AS_GLOBAL )
|
2023-10-27 22:40:35 +00:00
|
|
|
.FriendlyName( _( "Line Mode for Wires and Buses" ) )
|
2023-06-25 12:37:58 +00:00
|
|
|
.Tooltip( _( "Constrain drawing and dragging to horizontal or vertical motions" ) )
|
|
|
|
.Icon( BITMAPS::lines90 )
|
|
|
|
.Flags( AF_NONE )
|
|
|
|
.Parameter( LINE_MODE::LINE_MODE_90) );
|
2022-09-28 01:15:19 +00:00
|
|
|
|
2023-06-25 12:37:58 +00:00
|
|
|
TOOL_ACTION EE_ACTIONS::lineMode45( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.EditorControl.lineMode45" )
|
|
|
|
.Scope( AS_GLOBAL )
|
2023-10-27 22:40:35 +00:00
|
|
|
.FriendlyName( _( "Line Mode for Wires and Buses" ) )
|
2023-06-25 12:37:58 +00:00
|
|
|
.Tooltip( _( "Constrain drawing and dragging to horizontal, vertical, or 45-degree angle motions" ) )
|
|
|
|
.Icon( BITMAPS::hv45mode )
|
|
|
|
.Flags( AF_NONE )
|
|
|
|
.Parameter( LINE_MODE::LINE_MODE_45 ) );
|
2022-03-22 16:49:38 +00:00
|
|
|
|
2023-08-05 22:28:07 +00:00
|
|
|
TOOL_ACTION EE_ACTIONS::lineModeNext( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.EditorControl.lineModeNext" )
|
|
|
|
.Scope( AS_GLOBAL )
|
|
|
|
.DefaultHotkey( MD_SHIFT + WXK_SPACE )
|
2023-10-27 22:40:35 +00:00
|
|
|
.FriendlyName( _( "Line Mode for Wires and Buses" ) )
|
2023-08-07 23:17:58 +00:00
|
|
|
.Tooltip( _( "Switch to next line mode" ) ) );
|
2019-06-17 00:34:21 +00:00
|
|
|
|
2023-08-05 22:28:07 +00:00
|
|
|
TOOL_ACTION EE_ACTIONS::toggleAnnotateAuto( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.EditorControl.annotateAutomatically" )
|
|
|
|
.Scope( AS_GLOBAL )
|
2023-10-27 22:40:35 +00:00
|
|
|
.FriendlyName( _( "Annotate Automatically" ) )
|
2023-08-05 22:28:07 +00:00
|
|
|
.Tooltip( _( "Toggle automatic annotation of new symbols" ) )
|
|
|
|
.Icon( BITMAPS::annotate ) );
|
2022-04-21 17:06:28 +00:00
|
|
|
|
2023-08-05 22:28:07 +00:00
|
|
|
TOOL_ACTION EE_ACTIONS::repairSchematic( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.EditorControl.repairSchematic" )
|
|
|
|
.Scope( AS_GLOBAL )
|
2023-10-27 22:40:35 +00:00
|
|
|
.FriendlyName( _( "Repair Schematic" ) )
|
2023-08-05 22:28:07 +00:00
|
|
|
.Tooltip( _( "Run various diagnostics and attempt to repair schematic" ) )
|
|
|
|
.Icon( BITMAPS::rescue ) );
|
2021-11-24 11:04:07 +00:00
|
|
|
|
2021-03-18 13:28:04 +00:00
|
|
|
// Python Console
|
2023-08-05 22:28:07 +00:00
|
|
|
TOOL_ACTION EE_ACTIONS::showPythonConsole( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.EditorControl.showPythonConsole" )
|
|
|
|
.Scope( AS_GLOBAL )
|
2023-10-27 22:40:35 +00:00
|
|
|
.FriendlyName( _( "Scripting Console" ) )
|
2023-08-05 22:28:07 +00:00
|
|
|
.Tooltip( _( "Show the Python scripting console" ) )
|
|
|
|
.Icon( BITMAPS::py_script ) );
|
2019-06-17 00:34:21 +00:00
|
|
|
|
2020-10-02 20:18:07 +00:00
|
|
|
// SCH_NAVIGATE_TOOL
|
|
|
|
//
|
2023-08-05 22:28:07 +00:00
|
|
|
TOOL_ACTION EE_ACTIONS::changeSheet( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.NavigateTool.changeSheet" )
|
|
|
|
.Scope( AS_CONTEXT )
|
2023-10-27 22:40:35 +00:00
|
|
|
.FriendlyName( _( "Change Sheet" ) )
|
2023-08-05 22:28:07 +00:00
|
|
|
.Tooltip( _( "Change to provided sheet's contents in the schematic editor" ) )
|
|
|
|
.Icon( BITMAPS::enter_sheet ) );
|
|
|
|
|
|
|
|
TOOL_ACTION EE_ACTIONS::enterSheet( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.NavigateTool.enterSheet" )
|
|
|
|
.Scope( AS_GLOBAL )
|
2023-10-27 22:40:35 +00:00
|
|
|
.FriendlyName( _( "Enter Sheet" ) )
|
2023-08-05 22:28:07 +00:00
|
|
|
.Tooltip( _( "Display the selected sheet's contents in the schematic editor" ) )
|
|
|
|
.Icon( BITMAPS::enter_sheet ) );
|
|
|
|
|
|
|
|
TOOL_ACTION EE_ACTIONS::leaveSheet( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.NavigateTool.leaveSheet" )
|
|
|
|
.Scope( AS_GLOBAL )
|
|
|
|
.DefaultHotkey( MD_ALT + WXK_BACK )
|
|
|
|
.LegacyHotkeyName( "Leave Sheet" )
|
2023-10-27 22:40:35 +00:00
|
|
|
.FriendlyName( _( "Leave Sheet" ) )
|
2023-08-05 22:28:07 +00:00
|
|
|
.Tooltip( _( "Display the parent sheet in the schematic editor" ) )
|
|
|
|
.Icon( BITMAPS::leave_sheet ) );
|
|
|
|
|
|
|
|
TOOL_ACTION EE_ACTIONS::navigateUp( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.NavigateTool.up" )
|
|
|
|
.Scope( AS_GLOBAL )
|
|
|
|
.DefaultHotkey( MD_ALT + WXK_UP )
|
2023-10-27 22:40:35 +00:00
|
|
|
.FriendlyName( _( "Navigate Up" ) )
|
2023-08-05 22:28:07 +00:00
|
|
|
.Tooltip( _( "Navigate up one sheet in the hierarchy" ) )
|
|
|
|
.Icon( BITMAPS::up ) );
|
|
|
|
|
|
|
|
TOOL_ACTION EE_ACTIONS::navigateBack( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.NavigateTool.back" )
|
|
|
|
.Scope( AS_GLOBAL )
|
|
|
|
.DefaultHotkey( MD_ALT + WXK_LEFT )
|
2023-10-27 22:40:35 +00:00
|
|
|
.FriendlyName( _( "Navigate Back" ) )
|
2023-08-05 22:28:07 +00:00
|
|
|
.Tooltip( _( "Move backward in sheet navigation history" ) )
|
|
|
|
.Icon( BITMAPS::left ) );
|
|
|
|
|
|
|
|
TOOL_ACTION EE_ACTIONS::navigateForward( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.NavigateTool.forward" )
|
|
|
|
.Scope( AS_GLOBAL )
|
|
|
|
.DefaultHotkey( MD_ALT + WXK_RIGHT )
|
2023-10-27 22:40:35 +00:00
|
|
|
.FriendlyName( _( "Navigate Forward" ) )
|
2023-08-05 22:28:07 +00:00
|
|
|
.Tooltip( _( "Move forward in sheet navigation history" ) )
|
|
|
|
.Icon( BITMAPS::right ) );
|
|
|
|
|
|
|
|
TOOL_ACTION EE_ACTIONS::navigatePrevious( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.NavigateTool.previous" )
|
|
|
|
.Scope( AS_GLOBAL )
|
|
|
|
.DefaultHotkey( WXK_PAGEUP )
|
2023-10-27 22:40:35 +00:00
|
|
|
.FriendlyName( _( "Previous Sheet" ) )
|
2023-08-05 22:28:07 +00:00
|
|
|
.Tooltip( _( "Move to previous sheet by number" ) )
|
|
|
|
.Icon( BITMAPS::left ) );
|
|
|
|
|
|
|
|
TOOL_ACTION EE_ACTIONS::navigateNext( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.NavigateTool.next" )
|
|
|
|
.Scope( AS_GLOBAL )
|
|
|
|
.DefaultHotkey( WXK_PAGEDOWN )
|
2023-10-27 22:40:35 +00:00
|
|
|
.FriendlyName( _( "Next Sheet" ) )
|
2023-08-05 22:28:07 +00:00
|
|
|
.Tooltip( _( "Move to next sheet by number" ) )
|
|
|
|
.Icon( BITMAPS::right ) );
|
|
|
|
|
|
|
|
TOOL_ACTION EE_ACTIONS::showHierarchy( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.EditorTool.showHierarchy" )
|
|
|
|
.Scope( AS_GLOBAL )
|
|
|
|
.DefaultHotkey( MD_CTRL + 'H' )
|
2023-10-27 22:40:35 +00:00
|
|
|
.FriendlyName( _( "Hierarchy Navigator" ) )
|
2023-08-05 22:28:07 +00:00
|
|
|
.Tooltip( _( "Show or hide the schematic sheet hierarchy navigator" ) )
|
|
|
|
.Icon( BITMAPS::hierarchy_nav ) );
|
2020-10-02 20:18:07 +00:00
|
|
|
|
|
|
|
|
2019-06-17 00:34:21 +00:00
|
|
|
// SCH_LINE_WIRE_BUS_TOOL
|
|
|
|
//
|
2022-01-03 18:39:49 +00:00
|
|
|
const DRAW_SEGMENT_EVENT_PARAMS drawWireActionParam = { LAYER_WIRE, false, nullptr };
|
2022-09-28 01:15:19 +00:00
|
|
|
TOOL_ACTION EE_ACTIONS::drawWire( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.InteractiveDrawingLineWireBus.drawWires" )
|
|
|
|
.Scope( AS_GLOBAL )
|
|
|
|
.DefaultHotkey( 'W' )
|
|
|
|
.LegacyHotkeyName( "Begin Wire" )
|
2023-10-27 22:40:35 +00:00
|
|
|
.FriendlyName( _( "Add Wire" ) )
|
2022-09-28 01:15:19 +00:00
|
|
|
.Tooltip( _( "Add a wire" ) )
|
|
|
|
.Icon( BITMAPS::add_line )
|
|
|
|
.Flags( AF_ACTIVATE )
|
|
|
|
.Parameter( &drawWireActionParam ) );
|
2019-06-17 00:34:21 +00:00
|
|
|
|
2022-01-03 18:39:49 +00:00
|
|
|
const DRAW_SEGMENT_EVENT_PARAMS drawBusActionParam = { LAYER_BUS, false, nullptr };
|
2022-09-28 01:15:19 +00:00
|
|
|
TOOL_ACTION EE_ACTIONS::drawBus( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.InteractiveDrawingLineWireBus.drawBuses" )
|
|
|
|
.Scope( AS_GLOBAL )
|
|
|
|
.DefaultHotkey( 'B' )
|
|
|
|
.LegacyHotkeyName( "Begin Bus" )
|
2023-10-27 22:40:35 +00:00
|
|
|
.FriendlyName( _( "Add Bus" ) )
|
2022-09-28 01:15:19 +00:00
|
|
|
.Tooltip( _( "Add a bus" ) )
|
|
|
|
.Icon( BITMAPS::add_bus )
|
|
|
|
.Flags( AF_ACTIVATE )
|
|
|
|
.Parameter( &drawBusActionParam ) );
|
2019-06-17 00:34:21 +00:00
|
|
|
|
2023-07-06 22:07:24 +00:00
|
|
|
TOOL_ACTION EE_ACTIONS::unfoldBus( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.InteractiveDrawingLineWireBus.unfoldBus" )
|
|
|
|
.Scope( AS_GLOBAL )
|
|
|
|
.DefaultHotkey( 'C' )
|
|
|
|
.LegacyHotkeyName( "Unfold from Bus" )
|
2023-10-27 22:40:35 +00:00
|
|
|
.FriendlyName( _( "Unfold from Bus" ) )
|
2023-07-06 22:07:24 +00:00
|
|
|
.Tooltip( _( "Break a wire out of a bus" ) )
|
|
|
|
.Icon( BITMAPS::INVALID_BITMAP )
|
|
|
|
.Flags( AF_ACTIVATE )
|
|
|
|
.Parameter<wxString*>( nullptr ) );
|
2019-06-17 00:34:21 +00:00
|
|
|
|
2022-01-03 18:39:49 +00:00
|
|
|
const DRAW_SEGMENT_EVENT_PARAMS drawLinesActionParam = { LAYER_NOTES, false, nullptr };
|
2022-09-28 01:15:19 +00:00
|
|
|
TOOL_ACTION EE_ACTIONS::drawLines( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.InteractiveDrawingLineWireBus.drawLines" )
|
|
|
|
.Scope( AS_GLOBAL )
|
|
|
|
.DefaultHotkey( 'I' )
|
|
|
|
.LegacyHotkeyName( "Add Graphic PolyLine" )
|
2023-10-27 22:40:35 +00:00
|
|
|
.FriendlyName( _( "Add Lines" ) )
|
2022-09-28 01:15:19 +00:00
|
|
|
.Tooltip( _( "Draw graphic lines" ) )
|
|
|
|
.Icon( BITMAPS::add_graphical_segments )
|
|
|
|
.Flags( AF_ACTIVATE )
|
|
|
|
.Parameter( &drawLinesActionParam ) );
|
2019-06-17 00:34:21 +00:00
|
|
|
|
2023-08-05 22:28:07 +00:00
|
|
|
TOOL_ACTION EE_ACTIONS::undoLastSegment( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.InteractiveDrawingLineWireBus.undoLastSegment")
|
|
|
|
.Scope( AS_GLOBAL )
|
|
|
|
.DefaultHotkey( WXK_BACK )
|
2023-10-27 22:40:35 +00:00
|
|
|
.FriendlyName( _( "Undo Last Segment" ) )
|
2023-08-05 22:28:07 +00:00
|
|
|
.Tooltip( _( "Walks the current line back one segment." ) )
|
|
|
|
.Icon( BITMAPS::undo ) );
|
2019-06-17 00:34:21 +00:00
|
|
|
|
2023-08-05 22:28:07 +00:00
|
|
|
TOOL_ACTION EE_ACTIONS::switchSegmentPosture( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.InteractiveDrawingLineWireBus.switchPosture" )
|
|
|
|
.Scope( AS_GLOBAL )
|
|
|
|
.DefaultHotkey( '/' )
|
2023-10-27 22:40:35 +00:00
|
|
|
.FriendlyName( _( "Switch Segment Posture" ) )
|
2023-08-05 22:28:07 +00:00
|
|
|
.Tooltip( _( "Switches posture of the current segment." ) )
|
|
|
|
.Icon( BITMAPS::change_entry_orient )
|
|
|
|
.Flags( AF_NONE ) );
|
|
|
|
|
|
|
|
TOOL_ACTION EE_ACTIONS::finishLineWireOrBus( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.InteractiveDrawingLineWireBus.finish" )
|
|
|
|
.Scope( AS_GLOBAL )
|
|
|
|
.DefaultHotkey( 'K' )
|
|
|
|
.LegacyHotkeyName( "End Line Wire Bus" )
|
2023-10-27 22:40:35 +00:00
|
|
|
.FriendlyName( _( "Finish Wire or Bus" ) )
|
2023-08-05 22:28:07 +00:00
|
|
|
.Tooltip( _( "Complete drawing at current segment" ) )
|
|
|
|
.Icon( BITMAPS::checked_ok )
|
|
|
|
.Flags( AF_NONE ) );
|
|
|
|
|
|
|
|
TOOL_ACTION EE_ACTIONS::finishWire( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.InteractiveDrawingLineWireBus.finishWire" )
|
|
|
|
.Scope( AS_GLOBAL )
|
2023-10-27 22:40:35 +00:00
|
|
|
.FriendlyName( _( "Finish Wire" ) )
|
2023-08-05 22:28:07 +00:00
|
|
|
.Tooltip( _( "Complete wire with current segment" ) )
|
|
|
|
.Icon( BITMAPS::checked_ok )
|
|
|
|
.Flags( AF_NONE ) );
|
2019-06-17 00:34:21 +00:00
|
|
|
|
2023-08-05 22:28:07 +00:00
|
|
|
TOOL_ACTION EE_ACTIONS::finishBus( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.InteractiveDrawingLineWireBus.finishBus" )
|
|
|
|
.Scope( AS_GLOBAL )
|
2023-10-27 22:40:35 +00:00
|
|
|
.FriendlyName( _( "Finish Bus" ) )
|
2023-08-05 22:28:07 +00:00
|
|
|
.Tooltip( _( "Complete bus with current segment" ) )
|
|
|
|
.Icon( BITMAPS::checked_ok )
|
|
|
|
.Flags( AF_NONE ) );
|
2019-06-17 00:34:21 +00:00
|
|
|
|
2023-08-05 22:28:07 +00:00
|
|
|
TOOL_ACTION EE_ACTIONS::finishLine( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.InteractiveDrawingLineWireBus.finishLine" )
|
|
|
|
.Scope( AS_GLOBAL )
|
2023-10-27 22:40:35 +00:00
|
|
|
.FriendlyName( _( "Finish Lines" ) )
|
2023-08-05 22:28:07 +00:00
|
|
|
.Tooltip( _( "Complete connected lines with current segment" ) )
|
|
|
|
.Icon( BITMAPS::checked_ok )
|
|
|
|
.Flags( AF_NONE ) );
|
2019-06-17 00:34:21 +00:00
|
|
|
|
|
|
|
|
|
|
|
// SCH_MOVE_TOOL
|
|
|
|
//
|
2023-08-05 22:28:07 +00:00
|
|
|
TOOL_ACTION EE_ACTIONS::move( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.InteractiveMove.move" )
|
|
|
|
.Scope( AS_GLOBAL )
|
|
|
|
.DefaultHotkey( 'M' )
|
|
|
|
.LegacyHotkeyName( "Move Item" )
|
2023-10-27 22:40:35 +00:00
|
|
|
.FriendlyName( _( "Move" ) )
|
2023-08-05 22:28:07 +00:00
|
|
|
.Tooltip( _( "Moves the selected item(s)" ) )
|
|
|
|
.Icon( BITMAPS::move )
|
|
|
|
.Flags( AF_ACTIVATE ) );
|
2019-06-17 00:34:21 +00:00
|
|
|
|
2023-08-05 22:28:07 +00:00
|
|
|
TOOL_ACTION EE_ACTIONS::drag( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.InteractiveMove.drag" )
|
|
|
|
.Scope( AS_GLOBAL )
|
|
|
|
.DefaultHotkey( 'G' )
|
|
|
|
.LegacyHotkeyName( "Drag Item" )
|
2023-10-27 22:40:35 +00:00
|
|
|
.FriendlyName( _( "Drag" ) )
|
2023-08-05 22:28:07 +00:00
|
|
|
.Tooltip( _( "Drags the selected item(s)" ) )
|
|
|
|
.Icon( BITMAPS::move )
|
|
|
|
.Flags( AF_ACTIVATE ) );
|
2019-06-17 00:34:21 +00:00
|
|
|
|
2023-08-05 22:28:07 +00:00
|
|
|
TOOL_ACTION EE_ACTIONS::alignToGrid( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.AlignToGrid" )
|
|
|
|
.Scope( AS_GLOBAL )
|
2023-10-27 22:40:35 +00:00
|
|
|
.FriendlyName( _( "Align Elements to Grid" ) )
|
2023-08-05 22:28:07 +00:00
|
|
|
.Icon( BITMAPS::move )
|
|
|
|
.Flags( AF_ACTIVATE ) );
|
2021-09-27 16:22:46 +00:00
|
|
|
|
|
|
|
// Schematic editor save copy curr sheet command
|
2023-08-05 22:28:07 +00:00
|
|
|
TOOL_ACTION EE_ACTIONS::saveCurrSheetCopyAs( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.EditorControl.saveCurrSheetCopyAs" )
|
|
|
|
.Scope( AS_GLOBAL )
|
2023-10-27 22:40:35 +00:00
|
|
|
.FriendlyName( _( "Save Current Sheet Copy As..." ) )
|
2023-08-05 22:28:07 +00:00
|
|
|
.Tooltip( _( "Save a copy of the current sheet to another location or name" ) )
|
|
|
|
.Icon( BITMAPS::save_as ) );
|
2022-09-14 22:28:09 +00:00
|
|
|
|
|
|
|
// Drag and drop
|
2023-08-05 22:28:07 +00:00
|
|
|
TOOL_ACTION EE_ACTIONS::ddAppendFile( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.EditorControl.ddAppendFile" )
|
|
|
|
.Scope( AS_GLOBAL ) );
|
2023-01-01 23:37:24 +00:00
|
|
|
|
|
|
|
// SIMULATOR
|
2023-08-05 22:28:07 +00:00
|
|
|
TOOL_ACTION EE_ACTIONS::newAnalysisTab( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.Simulation.newAnalysisTab" )
|
|
|
|
.Scope( AS_GLOBAL )
|
|
|
|
.DefaultHotkey( MD_CTRL + 'N' )
|
|
|
|
.LegacyHotkeyName( "New" )
|
2023-10-27 22:40:35 +00:00
|
|
|
.FriendlyName( _( "New Analysis Tab..." ) )
|
2023-08-05 22:28:07 +00:00
|
|
|
.Icon( BITMAPS::sim_add_plot ) );
|
|
|
|
|
|
|
|
TOOL_ACTION EE_ACTIONS::openWorkbook( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.Simulation.openWorkbook" )
|
|
|
|
.Scope( AS_GLOBAL )
|
|
|
|
.DefaultHotkey( MD_CTRL + 'O' )
|
|
|
|
.LegacyHotkeyName( "Open" )
|
2023-10-27 22:40:35 +00:00
|
|
|
.FriendlyName( _( "Open Workbook..." ) )
|
2023-08-05 22:28:07 +00:00
|
|
|
.Icon( BITMAPS::directory_open ) );
|
|
|
|
|
|
|
|
TOOL_ACTION EE_ACTIONS::saveWorkbook( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.Simulation.saveWorkbook" )
|
|
|
|
.Scope( AS_GLOBAL )
|
|
|
|
.DefaultHotkey( MD_CTRL + 'S' )
|
|
|
|
.LegacyHotkeyName( "Save" )
|
2023-10-27 22:40:35 +00:00
|
|
|
.FriendlyName( _( "Save Workbook" ) )
|
2023-08-05 22:28:07 +00:00
|
|
|
.Icon( BITMAPS::save ) );
|
|
|
|
|
|
|
|
TOOL_ACTION EE_ACTIONS::saveWorkbookAs( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.Simulation.saveWorkbookAs" )
|
|
|
|
.Scope( AS_GLOBAL )
|
|
|
|
.DefaultHotkey( MD_SHIFT + MD_CTRL + 'S' )
|
|
|
|
.LegacyHotkeyName( "Save As" )
|
2023-10-27 22:40:35 +00:00
|
|
|
.FriendlyName( _( "Save Workbook As..." ) )
|
2023-08-05 22:28:07 +00:00
|
|
|
.Icon( BITMAPS::sim_add_signal ) );
|
|
|
|
|
|
|
|
TOOL_ACTION EE_ACTIONS::exportPlotAsPNG( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.Simulator.exportPNG" )
|
|
|
|
.Scope( AS_GLOBAL )
|
2023-10-27 22:40:35 +00:00
|
|
|
.FriendlyName( _( "Export Current Plot as PNG..." ) )
|
2023-08-05 22:28:07 +00:00
|
|
|
.Icon( BITMAPS::export_png ) );
|
|
|
|
|
|
|
|
TOOL_ACTION EE_ACTIONS::exportPlotAsCSV( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.Simulator.exportCSV" )
|
|
|
|
.Scope( AS_GLOBAL )
|
2023-10-27 22:40:35 +00:00
|
|
|
.FriendlyName( _( "Export Current Plot as CSV..." ) )
|
2023-08-05 22:28:07 +00:00
|
|
|
.Icon( BITMAPS::export_file ) );
|
|
|
|
|
|
|
|
TOOL_ACTION EE_ACTIONS::toggleLegend( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.Simulator.toggleLegend" )
|
|
|
|
.Scope( AS_GLOBAL )
|
2023-10-27 22:40:35 +00:00
|
|
|
.FriendlyName( _( "Show Legend" ) )
|
2023-08-05 22:28:07 +00:00
|
|
|
.Icon( BITMAPS::text ) );
|
|
|
|
|
|
|
|
TOOL_ACTION EE_ACTIONS::toggleDottedSecondary( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.Simulator.toggleDottedSecondary" )
|
|
|
|
.Scope( AS_GLOBAL )
|
2023-10-27 22:40:35 +00:00
|
|
|
.FriendlyName( _( "Dotted Current/Phase" ) )
|
2023-08-05 22:28:07 +00:00
|
|
|
.Tooltip( _( "Draw secondary signal trace (current or phase) with a dotted line" ) ) );
|
2023-07-05 10:53:19 +00:00
|
|
|
|
2023-08-05 22:28:07 +00:00
|
|
|
TOOL_ACTION EE_ACTIONS::toggleDarkModePlots( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.Simulator.toggleDarkModePlots" )
|
|
|
|
.Scope( AS_GLOBAL )
|
2023-10-27 22:40:35 +00:00
|
|
|
.FriendlyName( _( "Dark Mode Plots" ) )
|
2023-08-05 22:28:07 +00:00
|
|
|
.Tooltip( _( "Draw plots with a black background" ) ) );
|
|
|
|
|
|
|
|
TOOL_ACTION EE_ACTIONS::simAnalysisProperties( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.Simulation.simAnalysisProperties" )
|
|
|
|
.Scope( AS_GLOBAL )
|
2023-10-27 22:40:35 +00:00
|
|
|
.FriendlyName( _( "Edit Analysis Tab..." ) )
|
2023-08-05 22:28:07 +00:00
|
|
|
.Tooltip( _( "Edit the SPICE command and plot setup for the current analysis tab" ) )
|
|
|
|
.Icon( BITMAPS::sim_command ) );
|
|
|
|
|
|
|
|
TOOL_ACTION EE_ACTIONS::runSimulation( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.Simulation.runSimulation" )
|
|
|
|
.Scope( AS_GLOBAL )
|
|
|
|
.DefaultHotkey( 'R' )
|
2023-10-27 22:40:35 +00:00
|
|
|
.FriendlyName( _( "Run Simulation" ) )
|
2023-08-05 22:28:07 +00:00
|
|
|
.Icon( BITMAPS::sim_run ) );
|
|
|
|
|
|
|
|
TOOL_ACTION EE_ACTIONS::stopSimulation( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.Simulation.stopSimulation" )
|
|
|
|
.Scope( AS_GLOBAL )
|
2023-10-27 22:40:35 +00:00
|
|
|
.FriendlyName( _( "Stop Simulation" ) )
|
2023-08-05 22:28:07 +00:00
|
|
|
.Icon( BITMAPS::sim_stop ) );
|
|
|
|
|
|
|
|
TOOL_ACTION EE_ACTIONS::simProbe( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.Simulation.probe" )
|
|
|
|
.Scope( AS_GLOBAL )
|
|
|
|
.DefaultHotkey( 'P' )
|
2023-10-27 22:40:35 +00:00
|
|
|
.FriendlyName( _( "Probe Schematic..." ) )
|
2023-08-05 22:28:07 +00:00
|
|
|
.Tooltip( _( "Add a simulator probe" ) )
|
|
|
|
.Icon( BITMAPS::sim_probe ) );
|
|
|
|
|
|
|
|
TOOL_ACTION EE_ACTIONS::simTune( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.Simulation.tune" )
|
|
|
|
.Scope( AS_GLOBAL )
|
|
|
|
.DefaultHotkey( 'T' )
|
2023-10-27 22:40:35 +00:00
|
|
|
.FriendlyName( _( "Add Tuned Value..." ) )
|
2023-08-05 22:28:07 +00:00
|
|
|
.Tooltip( _( "Select a value to be tuned" ) )
|
|
|
|
.Icon( BITMAPS::sim_tune ) );
|
|
|
|
|
|
|
|
TOOL_ACTION EE_ACTIONS::editUserDefinedSignals( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.Simulation.editUserDefinedSignals" )
|
|
|
|
.Scope( AS_GLOBAL )
|
2023-10-27 22:40:35 +00:00
|
|
|
.FriendlyName( _( "User-defined Signals..." ) )
|
2023-08-05 22:28:07 +00:00
|
|
|
.Tooltip( _( "Add, edit or delete user-defined simulation signals" ) )
|
|
|
|
.Icon( BITMAPS::sim_add_signal ) );
|
|
|
|
|
|
|
|
TOOL_ACTION EE_ACTIONS::showNetlist( TOOL_ACTION_ARGS()
|
|
|
|
.Name( "eeschema.Simulation.showNetlist" )
|
|
|
|
.Scope( AS_GLOBAL )
|
2023-10-27 22:40:35 +00:00
|
|
|
.FriendlyName( _( "Show SPICE Netlist" ) )
|
2023-08-05 22:28:07 +00:00
|
|
|
.Icon( BITMAPS::netlist ) );
|