KiCad PCB EDA Suite
Loading...
Searching...
No Matches
sch_actions.cpp
Go to the documentation of this file.
1/*
2 * This program source code file is part of KiCad, a free EDA CAD application.
3 *
4 * Copyright (C) 2019-2023 CERN
5 * Copyright The KiCad Developers, see AUTHORS.txt for contributors.
6 *
7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License
9 * as published by the Free Software Foundation; either version 2
10 * of the License, or (at your option) any later version.
11 *
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License
18 * along with this program; if not, you may find one here:
19 * http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
20 * or you may search the http://www.gnu.org website for the version 2 license,
21 * or you may write to the Free Software Foundation, Inc.,
22 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
23 */
24
25#include "tools/sch_actions.h"
26
27#include <bitmaps.h>
28#include <core/typeinfo.h>
29#include <layer_ids.h>
30#include <sch_bitmap.h>
32#include <tool/tool_action.h>
33
34class DESIGN_BLOCK;
35
36// Actions, being statically-defined, require specialized I18N handling. We continue to
37// use the _() macro so that string harvesting by the I18N framework doesn't have to be
38// specialized, but we don't translate on initialization and instead do it in the getters.
39
40#undef _
41#define _(s) s
42
43// clang-format off
44
45// SCH_INSPECTION_TOOL
46//
48 .Name( "eeschema.InspectionTool.runERC" )
49 .Scope( AS_GLOBAL )
50 .FriendlyName( _( "Electrical Rules Checker" ) )
51 .Tooltip( _( "Show the electrical rules checker window" ) )
52 .Icon( BITMAPS::erc ) );
53
55 .Name( "eeschema.InspectionTool.checkSymbol" )
56 .Scope( AS_GLOBAL )
57 .FriendlyName( _( "Symbol Checker" ) )
58 .Tooltip( _( "Show the symbol checker window" ) )
59 .Icon( BITMAPS::erc ) );
60
62 .Name( "eeschema.InspectionTool.diffSymbol" )
63 .Scope( AS_GLOBAL )
64 .FriendlyName( _( "Compare Symbol with Library" ) )
65 .Tooltip( _( "Show differences between schematic symbol and its library equivalent" ) )
66 .Icon( BITMAPS::library ) );
67
69 .Name( "eeschema.InspectionTool.showBusSyntaxHelp" )
70 .Scope( AS_GLOBAL )
71 .FriendlyName( _( "Show Bus Syntax Help" ) )
73
75 .Name( "eeschema.EditorControl.showSimulator" )
76 .Scope( AS_GLOBAL )
77 .FriendlyName( _( "Simulator" ) )
78 .Tooltip( _( "Show simulation window for running SPICE or IBIS simulations." ) )
79 .Icon( BITMAPS::simulator ) );
80
81
82// SCH_POINT_EDITOR
83//
85 .Name( "eeschema.PointEditor.addCorner" )
86 .Scope( AS_GLOBAL )
87 .FriendlyName( _( "Create Corner" ) )
88 .Icon( BITMAPS::add_corner ) );
89
91 .Name( "eeschema.PointEditor.removeCorner" )
92 .Scope( AS_GLOBAL )
93 .FriendlyName( _( "Remove Corner" ) )
94 .Icon( BITMAPS::delete_cursor ) );
95
96// SCH_SELECTION_TOOL
97//
99 .Name( "eeschema.InteractiveSelection.SelectNode" )
100 .Scope( AS_GLOBAL )
101 .DefaultHotkey( MD_ALT + '3' )
102 .LegacyHotkeyName( "Select Node" )
103 .FriendlyName( _( "Select Node" ) )
104 .Tooltip( _( "Select a connection item under the cursor" ) ) );
105
107 .Name( "eeschema.InteractiveSelection.SelectConnection" )
108 .Scope( AS_GLOBAL )
109 .DefaultHotkey( MD_CTRL + '4' )
110 .LegacyHotkeyName( "Select Connection" )
111 .FriendlyName( _( "Select/Expand Connection" ) )
112 .Tooltip( _( "Selects a connection or expands an existing selection to pins, symbols, or entire connections" ) )
114
116 .Name( "eeschema.InteractiveSelection.SyncSelection" )
117 .Scope( AS_GLOBAL ) );
118
119// SCH_DESIGN_BLOCK_CONTROL
121 .Name( "eeschema.SchDesignBlockControl.showDesignBlockPanel" )
122 .Scope( AS_GLOBAL )
123 .FriendlyName( _( "Design Blocks" ) )
124 .Tooltip( _( "Show/hide design blocks library" ) )
125 .Icon( BITMAPS::search_tree ) );
126
128 .Name( "eeschema.RemoteSymbols.showPanel" )
129 .Scope( AS_GLOBAL )
130 .FriendlyName( _( "Remote Symbols" ) )
131 .Tooltip( _( "Show/hide the remote symbol panel" ) )
132 .Icon( BITMAPS::library_browser ) );
133
135 .Name( "eeschema.SchDesignBlockControl.saveSheetAsDesignBlock" )
136 .Scope( AS_GLOBAL )
137 .FriendlyName( _( "Save Current Sheet as Design Block..." ) )
138 .Tooltip( _( "Create a new design block from the current sheet" ) )
139 .Icon( BITMAPS::new_component ) );
140
142 .Name( "eeschema.SchDesignBlockControl.saveSelectionAsDesignBlock" )
143 .Scope( AS_GLOBAL )
144 .FriendlyName( _( "Save Selection as Design Block..." ) )
145 .Tooltip( _( "Create a new design block from the current selection" ) )
146 .Icon( BITMAPS::new_component ) );
147
149 .Name( "eeschema.SchDesignBlockControl.updateDesignBlockFromSheet" )
150 .Scope( AS_GLOBAL )
151 .FriendlyName( _( "Update Design Block from Current Sheet" ) )
152 .Tooltip( _( "Set design block schematic to current sheet" ) )
153 .Icon( BITMAPS::save ) );
154
156 .Name( "eeschema.SchDesignBlockControl.updateDesignBlockFromSelection" )
157 .Scope( AS_GLOBAL )
158 .FriendlyName( _( "Update Design Block from Selection" ) )
159 .Tooltip( _( "Set design block schematic to current selection" ) )
160 .Icon( BITMAPS::save ) );
161
163 .Name( "eeschema.SchDesignBlockControl.deleteDesignBlock" )
164 .Scope( AS_GLOBAL )
165 .FriendlyName( _( "Delete Design Block" ) )
166 .Tooltip( _( "Remove the selected design block from its library" ) )
167 .Icon( BITMAPS::trash ) );
168
170 .Name( "eeschema.SchDesignBlockControl.editDesignBlockProperties" )
171 .Scope( AS_GLOBAL )
172 .FriendlyName( _( "Properties..." ) )
173 .Tooltip( _( "Edit properties of design block" ) )
174 .Icon( BITMAPS::edit ) );
175
176// SYMBOL_EDITOR_CONTROL
177//
179 .Name( "eeschema.SymbolLibraryControl.saveLibraryAs" )
180 .Scope( AS_GLOBAL )
181 .DefaultHotkey( MD_CTRL + MD_SHIFT + 'S' )
182 .LegacyHotkeyName( "Save As" )
183 .FriendlyName( _( "Save Library As..." ) )
184 .Tooltip( _( "Save the current library to a new file" ) ) );
185
187 .Name( "eeschema.SymbolLibraryControl.newSymbol" )
188 .Scope( AS_GLOBAL )
189 .DefaultHotkey( MD_CTRL + 'N' )
190 .FriendlyName( _( "New Symbol..." ) )
191 .Tooltip( _( "Create a new symbol in an existing library" ) )
192 .Icon( BITMAPS::new_component ) );
193
195 .Name( "eeschema.SymbolLibraryControl.deriveFromExistingSymbol" )
196 .Scope( AS_GLOBAL )
197 .FriendlyName( _( "Derive from Existing Symbol..." ) )
198 .Tooltip( _( "Create a new symbol, derived from an existing symbol" ) )
199 .Icon( BITMAPS::new_component ) );
200
202 .Name( "eeschema.SymbolLibraryControl.editSymbol" )
203 .Scope( AS_GLOBAL )
204 .FriendlyName( _( "Edit Symbol" ) )
205 .Tooltip( _( "Show selected symbol on editor canvas" ) )
206 .Icon( BITMAPS::edit ) );
207
209 .Name( "eeschema.SymbolLibraryControl.duplicateSymbol" )
210 .Scope( AS_GLOBAL )
211 .FriendlyName( _( "Duplicate Symbol" ) )
212 .Icon( BITMAPS::duplicate ) );
213
215 .Name( "eeschema.SymbolLibraryControl.renameFootprint" )
216 .Scope( AS_GLOBAL )
217 .FriendlyName( _( "Rename Symbol..." ) )
218 .Icon( BITMAPS::edit ) );
219
221 .Name( "eeschema.SymbolLibraryControl.saveSymbolAs" )
222 .Scope( AS_GLOBAL )
223 .FriendlyName( _( "Save As..." ) )
224 .Tooltip( _( "Save the current symbol to a different library or name" ) )
225 .Icon( BITMAPS::save_as ) );
226
228 .Name( "eeschema.SymbolLibraryControl.saveSymbolCopyAs" )
229 .Scope( AS_GLOBAL )
230 .FriendlyName( _( "Save Copy As..." ) )
231 .Tooltip( _( "Save a copy of the current symbol to a different library or name" ) )
232 .Icon( BITMAPS::save_as ) );
233
235 .Name( "eeschema.SymbolLibraryControl.deleteSymbol" )
236 .Scope( AS_GLOBAL )
237 .FriendlyName( _( "Delete Symbol" ) )
238 .Tooltip( _( "Remove the selected symbol from its library" ) )
239 .Icon( BITMAPS::trash ) );
240
242 .Name( "eeschema.SymbolLibraryControl.cutSymbol" )
243 .Scope( AS_GLOBAL )
244 .FriendlyName( _( "Cut" ) )
245 .Icon( BITMAPS::cut ) );
246
248 .Name( "eeschema.SymbolLibraryControl.copySymbol" )
249 .Scope( AS_GLOBAL )
250 .FriendlyName( _( "Copy" ) )
251 .Icon( BITMAPS::copy ) );
252
254 .Name( "eeschema.SymbolLibraryControl.pasteSymbol" )
255 .Scope( AS_GLOBAL )
256 .FriendlyName( _( "Paste Symbol" ) )
257 .Icon( BITMAPS::paste ) );
258
260 .Name("eeschema.SymbolLibraryControl.importSymbol" )
261 .Scope( AS_GLOBAL )
262 .FriendlyName( _( "Import Symbol..." ) )
263 .Tooltip( _( "Import a symbol to the current library" ) )
264 .Icon( BITMAPS::import_part ) );
265
267 .Name( "eeschema.SymbolLibraryControl.exportSymbol" )
268 .Scope( AS_GLOBAL )
269 .FriendlyName( _( "Export..." ) )
270 .Tooltip( _( "Export a symbol to a new library file" ) )
271 .Icon( BITMAPS::export_part ) );
272
274 .Name( "eeschema.SymbolLibraryControl.updateSymbolFields" )
275 .Scope( AS_GLOBAL )
276 .FriendlyName( _( "Update Symbol Fields..." ) )
277 .Tooltip( _( "Update symbol to match changes made in parent symbol" ) )
278 .Icon( BITMAPS::refresh ) );
279
281 .Name( "eeschema.SymbolLibraryControl.flattenSymbol" )
282 .Scope( AS_GLOBAL )
283 .FriendlyName( _( "Flatten Symbol" ) )
284 .Tooltip( _( "Remove inheritance from symbol" ) ) );
285
287 .Name( "eeschema.SymbolLibraryControl.showLibraryFieldsTable" )
288 .Scope( AS_GLOBAL )
289 .FriendlyName( _( "Bulk Edit Symbol Fields..." ) )
290 .Tooltip( _( "Edit a table of fields from all symbols in the library" ) )
291 .Icon( BITMAPS::table ) );
292
294 .Name( "eeschema.SymbolLibraryControl.showRelatedLibraryFieldsTable" )
295 .Scope( AS_GLOBAL )
296 .FriendlyName( _( "Bulk Edit Related Symbol Fields..." ) )
297 .Tooltip( _( "Edit a table of fields from all symbols related to the selected symbol" ) )
298 .Icon( BITMAPS::table ) );
299
301 .Name( "eeschema.SymbolLibraryControl.addSymbolToSchematic" )
302 .Scope( AS_GLOBAL )
303 .FriendlyName( _( "Add Symbol to Schematic" ) )
304 .Tooltip( _( "Add the current symbol to the schematic" ) )
306
308 .Name( "eeschema.SymbolLibraryControl.showElectricalTypes" )
309 .Scope( AS_GLOBAL )
310 .FriendlyName( _( "Show Pin Electrical Types" ) )
311 .Tooltip( _( "Annotate pins with their electrical types" ) )
312 .ToolbarState( TOOLBAR_STATE::TOGGLE )
313 .Icon( BITMAPS::pin_show_etype ) );
314
316 .Name( "eeschema.SymbolLibraryControl.showPinNumbers" )
317 .Scope( AS_GLOBAL )
318 .FriendlyName( _( "Show Pin Numbers" ) )
319 .Tooltip( _( "Annotate pins with their numbers" ) )
320 .ToolbarState( TOOLBAR_STATE::TOGGLE )
321 .Icon( BITMAPS::pin ) );
322
324 .Name( "eeschema.SymbolLibraryControl.exportSymbolView" )
325 .Scope( AS_GLOBAL )
326 .FriendlyName( _( "Export View as PNG..." ) )
327 .Tooltip( _( "Create PNG file from the current view" ) )
328 .Icon( BITMAPS::export_png ) );
329
331 .Name( "eeschema.SymbolLibraryControl.exportSymbolAsSVG" )
332 .Scope( AS_GLOBAL )
333 .FriendlyName( _( "Export Symbol as SVG..." ) )
334 .Tooltip( _( "Create SVG file from the current symbol" ) )
335 .Icon( BITMAPS::export_svg ) );
336
338 .Name( "eeschema.SymbolLibraryControl.toggleSyncedPinsMode" )
339 .Scope( AS_GLOBAL )
340 .FriendlyName( _( "Synchronized Pins Mode" ) )
341 .Tooltip( _( "Synchronized Pins Mode\n"
342 "When enabled propagates all changes (except pin numbers) to other units.\n"
343 "Enabled by default for multiunit parts with interchangeable units." ) )
344 .ToolbarState( TOOLBAR_STATE::TOGGLE )
345 .Icon( BITMAPS::pin2pin ) );
346
348 .Name( "eeschema.SymbolLibraryControl.showHiddenPins" )
349 .Scope( AS_GLOBAL )
350 .FriendlyName( _( "Show Hidden Pins" ) )
351 .ToolbarState( TOOLBAR_STATE::TOGGLE )
352 .Icon( BITMAPS::hidden_pin ) );
353
355 .Name( "eeschema.SymbolLibraryControl.showHiddenFields" )
356 .Scope( AS_GLOBAL )
357 .FriendlyName( _( "Show Hidden Fields" ) )
358 .ToolbarState( TOOLBAR_STATE::TOGGLE )
359 .Icon( BITMAPS::text_sketch ) );
360
362 .Name( "eeschema.SymbolLibraryControl.previousSymbol" )
363 .Scope( AS_GLOBAL )
364 .FriendlyName( _( "Display previous symbol" ) )
365 .Icon( BITMAPS::lib_previous ) );
366
368 .Name( "eeschema.SymbolLibraryControl.nextSymbol" )
369 .Scope( AS_GLOBAL )
370 .FriendlyName( _( "Display next symbol" ) )
371 .Icon( BITMAPS::lib_next ) );
372
373
374// SYMBOL_EDITOR_DRAWING_TOOLS
375//
377 .Name( "eeschema.SymbolDrawing.placeSymbolPin" )
378 .Scope( AS_GLOBAL )
379 .DefaultHotkey( 'P' )
380 .LegacyHotkeyName( "Create Pin" )
381 .FriendlyName( _( "Draw Pins" ) )
382 .ToolbarState( TOOLBAR_STATE::TOGGLE )
383 .Icon( BITMAPS::pin )
384 .Flags( AF_ACTIVATE )
385 .Parameter( SCH_PIN_T ) );
386
388 .Name( "eeschema.SymbolDrawing.placeSymbolText" )
389 .Scope( AS_GLOBAL )
390 .FriendlyName( _( "Draw Text" ) )
391 .ToolbarState( TOOLBAR_STATE::TOGGLE )
392 .Icon( BITMAPS::text )
393 .Flags( AF_ACTIVATE )
394 .Parameter( SCH_TEXT_T ) );
395
397 .Name( "eeschema.SymbolDrawing.drawSymbolTextBox" )
398 .Scope( AS_GLOBAL )
399 .FriendlyName( _( "Draw Text Boxes" ) )
400 .ToolbarState( TOOLBAR_STATE::TOGGLE )
401 .Icon( BITMAPS::add_textbox )
402 .Flags( AF_ACTIVATE ) );
403
405 .Name( "eeschema.SymbolDrawing.drawSymbolLines" )
406 .Scope( AS_GLOBAL )
407 .FriendlyName( _( "Draw Lines" ) )
408 .Tooltip( _( "Draw connected graphic lines" ) )
409 .ToolbarState( TOOLBAR_STATE::TOGGLE )
411 .Flags( AF_ACTIVATE )
412 .Parameter( SHAPE_T::POLY ) );
413
415 .Name( "eeschema.SymbolDrawing.drawSymbolPolygon" )
416 .Scope( AS_GLOBAL )
417 .FriendlyName( _( "Draw Polygons" ) )
418 .ToolbarState( TOOLBAR_STATE::TOGGLE )
420 .Flags( AF_ACTIVATE )
421 .Parameter( SHAPE_T::POLY ) );
422
424 .Name( "eeschema.SymbolDrawing.placeSymbolAnchor" )
425 .Scope( AS_GLOBAL )
426 .FriendlyName( _( "Move Symbol Anchor" ) )
427 .ToolbarState( TOOLBAR_STATE::TOGGLE )
428 .Icon( BITMAPS::anchor )
429 .Flags( AF_ACTIVATE ) );
430
431// SYMBOL_EDITOR_PIN_TOOL
432//
434 .Name( "eeschema.PinEditing.pushPinLength" )
435 .Scope( AS_GLOBAL )
436 .FriendlyName( _( "Push Pin Length" ) )
437 .Tooltip( _( "Copy pin length to other pins in symbol" ) )
438 .Icon( BITMAPS::pin_size_to ) );
439
441 .Name( "eeschema.PinEditing.pushPinNameSize" )
442 .Scope( AS_GLOBAL )
443 .FriendlyName( _( "Push Pin Name Size" ) )
444 .Tooltip( _( "Copy pin name size to other pins in symbol" ) )
445 .Icon( BITMAPS::pin_size_to ) );
446
448 .Name( "eeschema.PinEditing.pushPinNumSize" )
449 .Scope( AS_GLOBAL )
450 .FriendlyName( _( "Push Pin Number Size" ) )
451 .Tooltip( _( "Copy pin number size to other pins in symbol" ) )
452 .Icon( BITMAPS::pin_size_to ) );
453
454
455// SCH_DRAWING_TOOLS
456//
458 .Name( "eeschema.InteractiveDrawing.placeSymbol" )
459 .Scope( AS_GLOBAL )
460 .DefaultHotkey( 'A' )
461 .LegacyHotkeyName( "Add Symbol" )
462 .FriendlyName( _( "Place Symbols" ) )
463 .ToolbarState( TOOLBAR_STATE::TOGGLE )
465 .Flags( AF_ACTIVATE )
466 .Parameter<SCH_ACTIONS::PLACE_SYMBOL_PARAMS>( {} ) );
467
469 .Name( "eeschema.InteractiveDrawing.placeNextSymbolUnit" )
470 .Scope( AS_GLOBAL )
471 .FriendlyName( _( "Place Next Symbol Unit" ) )
472 .Tooltip( _( "Place the next unit of the current symbol that is missing from the schematic" ) )
473 .Flags( AF_ACTIVATE )
474 // The symbol to use as a reference for the next unit and optionally the unit number
475 .Parameter<SCH_ACTIONS::PLACE_SYMBOL_UNIT_PARAMS>( {} ) );
476
478 .Name( "eeschema.InteractiveDrawing.placePowerSymbol" )
479 .Scope( AS_GLOBAL )
480 .DefaultHotkey( 'P' )
481 .LegacyHotkeyName( "Add Power" )
482 .FriendlyName( _( "Place Power Symbols" ) )
483 .ToolbarState( TOOLBAR_STATE::TOGGLE )
484 .Icon( BITMAPS::add_power )
485 .Flags( AF_ACTIVATE )
486 .Parameter<SCH_ACTIONS::PLACE_SYMBOL_PARAMS>( {} ) );
487
489 .Name( "eeschema.InteractiveDrawing.placeDesignBlock" )
490 .Scope( AS_GLOBAL )
491 .DefaultHotkey( MD_SHIFT + 'B' )
492 .FriendlyName( _( "Place Design Block" ) )
493 .Tooltip( _( "Add selected design block to current sheet" ) )
495 .Flags( AF_ACTIVATE )
496 .Parameter<DESIGN_BLOCK*>( nullptr ) );
497
499 .Name( "eeschema.InteractiveDrawing.placeLinkedDesignBlock" )
500 .Scope( AS_GLOBAL )
501 .FriendlyName( _( "Place Linked Design Block" ) )
502 .Tooltip( _( "Place design block linked to selected group" ) )
504 .Flags( AF_ACTIVATE ) );
505
507 .Name( "eeschema.InteractiveDrawing.saveToLinkedDesignBlock" )
508 .Scope( AS_GLOBAL )
509 .FriendlyName( _( "Save to Linked Design Block" ) )
510 .Tooltip( _( "Save selected group to linked design block" ) )
512 .Flags( AF_ACTIVATE ) );
513
514
516 .Name( "eeschema.InteractiveDrawing.placeNoConnect" )
517 .Scope( AS_GLOBAL )
518 .DefaultHotkey( 'Q' )
519 .LegacyHotkeyName( "Add No Connect Flag" )
520 .FriendlyName( _( "Place No Connect Flags" ) )
521 .ToolbarState( TOOLBAR_STATE::TOGGLE )
522 .Icon( BITMAPS::noconn )
523 .Flags( AF_ACTIVATE )
524 .Parameter( SCH_NO_CONNECT_T ) );
525
527 .Name( "eeschema.InteractiveDrawing.placeJunction" )
528 .Scope( AS_GLOBAL )
529 .DefaultHotkey( 'J' )
530 .LegacyHotkeyName( "Add Junction" )
531 .FriendlyName( _( "Place Junctions" ) )
532 .ToolbarState( TOOLBAR_STATE::TOGGLE )
533 .Icon( BITMAPS::add_junction )
534 .Flags( AF_ACTIVATE )
535 .Parameter( SCH_JUNCTION_T ) );
536
538 .Name( "eeschema.InteractiveDrawing.placeBusWireEntry" )
539 .Scope( AS_GLOBAL )
540 .DefaultHotkey( 'Z' )
541 .LegacyHotkeyName( "Add Wire Entry" )
542 .FriendlyName( _( "Place Wire to Bus Entries" ) )
543 .ToolbarState( TOOLBAR_STATE::TOGGLE )
544 .Icon( BITMAPS::add_line2bus )
545 .Flags( AF_ACTIVATE )
546 .Parameter( SCH_BUS_WIRE_ENTRY_T ) );
547
549 .Name( "eeschema.InteractiveDrawing.placeLabel" )
550 .Scope( AS_GLOBAL )
551 .DefaultHotkey( 'L' )
552 .LegacyHotkeyName( "Add Label" )
553 .FriendlyName( _( "Place Net Labels" ) )
554 .ToolbarState( TOOLBAR_STATE::TOGGLE )
555 .Icon( BITMAPS::add_label )
556 .Flags( AF_ACTIVATE ) );
557
559 .Name( "eeschema.InteractiveDrawing.placeClassLabel" )
560 .Scope( AS_GLOBAL )
561 .FriendlyName( _( "Place Directive Labels" ) )
562 .ToolbarState( TOOLBAR_STATE::TOGGLE )
564 .Flags( AF_ACTIVATE ) );
565
567 .Name( "eeschema.InteractiveDrawing.placeHierarchicalLabel" )
568 .Scope( AS_GLOBAL )
569 .DefaultHotkey( 'H' )
570 .LegacyHotkeyName( "Add Hierarchical Label" )
571 .FriendlyName( _( "Place Hierarchical Labels" ) )
572 .ToolbarState( TOOLBAR_STATE::TOGGLE )
574 .Flags( AF_ACTIVATE ) );
575
577 .Name( "eeschema.InteractiveDrawing.drawSheet" )
578 .Scope( AS_GLOBAL )
579 .DefaultHotkey( 'S' )
580 .LegacyHotkeyName( "Add Sheet" )
581 .FriendlyName( _( "Draw Hierarchical Sheets" ) )
582 .ToolbarState( TOOLBAR_STATE::TOGGLE )
584 .Flags( AF_ACTIVATE )
585 .Parameter( SCH_SHEET_T ) );
586
588 .Name( "eeschema.InteractiveDrawing.drawSheetFromFile" )
589 .Scope( AS_GLOBAL )
590 .FriendlyName( _( "Draw Sheet from File" ) )
591 .Tooltip( _( "Copy sheet into project and draw on current sheet" ) )
593 .Flags( AF_ACTIVATE )
594 .Parameter<wxString*> ( nullptr ) );
595
597 .Name( "eeschema.InteractiveDrawing.drawSheetFromDesignBlock" )
598 .Scope( AS_GLOBAL )
599 .FriendlyName( _( "Draw Sheet from Design Block" ) )
600 .Tooltip( _( "Copy design block into project as a sheet on current sheet" ) )
602 .Flags( AF_ACTIVATE )
603 .Parameter<DESIGN_BLOCK*> ( nullptr ) );
604
606 .Name( "eeschema.InteractiveDrawing.placeSheetPin" )
607 .Scope( AS_GLOBAL )
608 .FriendlyName( _( "Place Pins from Sheet" ) )
609 .Tooltip( _( "Add sheet pins from existing hierarchical labels found on that sheet" ) )
610 .ToolbarState( TOOLBAR_STATE::TOGGLE )
612 .Flags( AF_ACTIVATE ) );
613
615 .Name( "eeschema.InteractiveDrawing.autoplaceAllSheetPins" )
616 .Scope( AS_GLOBAL )
617 .FriendlyName( _( "Autoplace All Sheet Pins" ) )
618 .Tooltip( _( "Imports and auto places all sheet pins" ) ) );
619
621 .Name( "eeschema.InteractiveDrawing.syncSheetPins" )
622 .Scope( AS_GLOBAL )
623 .FriendlyName( _( "Sync Selected Sheet Pins..." ) )
624 .Tooltip( _( "Synchronize selected sheet pins and hierarchical labels" ) )
626 .Flags( AF_ACTIVATE ) );
627
629 .Name( "eeschema.InteractiveDrawing.syncAllSheetsPins" )
630 .Scope( AS_GLOBAL )
631 .FriendlyName( _( "Sync All Sheet Pins..." ) )
632 .Tooltip( _( "Synchronize all sheet pins and hierarchical labels" ) )
634 .Flags( AF_ACTIVATE ) );
635
637 .Name( "eeschema.InteractiveDrawing.importSheet" )
638 .Scope( AS_GLOBAL )
639 .FriendlyName( _( "Import Sheet..." ) )
640 .Tooltip( _( "Import sheet into project" ) )
642 .Flags( AF_ACTIVATE )
643 .Parameter<wxString*> ( nullptr ) );
644
646 .Name( "eeschema.InteractiveDrawing.placeGlobalLabel" )
647 .Scope( AS_GLOBAL )
648 .DefaultHotkey( MD_CTRL + 'L' )
649 .LegacyHotkeyName( "Add Global Label" )
650 .FriendlyName( _( "Place Global Labels" ) )
651 .ToolbarState( TOOLBAR_STATE::TOGGLE )
652 .Icon( BITMAPS::add_glabel )
653 .Flags( AF_ACTIVATE ) );
654
656 .Name( "eeschema.InteractiveDrawing.placeSchematicText" )
657 .Scope( AS_GLOBAL )
658 .DefaultHotkey( 'T' )
659 .LegacyHotkeyName( "Add Graphic Text" )
660 .FriendlyName( _( "Draw Text" ) )
661 .ToolbarState( TOOLBAR_STATE::TOGGLE )
662 .Icon( BITMAPS::text )
663 .Flags( AF_ACTIVATE ) );
664
666 .Name( "eeschema.InteractiveDrawing.drawTextBox" )
667 .Scope( AS_GLOBAL )
668 .FriendlyName( _( "Draw Text Boxes" ) )
669 .ToolbarState( TOOLBAR_STATE::TOGGLE )
670 .Icon( BITMAPS::add_textbox )
671 .Flags( AF_ACTIVATE )
672 .Parameter( SHAPE_T::RECTANGLE ) );
673
675 .Name( "eeschema.InteractiveDrawing.drawTable" )
676 .Scope( AS_GLOBAL )
677 .FriendlyName( _( "Draw Tables" ) )
678 .ToolbarState( TOOLBAR_STATE::TOGGLE )
679 .Icon( BITMAPS::table )
680 .Flags( AF_ACTIVATE ) );
681
683 .Name( "eeschema.InteractiveDrawing.drawRectangle" )
684 .Scope( AS_GLOBAL )
685 .FriendlyName( _( "Draw Rectangles" ) )
686 .ToolbarState( TOOLBAR_STATE::TOGGLE )
688 .Flags( AF_ACTIVATE )
689 .Parameter( SHAPE_T::RECTANGLE ) );
690
692 .Name( "eeschema.InteractiveDrawing.drawCircle" )
693 .Scope( AS_GLOBAL )
694 .FriendlyName( _( "Draw Circles" ) )
695 .ToolbarState( TOOLBAR_STATE::TOGGLE )
696 .Icon( BITMAPS::add_circle )
697 .Flags( AF_ACTIVATE )
698 .Parameter( SHAPE_T::CIRCLE ) );
699
701 .Name( "eeschema.InteractiveDrawing.drawArc" )
702 .Scope( AS_GLOBAL )
703 .FriendlyName( _( "Draw Arcs" ) )
704 .ToolbarState( TOOLBAR_STATE::TOGGLE )
705 .Icon( BITMAPS::add_arc )
706 .Flags( AF_ACTIVATE )
707 .Parameter( SHAPE_T::ARC ) );
708
710 .Name( "eeschema.InteractiveDrawing.drawBezier" )
711 .Scope( AS_GLOBAL )
712 .FriendlyName( _( "Draw Bezier Curve" ) )
713 .ToolbarState( TOOLBAR_STATE::TOGGLE )
714 .Icon( BITMAPS::add_bezier )
715 .Flags( AF_ACTIVATE )
716 .Parameter( SHAPE_T::BEZIER ) );
717
719 .Name( "eeschema.InteractiveDrawing.placeImage" )
720 .Scope( AS_GLOBAL )
721 .FriendlyName( _( "Place Images" ) )
722 .ToolbarState( TOOLBAR_STATE::TOGGLE )
723 .Icon( BITMAPS::image )
724 .Flags( AF_ACTIVATE )
725 .Parameter<SCH_BITMAP*>( nullptr ) );
726
728 .Name( "eeschema.InteractiveDrawing.drawRuleArea" )
729 .Scope( AS_GLOBAL )
730 .FriendlyName( _( "Draw Rule Areas" ) )
731 .ToolbarState( TOOLBAR_STATE::TOGGLE )
733 .Flags( AF_ACTIVATE )
734 .Parameter( SHAPE_T::RECTANGLE ) );
735
737 .Name( "eeschema.InteractiveDrawing.deleteLastPoint" )
738 .Scope( AS_CONTEXT )
739 .FriendlyName( _( "Delete Last Point" ) )
740 .Tooltip( _( "Delete the last point added to the current item" ) )
741 .Icon( BITMAPS::undo ) );
742
744 .Name( "eeschema.InteractiveDrawing.closeOutline" )
745 .Scope( AS_CONTEXT )
746 .FriendlyName( _( "Close Outline" ) )
747 .Tooltip( _( "Close the in-progress outline" ) )
748 .Icon( BITMAPS::checked_ok ) );
749
750
751// SCH_EDIT_TOOL
752//
754 .Name( "eeschema.InteractiveEdit.repeatDrawItem" )
755 .Scope( AS_GLOBAL )
756#ifdef __WXMAC__
757 .DefaultHotkey( WXK_F1 )
758#else
759 .DefaultHotkey( WXK_INSERT )
760#endif
761 .LegacyHotkeyName( "Repeat Last Item" )
762 .FriendlyName( _( "Repeat Last Item" ) )
763 .Tooltip( _( "Duplicates the last drawn item" ) ) );
764
766 .Name( "eeschema.InteractiveEdit.rotateCW" )
767 .Scope( AS_GLOBAL )
768 .DefaultHotkey( MD_SHIFT + 'R' )
769 .FriendlyName( _( "Rotate Clockwise" ) )
770 .Icon( BITMAPS::rotate_cw ) );
771
773 .Name( "eeschema.InteractiveEdit.rotateCCW" )
774 .Scope( AS_GLOBAL )
775 .DefaultHotkey( 'R' )
776 .LegacyHotkeyName( "Rotate Item" )
777 .FriendlyName( _( "Rotate Counterclockwise" ) )
778 .Icon( BITMAPS::rotate_ccw ) );
779
781 .Name( "eeschema.InteractiveEdit.mirrorV" )
782 .Scope( AS_GLOBAL )
783 .DefaultHotkey( 'Y' )
784 .LegacyHotkeyName( "Mirror X" ) // Yes, these were backwards prior to 6.0....
785 .FriendlyName( _( "Mirror Vertically" ) )
786 .Tooltip( _( "Flips selected item(s) from top to bottom" ) )
787 .Icon( BITMAPS::mirror_v ) );
788
790 .Name( "eeschema.InteractiveEdit.mirrorH" )
791 .Scope( AS_GLOBAL )
792 .DefaultHotkey( 'X' )
793 .LegacyHotkeyName( "Mirror Y" ) // Yes, these were backwards prior to 6.0....
794 .FriendlyName( _( "Mirror Horizontally" ) )
795 .Tooltip( _( "Flips selected item(s) from left to right" ) )
796 .Icon( BITMAPS::mirror_h ) );
797
799 .Name( "eeschema.InteractiveEdit.swap" )
800 .Scope( AS_GLOBAL )
801 .DefaultHotkey( MD_ALT + 'S' )
802 .FriendlyName( _( "Swap" ) )
803 .Tooltip( _( "Swap positions of selected items" ) )
804 .Icon( BITMAPS::swap ) );
805
806// Separate action so "real" pin swaps are not conflated with the generic position swap.
808 .Name( "eeschema.InteractiveEdit.swapPins" )
809 .Scope( AS_GLOBAL )
810 .FriendlyName( _( "Swap Pins" ) )
811 .Tooltip( _( "Swap the selected symbol pins' positions" ) )
812 .Icon( BITMAPS::swap ) );
813
815 .Name( "eeschema.InteractiveEdit.swapPinLabels" )
816 .Scope( AS_GLOBAL )
817 .FriendlyName( _( "Swap Pin Labels" ) )
818 .Tooltip( _( "Swap the labels attached to selected pins" ) )
819 .Icon( BITMAPS::swap ) );
820
822 .Name( "eeschema.InteractiveEdit.swapUnitLabels" )
823 .Scope( AS_GLOBAL )
824 .FriendlyName( _( "Swap Unit Labels" ) )
825 .Tooltip( _( "Swap labels between selected units" ) )
826 .Icon( BITMAPS::swap ) );
827
829 .Name( "eeschema.InteractiveEdit.toggleLock" )
830 .Scope( AS_GLOBAL )
831 .FriendlyName( _( "Toggle Lock" ) )
832 .Tooltip( _( "Lock or unlock selected items" ) )
833 .Icon( BITMAPS::lock_unlock ) );
834
836 .Name( "eeschema.InteractiveEdit.lock" )
837 .Scope( AS_GLOBAL )
838 .FriendlyName( _( "Lock" ) )
839 .Tooltip( _( "Prevent items from being moved and/or resized on the canvas" ) )
840 .Icon( BITMAPS::locked ) );
841
843 .Name( "eeschema.InteractiveEdit.unlock" )
844 .Scope( AS_GLOBAL )
845 .FriendlyName( _( "Unlock" ) )
846 .Tooltip( _( "Allow items to be moved and/or resized on the canvas" ) )
847 .Icon( BITMAPS::unlocked ) );
848
850 .Name( "eeschema.InteractiveEdit.properties" )
851 .Scope( AS_GLOBAL )
852 .DefaultHotkey( 'E' )
853 .LegacyHotkeyName( "Edit Item" )
854 .FriendlyName( _( "Properties..." ) )
855 .Icon( BITMAPS::edit ) );
856
858 .Name( "eeschema.InteractiveEdit.editReference" )
859 .Scope( AS_GLOBAL )
860 .DefaultHotkey( 'U' )
861 .LegacyHotkeyName( "Edit Symbol Reference" )
862 .FriendlyName( _( "Edit Reference Designator..." ) )
863 .Icon( BITMAPS::edit_comp_ref ) );
864
866 .Name( "eeschema.InteractiveEdit.editValue" )
867 .Scope( AS_GLOBAL )
868 .DefaultHotkey( 'V' )
869 .LegacyHotkeyName( "Edit Symbol Value" )
870 .FriendlyName( _( "Edit Value..." ) )
871 .Icon( BITMAPS::edit_comp_value ) );
872
874 .Name( "eeschema.InteractiveEdit.editFootprint" )
875 .Scope( AS_GLOBAL )
876 .DefaultHotkey( 'F' )
877 .LegacyHotkeyName( "Edit Symbol Footprint" )
878 .FriendlyName( _( "Edit Footprint..." ) )
880
882 .Name( "eeschema.InteractiveEdit.autoplaceFields" )
883 .Scope( AS_GLOBAL )
884 .DefaultHotkey( 'O' )
885 .LegacyHotkeyName( "Autoplace Fields" )
886 .FriendlyName( _( "Autoplace Fields" ) )
887 .Tooltip( _( "Runs the automatic placement algorithm on the symbol's (or sheet's) fields" ) )
888 .Icon( BITMAPS::autoplace_fields ) );
889
891 .Name( "eeschema.InteractiveEdit.changeSymbols" )
892 .Scope( AS_GLOBAL )
893 .FriendlyName( _( "Change Symbols..." ) )
894 .Tooltip( _( "Assign different symbols from the library" ) )
895 .Icon( BITMAPS::exchange ) );
896
898 .Name( "eeschema.InteractiveEdit.updateSymbols" )
899 .Scope( AS_GLOBAL )
900 .FriendlyName( _( "Update Symbols from Library..." ) )
901 .Tooltip( _( "Update symbols to include any changes from the library" ) )
902 .Icon( BITMAPS::refresh ) );
903
905 .Name( "eeschema.InteractiveEdit.changeSymbol" )
906 .Scope( AS_GLOBAL )
907 .FriendlyName( _( "Change Symbol..." ) )
908 .Tooltip( _( "Assign a different symbol from the library" ) )
909 .Icon( BITMAPS::exchange ) );
910
912 .Name( "eeschema.InteractiveEdit.updateSymbol" )
913 .Scope( AS_GLOBAL )
914 .FriendlyName( _( "Update Symbol..." ) )
915 .Tooltip( _( "Update symbol to include any changes from the library" ) )
916 .Icon( BITMAPS::refresh ) );
917
919 .Name( "eeschema.InteractiveEdit.assignNetclass" )
920 .Scope( AS_GLOBAL )
921 .FriendlyName( _( "Assign Netclass..." ) )
922 .Tooltip( _( "Assign a netclass to nets matching a pattern" ) )
923 .Icon( BITMAPS::netlist ) );
924
926 .Name( "eeschema.InteractiveEdit.findNetInInspector" )
927 .Scope( AS_GLOBAL )
928 .FriendlyName( _( "Find in Net Navigator" ) )
929 .Tooltip( _( "Locate the selected net in the net navigator" ) ) );
930
932 .Name( "eeschema.InteractiveEdit.toggleDeMorgan" )
933 .Scope( AS_GLOBAL )
934 .FriendlyName( _( "Cycle Body Style" ) )
935 .Tooltip( _( "Switch between De Morgan (or other) representations" ) )
936 .Icon( BITMAPS::morgan2 ) );
937
939 .Name( "eeschema.InteractiveEdit.toLabel" )
940 .Scope( AS_GLOBAL )
941 .FriendlyName( _( "Change to Label" ) )
942 .Tooltip( _( "Change existing item to a label" ) )
944 .Flags( AF_NONE )
945 .Parameter( SCH_LABEL_T ) );
946
948 .Name( "eeschema.InteractiveEdit.toCLabel" ) // Old name based on netClass label.
949 // There's no sense losing hotkey assignments, so we
950 // leave it as-is)
951 .Scope( AS_GLOBAL )
952 .FriendlyName( _( "Change to Directive Label" ) )
953 .Tooltip( _( "Change existing item to a directive label" ) )
955 .Flags( AF_NONE )
956 .Parameter( SCH_DIRECTIVE_LABEL_T ) );
957
959 .Name( "eeschema.InteractiveEdit.toHLabel" )
960 .Scope( AS_GLOBAL )
961 .FriendlyName( _( "Change to Hierarchical Label" ) )
962 .Tooltip( _( "Change existing item to a hierarchical label" ) )
964 .Flags( AF_NONE )
965 .Parameter( SCH_HIER_LABEL_T ) );
966
968 .Name( "eeschema.InteractiveEdit.toGLabel" )
969 .Scope( AS_GLOBAL )
970 .FriendlyName( _( "Change to Global Label" ) )
971 .Tooltip( _( "Change existing item to a global label" ) )
972 .Icon( BITMAPS::add_glabel )
973 .Flags( AF_NONE )
974 .Parameter( SCH_GLOBAL_LABEL_T ) );
975
977 .Name( "eeschema.InteractiveEdit.toText" )
978 .Scope( AS_GLOBAL )
979 .FriendlyName( _( "Change to Text" ) )
980 .Tooltip( _( "Change existing item to a text comment" ) )
981 .Icon( BITMAPS::text )
982 .Flags( AF_NONE )
983 .Parameter( SCH_TEXT_T ) );
984
986 .Name( "eeschema.InteractiveEdit.toTextBox" )
987 .Scope( AS_GLOBAL )
988 .FriendlyName( _( "Change to Text Box" ) )
989 .Tooltip( _( "Change existing item to a text box" ) )
990 .Icon( BITMAPS::add_textbox )
991 .Flags( AF_NONE )
992 .Parameter( SCH_TEXTBOX_T ) );
993
995 .Name( "eeschema.InteractiveEdit.cleanupSheetPins" )
996 .Scope( AS_GLOBAL )
997 .FriendlyName( _( "Cleanup Sheet Pins" ) )
998 .Tooltip( _( "Delete unreferenced sheet pins" ) ) );
999
1001 .Name( "eeschema.InteractiveEdit.editTextAndGraphics" )
1002 .Scope( AS_GLOBAL )
1003 .FriendlyName( _( "Edit Text & Graphics Properties..." ) )
1004 .Tooltip( _( "Edit text and graphics properties globally across schematic" ) )
1005 .Icon( BITMAPS::text ) );
1006
1008 .Name( "eeschema.InteractiveEdit.symbolProperties" )
1009 .Scope( AS_GLOBAL )
1010 .FriendlyName( _( "Symbol Properties..." ) )
1011 .Icon( BITMAPS::part_properties ) );
1012
1014 .Name( "eeschema.InteractiveEdit.pinTable" )
1015 .Scope( AS_GLOBAL )
1016 .FriendlyName( _( "Pin Table..." ) )
1017 .Tooltip( _( "Displays pin table for bulk editing of pins" ) )
1018 .Icon( BITMAPS::pin_table ) );
1019
1021 .Name( "eeschema.InteractiveEdit.convertStackedPins" )
1022 .Scope( AS_GLOBAL )
1023 .FriendlyName( _( "Convert Stacked Pins" ) )
1024 .Tooltip( _( "Convert multiple pins at the same location to a single pin with stacked notation" ) )
1025 .Icon( BITMAPS::pin ) );
1026
1028 .Name( "eeschema.InteractiveEdit.explodeStackedPin" )
1029 .Scope( AS_GLOBAL )
1030 .FriendlyName( _( "Explode Stacked Pin" ) )
1031 .Tooltip( _( "Convert a pin with stacked notation to multiple individual pins" ) )
1032 .Icon( BITMAPS::pin ) );
1033
1035 .Name( "eeschema.InteractiveEdit.breakWire" )
1036 .Scope( AS_GLOBAL )
1037 .FriendlyName( _( "Break" ) )
1038 .Tooltip( _( "Divide into connected segments" ) )
1039 .Icon( BITMAPS::break_line ) );
1040
1042 .Name( "eeschema.InteractiveEdit.slice" )
1043 .Scope( AS_GLOBAL )
1044 .FriendlyName( _( "Slice" ) )
1045 .Tooltip( _( "Divide into unconnected segments" ) )
1046 .Icon( BITMAPS::slice_line ) );
1047
1048// SCH_EDITOR_CONTROL
1049//
1051 .Name( "eeschema.EditorControl.restartMove" )
1052 .Scope( AS_GLOBAL ) );
1053
1055 .Name( "eeschema.EditorControl.highlightNet" )
1056 .Scope( AS_GLOBAL )
1057 .DefaultHotkey( '`' )
1058 .FriendlyName( _( "Highlight Net" ) )
1059 .Tooltip( _( "Highlight net under cursor" ) )
1061
1063 .Name( "eeschema.EditorControl.clearHighlight" )
1064 .Scope( AS_GLOBAL )
1065 .DefaultHotkey( '~' )
1066 .FriendlyName( _( "Clear Net Highlighting" ) )
1067 .Tooltip( _( "Clear any existing net highlighting" ) ) );
1068
1070 .Name( "eeschema.EditorControl.updateNetHighlighting" )
1071 .Scope( AS_GLOBAL ) );
1072
1074 .Name( "eeschema.EditorControl.highlightNetTool" )
1075 .Scope( AS_GLOBAL )
1076 .FriendlyName( _( "Highlight Nets" ) )
1077 .Tooltip( _( "Highlight wires and pins of a net" ) )
1078 .ToolbarState( TOOLBAR_STATE::TOGGLE )
1080 .Flags( AF_ACTIVATE ) );
1081
1083 .Name( "eeschema.EditorControl.showNetNavigator" )
1084 .Scope( AS_GLOBAL )
1085 .FriendlyName( _( "Net Navigator" ) )
1086 .Tooltip( _( "Show/hide the net navigator" ) ) );
1087
1089 .Name( "eeschema.EditorControl.editWithSymbolEditor" )
1090 .Scope( AS_GLOBAL )
1091 .DefaultHotkey( MD_CTRL + 'E' )
1092 .LegacyHotkeyName( "Edit with Symbol Editor" )
1093 .FriendlyName( _( "Edit with Symbol Editor" ) )
1094 .Tooltip( _( "Open the selected symbol in the Symbol Editor" ) )
1095 .Icon( BITMAPS::libedit ) );
1096
1098 .Name( "eeschema.EditorControl.setExcludeFromBOM" )
1099 .Scope( AS_GLOBAL )
1100 .FriendlyName( _( "Exclude from Bill of Materials" ) )
1101 .Tooltip( _( "Set the exclude from bill of materials attribute" ) ) );
1102
1104 .Name( "eeschema.EditorControl.setExcludeFromSimulation" )
1105 .Scope( AS_GLOBAL )
1106 .FriendlyName( _( "Exclude from Simulation" ) )
1107 .Tooltip( _( "Set the exclude from simulation attribute" ) ) );
1108
1110 .Name( "eeschema.EditorControl.setExcludeFromBoard" )
1111 .Scope( AS_GLOBAL )
1112 .FriendlyName( _( "Exclude from Board" ) )
1113 .Tooltip( _( "Set the exclude from board attribute" ) ) );
1114
1116 .Name( "eeschema.EditorControl.setDNP" )
1117 .Scope( AS_GLOBAL )
1118 .FriendlyName( _( "Do not Populate" ) )
1119 .Tooltip( _( "Set the do not populate attribute" ) ) );
1120
1122 .Name( "eeschema.EditorControl.editLibSymbolWithSymbolEditor" )
1123 .Scope( AS_GLOBAL )
1124 .DefaultHotkey( MD_CTRL + MD_SHIFT + 'E' )
1125 .FriendlyName( _( "Edit Library Symbol..." ) )
1126 .Tooltip( _( "Open the library symbol in the Symbol Editor" ) )
1127 .Icon( BITMAPS::libedit ) );
1128
1130 .Name( "eeschema.EditorControl.editSymbolFields" )
1131 .Scope( AS_GLOBAL )
1132 .FriendlyName( _( "Bulk Edit Symbol Fields..." ) )
1133 .Tooltip( _( "Edit a table of fields from all symbols in the schematic" ) )
1134 .Icon( BITMAPS::spreadsheet ) );
1135
1137 .Name( "eeschema.EditorControl.editSymbolLibraryLinks" )
1138 .Scope( AS_GLOBAL )
1139 .FriendlyName( _( "Bulk Edit Symbol Library Links..." ) )
1140 .Tooltip( _( "Edit a table of links between schematic and library symbols" ) )
1142
1144 .Name( "eeschema.EditorControl.assignFootprints" )
1145 .Scope( AS_GLOBAL )
1146 .FriendlyName( _( "Assign Footprints..." ) )
1147 .Tooltip( _( "Run footprint assignment tool" ) )
1148 .Icon( BITMAPS::icon_cvpcb_24 ) );
1149
1151 .Name( "eeschema.EditorControl.importFPAssignments" )
1152 .Scope( AS_GLOBAL )
1153 .FriendlyName( _( "Import Footprint Assignments..." ) )
1154 .Tooltip( _( "Import symbol footprint assignments from .cmp file created by board editor" ) )
1156
1158 .Name( "eeschema.EditorControl.annotate" )
1159 .Scope( AS_GLOBAL )
1160 .FriendlyName( _( "Annotate Schematic..." ) )
1161 .Tooltip( _( "Fill in schematic symbol reference designators" ) )
1162 .Icon( BITMAPS::annotate ) );
1163
1165 .Name( "eeschema.EditorControl.incrementAnnotations" )
1166 .Scope( AS_GLOBAL )
1167 .FriendlyName( _( "Increment Annotations From..." ) )
1168 .Tooltip( _( "Increment a subset of reference designators starting at a particular symbol" ) )
1170 );
1171
1173 .Name( "eeschema.EditorControl.schematicSetup" )
1174 .Scope( AS_GLOBAL )
1175 .FriendlyName( _( "Schematic Setup..." ) )
1176 .Tooltip( _( "Edit schematic setup including annotation styles and electrical rules" ) )
1177 .Icon( BITMAPS::options_schematic ) );
1178
1180 .Name( "eeschema.EditorControl.editPageNumber" )
1181 .Scope( AS_GLOBAL )
1182 .FriendlyName( _( "Edit Sheet Page Number..." ) )
1183 .Tooltip( _( "Edit the page number of the current or selected sheet" ) ) );
1184
1186 .Name( "eeschema.EditorControl.rescueSymbols" )
1187 .Scope( AS_GLOBAL )
1188 .FriendlyName( _( "Rescue Symbols..." ) )
1189 .Tooltip( _( "Find old symbols in project and rename/rescue them" ) )
1190 .Icon( BITMAPS::rescue ) );
1191
1193 .Name( "eeschema.EditorControl.remapSymbols" )
1194 .Scope( AS_GLOBAL )
1195 .FriendlyName( _( "Remap Legacy Library Symbols..." ) )
1196 .Tooltip( _( "Remap library symbol references in legacy schematics to the symbol library table" ) )
1197 .Icon( BITMAPS::rescue ) );
1198
1200 .Name( "eeschema.EditorControl.nextNetItem" )
1201 .Scope( AS_GLOBAL )
1202 .DefaultHotkey( WXK_TAB )
1203 .FriendlyName( _( "Next Net Item" ) )
1204 .Tooltip( _( "Select next item on the current net" ) ) );
1205
1207 .Name( "eeschema.EditorControl.previousNetItem" )
1208 .Scope( AS_GLOBAL )
1209 .DefaultHotkey( MD_SHIFT + static_cast<int>( WXK_TAB ) )
1210 .FriendlyName( _( "Previous Net Item" ) )
1211 .Tooltip( _( "Select previous item on the current net" ) ) );
1212
1214 .Name( "eeschema.EditorControl.drawSheetOnClipboard" )
1215 .Scope( AS_GLOBAL )
1216 .FriendlyName( _( "Export Drawing to Clipboard" ) )
1217 .Tooltip( _( "Export drawing of current sheet to clipboard" ) )
1218 .Icon( BITMAPS::copy ) );
1219
1221 .Name( "eeschema.EditorControl.importGraphics" )
1222 .Scope( AS_GLOBAL )
1223 .DefaultHotkey( MD_CTRL + MD_SHIFT + 'F' )
1224 .LegacyHotkeyName( "Place DXF" )
1225 .FriendlyName( _( "Import Graphics..." ) )
1226 .Tooltip( _( "Import 2D drawing file" ) )
1227 .Icon( BITMAPS::import_vector )
1228 .Flags( AF_ACTIVATE ) );
1229
1231 .Name( "eeschema.EditorControl.showPcbNew" )
1232 .Scope( AS_GLOBAL )
1233 .FriendlyName( _( "Switch to PCB Editor" ) )
1234 .Tooltip( _( "Open PCB in board editor" ) )
1235 .Icon( BITMAPS::icon_pcbnew_24 ) );
1236
1238 .Name( "eeschema.EditorControl.exportNetlist" )
1239 .Scope( AS_GLOBAL )
1240 .FriendlyName( _( "Export Netlist..." ) )
1241 .Tooltip( _( "Export file containing netlist in one of several formats" ) )
1242 .Icon( BITMAPS::netlist ) );
1243
1245 .Name( "eeschema.EditorControl.generateBOM" )
1246 .Scope( AS_GLOBAL )
1247 .FriendlyName( _( "Generate Bill of Materials..." ) )
1248 .Tooltip( _( "Generate a bill of materials for the current schematic" ) )
1249 .Icon( BITMAPS::post_bom ) );
1250
1252 .Name( "eeschema.EditorControl.generateBOMLegacy" )
1253 .Scope( AS_GLOBAL )
1254 .FriendlyName( _( "Generate Legacy Bill of Materials..." ) )
1255 .Tooltip( _( "Generate a bill of materials for the current schematic (Legacy Generator)" ) )
1256 .Icon( BITMAPS::file_bom )
1257 );
1258
1260 .Name( "eeschema.EditorControl.generateBOMExternal" )
1261 .Scope( AS_GLOBAL )
1262 .FriendlyName( _( "Generate Bill of Materials (External)..." ) )
1263 .Tooltip( _( "Generate a bill of materials for the current schematic using external generator" ) )
1264 );
1265
1267 .Name( "eeschema.EditorControl.exportSymbolsToLibrary" )
1268 .Scope( AS_GLOBAL )
1269 .FriendlyName( _( "Export Symbols..." ) )
1270 .Tooltip( _( "Add symbols from schematic to a new or an existing symbol library\n"
1271 "(does not remove other symbols from this library)" ) )
1272 .Icon( BITMAPS::library_archive ) );
1273
1275 .Name( "eeschema.EditorControl.selectOnPCB" )
1276 .Scope( AS_GLOBAL )
1277 .FriendlyName( _( "Select on PCB" ) )
1278 .Tooltip( _( "Select corresponding items in PCB editor" ) )
1279 .Icon( BITMAPS::select_same_sheet ) );
1280
1282 .Name( "eeschema.EditorControl.showHiddenPins" )
1283 .Scope( AS_GLOBAL )
1284 .FriendlyName( _( "Show Hidden Pins" ) )
1285 .ToolbarState( TOOLBAR_STATE::TOGGLE )
1286 .Icon( BITMAPS::hidden_pin ) );
1287
1289 .Name( "eeschema.EditorControl.showHiddenFields" )
1290 .Scope( AS_GLOBAL )
1291 .FriendlyName( _( "Show Hidden Fields" ) )
1292 .ToolbarState( TOOLBAR_STATE::TOGGLE ) );
1293
1295 .Name( "eeschema.EditorControl.showDirectiveLabels" )
1296 .Scope( AS_GLOBAL )
1297 .FriendlyName( _( "Show Directive Labels" ) )
1298 .ToolbarState( TOOLBAR_STATE::TOGGLE ) );
1299
1301 .Name( "eeschema.EditorControl.showERCWarnings" )
1302 .Scope( AS_GLOBAL )
1303 .FriendlyName( _( "Show ERC Warnings" ) )
1304 .Tooltip( _( "Show markers for electrical rules checker warnings" ) )
1305 .ToolbarState( TOOLBAR_STATE::TOGGLE ) );
1306
1308 .Name( "eeschema.EditorControl.showERCErrors" )
1309 .Scope( AS_GLOBAL )
1310 .FriendlyName( _( "Show ERC Errors" ) )
1311 .Tooltip( _( "Show markers for electrical rules checker errors" ) )
1312 .ToolbarState( TOOLBAR_STATE::TOGGLE ) );
1313
1315 .Name( "eeschema.EditorControl.showERCExclusions" )
1316 .Scope( AS_GLOBAL )
1317 .FriendlyName( _( "Show ERC Exclusions" ) )
1318 .Tooltip( _( "Show markers for excluded electrical rules checker violations" ) )
1319 .ToolbarState( TOOLBAR_STATE::TOGGLE ) );
1320
1322 .Name( "eeschema.EditorControl.markSimExclusions" )
1323 .Scope( AS_GLOBAL )
1324 .FriendlyName( _( "Mark items excluded from simulation" ) )
1325 .Tooltip( _( "Draw 'X's over items which have been excluded from simulation" ) )
1326 .ToolbarState( TOOLBAR_STATE::TOGGLE ) );
1327
1329 .Name( "eeschema.EditorControl.showOperatingPointVoltages" )
1330 .Scope( AS_GLOBAL )
1331 .FriendlyName( _( "Show OP Voltages" ) )
1332 .Tooltip( _( "Show operating point voltage data from simulation" ) )
1333 .ToolbarState( TOOLBAR_STATE::TOGGLE ));
1334
1336 .Name( "eeschema.EditorControl.showOperatingPointCurrents" )
1337 .Scope( AS_GLOBAL )
1338 .FriendlyName( _( "Show OP Currents" ) )
1339 .Tooltip( _( "Show operating point current data from simulation" ) )
1340 .ToolbarState( TOOLBAR_STATE::TOGGLE ) );
1341
1343 .Name( "eeschema.EditorControl.togglePinAltIcons" )
1344 .Scope( AS_GLOBAL )
1345 .FriendlyName( _( "Show Pin Alternate Icons" ) )
1346 .Tooltip( _( "Show indicator icons for pins with alternate modes" ) )
1347 .ToolbarState( TOOLBAR_STATE::TOGGLE ) );
1348
1350 .Name( "eeschema.EditorControl.lineModeFree" )
1351 .Scope( AS_GLOBAL )
1352 .FriendlyName( _( "Line Mode for Wires and Buses" ) )
1353 .Tooltip( _( "Draw and drag at any angle" ) )
1354 .Icon( BITMAPS::lines_any )
1355 .Flags( AF_NONE )
1356 .Parameter( LINE_MODE::LINE_MODE_FREE ) );
1357
1359 .Name( "eeschema.EditorControl.lineModeOrthonal" )
1360 .Scope( AS_GLOBAL )
1361 .FriendlyName( _( "Line Mode for Wires and Buses" ) )
1362 .Tooltip( _( "Constrain drawing and dragging to horizontal or vertical motions" ) )
1363 .Icon( BITMAPS::lines90 )
1364 .Flags( AF_NONE )
1365 .Parameter( LINE_MODE::LINE_MODE_90) );
1366
1368 .Name( "eeschema.EditorControl.lineMode45" )
1369 .Scope( AS_GLOBAL )
1370 .FriendlyName( _( "Line Mode for Wires and Buses" ) )
1371 .Tooltip( _( "Constrain drawing and dragging to horizontal, vertical, or 45-degree angle motions" ) )
1372 .Icon( BITMAPS::hv45mode )
1373 .Flags( AF_NONE )
1374 .Parameter( LINE_MODE::LINE_MODE_45 ) );
1375
1377 .Name( "eeschema.EditorControl.lineModeNext" )
1378 .Scope( AS_GLOBAL )
1379 .DefaultHotkey( MD_SHIFT + static_cast<int>( WXK_SPACE ) )
1380 .FriendlyName( _( "Line Mode for Wires and Buses" ) )
1381 .Tooltip( _( "Switch to next angle snapping mode" ) ) );
1382
1384 .Name( "eeschema.EditorControl.angleSnapModeChanged" )
1385 .Scope( AS_GLOBAL )
1386 .Flags( AF_NOTIFY ) );
1387
1389 .Name( "eeschema.EditorControl.annotateAutomatically" )
1390 .Scope( AS_GLOBAL )
1391 .FriendlyName( _( "Annotate Automatically" ) )
1392 .Tooltip( _( "Toggle automatic annotation of new symbols" ) )
1393 .ToolbarState( TOOLBAR_STATE::TOGGLE )
1394 .Icon( BITMAPS::annotate ) );
1395
1397 .Name( "eeschema.EditorControl.previousUnit" )
1398 .Scope( AS_GLOBAL )
1399 .FriendlyName( _( "Previous Symbol Unit" ) )
1400 .Tooltip( _( "Open the previous unit of the symbol" ) )
1401 .Parameter<int>( -1 ) );
1402
1404 .Name( "eeschema.EditorControl.nextUnit" )
1405 .Scope( AS_GLOBAL )
1406 .FriendlyName( _( "Next Symbol Unit" ) )
1407 .Tooltip( _( "Open the next unit of the symbol" ) )
1408 .Parameter<int>( 1 ) );
1409
1410// SCH_NAVIGATE_TOOL
1411//
1413 .Name( "eeschema.NavigateTool.changeSheet" )
1414 .Scope( AS_CONTEXT )
1415 .FriendlyName( _( "Change Sheet" ) )
1416 .Tooltip( _( "Change to provided sheet's contents in the schematic editor" ) )
1417 .Icon( BITMAPS::enter_sheet ) );
1418
1420 .Name( "eeschema.NavigateTool.enterSheet" )
1421 .Scope( AS_GLOBAL )
1422 .FriendlyName( _( "Enter Sheet" ) )
1423 .Tooltip( _( "Display the selected sheet's contents in the schematic editor" ) )
1424 .Icon( BITMAPS::enter_sheet ) );
1425
1427 .Name( "eeschema.NavigateTool.leaveSheet" )
1428 .Scope( AS_GLOBAL )
1429 .DefaultHotkey( MD_ALT + static_cast<int>( WXK_BACK ) )
1430 .LegacyHotkeyName( "Leave Sheet" )
1431 .FriendlyName( _( "Leave Sheet" ) )
1432 .Tooltip( _( "Display the parent sheet in the schematic editor" ) )
1433 .Icon( BITMAPS::leave_sheet ) );
1434
1436 .Name( "eeschema.NavigateTool.up" )
1437 .Scope( AS_GLOBAL )
1438 .DefaultHotkey( MD_ALT + static_cast<int>( WXK_UP ) )
1439 .FriendlyName( _( "Navigate Up" ) )
1440 .Tooltip( _( "Navigate up one sheet in the hierarchy" ) )
1441 .Icon( BITMAPS::up ) );
1442
1444 .Name( "eeschema.NavigateTool.back" )
1445 .Scope( AS_GLOBAL )
1446 .DefaultHotkey( MD_ALT + static_cast<int>( WXK_LEFT ) )
1447 .FriendlyName( _( "Navigate Back" ) )
1448 .Tooltip( _( "Move backward in sheet navigation history" ) )
1449 .Icon( BITMAPS::left ) );
1450
1452 .Name( "eeschema.NavigateTool.forward" )
1453 .Scope( AS_GLOBAL )
1454 .DefaultHotkey( MD_ALT + static_cast<int>( WXK_RIGHT ) )
1455 .FriendlyName( _( "Navigate Forward" ) )
1456 .Tooltip( _( "Move forward in sheet navigation history" ) )
1457 .Icon( BITMAPS::right ) );
1458
1460 .Name( "eeschema.NavigateTool.previous" )
1461 .Scope( AS_GLOBAL )
1462 .DefaultHotkey( WXK_PAGEUP )
1463 .FriendlyName( _( "Previous Sheet" ) )
1464 .Tooltip( _( "Move to previous sheet by number" ) )
1465 .Icon( BITMAPS::left ) );
1466
1468 .Name( "eeschema.NavigateTool.next" )
1469 .Scope( AS_GLOBAL )
1470 .DefaultHotkey( WXK_PAGEDOWN )
1471 .FriendlyName( _( "Next Sheet" ) )
1472 .Tooltip( _( "Move to next sheet by number" ) )
1473 .Icon( BITMAPS::right ) );
1474
1476 .Name( "eeschema.EditorTool.showHierarchy" )
1477 .Scope( AS_GLOBAL )
1478 .DefaultHotkey( MD_CTRL + 'H' )
1479 .FriendlyName( _( "Hierarchy Navigator" ) )
1480 .Tooltip( _( "Show/hide the schematic sheet hierarchy navigator" ) )
1481 .ToolbarState( TOOLBAR_STATE::TOGGLE )
1482 .Icon( BITMAPS::hierarchy_nav ) );
1483
1484
1485// SCH_LINE_WIRE_BUS_TOOL
1486//
1489 .Name( "eeschema.InteractiveDrawingLineWireBus.drawWires" )
1490 .Scope( AS_GLOBAL )
1491 .DefaultHotkey( 'W' )
1492 .LegacyHotkeyName( "Begin Wire" )
1493 .FriendlyName( _( "Draw Wires" ) )
1494 .ToolbarState( TOOLBAR_STATE::TOGGLE )
1495 .Icon( BITMAPS::add_line )
1496 .Flags( AF_ACTIVATE )
1497 .Parameter( &drawWireActionParam ) );
1498
1501 .Name( "eeschema.InteractiveDrawingLineWireBus.drawBuses" )
1502 .Scope( AS_GLOBAL )
1503 .DefaultHotkey( 'B' )
1504 .LegacyHotkeyName( "Begin Bus" )
1505 .FriendlyName( _( "Draw Buses" ) )
1506 .ToolbarState( TOOLBAR_STATE::TOGGLE )
1507 .Icon( BITMAPS::add_bus )
1508 .Flags( AF_ACTIVATE )
1509 .Parameter( &drawBusActionParam ) );
1510
1512 .Name( "eeschema.InteractiveDrawingLineWireBus.unfoldBus" )
1513 .Scope( AS_GLOBAL )
1514 .DefaultHotkey( 'C' )
1515 .LegacyHotkeyName( "Unfold from Bus" )
1516 .FriendlyName( _( "Unfold from Bus" ) )
1517 .Tooltip( _( "Break a wire out of a bus" ) )
1519 .Flags( AF_ACTIVATE )
1520 .Parameter<wxString*>( nullptr ) );
1521
1524 .Name( "eeschema.InteractiveDrawingLineWireBus.drawLines" )
1525 .Scope( AS_GLOBAL )
1526 .DefaultHotkey( 'I' )
1527 .LegacyHotkeyName( "Add Graphic PolyLine" )
1528 .FriendlyName( _( "Draw Lines" ) )
1529 .ToolbarState( TOOLBAR_STATE::TOGGLE )
1531 .Flags( AF_ACTIVATE )
1532 .Parameter( &drawLinesActionParam ) );
1533
1535 .Name( "eeschema.InteractiveDrawingLineWireBus.undoLastSegment")
1536 .Scope( AS_GLOBAL )
1537 .DefaultHotkey( WXK_BACK )
1538 .FriendlyName( _( "Undo Last Segment" ) )
1539 .Tooltip( _( "Walks the current line back one segment." ) )
1540 .Icon( BITMAPS::undo ) );
1541
1543 .Name( "eeschema.InteractiveDrawingLineWireBus.switchPosture" )
1544 .Scope( AS_GLOBAL )
1545 .DefaultHotkey( '/' )
1546 .FriendlyName( _( "Switch Segment Posture" ) )
1547 .Tooltip( _( "Switches posture of the current segment." ) )
1549 .Flags( AF_NONE ) );
1550
1551// SCH_MOVE_TOOL
1552//
1554 .Name( "eeschema.InteractiveMove.move" )
1555 .Scope( AS_GLOBAL )
1556 .DefaultHotkey( 'M' )
1557 .LegacyHotkeyName( "Move Item" )
1558 .FriendlyName( _( "Move" ) )
1559 .Icon( BITMAPS::move )
1560 .Flags( AF_ACTIVATE ) );
1561
1563 .Name( "eeschema.InteractiveMove.drag" )
1564 .Scope( AS_GLOBAL )
1565 .DefaultHotkey( 'G' )
1566 .LegacyHotkeyName( "Drag Item" )
1567 .FriendlyName( _( "Drag" ) )
1568 .Tooltip( _( "Move items while keeping their connections" ) )
1569 .Icon( BITMAPS::drag )
1570 .Flags( AF_ACTIVATE ) );
1571
1573 .Name( "eeschema.AlignToGrid" )
1574 .Scope( AS_GLOBAL )
1575 .FriendlyName( _( "Align Items to Grid" ) )
1577 .Flags( AF_ACTIVATE ) );
1578
1580 .Name( "eeschema.Align.alignTop" )
1581 .Scope( AS_GLOBAL )
1582 .FriendlyName( _( "Align to Top" ) )
1583 .Tooltip( _( "Aligns selected items to the top edge of the item under the cursor" ) )
1585 .Flags( AF_ACTIVATE ) );
1586
1588 .Name( "eeschema.Align.alignBottom" )
1589 .Scope( AS_GLOBAL )
1590 .FriendlyName( _( "Align to Bottom" ) )
1591 .Tooltip( _( "Aligns selected items to the bottom edge of the item under the cursor" ) )
1593 .Flags( AF_ACTIVATE ) );
1594
1596 .Name( "eeschema.Align.alignLeft" )
1597 .Scope( AS_GLOBAL )
1598 .FriendlyName( _( "Align to Left" ) )
1599 .Tooltip( _( "Aligns selected items to the left edge of the item under the cursor" ) )
1601 .Flags( AF_ACTIVATE ) );
1602
1604 .Name( "eeschema.Align.alignRight" )
1605 .Scope( AS_GLOBAL )
1606 .FriendlyName( _( "Align to Right" ) )
1607 .Tooltip( _( "Aligns selected items to the right edge of the item under the cursor" ) )
1609 .Flags( AF_ACTIVATE ) );
1610
1612 .Name( "eeschema.Align.alignCenterX" )
1613 .Scope( AS_GLOBAL )
1614 .FriendlyName( _( "Align to Horizontal Center" ) )
1615 .Tooltip( _( "Aligns selected items to the horizontal center of the item under the cursor" ) )
1617 .Flags( AF_ACTIVATE ) );
1618
1620 .Name( "eeschema.Align.alignCenterY" )
1621 .Scope( AS_GLOBAL )
1622 .FriendlyName( _( "Align to Vertical Center" ) )
1623 .Tooltip( _( "Aligns selected items to the vertical center of the item under the cursor" ) )
1625 .Flags( AF_ACTIVATE ) );
1626
1627// Schematic editor save copy curr sheet command
1629 .Name( "eeschema.EditorControl.saveCurrSheetCopyAs" )
1630 .Scope( AS_GLOBAL )
1631 .FriendlyName( _( "Save Current Sheet Copy As..." ) )
1632 .Tooltip( _( "Save a copy of the current sheet to another location or name" ) )
1633 .Icon( BITMAPS::save_as ) );
1634
1635// Drag and drop
1637 .Name( "eeschema.EditorControl.ddAppendFile" )
1638 .Scope( AS_GLOBAL ) );
1639
1641 .Name( "eeschema.EditorControl.ddAddImage" )
1642 .Scope( AS_GLOBAL ) );
1643
1645 .Name( "eeschema.EditorControl.ddImportGraphics" )
1646 .Scope( AS_GLOBAL ) );
1647
1648// SIMULATOR
1650 .Name( "eeschema.Simulation.newAnalysisTab" )
1651 .Scope( AS_GLOBAL )
1652 .DefaultHotkey( MD_CTRL + 'N' )
1653 .LegacyHotkeyName( "New" )
1654 .FriendlyName( _( "New Analysis Tab..." ) )
1655 .Tooltip( _( "Create a new tab containing a simulation analysis" ) )
1656 .Icon( BITMAPS::sim_add_plot ) );
1657
1659 .Name( "eeschema.Simulation.openWorkbook" )
1660 .Scope( AS_GLOBAL )
1661 .DefaultHotkey( MD_CTRL + 'O' )
1662 .LegacyHotkeyName( "Open" )
1663 .FriendlyName( _( "Open Workbook..." ) )
1664 .Tooltip( _( "Open a saved set of analysis tabs and settings" ) )
1665 .Icon( BITMAPS::directory_open ) );
1666
1668 .Name( "eeschema.Simulation.saveWorkbook" )
1669 .Scope( AS_GLOBAL )
1670 .DefaultHotkey( MD_CTRL + 'S' )
1671 .LegacyHotkeyName( "Save" )
1672 .FriendlyName( _( "Save Workbook" ) )
1673 .Tooltip( _( "Save the current set of analysis tabs and settings" ) )
1674 .Icon( BITMAPS::save ) );
1675
1677 .Name( "eeschema.Simulation.saveWorkbookAs" )
1678 .Scope( AS_GLOBAL )
1679 .DefaultHotkey( MD_CTRL + MD_SHIFT + 'S' )
1680 .LegacyHotkeyName( "Save As" )
1681 .FriendlyName( _( "Save Workbook As..." ) )
1682 .Tooltip( _( "Save the current set of analysis tabs and settings to another location" ) )
1683 .Icon( BITMAPS::sim_add_signal ) );
1684
1686 .Name( "eeschema.Simulator.exportPNG" )
1687 .Scope( AS_GLOBAL )
1688 .FriendlyName( _( "Export Current Plot as PNG..." ) )
1689 .Icon( BITMAPS::export_png ) );
1690
1692 .Name( "eeschema.Simulator.exportCSV" )
1693 .Scope( AS_GLOBAL )
1694 .FriendlyName( _( "Export Current Plot as CSV..." ) )
1695 .Icon( BITMAPS::export_file ) );
1696
1698 .Name( "eeschema.Simulator.exportToClipboard" )
1699 .Scope( AS_GLOBAL )
1700 .FriendlyName( _( "Export Current Plot to Clipboard" ) )
1701 .Icon( BITMAPS::export_png ) );
1702
1704 .Name( "eeschema.Simulator.exportPlotToSchematic" )
1705 .Scope( AS_GLOBAL )
1706 .FriendlyName( _( "Export Current Plot to Schematic" ) )
1707 .Icon( BITMAPS::export_png ) );
1708
1710 .Name( "eeschema.Simulator.toggleSimSidePanel" )
1711 .Scope( AS_GLOBAL )
1712 .FriendlyName( _( "Show Simulation Side Panel" ) ) );
1713
1715 .Name( "eeschema.Simulator.toggleSimConsole" )
1716 .Scope( AS_GLOBAL )
1717 .FriendlyName( _( "Show Simulation Console Panel" ) ) );
1718
1720 .Name( "eeschema.Simulator.toggleLegend" )
1721 .Scope( AS_GLOBAL )
1722 .FriendlyName( _( "Show Legend" ) )
1723 .Icon( BITMAPS::text ) );
1724
1726 .Name( "eeschema.Simulator.toggleDottedSecondary" )
1727 .Scope( AS_GLOBAL )
1728 .FriendlyName( _( "Dotted Current/Phase" ) )
1729 .Tooltip( _( "Draw secondary signal trace (current or phase) with a dotted line" ) ) );
1730
1732 .Name( "eeschema.Simulator.toggleDarkModePlots" )
1733 .Scope( AS_GLOBAL )
1734 .FriendlyName( _( "Dark Mode Plots" ) )
1735 .Tooltip( _( "Draw plots with a black background" ) ) );
1736
1738 .Name( "eeschema.Simulation.simAnalysisProperties" )
1739 .Scope( AS_GLOBAL )
1740 .FriendlyName( _( "Edit Analysis Tab..." ) )
1741 .Tooltip( _( "Edit the current analysis tab's SPICE command and plot setup" ) )
1742 .Icon( BITMAPS::sim_command ) );
1743
1745 .Name( "eeschema.Simulation.runSimulation" )
1746 .Scope( AS_GLOBAL )
1747 .DefaultHotkey( 'R' )
1748 .FriendlyName( _( "Run Simulation" ) )
1749 .Icon( BITMAPS::sim_run ) );
1750
1752 .Name( "eeschema.Simulation.stopSimulation" )
1753 .Scope( AS_GLOBAL )
1754 .FriendlyName( _( "Stop Simulation" ) )
1755 .Icon( BITMAPS::sim_stop ) );
1756
1758 .Name( "eeschema.Simulation.probe" )
1759 .Scope( AS_GLOBAL )
1760 .DefaultHotkey( MD_SHIFT + 'P' )
1761 .FriendlyName( _( "Probe Schematic..." ) )
1762 .Tooltip( _( "Add a simulator probe" ) )
1763 .Icon( BITMAPS::sim_probe ) );
1764
1766 .Name( "eeschema.Simulation.tune" )
1767 .Scope( AS_GLOBAL )
1768 .DefaultHotkey( MD_SHIFT + 'T' )
1769 .FriendlyName( _( "Add Tuned Value..." ) )
1770 .Tooltip( _( "Select a value to be tuned" ) )
1771 .Icon( BITMAPS::sim_tune ) );
1772
1774 .Name( "eeschema.Simulation.editUserDefinedSignals" )
1775 .Scope( AS_GLOBAL )
1776 .FriendlyName( _( "User-defined Signals..." ) )
1777 .Tooltip( _( "Add, edit or delete user-defined simulation signals" ) )
1778 .Icon( BITMAPS::sim_add_signal ) );
1779
1781 .Name( "eeschema.Simulation.showNetlist" )
1782 .Scope( AS_GLOBAL )
1783 .FriendlyName( _( "Show SPICE Netlist" ) )
1784 .Icon( BITMAPS::netlist ) );
1785
1787 .Name( "eeschema.EditorControl.addVariant" )
1788 .Scope( AS_GLOBAL )
1789 .FriendlyName( _( "Add Design Variant..." ) )
1790 .Tooltip( _( "Add new design variant to the schematic." ) ) );
1791
1793 .Name( "eeschema.EditorControl.removeVariant" )
1794 .Scope( AS_GLOBAL )
1795 .FriendlyName( _( "Remove Design Variant..." ) )
1796 .Tooltip( _( "Remove an existing design variant from the schematic." ) ) );
1797
1798// clang-format on
@ align_items_bottom
@ add_symbol_to_schematic
@ align_items_left
@ add_hierarchical_subsheet
@ net_highlight_schematic
@ add_graphical_polygon
@ align_items_middle
@ add_line_label
@ edit_comp_value
@ align_items_top
@ edit_comp_footprint
@ add_rectangle
@ align_items_right
@ add_class_flag
@ add_hierarchical_label
@ autoplace_fields
@ change_entry_orient
@ add_graphical_segments
@ library_browser
@ INVALID_BITMAP
@ part_properties
@ add_component
@ add_keepout_area
@ import_hierarchical_label
@ align_elements_to_grid
@ align_items_center
@ annotate_increment
@ options_schematic
@ bus_definition_tool
@ add_hierar_pin
@ select_same_sheet
@ library_archive
@ import_footprint_names
@ edit_cmp_symb_links
static TOOL_ACTION showPcbNew
static TOOL_ACTION editSymbol
static TOOL_ACTION rotateCCW
static TOOL_ACTION placeClassLabel
Definition sch_actions.h:79
static TOOL_ACTION placeSheetPin
Definition sch_actions.h:85
static TOOL_ACTION updateDesignBlockFromSheet
static TOOL_ACTION importSymbol
static TOOL_ACTION syncSelection
Selection synchronization (PCB -> SCH)
Definition sch_actions.h:57
static TOOL_ACTION newSymbol
static TOOL_ACTION placeNextSymbolUnit
Definition sch_actions.h:67
static TOOL_ACTION swapPins
static TOOL_ACTION editValue
static TOOL_ACTION saveLibraryAs
static TOOL_ACTION setExcludeFromBOM
static TOOL_ACTION assignFootprints
static TOOL_ACTION saveSheetAsDesignBlock
static TOOL_ACTION mirrorV
static TOOL_ACTION lineModeNext
static TOOL_ACTION toggleSimConsole
static TOOL_ACTION drawSheetFromFile
Definition sch_actions.h:83
static TOOL_ACTION exportPlotToClipboard
static TOOL_ACTION toggleOPCurrents
static TOOL_ACTION saveToLinkedDesignBlock
Definition sch_actions.h:71
static TOOL_ACTION clearHighlight
static TOOL_ACTION swap
static TOOL_ACTION saveSelectionAsDesignBlock
static TOOL_ACTION showBusSyntaxHelp
static TOOL_ACTION placeGlobalLabel
Definition sch_actions.h:80
static TOOL_ACTION saveWorkbookAs
static TOOL_ACTION removeVariant
static TOOL_ACTION previousSymbol
static TOOL_ACTION deleteDesignBlock
static TOOL_ACTION editSymbolFields
static TOOL_ACTION toggleSimSidePanel
static TOOL_ACTION pushPinLength
static TOOL_ACTION checkSymbol
static TOOL_ACTION importFPAssignments
static TOOL_ACTION changeSymbols
static TOOL_ACTION convertStackedPins
static TOOL_ACTION drawTextBox
Definition sch_actions.h:93
static TOOL_ACTION toggleAnnotateAuto
static TOOL_ACTION updateSymbol
static TOOL_ACTION autoplaceFields
static TOOL_ACTION changeSymbol
static TOOL_ACTION syncAllSheetsPins
Definition sch_actions.h:91
static TOOL_ACTION showRelatedLibFieldsTable
static TOOL_ACTION ddAddImage
static TOOL_ACTION editLibSymbolWithLibEdit
static TOOL_ACTION closeOutline
static TOOL_ACTION exportPlotAsCSV
static TOOL_ACTION drawArc
Definition sch_actions.h:97
static TOOL_ACTION drawSheet
Definition sch_actions.h:82
static TOOL_ACTION toggleERCWarnings
static TOOL_ACTION pinTable
static TOOL_ACTION drawSymbolLines
static TOOL_ACTION placeSymbolPin
static TOOL_ACTION navigateBack
static TOOL_ACTION schematicSetup
static TOOL_ACTION toggleDirectiveLabels
static TOOL_ACTION pasteSymbol
static TOOL_ACTION drawSymbolTextBox
static TOOL_ACTION pushPinNameSize
static TOOL_ACTION highlightNetTool
static TOOL_ACTION properties
static TOOL_ACTION editReference
static TOOL_ACTION leaveSheet
static TOOL_ACTION exportSymbolAsSVG
static TOOL_ACTION breakWire
static TOOL_ACTION ddImportGraphics
static TOOL_ACTION renameSymbol
static TOOL_ACTION findNetInInspector
static TOOL_ACTION toggleHiddenFields
static TOOL_ACTION autoplaceAllSheetPins
Definition sch_actions.h:86
static TOOL_ACTION drawRectangle
Definition sch_actions.h:95
static TOOL_ACTION drawLines
Definition sch_actions.h:99
static TOOL_ACTION saveCurrSheetCopyAs
Definition sch_actions.h:43
static TOOL_ACTION placeHierLabel
Definition sch_actions.h:81
static TOOL_ACTION alignTop
static TOOL_ACTION alignRight
static TOOL_ACTION simAnalysisProperties
static TOOL_ACTION selectConnection
If current selection is a wire or bus, expand to entire connection.
Definition sch_actions.h:51
static TOOL_ACTION toggleDottedSecondary
static TOOL_ACTION placeLabel
Definition sch_actions.h:78
static TOOL_ACTION drawCircle
Definition sch_actions.h:96
static TOOL_ACTION navigateNext
static TOOL_ACTION duplicateSymbol
static TOOL_ACTION importGraphics
static TOOL_ACTION toText
static TOOL_ACTION restartMove
static TOOL_ACTION placeBusWireEntry
Definition sch_actions.h:77
static TOOL_ACTION toHLabel
static TOOL_ACTION showRemoteSymbolPanel
static TOOL_ACTION cutSymbol
static TOOL_ACTION nextNetItem
static TOOL_ACTION drawBezier
Definition sch_actions.h:98
static TOOL_ACTION drawWire
Definition sch_actions.h:72
static TOOL_ACTION remapSymbols
static TOOL_ACTION lineMode45
static TOOL_ACTION saveSymbolCopyAs
static TOOL_ACTION nextUnit
static TOOL_ACTION editSymbolLibraryLinks
static TOOL_ACTION simTune
static TOOL_ACTION rotateCW
static TOOL_ACTION importSheet
Definition sch_actions.h:87
static TOOL_ACTION showElectricalTypes
static TOOL_ACTION alignBottom
static TOOL_ACTION toggleDarkModePlots
static TOOL_ACTION flattenSymbol
static TOOL_ACTION drag
static TOOL_ACTION exportPlotAsPNG
static TOOL_ACTION pointEditorAddCorner
static TOOL_ACTION generateBOM
static TOOL_ACTION showHierarchy
static TOOL_ACTION exportPlotToSchematic
static TOOL_ACTION setExcludeFromSim
static TOOL_ACTION toLabel
static TOOL_ACTION showNetNavigator
static TOOL_ACTION placeJunction
Definition sch_actions.h:76
static TOOL_ACTION setDNP
static TOOL_ACTION markSimExclusions
static TOOL_ACTION previousNetItem
static TOOL_ACTION drawSymbolPolygon
static TOOL_ACTION drawRuleArea
static TOOL_ACTION swapUnitLabels
static TOOL_ACTION placeSymbol
Definition sch_actions.h:66
static TOOL_ACTION placeImage
static TOOL_ACTION alignToGrid
static TOOL_ACTION deleteLastPoint
static TOOL_ACTION showHiddenFields
static TOOL_ACTION editDesignBlockProperties
static TOOL_ACTION editWithLibEdit
static TOOL_ACTION cleanupSheetPins
static TOOL_ACTION runSimulation
static TOOL_ACTION toDLabel
static TOOL_ACTION navigateForward
static TOOL_ACTION alignLeft
static TOOL_ACTION generateBOMExternal
static TOOL_ACTION nextSymbol
static TOOL_ACTION toggleERCErrors
static TOOL_ACTION incrementAnnotations
static TOOL_ACTION placeSymbolAnchor
static TOOL_ACTION navigatePrevious
static TOOL_ACTION alignCenterX
static TOOL_ACTION rescueSymbols
static TOOL_ACTION showHiddenPins
static TOOL_ACTION cycleBodyStyle
static TOOL_ACTION editUserDefinedSignals
static TOOL_ACTION showPinNumbers
static TOOL_ACTION angleSnapModeChanged
static TOOL_ACTION placeLinkedDesignBlock
Definition sch_actions.h:70
static TOOL_ACTION exportSymbolView
static TOOL_ACTION selectNode
Select the junction, wire or bus segment under the cursor.
Definition sch_actions.h:47
static TOOL_ACTION drawSheetFromDesignBlock
Definition sch_actions.h:84
static TOOL_ACTION newAnalysisTab
static TOOL_ACTION generateBOMLegacy
static TOOL_ACTION mirrorH
static TOOL_ACTION showLibFieldsTable
static TOOL_ACTION showSimulator
static TOOL_ACTION copySymbol
static TOOL_ACTION unfoldBus
Definition sch_actions.h:74
static TOOL_ACTION pointEditorRemoveCorner
static TOOL_ACTION placeDesignBlock
Definition sch_actions.h:69
static TOOL_ACTION toggleOPVoltages
static TOOL_ACTION drawBus
Definition sch_actions.h:73
static TOOL_ACTION simProbe
static TOOL_ACTION runERC
Inspection and Editing.
static TOOL_ACTION symbolProperties
static TOOL_ACTION placeSymbolText
static TOOL_ACTION drawTable
Definition sch_actions.h:94
static TOOL_ACTION lineMode90
static TOOL_ACTION ddAppendFile
static TOOL_ACTION slice
static TOOL_ACTION placeSchematicText
Definition sch_actions.h:92
static TOOL_ACTION toggleSyncedPinsMode
static TOOL_ACTION toTextBox
static TOOL_ACTION lineModeFree
static TOOL_ACTION unlock
Definition sch_actions.h:62
static TOOL_ACTION changeSheet
static TOOL_ACTION highlightNet
static TOOL_ACTION deleteSymbol
static TOOL_ACTION lock
Definition sch_actions.h:61
static TOOL_ACTION assignNetclass
static TOOL_ACTION annotate
static TOOL_ACTION showDesignBlockPanel
static TOOL_ACTION updateDesignBlockFromSelection
static TOOL_ACTION updateSymbols
static TOOL_ACTION swapPinLabels
static TOOL_ACTION enterSheet
static TOOL_ACTION pushPinNumSize
static TOOL_ACTION undoLastSegment
static TOOL_ACTION showNetlist
static TOOL_ACTION editFootprint
static TOOL_ACTION explodeStackedPin
static TOOL_ACTION togglePinAltIcons
static TOOL_ACTION openWorkbook
static TOOL_ACTION toggleERCExclusions
static TOOL_ACTION updateNetHighlighting
static TOOL_ACTION repeatDrawItem
static TOOL_ACTION editTextAndGraphics
static TOOL_ACTION exportNetlist
static TOOL_ACTION alignCenterY
static TOOL_ACTION saveWorkbook
static TOOL_ACTION placeNoConnect
Definition sch_actions.h:75
static TOOL_ACTION editPageNumber
static TOOL_ACTION drawSheetOnClipboard
static TOOL_ACTION exportSymbolsToLibrary
static TOOL_ACTION switchSegmentPosture
static TOOL_ACTION updateSymbolFields
static TOOL_ACTION toGLabel
static TOOL_ACTION toggleHiddenPins
static TOOL_ACTION setExcludeFromBoard
static TOOL_ACTION exportSymbol
static TOOL_ACTION selectOnPCB
static TOOL_ACTION addVariant
static TOOL_ACTION move
static TOOL_ACTION syncSheetPins
Definition sch_actions.h:89
static TOOL_ACTION toggleLegend
static TOOL_ACTION diffSymbol
static TOOL_ACTION placePower
Definition sch_actions.h:68
static TOOL_ACTION navigateUp
static TOOL_ACTION previousUnit
static TOOL_ACTION toggleLock
Definition sch_actions.h:60
static TOOL_ACTION deriveFromExistingSymbol
static TOOL_ACTION stopSimulation
static TOOL_ACTION addSymbolToSchematic
static TOOL_ACTION saveSymbolAs
Build up the properties of a TOOL_ACTION in an incremental manner that is static-construction safe.
Represent a single user action.
@ RECTANGLE
Use RECTANGLE instead of RECT to avoid collision in a Windows header.
Definition eda_shape.h:48
@ LINE_MODE_90
@ LINE_MODE_45
@ LINE_MODE_FREE
@ LAYER_WIRE
Definition layer_ids.h:454
@ LAYER_NOTES
Definition layer_ids.h:469
@ LAYER_BUS
Definition layer_ids.h:455
const DRAW_SEGMENT_EVENT_PARAMS drawLinesActionParam
const DRAW_SEGMENT_EVENT_PARAMS drawWireActionParam
const DRAW_SEGMENT_EVENT_PARAMS drawBusActionParam
#define _(s)
@ TOGGLE
Action is a toggle button on the toolbar.
Definition tool_action.h:64
@ AS_GLOBAL
Global action (toolbar/main menu event, global shortcut)
Definition tool_action.h:49
@ AS_CONTEXT
Action belongs to a particular tool (i.e. a part of a pop-up menu)
Definition tool_action.h:47
@ AF_ACTIVATE
Action activates a tool.
Definition tool_action.h:56
@ AF_NOTIFY
Action is a notification (it is by default passed to all tools)
Definition tool_action.h:57
@ AF_NONE
Definition tool_action.h:55
@ MD_ALT
Definition tool_event.h:145
@ MD_CTRL
Definition tool_event.h:144
@ MD_SHIFT
Definition tool_event.h:143
@ SCH_NO_CONNECT_T
Definition typeinfo.h:161
@ SCH_DIRECTIVE_LABEL_T
Definition typeinfo.h:172
@ SCH_LABEL_T
Definition typeinfo.h:168
@ SCH_SHEET_T
Definition typeinfo.h:176
@ SCH_HIER_LABEL_T
Definition typeinfo.h:170
@ SCH_TEXT_T
Definition typeinfo.h:152
@ SCH_BUS_WIRE_ENTRY_T
Definition typeinfo.h:162
@ SCH_TEXTBOX_T
Definition typeinfo.h:153
@ SCH_GLOBAL_LABEL_T
Definition typeinfo.h:169
@ SCH_JUNCTION_T
Definition typeinfo.h:160
@ SCH_PIN_T
Definition typeinfo.h:154