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 Connection" ) )
112 .Tooltip( _( "Select a complete connection" ) )
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.SchDesignBlockControl.saveSheetAsDesignBlock" )
129 .Scope( AS_GLOBAL )
130 .FriendlyName( _( "Save Current Sheet as Design Block..." ) )
131 .Tooltip( _( "Create a new design block from the current sheet" ) )
132 .Icon( BITMAPS::new_component ) );
133
135 .Name( "eeschema.SchDesignBlockControl.saveSelectionAsDesignBlock" )
136 .Scope( AS_GLOBAL )
137 .FriendlyName( _( "Save Selection as Design Block..." ) )
138 .Tooltip( _( "Create a new design block from the current selection" ) )
139 .Icon( BITMAPS::new_component ) );
140
142 .Name( "eeschema.SchDesignBlockControl.saveSheetToDesignBlock" )
143 .Scope( AS_GLOBAL )
144 .FriendlyName( _( "Save Current Sheet to Design Block..." ) )
145 .Tooltip( _( "Add current sheet to design block" ) )
146 .Icon( BITMAPS::save ) );
147
149 .Name( "eeschema.SchDesignBlockControl.saveSelectionToDesignBlock" )
150 .Scope( AS_GLOBAL )
151 .FriendlyName( _( "Save Selection to Design Block..." ) )
152 .Tooltip( _( "Add current selection to design block" ) )
153 .Icon( BITMAPS::save ) );
154
156 .Name( "eeschema.SchDesignBlockControl.saveDeleteDesignBlock" )
157 .Scope( AS_GLOBAL )
158 .FriendlyName( _( "Delete Design Block" ) )
159 .Tooltip( _( "Remove the selected design block from its library" ) )
160 .Icon( BITMAPS::trash ) );
161
163 .Name( "eeschema.SchDesignBlockControl.editDesignBlockProperties" )
164 .Scope( AS_GLOBAL )
165 .FriendlyName( _( "Properties..." ) )
166 .Tooltip( _( "Edit properies of design block" ) )
167 .Icon( BITMAPS::edit ) );
168
169// SYMBOL_EDITOR_CONTROL
170//
172 .Name( "eeschema.SymbolLibraryControl.saveLibraryAs" )
173 .Scope( AS_GLOBAL )
174 .DefaultHotkey( MD_CTRL + MD_SHIFT + 'S' )
175 .LegacyHotkeyName( "Save As" )
176 .FriendlyName( _( "Save Library As..." ) )
177 .Tooltip( _( "Save the current library to a new file" ) ) );
178
180 .Name( "eeschema.SymbolLibraryControl.newSymbol" )
181 .Scope( AS_GLOBAL )
182 .DefaultHotkey( MD_CTRL + 'N' )
183 .FriendlyName( _( "New Symbol..." ) )
184 .Tooltip( _( "Create a new symbol in an existing library" ) )
185 .Icon( BITMAPS::new_component ) );
186
188 .Name( "eeschema.SymbolLibraryControl.deriveFromExistingSymbol" )
189 .Scope( AS_GLOBAL )
190 .FriendlyName( _( "Derive from Existing Symbol..." ) )
191 .Tooltip( _( "Create a new symbol, derived from an existing symbol" ) )
192 .Icon( BITMAPS::new_component ) );
193
195 .Name( "eeschema.SymbolLibraryControl.editSymbol" )
196 .Scope( AS_GLOBAL )
197 .FriendlyName( _( "Edit Symbol" ) )
198 .Tooltip( _( "Show selected symbol on editor canvas" ) )
199 .Icon( BITMAPS::edit ) );
200
202 .Name( "eeschema.SymbolLibraryControl.duplicateSymbol" )
203 .Scope( AS_GLOBAL )
204 .FriendlyName( _( "Duplicate Symbol" ) )
205 .Icon( BITMAPS::duplicate ) );
206
208 .Name( "eeschema.SymbolLibraryControl.renameFootprint" )
209 .Scope( AS_GLOBAL )
210 .FriendlyName( _( "Rename Symbol..." ) )
211 .Icon( BITMAPS::edit ) );
212
214 .Name( "eeschema.SymbolLibraryControl.saveSymbolAs" )
215 .Scope( AS_GLOBAL )
216 .FriendlyName( _( "Save As..." ) )
217 .Tooltip( _( "Save the current symbol to a different library or name" ) )
218 .Icon( BITMAPS::save_as ) );
219
221 .Name( "eeschema.SymbolLibraryControl.saveSymbolCopyAs" )
222 .Scope( AS_GLOBAL )
223 .FriendlyName( _( "Save Copy As..." ) )
224 .Tooltip( _( "Save a copy of the current symbol to a different library or name" ) )
225 .Icon( BITMAPS::save_as ) );
226
228 .Name( "eeschema.SymbolLibraryControl.deleteSymbol" )
229 .Scope( AS_GLOBAL )
230 .FriendlyName( _( "Delete Symbol" ) )
231 .Tooltip( _( "Remove the selected symbol from its library" ) )
232 .Icon( BITMAPS::trash ) );
233
235 .Name( "eeschema.SymbolLibraryControl.cutSymbol" )
236 .Scope( AS_GLOBAL )
237 .FriendlyName( _( "Cut" ) )
238 .Icon( BITMAPS::cut ) );
239
241 .Name( "eeschema.SymbolLibraryControl.copySymbol" )
242 .Scope( AS_GLOBAL )
243 .FriendlyName( _( "Copy" ) )
244 .Icon( BITMAPS::copy ) );
245
247 .Name( "eeschema.SymbolLibraryControl.pasteSymbol" )
248 .Scope( AS_GLOBAL )
249 .FriendlyName( _( "Paste Symbol" ) )
250 .Icon( BITMAPS::paste ) );
251
253 .Name("eeschema.SymbolLibraryControl.importSymbol" )
254 .Scope( AS_GLOBAL )
255 .FriendlyName( _( "Import Symbol..." ) )
256 .Tooltip( _( "Import a symbol to the current library" ) )
257 .Icon( BITMAPS::import_part ) );
258
260 .Name( "eeschema.SymbolLibraryControl.exportSymbol" )
261 .Scope( AS_GLOBAL )
262 .FriendlyName( _( "Export..." ) )
263 .Tooltip( _( "Export a symbol to a new library file" ) )
264 .Icon( BITMAPS::export_part ) );
265
267 .Name( "eeschema.SymbolLibraryControl.updateSymbolFields" )
268 .Scope( AS_GLOBAL )
269 .FriendlyName( _( "Update Symbol Fields..." ) )
270 .Tooltip( _( "Update symbol to match changes made in parent symbol" ) )
271 .Icon( BITMAPS::refresh ) );
272
274 .Name( "eeschema.SymbolLibraryControl.setUnitDisplayName" )
275 .Scope( AS_GLOBAL )
276 .FriendlyName( _( "Set Unit Display Name..." ) )
277 .Tooltip( _( "Set the display name for a particular unit in a multi-unit symbol" ) ) );
278
280 .Name( "eeschema.SymbolLibraryControl.addSymbolToSchematic" )
281 .Scope( AS_GLOBAL )
282 .FriendlyName( _( "Add Symbol to Schematic" ) )
283 .Tooltip( _( "Add the current symbol to the schematic" ) )
285
287 .Name( "eeschema.SymbolLibraryControl.showElectricalTypes" )
288 .Scope( AS_GLOBAL )
289 .FriendlyName( _( "Show Pin Electrical Types" ) )
290 .Tooltip( _( "Annotate pins with their electrical types" ) )
291 .ToolbarState( TOOLBAR_STATE::TOGGLE )
292 .Icon( BITMAPS::pin_show_etype ) );
293
295 .Name( "eeschema.SymbolLibraryControl.showPinNumbers" )
296 .Scope( AS_GLOBAL )
297 .FriendlyName( _( "Show Pin Numbers" ) )
298 .Tooltip( _( "Annotate pins with their numbers" ) )
299 .ToolbarState( TOOLBAR_STATE::TOGGLE )
300 .Icon( BITMAPS::pin ) );
301
303 .Name( "eeschema.SymbolLibraryControl.exportSymbolView" )
304 .Scope( AS_GLOBAL )
305 .FriendlyName( _( "Export View as PNG..." ) )
306 .Tooltip( _( "Create PNG file from the current view" ) )
307 .Icon( BITMAPS::export_png ) );
308
310 .Name( "eeschema.SymbolLibraryControl.exportSymbolAsSVG" )
311 .Scope( AS_GLOBAL )
312 .FriendlyName( _( "Export Symbol as SVG..." ) )
313 .Tooltip( _( "Create SVG file from the current symbol" ) )
314 .Icon( BITMAPS::export_svg ) );
315
317 .Name( "eeschema.SymbolLibraryControl.toggleSyncedPinsMode" )
318 .Scope( AS_GLOBAL )
319 .FriendlyName( _( "Synchronized Pins Mode" ) )
320 .Tooltip( _( "Synchronized Pins Mode\n"
321 "When enabled propagates all changes (except pin numbers) to other units.\n"
322 "Enabled by default for multiunit parts with interchangeable units." ) )
323 .ToolbarState( TOOLBAR_STATE::TOGGLE )
324 .Icon( BITMAPS::pin2pin ) );
325
327 .Name( "eeschema.SymbolLibraryControl.showHiddenPins" )
328 .Scope( AS_GLOBAL )
329 .FriendlyName( _( "Show Hidden Pins" ) )
330 .ToolbarState( TOOLBAR_STATE::TOGGLE )
331 .Icon( BITMAPS::hidden_pin ) );
332
334 .Name( "eeschema.SymbolLibraryControl.showHiddenFields" )
335 .Scope( AS_GLOBAL )
336 .FriendlyName( _( "Show Hidden Fields" ) )
337 .ToolbarState( TOOLBAR_STATE::TOGGLE )
338 .Icon( BITMAPS::text_sketch ) );
339
340
341// SYMBOL_EDITOR_DRAWING_TOOLS
342//
344 .Name( "eeschema.SymbolDrawing.placeSymbolPin" )
345 .Scope( AS_GLOBAL )
346 .DefaultHotkey( 'P' )
347 .LegacyHotkeyName( "Create Pin" )
348 .FriendlyName( _( "Draw Pins" ) )
349 .ToolbarState( TOOLBAR_STATE::TOGGLE )
350 .Icon( BITMAPS::pin )
351 .Flags( AF_ACTIVATE )
352 .Parameter( SCH_PIN_T ) );
353
355 .Name( "eeschema.SymbolDrawing.placeSymbolText" )
356 .Scope( AS_GLOBAL )
357 .FriendlyName( _( "Draw Text" ) )
358 .ToolbarState( TOOLBAR_STATE::TOGGLE )
359 .Icon( BITMAPS::text )
360 .Flags( AF_ACTIVATE )
361 .Parameter( SCH_TEXT_T ) );
362
364 .Name( "eeschema.SymbolDrawing.drawSymbolTextBox" )
365 .Scope( AS_GLOBAL )
366 .FriendlyName( _( "Draw Text Boxes" ) )
367 .ToolbarState( TOOLBAR_STATE::TOGGLE )
368 .Icon( BITMAPS::add_textbox )
369 .Flags( AF_ACTIVATE ) );
370
372 .Name( "eeschema.SymbolDrawing.drawSymbolLines" )
373 .Scope( AS_GLOBAL )
374 .FriendlyName( _( "Draw Lines" ) )
375 .Tooltip( _( "Draw connected graphic lines" ) )
376 .ToolbarState( TOOLBAR_STATE::TOGGLE )
378 .Flags( AF_ACTIVATE )
379 .Parameter( SHAPE_T::POLY ) );
380
382 .Name( "eeschema.SymbolDrawing.drawSymbolPolygon" )
383 .Scope( AS_GLOBAL )
384 .FriendlyName( _( "Draw Polygons" ) )
385 .ToolbarState( TOOLBAR_STATE::TOGGLE )
387 .Flags( AF_ACTIVATE )
388 .Parameter( SHAPE_T::POLY ) );
389
391 .Name( "eeschema.SymbolDrawing.placeSymbolAnchor" )
392 .Scope( AS_GLOBAL )
393 .FriendlyName( _( "Move Symbol Anchor" ) )
394 .ToolbarState( TOOLBAR_STATE::TOGGLE )
395 .Icon( BITMAPS::anchor )
396 .Flags( AF_ACTIVATE ) );
397
398// SYMBOL_EDITOR_PIN_TOOL
399//
401 .Name( "eeschema.PinEditing.pushPinLength" )
402 .Scope( AS_GLOBAL )
403 .FriendlyName( _( "Push Pin Length" ) )
404 .Tooltip( _( "Copy pin length to other pins in symbol" ) )
405 .Icon( BITMAPS::pin_size_to ) );
406
408 .Name( "eeschema.PinEditing.pushPinNameSize" )
409 .Scope( AS_GLOBAL )
410 .FriendlyName( _( "Push Pin Name Size" ) )
411 .Tooltip( _( "Copy pin name size to other pins in symbol" ) )
412 .Icon( BITMAPS::pin_size_to ) );
413
415 .Name( "eeschema.PinEditing.pushPinNumSize" )
416 .Scope( AS_GLOBAL )
417 .FriendlyName( _( "Push Pin Number Size" ) )
418 .Tooltip( _( "Copy pin number size to other pins in symbol" ) )
419 .Icon( BITMAPS::pin_size_to ) );
420
421
422// SCH_DRAWING_TOOLS
423//
425 .Name( "eeschema.InteractiveDrawing.placeSymbol" )
426 .Scope( AS_GLOBAL )
427 .DefaultHotkey( 'A' )
428 .LegacyHotkeyName( "Add Symbol" )
429 .FriendlyName( _( "Place Symbols" ) )
430 .ToolbarState( TOOLBAR_STATE::TOGGLE )
432 .Flags( AF_ACTIVATE )
433 .Parameter<SCH_ACTIONS::PLACE_SYMBOL_PARAMS>( {} ) );
434
436 .Name( "eeschema.InteractiveDrawing.placeNextSymbolUnit" )
437 .Scope( AS_GLOBAL )
438 .FriendlyName( _( "Place Next Symbol Unit" ) )
439 .Tooltip( _( "Place the next unit of the current symbol that is missing from the schematic" ) )
440 .Flags( AF_ACTIVATE )
441 // The symbol to use as a reference for the next unit
442 .Parameter<SCH_SYMBOL*>( nullptr ) );
443
445 .Name( "eeschema.InteractiveDrawing.placePowerSymbol" )
446 .Scope( AS_GLOBAL )
447 .DefaultHotkey( 'P' )
448 .LegacyHotkeyName( "Add Power" )
449 .FriendlyName( _( "Place Power Symbols" ) )
450 .ToolbarState( TOOLBAR_STATE::TOGGLE )
451 .Icon( BITMAPS::add_power )
452 .Flags( AF_ACTIVATE )
453 .Parameter<SCH_ACTIONS::PLACE_SYMBOL_PARAMS>( {} ) );
454
456 .Name( "eeschema.InteractiveDrawing.placeDesignBlock" )
457 .Scope( AS_GLOBAL )
458 .DefaultHotkey( MD_SHIFT + 'B' )
459 .FriendlyName( _( "Place Design Block" ) )
460 .Tooltip( _( "Add selected design block to current sheet" ) )
462 .Flags( AF_ACTIVATE )
463 .Parameter<DESIGN_BLOCK*>( nullptr ) );
464
466 .Name( "eeschema.InteractiveDrawing.placeLinkedDesignBlock" )
467 .Scope( AS_GLOBAL )
468 .FriendlyName( _( "Place Linked Design Block" ) )
469 .Tooltip( _( "Place design block linked to selected group" ) )
471 .Flags( AF_ACTIVATE ) );
472
474 .Name( "eeschema.InteractiveDrawing.saveToLinkedDesignBlock" )
475 .Scope( AS_GLOBAL )
476 .FriendlyName( _( "Save to Linked Design Block" ) )
477 .Tooltip( _( "Save selected group to linked design block" ) )
479 .Flags( AF_ACTIVATE ) );
480
481
483 .Name( "eeschema.InteractiveDrawing.placeNoConnect" )
484 .Scope( AS_GLOBAL )
485 .DefaultHotkey( 'Q' )
486 .LegacyHotkeyName( "Add No Connect Flag" )
487 .FriendlyName( _( "Place No Connect Flags" ) )
488 .ToolbarState( TOOLBAR_STATE::TOGGLE )
489 .Icon( BITMAPS::noconn )
490 .Flags( AF_ACTIVATE )
491 .Parameter( SCH_NO_CONNECT_T ) );
492
494 .Name( "eeschema.InteractiveDrawing.placeJunction" )
495 .Scope( AS_GLOBAL )
496 .DefaultHotkey( 'J' )
497 .LegacyHotkeyName( "Add Junction" )
498 .FriendlyName( _( "Place Junctions" ) )
499 .ToolbarState( TOOLBAR_STATE::TOGGLE )
500 .Icon( BITMAPS::add_junction )
501 .Flags( AF_ACTIVATE )
502 .Parameter( SCH_JUNCTION_T ) );
503
505 .Name( "eeschema.InteractiveDrawing.placeBusWireEntry" )
506 .Scope( AS_GLOBAL )
507 .DefaultHotkey( 'Z' )
508 .LegacyHotkeyName( "Add Wire Entry" )
509 .FriendlyName( _( "Place Wire to Bus Entries" ) )
510 .ToolbarState( TOOLBAR_STATE::TOGGLE )
511 .Icon( BITMAPS::add_line2bus )
512 .Flags( AF_ACTIVATE )
513 .Parameter( SCH_BUS_WIRE_ENTRY_T ) );
514
516 .Name( "eeschema.InteractiveDrawing.placeLabel" )
517 .Scope( AS_GLOBAL )
518 .DefaultHotkey( 'L' )
519 .LegacyHotkeyName( "Add Label" )
520 .FriendlyName( _( "Place Net Labels" ) )
521 .ToolbarState( TOOLBAR_STATE::TOGGLE )
522 .Icon( BITMAPS::add_label )
523 .Flags( AF_ACTIVATE ) );
524
526 .Name( "eeschema.InteractiveDrawing.placeClassLabel" )
527 .Scope( AS_GLOBAL )
528 .FriendlyName( _( "Place Directive Labels" ) )
529 .ToolbarState( TOOLBAR_STATE::TOGGLE )
531 .Flags( AF_ACTIVATE ) );
532
534 .Name( "eeschema.InteractiveDrawing.placeHierarchicalLabel" )
535 .Scope( AS_GLOBAL )
536 .DefaultHotkey( 'H' )
537 .LegacyHotkeyName( "Add Hierarchical Label" )
538 .FriendlyName( _( "Place Hierarchical Labels" ) )
539 .ToolbarState( TOOLBAR_STATE::TOGGLE )
541 .Flags( AF_ACTIVATE ) );
542
544 .Name( "eeschema.InteractiveDrawing.drawSheet" )
545 .Scope( AS_GLOBAL )
546 .DefaultHotkey( 'S' )
547 .LegacyHotkeyName( "Add Sheet" )
548 .FriendlyName( _( "Draw Hierarchical Sheets" ) )
549 .ToolbarState( TOOLBAR_STATE::TOGGLE )
551 .Flags( AF_ACTIVATE )
552 .Parameter( SCH_SHEET_T ) );
553
555 .Name( "eeschema.InteractiveDrawing.drawSheetFromFile" )
556 .Scope( AS_GLOBAL )
557 .FriendlyName( _( "Draw Sheet from File" ) )
558 .Tooltip( _( "Copy sheet into project and draw on current sheet" ) )
560 .Flags( AF_ACTIVATE )
561 .Parameter<wxString*> ( nullptr ) );
562
564 .Name( "eeschema.InteractiveDrawing.drawSheetFromDesignBlock" )
565 .Scope( AS_GLOBAL )
566 .FriendlyName( _( "Draw Sheet from Design Block" ) )
567 .Tooltip( _( "Copy design block into project as a sheet on current sheet" ) )
569 .Flags( AF_ACTIVATE )
570 .Parameter<DESIGN_BLOCK*> ( nullptr ) );
571
573 .Name( "eeschema.InteractiveDrawing.placeSheetPin" )
574 .Scope( AS_GLOBAL )
575 .FriendlyName( _( "Place Pins from Sheet" ) )
576 .Tooltip( _( "Add sheet pins from existing hierarchical labels found on that sheet" ) )
577 .ToolbarState( TOOLBAR_STATE::TOGGLE )
579 .Flags( AF_ACTIVATE ) );
580
582 .Name( "eeschema.InteractiveDrawing.autoplaceAllSheetPins" )
583 .Scope( AS_GLOBAL )
584 .FriendlyName( _( "Autoplace All Sheet Pins" ) )
585 .Tooltip( _( "Imports and auto places all sheet pins" ) ) );
586
588 .Name( "eeschema.InteractiveDrawing.syncSheetPins" )
589 .Scope( AS_GLOBAL )
590 .FriendlyName( _( "Sync Sheet Pins..." ) )
591 .Tooltip( _( "Synchronize sheet pins and hierarchical labels" ) )
593 .Flags( AF_ACTIVATE ) );
594
596 .Name( "eeschema.InteractiveDrawing.syncAllSheetsPins" )
597 .Scope( AS_GLOBAL )
598 .FriendlyName( _( "Sync Sheet Pins..." ) )
599 .Tooltip( _( "Synchronize sheet pins and hierarchical labels" ) )
601 .Flags( AF_ACTIVATE ) );
602
604 .Name( "eeschema.InteractiveDrawing.importSheet" )
605 .Scope( AS_GLOBAL )
606 .FriendlyName( _( "Import Sheet..." ) )
607 .Tooltip( _( "Import sheet into project" ) )
609 .Flags( AF_ACTIVATE )
610 .Parameter<wxString*> ( nullptr ) );
611
613 .Name( "eeschema.InteractiveDrawing.placeGlobalLabel" )
614 .Scope( AS_GLOBAL )
615 .DefaultHotkey( MD_CTRL + 'L' )
616 .LegacyHotkeyName( "Add Global Label" )
617 .FriendlyName( _( "Place Global Labels" ) )
618 .ToolbarState( TOOLBAR_STATE::TOGGLE )
619 .Icon( BITMAPS::add_glabel )
620 .Flags( AF_ACTIVATE ) );
621
623 .Name( "eeschema.InteractiveDrawing.placeSchematicText" )
624 .Scope( AS_GLOBAL )
625 .DefaultHotkey( 'T' )
626 .LegacyHotkeyName( "Add Graphic Text" )
627 .FriendlyName( _( "Draw Text" ) )
628 .ToolbarState( TOOLBAR_STATE::TOGGLE )
629 .Icon( BITMAPS::text )
630 .Flags( AF_ACTIVATE ) );
631
633 .Name( "eeschema.InteractiveDrawing.drawTextBox" )
634 .Scope( AS_GLOBAL )
635 .FriendlyName( _( "Draw Text Boxes" ) )
636 .ToolbarState( TOOLBAR_STATE::TOGGLE )
637 .Icon( BITMAPS::add_textbox )
638 .Flags( AF_ACTIVATE )
639 .Parameter( SHAPE_T::RECTANGLE ) );
640
642 .Name( "eeschema.InteractiveDrawing.drawTable" )
643 .Scope( AS_GLOBAL )
644 .FriendlyName( _( "Draw Tables" ) )
645 .ToolbarState( TOOLBAR_STATE::TOGGLE )
646 .Icon( BITMAPS::table )
647 .Flags( AF_ACTIVATE ) );
648
650 .Name( "eeschema.InteractiveDrawing.drawRectangle" )
651 .Scope( AS_GLOBAL )
652 .FriendlyName( _( "Draw Rectangles" ) )
653 .ToolbarState( TOOLBAR_STATE::TOGGLE )
655 .Flags( AF_ACTIVATE )
656 .Parameter( SHAPE_T::RECTANGLE ) );
657
659 .Name( "eeschema.InteractiveDrawing.drawCircle" )
660 .Scope( AS_GLOBAL )
661 .FriendlyName( _( "Draw Circles" ) )
662 .ToolbarState( TOOLBAR_STATE::TOGGLE )
663 .Icon( BITMAPS::add_circle )
664 .Flags( AF_ACTIVATE )
665 .Parameter( SHAPE_T::CIRCLE ) );
666
668 .Name( "eeschema.InteractiveDrawing.drawArc" )
669 .Scope( AS_GLOBAL )
670 .FriendlyName( _( "Draw Arcs" ) )
671 .ToolbarState( TOOLBAR_STATE::TOGGLE )
672 .Icon( BITMAPS::add_arc )
673 .Flags( AF_ACTIVATE )
674 .Parameter( SHAPE_T::ARC ) );
675
677 .Name( "eeschema.InteractiveDrawing.drawBezier" )
678 .Scope( AS_GLOBAL )
679 .FriendlyName( _( "Draw Bezier Curve" ) )
680 .ToolbarState( TOOLBAR_STATE::TOGGLE )
681 .Icon( BITMAPS::add_bezier )
682 .Flags( AF_ACTIVATE )
683 .Parameter( SHAPE_T::BEZIER ) );
684
686 .Name( "eeschema.InteractiveDrawing.placeImage" )
687 .Scope( AS_GLOBAL )
688 .FriendlyName( _( "Place Images" ) )
689 .ToolbarState( TOOLBAR_STATE::TOGGLE )
690 .Icon( BITMAPS::image )
691 .Flags( AF_ACTIVATE )
692 .Parameter<SCH_BITMAP*>( nullptr ) );
693
695 .Name( "eeschema.InteractiveDrawing.drawRuleArea" )
696 .Scope( AS_GLOBAL )
697 .FriendlyName( _( "Draw Rule Areas" ) )
698 .ToolbarState( TOOLBAR_STATE::TOGGLE )
700 .Flags( AF_ACTIVATE )
701 .Parameter( SHAPE_T::RECTANGLE ) );
702
704 .Name( "eeschema.InteractiveDrawing.deleteLastPoint" )
705 .Scope( AS_CONTEXT )
706 .FriendlyName( _( "Delete Last Point" ) )
707 .Tooltip( _( "Delete the last point added to the current item" ) )
708 .Icon( BITMAPS::undo ) );
709
711 .Name( "eeschema.InteractiveDrawing.closeOutline" )
712 .Scope( AS_CONTEXT )
713 .FriendlyName( _( "Close Outline" ) )
714 .Tooltip( _( "Close the in-progress outline" ) )
715 .Icon( BITMAPS::checked_ok ) );
716
717
718// SCH_EDIT_TOOL
719//
721 .Name( "eeschema.InteractiveEdit.repeatDrawItem" )
722 .Scope( AS_GLOBAL )
723#ifdef __WXMAC__
724 .DefaultHotkey( WXK_F1 )
725#else
726 .DefaultHotkey( WXK_INSERT )
727#endif
728 .LegacyHotkeyName( "Repeat Last Item" )
729 .FriendlyName( _( "Repeat Last Item" ) )
730 .Tooltip( _( "Duplicates the last drawn item" ) ) );
731
733 .Name( "eeschema.InteractiveEdit.rotateCW" )
734 .Scope( AS_GLOBAL )
735 .DefaultHotkey( MD_SHIFT + 'R' )
736 .FriendlyName( _( "Rotate Clockwise" ) )
737 .Icon( BITMAPS::rotate_cw ) );
738
740 .Name( "eeschema.InteractiveEdit.rotateCCW" )
741 .Scope( AS_GLOBAL )
742 .DefaultHotkey( 'R' )
743 .LegacyHotkeyName( "Rotate Item" )
744 .FriendlyName( _( "Rotate Counterclockwise" ) )
745 .Icon( BITMAPS::rotate_ccw ) );
746
748 .Name( "eeschema.InteractiveEdit.mirrorV" )
749 .Scope( AS_GLOBAL )
750 .DefaultHotkey( 'Y' )
751 .LegacyHotkeyName( "Mirror X" ) // Yes, these were backwards prior to 6.0....
752 .FriendlyName( _( "Mirror Vertically" ) )
753 .Tooltip( _( "Flips selected item(s) from top to bottom" ) )
754 .Icon( BITMAPS::mirror_v ) );
755
757 .Name( "eeschema.InteractiveEdit.mirrorH" )
758 .Scope( AS_GLOBAL )
759 .DefaultHotkey( 'X' )
760 .LegacyHotkeyName( "Mirror Y" ) // Yes, these were backwards prior to 6.0....
761 .FriendlyName( _( "Mirror Horizontally" ) )
762 .Tooltip( _( "Flips selected item(s) from left to right" ) )
763 .Icon( BITMAPS::mirror_h ) );
764
766 .Name( "eeschema.InteractiveEdit.swap" )
767 .Scope( AS_GLOBAL )
768 .DefaultHotkey( MD_ALT + 'S' )
769 .FriendlyName( _( "Swap" ) )
770 .Tooltip( _( "Swap positions of selected items" ) )
771 .Icon( BITMAPS::swap ) );
772
774 .Name( "eeschema.InteractiveEdit.properties" )
775 .Scope( AS_GLOBAL )
776 .DefaultHotkey( 'E' )
777 .LegacyHotkeyName( "Edit Item" )
778 .FriendlyName( _( "Properties..." ) )
779 .Icon( BITMAPS::edit ) );
780
782 .Name( "eeschema.InteractiveEdit.editReference" )
783 .Scope( AS_GLOBAL )
784 .DefaultHotkey( 'U' )
785 .LegacyHotkeyName( "Edit Symbol Reference" )
786 .FriendlyName( _( "Edit Reference Designator..." ) )
787 .Icon( BITMAPS::edit_comp_ref ) );
788
790 .Name( "eeschema.InteractiveEdit.editValue" )
791 .Scope( AS_GLOBAL )
792 .DefaultHotkey( 'V' )
793 .LegacyHotkeyName( "Edit Symbol Value" )
794 .FriendlyName( _( "Edit Value..." ) )
795 .Icon( BITMAPS::edit_comp_value ) );
796
798 .Name( "eeschema.InteractiveEdit.editFootprint" )
799 .Scope( AS_GLOBAL )
800 .DefaultHotkey( 'F' )
801 .LegacyHotkeyName( "Edit Symbol Footprint" )
802 .FriendlyName( _( "Edit Footprint..." ) )
804
806 .Name( "eeschema.InteractiveEdit.autoplaceFields" )
807 .Scope( AS_GLOBAL )
808 .DefaultHotkey( 'O' )
809 .LegacyHotkeyName( "Autoplace Fields" )
810 .FriendlyName( _( "Autoplace Fields" ) )
811 .Tooltip( _( "Runs the automatic placement algorithm on the symbol's (or sheet's) fields" ) )
812 .Icon( BITMAPS::autoplace_fields ) );
813
815 .Name( "eeschema.InteractiveEdit.changeSymbols" )
816 .Scope( AS_GLOBAL )
817 .FriendlyName( _( "Change Symbols..." ) )
818 .Tooltip( _( "Assign different symbols from the library" ) )
819 .Icon( BITMAPS::exchange ) );
820
822 .Name( "eeschema.InteractiveEdit.updateSymbols" )
823 .Scope( AS_GLOBAL )
824 .FriendlyName( _( "Update Symbols from Library..." ) )
825 .Tooltip( _( "Update symbols to include any changes from the library" ) )
826 .Icon( BITMAPS::refresh ) );
827
829 .Name( "eeschema.InteractiveEdit.changeSymbol" )
830 .Scope( AS_GLOBAL )
831 .FriendlyName( _( "Change Symbol..." ) )
832 .Tooltip( _( "Assign a different symbol from the library" ) )
833 .Icon( BITMAPS::exchange ) );
834
836 .Name( "eeschema.InteractiveEdit.updateSymbol" )
837 .Scope( AS_GLOBAL )
838 .FriendlyName( _( "Update Symbol..." ) )
839 .Tooltip( _( "Update symbol to include any changes from the library" ) )
840 .Icon( BITMAPS::refresh ) );
841
843 .Name( "eeschema.InteractiveEdit.assignNetclass" )
844 .Scope( AS_GLOBAL )
845 .FriendlyName( _( "Assign Netclass..." ) )
846 .Tooltip( _( "Assign a netclass to nets matching a pattern" ) )
847 .Icon( BITMAPS::netlist ) );
848
850 .Name( "eeschema.InteractiveEdit.toggleDeMorgan" )
851 .Scope( AS_GLOBAL )
852 .FriendlyName( _( "De Morgan Conversion" ) )
853 .Tooltip( _( "Switch between De Morgan representations" ) )
854 .Icon( BITMAPS::morgan2 ) );
855
857 .Name( "eeschema.InteractiveEdit.showDeMorganStandard" )
858 .Scope( AS_GLOBAL )
859 .FriendlyName( _( "De Morgan Standard" ) )
860 .Tooltip( _( "Switch to standard De Morgan representation" ) )
861 .ToolbarState( TOOLBAR_STATE::TOGGLE )
862 .Icon( BITMAPS::morgan1 ) );
863
865 .Name( "eeschema.InteractiveEdit.showDeMorganAlternate" )
866 .Scope( AS_GLOBAL )
867 .FriendlyName( _( "De Morgan Alternate" ) )
868 .Tooltip( _( "Switch to alternate De Morgan representation" ) )
869 .ToolbarState( TOOLBAR_STATE::TOGGLE )
870 .Icon( BITMAPS::morgan2 ) );
871
873 .Name( "eeschema.InteractiveEdit.toLabel" )
874 .Scope( AS_GLOBAL )
875 .FriendlyName( _( "Change to Label" ) )
876 .Tooltip( _( "Change existing item to a label" ) )
878 .Flags( AF_NONE )
879 .Parameter( SCH_LABEL_T ) );
880
882 .Name( "eeschema.InteractiveEdit.toCLabel" )
883 .Scope( AS_GLOBAL )
884 .FriendlyName( _( "Change to Directive Label" ) )
885 .Tooltip( _( "Change existing item to a directive label" ) )
887 .Flags( AF_NONE )
888 .Parameter( SCH_DIRECTIVE_LABEL_T ) );
889
891 .Name( "eeschema.InteractiveEdit.toHLabel" )
892 .Scope( AS_GLOBAL )
893 .FriendlyName( _( "Change to Hierarchical Label" ) )
894 .Tooltip( _( "Change existing item to a hierarchical label" ) )
896 .Flags( AF_NONE )
897 .Parameter( SCH_HIER_LABEL_T ) );
898
900 .Name( "eeschema.InteractiveEdit.toGLabel" )
901 .Scope( AS_GLOBAL )
902 .FriendlyName( _( "Change to Global Label" ) )
903 .Tooltip( _( "Change existing item to a global label" ) )
904 .Icon( BITMAPS::add_glabel )
905 .Flags( AF_NONE )
906 .Parameter( SCH_GLOBAL_LABEL_T ) );
907
909 .Name( "eeschema.InteractiveEdit.toText" )
910 .Scope( AS_GLOBAL )
911 .FriendlyName( _( "Change to Text" ) )
912 .Tooltip( _( "Change existing item to a text comment" ) )
913 .Icon( BITMAPS::text )
914 .Flags( AF_NONE )
915 .Parameter( SCH_TEXT_T ) );
916
918 .Name( "eeschema.InteractiveEdit.toTextBox" )
919 .Scope( AS_GLOBAL )
920 .FriendlyName( _( "Change to Text Box" ) )
921 .Tooltip( _( "Change existing item to a text box" ) )
922 .Icon( BITMAPS::add_textbox )
923 .Flags( AF_NONE )
924 .Parameter( SCH_TEXTBOX_T ) );
925
927 .Name( "eeschema.InteractiveEdit.cleanupSheetPins" )
928 .Scope( AS_GLOBAL )
929 .FriendlyName( _( "Cleanup Sheet Pins" ) )
930 .Tooltip( _( "Delete unreferenced sheet pins" ) ) );
931
933 .Name( "eeschema.InteractiveEdit.editTextAndGraphics" )
934 .Scope( AS_GLOBAL )
935 .FriendlyName( _( "Edit Text & Graphics Properties..." ) )
936 .Tooltip( _( "Edit text and graphics properties globally across schematic" ) )
937 .Icon( BITMAPS::text ) );
938
940 .Name( "eeschema.InteractiveEdit.symbolProperties" )
941 .Scope( AS_GLOBAL )
942 .FriendlyName( _( "Symbol Properties..." ) )
943 .Icon( BITMAPS::part_properties ) );
944
946 .Name( "eeschema.InteractiveEdit.pinTable" )
947 .Scope( AS_GLOBAL )
948 .FriendlyName( _( "Pin Table..." ) )
949 .Tooltip( _( "Displays pin table for bulk editing of pins" ) )
950 .Icon( BITMAPS::pin_table ) );
951
953 .Name( "eeschema.InteractiveEdit.breakWire" )
954 .Scope( AS_GLOBAL )
955 .FriendlyName( _( "Break" ) )
956 .Tooltip( _( "Divide into connected segments" ) )
957 .Icon( BITMAPS::break_line ) );
958
960 .Name( "eeschema.InteractiveEdit.slice" )
961 .Scope( AS_GLOBAL )
962 .FriendlyName( _( "Slice" ) )
963 .Tooltip( _( "Divide into unconnected segments" ) )
964 .Icon( BITMAPS::slice_line ) );
965
966// SCH_EDITOR_CONTROL
967//
969 .Name( "eeschema.EditorControl.restartMove" )
970 .Scope( AS_GLOBAL ) );
971
973 .Name( "eeschema.EditorControl.highlightNet" )
974 .Scope( AS_GLOBAL )
975 .DefaultHotkey( '`' )
976 .FriendlyName( _( "Highlight Net" ) )
977 .Tooltip( _( "Highlight net under cursor" ) )
979
981 .Name( "eeschema.EditorControl.clearHighlight" )
982 .Scope( AS_GLOBAL )
983 .DefaultHotkey( '~' )
984 .FriendlyName( _( "Clear Net Highlighting" ) )
985 .Tooltip( _( "Clear any existing net highlighting" ) ) );
986
988 .Name( "eeschema.EditorControl.updateNetHighlighting" )
989 .Scope( AS_GLOBAL ) );
990
992 .Name( "eeschema.EditorControl.highlightNetTool" )
993 .Scope( AS_GLOBAL )
994 .FriendlyName( _( "Highlight Nets" ) )
995 .Tooltip( _( "Highlight wires and pins of a net" ) )
996 .ToolbarState( TOOLBAR_STATE::TOGGLE )
998 .Flags( AF_ACTIVATE ) );
999
1001 .Name( "eeschema.EditorControl.showNetNavigator" )
1002 .Scope( AS_GLOBAL )
1003 .FriendlyName( _( "Net Navigator" ) )
1004 .Tooltip( _( "Show/hide the net navigator" ) ) );
1005
1007 .Name( "eeschema.EditorControl.editWithSymbolEditor" )
1008 .Scope( AS_GLOBAL )
1009 .DefaultHotkey( MD_CTRL + 'E' )
1010 .LegacyHotkeyName( "Edit with Symbol Editor" )
1011 .FriendlyName( _( "Edit with Symbol Editor" ) )
1012 .Tooltip( _( "Open the selected symbol in the Symbol Editor" ) )
1013 .Icon( BITMAPS::libedit ) );
1014
1016 .Name( "eeschema.EditorControl.setExcludeFromBOM" )
1017 .Scope( AS_GLOBAL )
1018 .FriendlyName( _( "Exclude from Bill of Materials" ) )
1019 .Tooltip( _( "Set the exclude from bill of materials attribute" ) ) );
1020
1022 .Name( "eeschema.EditorControl.setExcludeFromSimulation" )
1023 .Scope( AS_GLOBAL )
1024 .FriendlyName( _( "Exclude from Simulation" ) )
1025 .Tooltip( _( "Set the exclude from simulation attribute" ) ) );
1026
1028 .Name( "eeschema.EditorControl.setExcludeFromBoard" )
1029 .Scope( AS_GLOBAL )
1030 .FriendlyName( _( "Exclude from Board" ) )
1031 .Tooltip( _( "Set the exclude from board attribute" ) ) );
1032
1034 .Name( "eeschema.EditorControl.setDNP" )
1035 .Scope( AS_GLOBAL )
1036 .FriendlyName( _( "Do not Populate" ) )
1037 .Tooltip( _( "Set the do not populate attribute" ) ) );
1038
1040 .Name( "eeschema.EditorControl.editLibSymbolWithSymbolEditor" )
1041 .Scope( AS_GLOBAL )
1042 .DefaultHotkey( MD_CTRL + MD_SHIFT + 'E' )
1043 .FriendlyName( _( "Edit Library Symbol..." ) )
1044 .Tooltip( _( "Open the library symbol in the Symbol Editor" ) )
1045 .Icon( BITMAPS::libedit ) );
1046
1048 .Name( "eeschema.EditorControl.editSymbolFields" )
1049 .Scope( AS_GLOBAL )
1050 .FriendlyName( _( "Edit Symbol Fields..." ) )
1051 .Tooltip( _( "Bulk-edit fields of all symbols in schematic" ) )
1052 .Icon( BITMAPS::spreadsheet ) );
1053
1055 .Name( "eeschema.EditorControl.editSymbolLibraryLinks" )
1056 .Scope( AS_GLOBAL )
1057 .FriendlyName( _( "Edit Symbol Library Links..." ) )
1058 .Tooltip( _( "Edit links between schematic and library symbols" ) )
1060
1062 .Name( "eeschema.EditorControl.assignFootprints" )
1063 .Scope( AS_GLOBAL )
1064 .FriendlyName( _( "Assign Footprints..." ) )
1065 .Tooltip( _( "Run footprint assignment tool" ) )
1066 .Icon( BITMAPS::icon_cvpcb_24 ) );
1067
1069 .Name( "eeschema.EditorControl.importFPAssignments" )
1070 .Scope( AS_GLOBAL )
1071 .FriendlyName( _( "Import Footprint Assignments..." ) )
1072 .Tooltip( _( "Import symbol footprint assignments from .cmp file created by board editor" ) )
1074
1076 .Name( "eeschema.EditorControl.annotate" )
1077 .Scope( AS_GLOBAL )
1078 .FriendlyName( _( "Annotate Schematic..." ) )
1079 .Tooltip( _( "Fill in schematic symbol reference designators" ) )
1080 .Icon( BITMAPS::annotate ) );
1081
1083 .Name( "eeschema.EditorControl.incrementAnnotations" )
1084 .Scope( AS_GLOBAL )
1085 .FriendlyName( _( "Increment Annotations From..." ) )
1086 .Tooltip( _( "Increment a subset of reference designators starting at a particular symbol" ) )
1088 );
1089
1091 .Name( "eeschema.EditorControl.schematicSetup" )
1092 .Scope( AS_GLOBAL )
1093 .FriendlyName( _( "Schematic Setup..." ) )
1094 .Tooltip( _( "Edit schematic setup including annotation styles and electrical rules" ) )
1095 .Icon( BITMAPS::options_schematic ) );
1096
1098 .Name( "eeschema.EditorControl.editPageNumber" )
1099 .Scope( AS_GLOBAL )
1100 .FriendlyName( _( "Edit Sheet Page Number..." ) )
1101 .Tooltip( _( "Edit the page number of the current or selected sheet" ) ) );
1102
1104 .Name( "eeschema.EditorControl.rescueSymbols" )
1105 .Scope( AS_GLOBAL )
1106 .FriendlyName( _( "Rescue Symbols..." ) )
1107 .Tooltip( _( "Find old symbols in project and rename/rescue them" ) )
1108 .Icon( BITMAPS::rescue ) );
1109
1111 .Name( "eeschema.EditorControl.remapSymbols" )
1112 .Scope( AS_GLOBAL )
1113 .FriendlyName( _( "Remap Legacy Library Symbols..." ) )
1114 .Tooltip( _( "Remap library symbol references in legacy schematics to the symbol library table" ) )
1115 .Icon( BITMAPS::rescue ) );
1116
1118 .Name( "eeschema.EditorControl.nextNetItem" )
1119 .Scope( AS_GLOBAL )
1120 .DefaultHotkey( WXK_TAB )
1121 .FriendlyName( _( "Next Net Item" ) )
1122 .Tooltip( _( "Select next item on the current net" ) ) );
1123
1125 .Name( "eeschema.EditorControl.previousNetItem" )
1126 .Scope( AS_GLOBAL )
1127 .DefaultHotkey( MD_SHIFT + static_cast<int>( WXK_TAB ) )
1128 .FriendlyName( _( "Previous Net Item" ) )
1129 .Tooltip( _( "Select previous item on the current net" ) ) );
1130
1132 .Name( "eeschema.EditorControl.drawSheetOnClipboard" )
1133 .Scope( AS_GLOBAL )
1134 .FriendlyName( _( "Export Drawing to Clipboard" ) )
1135 .Tooltip( _( "Export drawing of current sheet to clipboard" ) )
1136 .Icon( BITMAPS::copy ) );
1137
1139 .Name( "eeschema.EditorControl.importGraphics" )
1140 .Scope( AS_GLOBAL )
1141 .DefaultHotkey( MD_CTRL + MD_SHIFT + 'F' )
1142 .LegacyHotkeyName( "Place DXF" )
1143 .FriendlyName( _( "Import Graphics..." ) )
1144 .Tooltip( _( "Import 2D drawing file" ) )
1145 .Icon( BITMAPS::import_vector )
1146 .Flags( AF_ACTIVATE ) );
1147
1149 .Name( "eeschema.EditorControl.showPcbNew" )
1150 .Scope( AS_GLOBAL )
1151 .FriendlyName( _( "Switch to PCB Editor" ) )
1152 .Tooltip( _( "Open PCB in board editor" ) )
1153 .Icon( BITMAPS::icon_pcbnew_24 ) );
1154
1156 .Name( "eeschema.EditorControl.exportNetlist" )
1157 .Scope( AS_GLOBAL )
1158 .FriendlyName( _( "Export Netlist..." ) )
1159 .Tooltip( _( "Export file containing netlist in one of several formats" ) )
1160 .Icon( BITMAPS::netlist ) );
1161
1163 .Name( "eeschema.EditorControl.generateBOM" )
1164 .Scope( AS_GLOBAL )
1165 .FriendlyName( _( "Generate Bill of Materials..." ) )
1166 .Tooltip( _( "Generate a bill of materials for the current schematic" ) )
1167 .Icon( BITMAPS::post_bom ) );
1168
1170 .Name( "eeschema.EditorControl.generateBOMLegacy" )
1171 .Scope( AS_GLOBAL )
1172 .FriendlyName( _( "Generate Legacy Bill of Materials..." ) )
1173 .Tooltip( _( "Generate a bill of materials for the current schematic (Legacy Generator)" ) )
1174 .Icon( BITMAPS::file_bom )
1175 );
1176
1178 .Name( "eeschema.EditorControl.generateBOMExternal" )
1179 .Scope( AS_GLOBAL )
1180 .FriendlyName( _( "Generate Bill of Materials (External)..." ) )
1181 .Tooltip( _( "Generate a bill of materials for the current schematic using external generator" ) )
1182 );
1183
1185 .Name( "eeschema.EditorControl.exportSymbolsToLibrary" )
1186 .Scope( AS_GLOBAL )
1187 .FriendlyName( _( "Export Symbols..." ) )
1188 .Tooltip( _( "Add symbols from schematic to a new or an existing symbol library\n"
1189 "(does not remove other symbols from this library)" ) )
1190 .Icon( BITMAPS::library_archive ) );
1191
1193 .Name( "eeschema.EditorControl.selectOnPCB" )
1194 .Scope( AS_GLOBAL )
1195 .FriendlyName( _( "Select on PCB" ) )
1196 .Tooltip( _( "Select corresponding items in PCB editor" ) )
1197 .Icon( BITMAPS::select_same_sheet ) );
1198
1200 .Name( "eeschema.EditorControl.showHiddenPins" )
1201 .Scope( AS_GLOBAL )
1202 .FriendlyName( _( "Show Hidden Pins" ) )
1203 .ToolbarState( TOOLBAR_STATE::TOGGLE )
1204 .Icon( BITMAPS::hidden_pin ) );
1205
1207 .Name( "eeschema.EditorControl.showHiddenFields" )
1208 .Scope( AS_GLOBAL )
1209 .FriendlyName( _( "Show Hidden Fields" ) )
1210 .ToolbarState( TOOLBAR_STATE::TOGGLE ) );
1211
1213 .Name( "eeschema.EditorControl.showDirectiveLabels" )
1214 .Scope( AS_GLOBAL )
1215 .FriendlyName( _( "Show Directive Labels" ) )
1216 .ToolbarState( TOOLBAR_STATE::TOGGLE ) );
1217
1219 .Name( "eeschema.EditorControl.showERCWarnings" )
1220 .Scope( AS_GLOBAL )
1221 .FriendlyName( _( "Show ERC Warnings" ) )
1222 .Tooltip( _( "Show markers for electrical rules checker warnings" ) )
1223 .ToolbarState( TOOLBAR_STATE::TOGGLE ) );
1224
1226 .Name( "eeschema.EditorControl.showERCErrors" )
1227 .Scope( AS_GLOBAL )
1228 .FriendlyName( _( "Show ERC Errors" ) )
1229 .Tooltip( _( "Show markers for electrical rules checker errors" ) )
1230 .ToolbarState( TOOLBAR_STATE::TOGGLE ) );
1231
1233 .Name( "eeschema.EditorControl.showERCExclusions" )
1234 .Scope( AS_GLOBAL )
1235 .FriendlyName( _( "Show ERC Exclusions" ) )
1236 .Tooltip( _( "Show markers for excluded electrical rules checker violations" ) )
1237 .ToolbarState( TOOLBAR_STATE::TOGGLE ) );
1238
1240 .Name( "eeschema.EditorControl.markSimExclusions" )
1241 .Scope( AS_GLOBAL )
1242 .FriendlyName( _( "Mark items excluded from simulation" ) )
1243 .Tooltip( _( "Draw 'X's over items which have been excluded from simulation" ) )
1244 .ToolbarState( TOOLBAR_STATE::TOGGLE ) );
1245
1247 .Name( "eeschema.EditorControl.showOperatingPointVoltages" )
1248 .Scope( AS_GLOBAL )
1249 .FriendlyName( _( "Show OP Voltages" ) )
1250 .Tooltip( _( "Show operating point voltage data from simulation" ) )
1251 .ToolbarState( TOOLBAR_STATE::TOGGLE ));
1252
1254 .Name( "eeschema.EditorControl.showOperatingPointCurrents" )
1255 .Scope( AS_GLOBAL )
1256 .FriendlyName( _( "Show OP Currents" ) )
1257 .Tooltip( _( "Show operating point current data from simulation" ) )
1258 .ToolbarState( TOOLBAR_STATE::TOGGLE ) );
1259
1261 .Name( "eeschema.EditorControl.togglePinAltIcons" )
1262 .Scope( AS_GLOBAL )
1263 .FriendlyName( _( "Show Pin Alternate Icons" ) )
1264 .Tooltip( _( "Show indicator icons for pins with alternate modes" ) )
1265 .ToolbarState( TOOLBAR_STATE::TOGGLE ) );
1266
1268 .Name( "eeschema.EditorControl.lineModeFree" )
1269 .Scope( AS_GLOBAL )
1270 .FriendlyName( _( "Line Mode for Wires and Buses" ) )
1271 .Tooltip( _( "Draw and drag at any angle" ) )
1272 .ToolbarState( TOOLBAR_STATE::TOGGLE )
1273 .Icon( BITMAPS::lines_any )
1274 .Flags( AF_NONE )
1275 .Parameter( LINE_MODE::LINE_MODE_FREE ) );
1276
1278 .Name( "eeschema.EditorControl.lineModeOrthonal" )
1279 .Scope( AS_GLOBAL )
1280 .FriendlyName( _( "Line Mode for Wires and Buses" ) )
1281 .Tooltip( _( "Constrain drawing and dragging to horizontal or vertical motions" ) )
1282 .ToolbarState( TOOLBAR_STATE::TOGGLE )
1283 .Icon( BITMAPS::lines90 )
1284 .Flags( AF_NONE )
1285 .Parameter( LINE_MODE::LINE_MODE_90) );
1286
1288 .Name( "eeschema.EditorControl.lineMode45" )
1289 .Scope( AS_GLOBAL )
1290 .FriendlyName( _( "Line Mode for Wires and Buses" ) )
1291 .Tooltip( _( "Constrain drawing and dragging to horizontal, vertical, or 45-degree angle motions" ) )
1292 .ToolbarState( TOOLBAR_STATE::TOGGLE )
1293 .Icon( BITMAPS::hv45mode )
1294 .Flags( AF_NONE )
1295 .Parameter( LINE_MODE::LINE_MODE_45 ) );
1296
1298 .Name( "eeschema.EditorControl.lineModeNext" )
1299 .Scope( AS_GLOBAL )
1300 .DefaultHotkey( MD_SHIFT + static_cast<int>( WXK_SPACE ) )
1301 .FriendlyName( _( "Line Mode for Wires and Buses" ) )
1302 .Tooltip( _( "Switch to next line mode" ) ) );
1303
1305 .Name( "eeschema.EditorControl.annotateAutomatically" )
1306 .Scope( AS_GLOBAL )
1307 .FriendlyName( _( "Annotate Automatically" ) )
1308 .Tooltip( _( "Toggle automatic annotation of new symbols" ) )
1309 .ToolbarState( TOOLBAR_STATE::TOGGLE )
1310 .Icon( BITMAPS::annotate ) );
1311
1313 .Name( "eeschema.EditorControl.repairSchematic" )
1314 .Scope( AS_GLOBAL )
1315 .FriendlyName( _( "Repair Schematic" ) )
1316 .Tooltip( _( "Run various diagnostics and attempt to repair schematic" ) )
1317 .Icon( BITMAPS::rescue ) );
1318
1320 .Name( "eeschema.EditorControl.previousUnit" )
1321 .Scope( AS_GLOBAL )
1322 .FriendlyName( _( "Previous Symbol Unit" ) )
1323 .Tooltip( _( "Open the previous unit of the symbol" ) )
1324 .Parameter<int>( -1 ) );
1325
1327 .Name( "eeschema.EditorControl.nextUnit" )
1328 .Scope( AS_GLOBAL )
1329 .FriendlyName( _( "Next Symbol Unit" ) )
1330 .Tooltip( _( "Open the next unit of the symbol" ) )
1331 .Parameter<int>( 1 ) );
1332
1333// SCH_NAVIGATE_TOOL
1334//
1336 .Name( "eeschema.NavigateTool.changeSheet" )
1337 .Scope( AS_CONTEXT )
1338 .FriendlyName( _( "Change Sheet" ) )
1339 .Tooltip( _( "Change to provided sheet's contents in the schematic editor" ) )
1340 .Icon( BITMAPS::enter_sheet ) );
1341
1343 .Name( "eeschema.NavigateTool.enterSheet" )
1344 .Scope( AS_GLOBAL )
1345 .FriendlyName( _( "Enter Sheet" ) )
1346 .Tooltip( _( "Display the selected sheet's contents in the schematic editor" ) )
1347 .Icon( BITMAPS::enter_sheet ) );
1348
1350 .Name( "eeschema.NavigateTool.leaveSheet" )
1351 .Scope( AS_GLOBAL )
1352 .DefaultHotkey( MD_ALT + static_cast<int>( WXK_BACK ) )
1353 .LegacyHotkeyName( "Leave Sheet" )
1354 .FriendlyName( _( "Leave Sheet" ) )
1355 .Tooltip( _( "Display the parent sheet in the schematic editor" ) )
1356 .Icon( BITMAPS::leave_sheet ) );
1357
1359 .Name( "eeschema.NavigateTool.up" )
1360 .Scope( AS_GLOBAL )
1361 .DefaultHotkey( MD_ALT + static_cast<int>( WXK_UP ) )
1362 .FriendlyName( _( "Navigate Up" ) )
1363 .Tooltip( _( "Navigate up one sheet in the hierarchy" ) )
1364 .Icon( BITMAPS::up ) );
1365
1367 .Name( "eeschema.NavigateTool.back" )
1368 .Scope( AS_GLOBAL )
1369 .DefaultHotkey( MD_ALT + static_cast<int>( WXK_LEFT ) )
1370 .FriendlyName( _( "Navigate Back" ) )
1371 .Tooltip( _( "Move backward in sheet navigation history" ) )
1372 .Icon( BITMAPS::left ) );
1373
1375 .Name( "eeschema.NavigateTool.forward" )
1376 .Scope( AS_GLOBAL )
1377 .DefaultHotkey( MD_ALT + static_cast<int>( WXK_RIGHT ) )
1378 .FriendlyName( _( "Navigate Forward" ) )
1379 .Tooltip( _( "Move forward in sheet navigation history" ) )
1380 .Icon( BITMAPS::right ) );
1381
1383 .Name( "eeschema.NavigateTool.previous" )
1384 .Scope( AS_GLOBAL )
1385 .DefaultHotkey( WXK_PAGEUP )
1386 .FriendlyName( _( "Previous Sheet" ) )
1387 .Tooltip( _( "Move to previous sheet by number" ) )
1388 .Icon( BITMAPS::left ) );
1389
1391 .Name( "eeschema.NavigateTool.next" )
1392 .Scope( AS_GLOBAL )
1393 .DefaultHotkey( WXK_PAGEDOWN )
1394 .FriendlyName( _( "Next Sheet" ) )
1395 .Tooltip( _( "Move to next sheet by number" ) )
1396 .Icon( BITMAPS::right ) );
1397
1399 .Name( "eeschema.EditorTool.showHierarchy" )
1400 .Scope( AS_GLOBAL )
1401 .DefaultHotkey( MD_CTRL + 'H' )
1402 .FriendlyName( _( "Hierarchy Navigator" ) )
1403 .Tooltip( _( "Show/hide the schematic sheet hierarchy navigator" ) )
1404 .ToolbarState( TOOLBAR_STATE::TOGGLE )
1405 .Icon( BITMAPS::hierarchy_nav ) );
1406
1407
1408// SCH_LINE_WIRE_BUS_TOOL
1409//
1412 .Name( "eeschema.InteractiveDrawingLineWireBus.drawWires" )
1413 .Scope( AS_GLOBAL )
1414 .DefaultHotkey( 'W' )
1415 .LegacyHotkeyName( "Begin Wire" )
1416 .FriendlyName( _( "Draw Wires" ) )
1417 .ToolbarState( TOOLBAR_STATE::TOGGLE )
1418 .Icon( BITMAPS::add_line )
1419 .Flags( AF_ACTIVATE )
1420 .Parameter( &drawWireActionParam ) );
1421
1424 .Name( "eeschema.InteractiveDrawingLineWireBus.drawBuses" )
1425 .Scope( AS_GLOBAL )
1426 .DefaultHotkey( 'B' )
1427 .LegacyHotkeyName( "Begin Bus" )
1428 .FriendlyName( _( "Draw Buses" ) )
1429 .ToolbarState( TOOLBAR_STATE::TOGGLE )
1430 .Icon( BITMAPS::add_bus )
1431 .Flags( AF_ACTIVATE )
1432 .Parameter( &drawBusActionParam ) );
1433
1435 .Name( "eeschema.InteractiveDrawingLineWireBus.unfoldBus" )
1436 .Scope( AS_GLOBAL )
1437 .DefaultHotkey( 'C' )
1438 .LegacyHotkeyName( "Unfold from Bus" )
1439 .FriendlyName( _( "Unfold from Bus" ) )
1440 .Tooltip( _( "Break a wire out of a bus" ) )
1442 .Flags( AF_ACTIVATE )
1443 .Parameter<wxString*>( nullptr ) );
1444
1447 .Name( "eeschema.InteractiveDrawingLineWireBus.drawLines" )
1448 .Scope( AS_GLOBAL )
1449 .DefaultHotkey( 'I' )
1450 .LegacyHotkeyName( "Add Graphic PolyLine" )
1451 .FriendlyName( _( "Draw Lines" ) )
1452 .ToolbarState( TOOLBAR_STATE::TOGGLE )
1454 .Flags( AF_ACTIVATE )
1455 .Parameter( &drawLinesActionParam ) );
1456
1458 .Name( "eeschema.InteractiveDrawingLineWireBus.undoLastSegment")
1459 .Scope( AS_GLOBAL )
1460 .DefaultHotkey( WXK_BACK )
1461 .FriendlyName( _( "Undo Last Segment" ) )
1462 .Tooltip( _( "Walks the current line back one segment." ) )
1463 .Icon( BITMAPS::undo ) );
1464
1466 .Name( "eeschema.InteractiveDrawingLineWireBus.switchPosture" )
1467 .Scope( AS_GLOBAL )
1468 .DefaultHotkey( '/' )
1469 .FriendlyName( _( "Switch Segment Posture" ) )
1470 .Tooltip( _( "Switches posture of the current segment." ) )
1472 .Flags( AF_NONE ) );
1473
1474// SCH_MOVE_TOOL
1475//
1477 .Name( "eeschema.InteractiveMove.move" )
1478 .Scope( AS_GLOBAL )
1479 .DefaultHotkey( 'M' )
1480 .LegacyHotkeyName( "Move Item" )
1481 .FriendlyName( _( "Move" ) )
1482 .Icon( BITMAPS::move )
1483 .Flags( AF_ACTIVATE ) );
1484
1486 .Name( "eeschema.InteractiveMove.drag" )
1487 .Scope( AS_GLOBAL )
1488 .DefaultHotkey( 'G' )
1489 .LegacyHotkeyName( "Drag Item" )
1490 .FriendlyName( _( "Drag" ) )
1491 .Tooltip( _( "Move items while keeping their connections" ) )
1492 .Icon( BITMAPS::drag )
1493 .Flags( AF_ACTIVATE ) );
1494
1496 .Name( "eeschema.AlignToGrid" )
1497 .Scope( AS_GLOBAL )
1498 .FriendlyName( _( "Align Items to Grid" ) )
1500 .Flags( AF_ACTIVATE ) );
1501
1502// Schematic editor save copy curr sheet command
1504 .Name( "eeschema.EditorControl.saveCurrSheetCopyAs" )
1505 .Scope( AS_GLOBAL )
1506 .FriendlyName( _( "Save Current Sheet Copy As..." ) )
1507 .Tooltip( _( "Save a copy of the current sheet to another location or name" ) )
1508 .Icon( BITMAPS::save_as ) );
1509
1510// Drag and drop
1512 .Name( "eeschema.EditorControl.ddAppendFile" )
1513 .Scope( AS_GLOBAL ) );
1514
1515// SIMULATOR
1517 .Name( "eeschema.Simulation.newAnalysisTab" )
1518 .Scope( AS_GLOBAL )
1519 .DefaultHotkey( MD_CTRL + 'N' )
1520 .LegacyHotkeyName( "New" )
1521 .FriendlyName( _( "New Analysis Tab..." ) )
1522 .Tooltip( _( "Create a new tab containing a simulation analysis" ) )
1523 .Icon( BITMAPS::sim_add_plot ) );
1524
1526 .Name( "eeschema.Simulation.openWorkbook" )
1527 .Scope( AS_GLOBAL )
1528 .DefaultHotkey( MD_CTRL + 'O' )
1529 .LegacyHotkeyName( "Open" )
1530 .FriendlyName( _( "Open Workbook..." ) )
1531 .Tooltip( _( "Open a saved set of analysis tabs and settings" ) )
1532 .Icon( BITMAPS::directory_open ) );
1533
1535 .Name( "eeschema.Simulation.saveWorkbook" )
1536 .Scope( AS_GLOBAL )
1537 .DefaultHotkey( MD_CTRL + 'S' )
1538 .LegacyHotkeyName( "Save" )
1539 .FriendlyName( _( "Save Workbook" ) )
1540 .Tooltip( _( "Save the current set of analysis tabs and settings" ) )
1541 .Icon( BITMAPS::save ) );
1542
1544 .Name( "eeschema.Simulation.saveWorkbookAs" )
1545 .Scope( AS_GLOBAL )
1546 .DefaultHotkey( MD_CTRL + MD_SHIFT + 'S' )
1547 .LegacyHotkeyName( "Save As" )
1548 .FriendlyName( _( "Save Workbook As..." ) )
1549 .Tooltip( _( "Save the current set of analysis tabs and settings to another location" ) )
1550 .Icon( BITMAPS::sim_add_signal ) );
1551
1553 .Name( "eeschema.Simulator.exportPNG" )
1554 .Scope( AS_GLOBAL )
1555 .FriendlyName( _( "Export Current Plot as PNG..." ) )
1556 .Icon( BITMAPS::export_png ) );
1557
1559 .Name( "eeschema.Simulator.exportCSV" )
1560 .Scope( AS_GLOBAL )
1561 .FriendlyName( _( "Export Current Plot as CSV..." ) )
1562 .Icon( BITMAPS::export_file ) );
1563
1565 .Name( "eeschema.Simulator.exportToClipboard" )
1566 .Scope( AS_GLOBAL )
1567 .FriendlyName( _( "Export Current Plot to Clipboard" ) )
1568 .Icon( BITMAPS::export_png ) );
1569
1571 .Name( "eeschema.Simulator.exportPlotToSchematic" )
1572 .Scope( AS_GLOBAL )
1573 .FriendlyName( _( "Export Current Plot to Schematic" ) )
1574 .Icon( BITMAPS::export_png ) );
1575
1577 .Name( "eeschema.Simulator.toggleSimSidePanel" )
1578 .Scope( AS_GLOBAL )
1579 .FriendlyName( _( "Show Simulation Side Panel" ) ) );
1580
1582 .Name( "eeschema.Simulator.toggleSimConsole" )
1583 .Scope( AS_GLOBAL )
1584 .FriendlyName( _( "Show Simulation Console Panel" ) ) );
1585
1587 .Name( "eeschema.Simulator.toggleLegend" )
1588 .Scope( AS_GLOBAL )
1589 .FriendlyName( _( "Show Legend" ) )
1590 .Icon( BITMAPS::text ) );
1591
1593 .Name( "eeschema.Simulator.toggleDottedSecondary" )
1594 .Scope( AS_GLOBAL )
1595 .FriendlyName( _( "Dotted Current/Phase" ) )
1596 .Tooltip( _( "Draw secondary signal trace (current or phase) with a dotted line" ) ) );
1597
1599 .Name( "eeschema.Simulator.toggleDarkModePlots" )
1600 .Scope( AS_GLOBAL )
1601 .FriendlyName( _( "Dark Mode Plots" ) )
1602 .Tooltip( _( "Draw plots with a black background" ) ) );
1603
1605 .Name( "eeschema.Simulation.simAnalysisProperties" )
1606 .Scope( AS_GLOBAL )
1607 .FriendlyName( _( "Edit Analysis Tab..." ) )
1608 .Tooltip( _( "Edit the current analysis tab's SPICE command and plot setup" ) )
1609 .Icon( BITMAPS::sim_command ) );
1610
1612 .Name( "eeschema.Simulation.runSimulation" )
1613 .Scope( AS_GLOBAL )
1614 .DefaultHotkey( 'R' )
1615 .FriendlyName( _( "Run Simulation" ) )
1616 .Icon( BITMAPS::sim_run ) );
1617
1619 .Name( "eeschema.Simulation.stopSimulation" )
1620 .Scope( AS_GLOBAL )
1621 .FriendlyName( _( "Stop Simulation" ) )
1622 .Icon( BITMAPS::sim_stop ) );
1623
1625 .Name( "eeschema.Simulation.probe" )
1626 .Scope( AS_GLOBAL )
1627 .DefaultHotkey( MD_SHIFT + 'P' )
1628 .FriendlyName( _( "Probe Schematic..." ) )
1629 .Tooltip( _( "Add a simulator probe" ) )
1630 .Icon( BITMAPS::sim_probe ) );
1631
1633 .Name( "eeschema.Simulation.tune" )
1634 .Scope( AS_GLOBAL )
1635 .DefaultHotkey( MD_SHIFT + 'T' )
1636 .FriendlyName( _( "Add Tuned Value..." ) )
1637 .Tooltip( _( "Select a value to be tuned" ) )
1638 .Icon( BITMAPS::sim_tune ) );
1639
1641 .Name( "eeschema.Simulation.editUserDefinedSignals" )
1642 .Scope( AS_GLOBAL )
1643 .FriendlyName( _( "User-defined Signals..." ) )
1644 .Tooltip( _( "Add, edit or delete user-defined simulation signals" ) )
1645 .Icon( BITMAPS::sim_add_signal ) );
1646
1648 .Name( "eeschema.Simulation.showNetlist" )
1649 .Scope( AS_GLOBAL )
1650 .FriendlyName( _( "Show SPICE Netlist" ) )
1651 .Icon( BITMAPS::netlist ) );
1652
1653// clang-format on
@ add_symbol_to_schematic
@ hierarchy_nav
@ delete_cursor
@ add_hierarchical_subsheet
@ net_highlight_schematic
@ add_graphical_polygon
@ add_line2bus
@ add_line_label
@ pin_show_etype
@ edit_comp_value
@ edit_comp_footprint
@ add_rectangle
@ add_class_flag
@ icon_pcbnew_24
@ add_hierarchical_label
@ edit_comp_ref
@ autoplace_fields
@ change_entry_orient
@ add_graphical_segments
@ sim_add_plot
@ INVALID_BITMAP
@ part_properties
@ add_component
@ add_keepout_area
@ import_hierarchical_label
@ directory_open
@ align_elements_to_grid
@ add_junction
@ annotate_increment
@ options_schematic
@ bus_definition_tool
@ sim_add_signal
@ add_hierar_pin
@ new_component
@ icon_cvpcb_24
@ select_same_sheet
@ library_archive
@ import_footprint_names
@ import_vector
@ edit_cmp_symb_links
static TOOL_ACTION showPcbNew
Definition: sch_actions.h:174
static TOOL_ACTION editSymbol
Definition: sch_actions.h:204
static TOOL_ACTION rotateCCW
Definition: sch_actions.h:121
static TOOL_ACTION placeClassLabel
Definition: sch_actions.h:79
static TOOL_ACTION placeSheetPin
Definition: sch_actions.h:85
static TOOL_ACTION importSymbol
Definition: sch_actions.h:211
static TOOL_ACTION syncSelection
Selection synchronization (PCB -> SCH)
Definition: sch_actions.h:57
static TOOL_ACTION newSymbol
Definition: sch_actions.h:202
static TOOL_ACTION placeNextSymbolUnit
Definition: sch_actions.h:67
static TOOL_ACTION editValue
Definition: sch_actions.h:127
static TOOL_ACTION saveLibraryAs
Definition: sch_actions.h:199
static TOOL_ACTION setExcludeFromBOM
Definition: sch_actions.h:184
static TOOL_ACTION assignFootprints
Definition: sch_actions.h:157
static TOOL_ACTION saveSheetAsDesignBlock
Definition: sch_actions.h:191
static TOOL_ACTION mirrorV
Definition: sch_actions.h:122
static TOOL_ACTION lineModeNext
Definition: sch_actions.h:267
static TOOL_ACTION toggleSimConsole
Definition: sch_actions.h:284
static TOOL_ACTION drawSheetFromFile
Definition: sch_actions.h:83
static TOOL_ACTION exportPlotToClipboard
Definition: sch_actions.h:279
static TOOL_ACTION toggleOPCurrents
Definition: sch_actions.h:243
static TOOL_ACTION saveToLinkedDesignBlock
Definition: sch_actions.h:71
static TOOL_ACTION clearHighlight
Definition: sch_actions.h:297
static TOOL_ACTION swap
Definition: sch_actions.h:124
static TOOL_ACTION saveSelectionAsDesignBlock
Definition: sch_actions.h:192
static TOOL_ACTION showBusSyntaxHelp
Definition: sch_actions.h:163
static TOOL_ACTION placeGlobalLabel
Definition: sch_actions.h:80
static TOOL_ACTION saveWorkbookAs
Definition: sch_actions.h:276
static TOOL_ACTION deleteDesignBlock
Definition: sch_actions.h:195
static TOOL_ACTION editSymbolFields
Definition: sch_actions.h:149
static TOOL_ACTION toggleSimSidePanel
Definition: sch_actions.h:285
static TOOL_ACTION pushPinLength
Definition: sch_actions.h:248
static TOOL_ACTION checkSymbol
Definition: sch_actions.h:161
static TOOL_ACTION importFPAssignments
Definition: sch_actions.h:175
static TOOL_ACTION changeSymbols
Definition: sch_actions.h:153
static TOOL_ACTION drawTextBox
Definition: sch_actions.h:93
static TOOL_ACTION toggleAnnotateAuto
Definition: sch_actions.h:270
static TOOL_ACTION updateSymbol
Definition: sch_actions.h:156
static TOOL_ACTION autoplaceFields
Definition: sch_actions.h:129
static TOOL_ACTION changeSymbol
Definition: sch_actions.h:155
static TOOL_ACTION syncAllSheetsPins
Definition: sch_actions.h:91
static TOOL_ACTION editLibSymbolWithLibEdit
Definition: sch_actions.h:173
static TOOL_ACTION closeOutline
Definition: sch_actions.h:105
static TOOL_ACTION exportPlotAsCSV
Definition: sch_actions.h:278
static TOOL_ACTION showDeMorganAlternate
Definition: sch_actions.h:132
static TOOL_ACTION drawArc
Definition: sch_actions.h:97
static TOOL_ACTION drawSheet
Definition: sch_actions.h:82
static TOOL_ACTION toggleERCWarnings
Definition: sch_actions.h:238
static TOOL_ACTION pinTable
Definition: sch_actions.h:152
static TOOL_ACTION drawSymbolLines
Definition: sch_actions.h:111
static TOOL_ACTION placeSymbolPin
Definition: sch_actions.h:108
static TOOL_ACTION navigateBack
Definition: sch_actions.h:222
static TOOL_ACTION schematicSetup
Definition: sch_actions.h:159
static TOOL_ACTION toggleDirectiveLabels
Definition: sch_actions.h:237
static TOOL_ACTION pasteSymbol
Definition: sch_actions.h:210
static TOOL_ACTION drawSymbolTextBox
Definition: sch_actions.h:110
static TOOL_ACTION pushPinNameSize
Definition: sch_actions.h:249
static TOOL_ACTION highlightNetTool
Definition: sch_actions.h:299
static TOOL_ACTION toCLabel
Definition: sch_actions.h:135
static TOOL_ACTION properties
Definition: sch_actions.h:125
static TOOL_ACTION editReference
Definition: sch_actions.h:126
static TOOL_ACTION leaveSheet
Definition: sch_actions.h:219
static TOOL_ACTION exportSymbolAsSVG
Definition: sch_actions.h:257
static TOOL_ACTION breakWire
Definition: sch_actions.h:140
static TOOL_ACTION toggleDeMorgan
Definition: sch_actions.h:130
static TOOL_ACTION renameSymbol
Definition: sch_actions.h:206
static TOOL_ACTION toggleHiddenFields
Definition: sch_actions.h:234
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 simAnalysisProperties
Definition: sch_actions.h:289
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
Definition: sch_actions.h:287
static TOOL_ACTION placeLabel
Definition: sch_actions.h:78
static TOOL_ACTION drawCircle
Definition: sch_actions.h:96
static TOOL_ACTION navigateNext
Definition: sch_actions.h:224
static TOOL_ACTION duplicateSymbol
Definition: sch_actions.h:205
static TOOL_ACTION importGraphics
Definition: sch_actions.h:255
static TOOL_ACTION toText
Definition: sch_actions.h:138
static TOOL_ACTION restartMove
Definition: sch_actions.h:246
static TOOL_ACTION placeBusWireEntry
Definition: sch_actions.h:77
static TOOL_ACTION toHLabel
Definition: sch_actions.h:136
static TOOL_ACTION repairSchematic
Definition: sch_actions.h:259
static TOOL_ACTION cutSymbol
Definition: sch_actions.h:208
static TOOL_ACTION nextNetItem
Definition: sch_actions.h:168
static TOOL_ACTION drawBezier
Definition: sch_actions.h:98
static TOOL_ACTION drawWire
Definition: sch_actions.h:72
static TOOL_ACTION remapSymbols
Definition: sch_actions.h:166
static TOOL_ACTION lineMode45
Definition: sch_actions.h:266
static TOOL_ACTION saveSymbolCopyAs
Definition: sch_actions.h:201
static TOOL_ACTION nextUnit
Definition: sch_actions.h:261
static TOOL_ACTION editSymbolLibraryLinks
Definition: sch_actions.h:150
static TOOL_ACTION simTune
Definition: sch_actions.h:283
static TOOL_ACTION rotateCW
Definition: sch_actions.h:120
static TOOL_ACTION importSheet
Definition: sch_actions.h:87
static TOOL_ACTION showElectricalTypes
Definition: sch_actions.h:251
static TOOL_ACTION toggleDarkModePlots
Definition: sch_actions.h:288
static TOOL_ACTION drag
Definition: sch_actions.h:118
static TOOL_ACTION exportPlotAsPNG
Definition: sch_actions.h:277
static TOOL_ACTION pointEditorAddCorner
Definition: sch_actions.h:142
static TOOL_ACTION generateBOM
Definition: sch_actions.h:177
static TOOL_ACTION showHierarchy
Definition: sch_actions.h:225
static TOOL_ACTION exportPlotToSchematic
Definition: sch_actions.h:280
static TOOL_ACTION saveSheetToDesignBlock
Definition: sch_actions.h:193
static TOOL_ACTION toLabel
Definition: sch_actions.h:134
static TOOL_ACTION showNetNavigator
Definition: sch_actions.h:300
static TOOL_ACTION placeJunction
Definition: sch_actions.h:76
static TOOL_ACTION setDNP
Definition: sch_actions.h:187
static TOOL_ACTION markSimExclusions
Definition: sch_actions.h:241
static TOOL_ACTION previousNetItem
Definition: sch_actions.h:169
static TOOL_ACTION drawSymbolPolygon
Definition: sch_actions.h:112
static TOOL_ACTION drawRuleArea
Definition: sch_actions.h:103
static TOOL_ACTION placeSymbol
Definition: sch_actions.h:66
static TOOL_ACTION placeImage
Definition: sch_actions.h:100
static TOOL_ACTION alignToGrid
Definition: sch_actions.h:116
static TOOL_ACTION deleteLastPoint
Definition: sch_actions.h:104
static TOOL_ACTION showHiddenFields
Definition: sch_actions.h:236
static TOOL_ACTION editDesignBlockProperties
Definition: sch_actions.h:196
static TOOL_ACTION editWithLibEdit
Definition: sch_actions.h:172
static TOOL_ACTION cleanupSheetPins
Definition: sch_actions.h:229
static TOOL_ACTION runSimulation
Definition: sch_actions.h:290
static TOOL_ACTION navigateForward
Definition: sch_actions.h:221
static TOOL_ACTION generateBOMExternal
Definition: sch_actions.h:179
static TOOL_ACTION toggleERCErrors
Definition: sch_actions.h:239
static TOOL_ACTION incrementAnnotations
Definition: sch_actions.h:148
static TOOL_ACTION placeSymbolAnchor
Definition: sch_actions.h:113
static TOOL_ACTION navigatePrevious
Definition: sch_actions.h:223
static TOOL_ACTION saveSelectionToDesignBlock
Definition: sch_actions.h:194
static TOOL_ACTION rescueSymbols
Definition: sch_actions.h:165
static TOOL_ACTION showHiddenPins
Definition: sch_actions.h:235
static TOOL_ACTION editUserDefinedSignals
Definition: sch_actions.h:292
static TOOL_ACTION showPinNumbers
Definition: sch_actions.h:252
static TOOL_ACTION setUnitDisplayName
Definition: sch_actions.h:214
static TOOL_ACTION placeLinkedDesignBlock
Definition: sch_actions.h:70
static TOOL_ACTION exportSymbolView
Definition: sch_actions.h:256
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
Definition: sch_actions.h:273
static TOOL_ACTION generateBOMLegacy
Definition: sch_actions.h:178
static TOOL_ACTION mirrorH
Definition: sch_actions.h:123
static TOOL_ACTION showSimulator
Definition: sch_actions.h:281
static TOOL_ACTION copySymbol
Definition: sch_actions.h:209
static TOOL_ACTION unfoldBus
Definition: sch_actions.h:74
static TOOL_ACTION pointEditorRemoveCorner
Definition: sch_actions.h:143
static TOOL_ACTION placeDesignBlock
Definition: sch_actions.h:69
static TOOL_ACTION toggleOPVoltages
Definition: sch_actions.h:242
static TOOL_ACTION drawBus
Definition: sch_actions.h:73
static TOOL_ACTION simProbe
Definition: sch_actions.h:282
static TOOL_ACTION setExcludeFromSimulation
Definition: sch_actions.h:185
static TOOL_ACTION runERC
Inspection and Editing.
Definition: sch_actions.h:146
static TOOL_ACTION symbolProperties
Definition: sch_actions.h:151
static TOOL_ACTION placeSymbolText
Definition: sch_actions.h:109
static TOOL_ACTION drawTable
Definition: sch_actions.h:94
static TOOL_ACTION lineMode90
Definition: sch_actions.h:265
static TOOL_ACTION ddAppendFile
Definition: sch_actions.h:303
static TOOL_ACTION slice
Definition: sch_actions.h:141
static TOOL_ACTION placeSchematicText
Definition: sch_actions.h:92
static TOOL_ACTION toggleSyncedPinsMode
Definition: sch_actions.h:245
static TOOL_ACTION toTextBox
Definition: sch_actions.h:139
static TOOL_ACTION lineModeFree
Definition: sch_actions.h:264
static TOOL_ACTION changeSheet
Definition: sch_actions.h:217
static TOOL_ACTION highlightNet
Definition: sch_actions.h:296
static TOOL_ACTION deleteSymbol
Definition: sch_actions.h:207
static TOOL_ACTION assignNetclass
Definition: sch_actions.h:158
static TOOL_ACTION annotate
Definition: sch_actions.h:147
static TOOL_ACTION showDesignBlockPanel
Definition: sch_actions.h:190
static TOOL_ACTION updateSymbols
Definition: sch_actions.h:154
static TOOL_ACTION enterSheet
Definition: sch_actions.h:218
static TOOL_ACTION pushPinNumSize
Definition: sch_actions.h:250
static TOOL_ACTION undoLastSegment
Definition: sch_actions.h:101
static TOOL_ACTION showNetlist
Definition: sch_actions.h:293
static TOOL_ACTION editFootprint
Definition: sch_actions.h:128
static TOOL_ACTION togglePinAltIcons
Definition: sch_actions.h:244
static TOOL_ACTION openWorkbook
Definition: sch_actions.h:274
static TOOL_ACTION toggleERCExclusions
Definition: sch_actions.h:240
static TOOL_ACTION updateNetHighlighting
Definition: sch_actions.h:298
static TOOL_ACTION repeatDrawItem
Definition: sch_actions.h:119
static TOOL_ACTION editTextAndGraphics
Definition: sch_actions.h:230
static TOOL_ACTION exportNetlist
Definition: sch_actions.h:176
static TOOL_ACTION saveWorkbook
Definition: sch_actions.h:275
static TOOL_ACTION placeNoConnect
Definition: sch_actions.h:75
static TOOL_ACTION editPageNumber
Definition: sch_actions.h:160
static TOOL_ACTION drawSheetOnClipboard
Definition: sch_actions.h:254
static TOOL_ACTION exportSymbolsToLibrary
Definition: sch_actions.h:181
static TOOL_ACTION switchSegmentPosture
Definition: sch_actions.h:102
static TOOL_ACTION showDeMorganStandard
Definition: sch_actions.h:131
static TOOL_ACTION updateSymbolFields
Definition: sch_actions.h:213
static TOOL_ACTION toGLabel
Definition: sch_actions.h:137
static TOOL_ACTION toggleHiddenPins
Definition: sch_actions.h:233
static TOOL_ACTION setExcludeFromBoard
Definition: sch_actions.h:186
static TOOL_ACTION exportSymbol
Definition: sch_actions.h:212
static TOOL_ACTION selectOnPCB
Definition: sch_actions.h:247
static TOOL_ACTION move
Definition: sch_actions.h:117
static TOOL_ACTION syncSheetPins
Definition: sch_actions.h:89
static TOOL_ACTION toggleLegend
Definition: sch_actions.h:286
static TOOL_ACTION diffSymbol
Definition: sch_actions.h:162
static TOOL_ACTION placePower
Definition: sch_actions.h:68
static TOOL_ACTION navigateUp
Definition: sch_actions.h:220
static TOOL_ACTION previousUnit
Definition: sch_actions.h:260
static TOOL_ACTION deriveFromExistingSymbol
Definition: sch_actions.h:203
static TOOL_ACTION stopSimulation
Definition: sch_actions.h:291
static TOOL_ACTION addSymbolToSchematic
Definition: sch_actions.h:180
static TOOL_ACTION saveSymbolAs
Definition: sch_actions.h:200
Build up the properties of a TOOL_ACTION in an incremental manner that is static-construction safe.
Definition: tool_action.h:118
Represent a single user action.
Definition: tool_action.h:304
@ RECTANGLE
Use RECTANGLE instead of RECT to avoid collision in a Windows header.
@ LINE_MODE_90
@ LINE_MODE_45
@ LINE_MODE_FREE
@ LAYER_WIRE
Definition: layer_ids.h:442
@ LAYER_NOTES
Definition: layer_ids.h:457
@ LAYER_BUS
Definition: layer_ids.h:443
const DRAW_SEGMENT_EVENT_PARAMS drawLinesActionParam
const DRAW_SEGMENT_EVENT_PARAMS drawWireActionParam
const DRAW_SEGMENT_EVENT_PARAMS drawBusActionParam
#define _(s)
Definition: sch_actions.cpp:41
@ TOGGLE
Action is a toggle button on the toolbar.
@ 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_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