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.flattenSymbol" )
275 .Scope( AS_GLOBAL )
276 .FriendlyName( _( "Flatten Symbol" ) )
277 .Tooltip( _( "Remove inheritance from 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 and optionally the unit number
442 .Parameter<SCH_ACTIONS::PLACE_SYMBOL_UNIT_PARAMS>( {} ) );
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
773// Separate action so "real" pin swaps are not conflated with the generic position swap.
775 .Name( "eeschema.InteractiveEdit.swapPins" )
776 .Scope( AS_GLOBAL )
777 .FriendlyName( _( "Swap Pins" ) )
778 .Tooltip( _( "Swap the selected symbol pins' positions" ) )
779 .Icon( BITMAPS::swap ) );
780
782 .Name( "eeschema.InteractiveEdit.swapPinLabels" )
783 .Scope( AS_GLOBAL )
784 .FriendlyName( _( "Swap Pin Labels" ) )
785 .Tooltip( _( "Swap the labels attached to selected pins" ) )
786 .Icon( BITMAPS::swap ) );
787
789 .Name( "eeschema.InteractiveEdit.swapUnitLabels" )
790 .Scope( AS_GLOBAL )
791 .FriendlyName( _( "Swap Unit Labels" ) )
792 .Tooltip( _( "Swap labels between selected units" ) )
793 .Icon( BITMAPS::swap ) );
794
796 .Name( "eeschema.InteractiveEdit.properties" )
797 .Scope( AS_GLOBAL )
798 .DefaultHotkey( 'E' )
799 .LegacyHotkeyName( "Edit Item" )
800 .FriendlyName( _( "Properties..." ) )
801 .Icon( BITMAPS::edit ) );
802
804 .Name( "eeschema.InteractiveEdit.editReference" )
805 .Scope( AS_GLOBAL )
806 .DefaultHotkey( 'U' )
807 .LegacyHotkeyName( "Edit Symbol Reference" )
808 .FriendlyName( _( "Edit Reference Designator..." ) )
809 .Icon( BITMAPS::edit_comp_ref ) );
810
812 .Name( "eeschema.InteractiveEdit.editValue" )
813 .Scope( AS_GLOBAL )
814 .DefaultHotkey( 'V' )
815 .LegacyHotkeyName( "Edit Symbol Value" )
816 .FriendlyName( _( "Edit Value..." ) )
817 .Icon( BITMAPS::edit_comp_value ) );
818
820 .Name( "eeschema.InteractiveEdit.editFootprint" )
821 .Scope( AS_GLOBAL )
822 .DefaultHotkey( 'F' )
823 .LegacyHotkeyName( "Edit Symbol Footprint" )
824 .FriendlyName( _( "Edit Footprint..." ) )
826
828 .Name( "eeschema.InteractiveEdit.autoplaceFields" )
829 .Scope( AS_GLOBAL )
830 .DefaultHotkey( 'O' )
831 .LegacyHotkeyName( "Autoplace Fields" )
832 .FriendlyName( _( "Autoplace Fields" ) )
833 .Tooltip( _( "Runs the automatic placement algorithm on the symbol's (or sheet's) fields" ) )
834 .Icon( BITMAPS::autoplace_fields ) );
835
837 .Name( "eeschema.InteractiveEdit.changeSymbols" )
838 .Scope( AS_GLOBAL )
839 .FriendlyName( _( "Change Symbols..." ) )
840 .Tooltip( _( "Assign different symbols from the library" ) )
841 .Icon( BITMAPS::exchange ) );
842
844 .Name( "eeschema.InteractiveEdit.updateSymbols" )
845 .Scope( AS_GLOBAL )
846 .FriendlyName( _( "Update Symbols from Library..." ) )
847 .Tooltip( _( "Update symbols to include any changes from the library" ) )
848 .Icon( BITMAPS::refresh ) );
849
851 .Name( "eeschema.InteractiveEdit.changeSymbol" )
852 .Scope( AS_GLOBAL )
853 .FriendlyName( _( "Change Symbol..." ) )
854 .Tooltip( _( "Assign a different symbol from the library" ) )
855 .Icon( BITMAPS::exchange ) );
856
858 .Name( "eeschema.InteractiveEdit.updateSymbol" )
859 .Scope( AS_GLOBAL )
860 .FriendlyName( _( "Update Symbol..." ) )
861 .Tooltip( _( "Update symbol to include any changes from the library" ) )
862 .Icon( BITMAPS::refresh ) );
863
865 .Name( "eeschema.InteractiveEdit.assignNetclass" )
866 .Scope( AS_GLOBAL )
867 .FriendlyName( _( "Assign Netclass..." ) )
868 .Tooltip( _( "Assign a netclass to nets matching a pattern" ) )
869 .Icon( BITMAPS::netlist ) );
870
872 .Name( "eeschema.InteractiveEdit.toggleDeMorgan" )
873 .Scope( AS_GLOBAL )
874 .FriendlyName( _( "Cycle Body Style" ) )
875 .Tooltip( _( "Switch between De Morgan (or other) representations" ) )
876 .Icon( BITMAPS::morgan2 ) );
877
879 .Name( "eeschema.InteractiveEdit.toLabel" )
880 .Scope( AS_GLOBAL )
881 .FriendlyName( _( "Change to Label" ) )
882 .Tooltip( _( "Change existing item to a label" ) )
884 .Flags( AF_NONE )
885 .Parameter( SCH_LABEL_T ) );
886
888 .Name( "eeschema.InteractiveEdit.toCLabel" ) // Old name based on netClass label.
889 // There's no sense losing hotkey assignments, so we
890 // leave it as-is)
891 .Scope( AS_GLOBAL )
892 .FriendlyName( _( "Change to Directive Label" ) )
893 .Tooltip( _( "Change existing item to a directive label" ) )
895 .Flags( AF_NONE )
896 .Parameter( SCH_DIRECTIVE_LABEL_T ) );
897
899 .Name( "eeschema.InteractiveEdit.toHLabel" )
900 .Scope( AS_GLOBAL )
901 .FriendlyName( _( "Change to Hierarchical Label" ) )
902 .Tooltip( _( "Change existing item to a hierarchical label" ) )
904 .Flags( AF_NONE )
905 .Parameter( SCH_HIER_LABEL_T ) );
906
908 .Name( "eeschema.InteractiveEdit.toGLabel" )
909 .Scope( AS_GLOBAL )
910 .FriendlyName( _( "Change to Global Label" ) )
911 .Tooltip( _( "Change existing item to a global label" ) )
912 .Icon( BITMAPS::add_glabel )
913 .Flags( AF_NONE )
914 .Parameter( SCH_GLOBAL_LABEL_T ) );
915
917 .Name( "eeschema.InteractiveEdit.toText" )
918 .Scope( AS_GLOBAL )
919 .FriendlyName( _( "Change to Text" ) )
920 .Tooltip( _( "Change existing item to a text comment" ) )
921 .Icon( BITMAPS::text )
922 .Flags( AF_NONE )
923 .Parameter( SCH_TEXT_T ) );
924
926 .Name( "eeschema.InteractiveEdit.toTextBox" )
927 .Scope( AS_GLOBAL )
928 .FriendlyName( _( "Change to Text Box" ) )
929 .Tooltip( _( "Change existing item to a text box" ) )
930 .Icon( BITMAPS::add_textbox )
931 .Flags( AF_NONE )
932 .Parameter( SCH_TEXTBOX_T ) );
933
935 .Name( "eeschema.InteractiveEdit.cleanupSheetPins" )
936 .Scope( AS_GLOBAL )
937 .FriendlyName( _( "Cleanup Sheet Pins" ) )
938 .Tooltip( _( "Delete unreferenced sheet pins" ) ) );
939
941 .Name( "eeschema.InteractiveEdit.editTextAndGraphics" )
942 .Scope( AS_GLOBAL )
943 .FriendlyName( _( "Edit Text & Graphics Properties..." ) )
944 .Tooltip( _( "Edit text and graphics properties globally across schematic" ) )
945 .Icon( BITMAPS::text ) );
946
948 .Name( "eeschema.InteractiveEdit.symbolProperties" )
949 .Scope( AS_GLOBAL )
950 .FriendlyName( _( "Symbol Properties..." ) )
951 .Icon( BITMAPS::part_properties ) );
952
954 .Name( "eeschema.InteractiveEdit.pinTable" )
955 .Scope( AS_GLOBAL )
956 .FriendlyName( _( "Pin Table..." ) )
957 .Tooltip( _( "Displays pin table for bulk editing of pins" ) )
958 .Icon( BITMAPS::pin_table ) );
959
961 .Name( "eeschema.InteractiveEdit.convertStackedPins" )
962 .Scope( AS_GLOBAL )
963 .FriendlyName( _( "Convert Stacked Pins" ) )
964 .Tooltip( _( "Convert multiple pins at the same location to a single pin with stacked notation" ) )
965 .Icon( BITMAPS::pin ) );
966
968 .Name( "eeschema.InteractiveEdit.explodeStackedPin" )
969 .Scope( AS_GLOBAL )
970 .FriendlyName( _( "Explode Stacked Pin" ) )
971 .Tooltip( _( "Convert a pin with stacked notation to multiple individual pins" ) )
972 .Icon( BITMAPS::pin ) );
973
975 .Name( "eeschema.InteractiveEdit.breakWire" )
976 .Scope( AS_GLOBAL )
977 .FriendlyName( _( "Break" ) )
978 .Tooltip( _( "Divide into connected segments" ) )
979 .Icon( BITMAPS::break_line ) );
980
982 .Name( "eeschema.InteractiveEdit.slice" )
983 .Scope( AS_GLOBAL )
984 .FriendlyName( _( "Slice" ) )
985 .Tooltip( _( "Divide into unconnected segments" ) )
986 .Icon( BITMAPS::slice_line ) );
987
988// SCH_EDITOR_CONTROL
989//
991 .Name( "eeschema.EditorControl.restartMove" )
992 .Scope( AS_GLOBAL ) );
993
995 .Name( "eeschema.EditorControl.highlightNet" )
996 .Scope( AS_GLOBAL )
997 .DefaultHotkey( '`' )
998 .FriendlyName( _( "Highlight Net" ) )
999 .Tooltip( _( "Highlight net under cursor" ) )
1001
1003 .Name( "eeschema.EditorControl.clearHighlight" )
1004 .Scope( AS_GLOBAL )
1005 .DefaultHotkey( '~' )
1006 .FriendlyName( _( "Clear Net Highlighting" ) )
1007 .Tooltip( _( "Clear any existing net highlighting" ) ) );
1008
1010 .Name( "eeschema.EditorControl.updateNetHighlighting" )
1011 .Scope( AS_GLOBAL ) );
1012
1014 .Name( "eeschema.EditorControl.highlightNetTool" )
1015 .Scope( AS_GLOBAL )
1016 .FriendlyName( _( "Highlight Nets" ) )
1017 .Tooltip( _( "Highlight wires and pins of a net" ) )
1018 .ToolbarState( TOOLBAR_STATE::TOGGLE )
1020 .Flags( AF_ACTIVATE ) );
1021
1023 .Name( "eeschema.EditorControl.showNetNavigator" )
1024 .Scope( AS_GLOBAL )
1025 .FriendlyName( _( "Net Navigator" ) )
1026 .Tooltip( _( "Show/hide the net navigator" ) ) );
1027
1029 .Name( "eeschema.EditorControl.editWithSymbolEditor" )
1030 .Scope( AS_GLOBAL )
1031 .DefaultHotkey( MD_CTRL + 'E' )
1032 .LegacyHotkeyName( "Edit with Symbol Editor" )
1033 .FriendlyName( _( "Edit with Symbol Editor" ) )
1034 .Tooltip( _( "Open the selected symbol in the Symbol Editor" ) )
1035 .Icon( BITMAPS::libedit ) );
1036
1038 .Name( "eeschema.EditorControl.setExcludeFromBOM" )
1039 .Scope( AS_GLOBAL )
1040 .FriendlyName( _( "Exclude from Bill of Materials" ) )
1041 .Tooltip( _( "Set the exclude from bill of materials attribute" ) ) );
1042
1044 .Name( "eeschema.EditorControl.setExcludeFromSimulation" )
1045 .Scope( AS_GLOBAL )
1046 .FriendlyName( _( "Exclude from Simulation" ) )
1047 .Tooltip( _( "Set the exclude from simulation attribute" ) ) );
1048
1050 .Name( "eeschema.EditorControl.setExcludeFromBoard" )
1051 .Scope( AS_GLOBAL )
1052 .FriendlyName( _( "Exclude from Board" ) )
1053 .Tooltip( _( "Set the exclude from board attribute" ) ) );
1054
1056 .Name( "eeschema.EditorControl.setDNP" )
1057 .Scope( AS_GLOBAL )
1058 .FriendlyName( _( "Do not Populate" ) )
1059 .Tooltip( _( "Set the do not populate attribute" ) ) );
1060
1062 .Name( "eeschema.EditorControl.editLibSymbolWithSymbolEditor" )
1063 .Scope( AS_GLOBAL )
1064 .DefaultHotkey( MD_CTRL + MD_SHIFT + 'E' )
1065 .FriendlyName( _( "Edit Library Symbol..." ) )
1066 .Tooltip( _( "Open the library symbol in the Symbol Editor" ) )
1067 .Icon( BITMAPS::libedit ) );
1068
1070 .Name( "eeschema.EditorControl.editSymbolFields" )
1071 .Scope( AS_GLOBAL )
1072 .FriendlyName( _( "Edit Symbol Fields..." ) )
1073 .Tooltip( _( "Bulk-edit fields of all symbols in schematic" ) )
1074 .Icon( BITMAPS::spreadsheet ) );
1075
1077 .Name( "eeschema.EditorControl.editSymbolLibraryLinks" )
1078 .Scope( AS_GLOBAL )
1079 .FriendlyName( _( "Edit Symbol Library Links..." ) )
1080 .Tooltip( _( "Edit links between schematic and library symbols" ) )
1082
1084 .Name( "eeschema.EditorControl.assignFootprints" )
1085 .Scope( AS_GLOBAL )
1086 .FriendlyName( _( "Assign Footprints..." ) )
1087 .Tooltip( _( "Run footprint assignment tool" ) )
1088 .Icon( BITMAPS::icon_cvpcb_24 ) );
1089
1091 .Name( "eeschema.EditorControl.importFPAssignments" )
1092 .Scope( AS_GLOBAL )
1093 .FriendlyName( _( "Import Footprint Assignments..." ) )
1094 .Tooltip( _( "Import symbol footprint assignments from .cmp file created by board editor" ) )
1096
1098 .Name( "eeschema.EditorControl.annotate" )
1099 .Scope( AS_GLOBAL )
1100 .FriendlyName( _( "Annotate Schematic..." ) )
1101 .Tooltip( _( "Fill in schematic symbol reference designators" ) )
1102 .Icon( BITMAPS::annotate ) );
1103
1105 .Name( "eeschema.EditorControl.incrementAnnotations" )
1106 .Scope( AS_GLOBAL )
1107 .FriendlyName( _( "Increment Annotations From..." ) )
1108 .Tooltip( _( "Increment a subset of reference designators starting at a particular symbol" ) )
1110 );
1111
1113 .Name( "eeschema.EditorControl.schematicSetup" )
1114 .Scope( AS_GLOBAL )
1115 .FriendlyName( _( "Schematic Setup..." ) )
1116 .Tooltip( _( "Edit schematic setup including annotation styles and electrical rules" ) )
1117 .Icon( BITMAPS::options_schematic ) );
1118
1120 .Name( "eeschema.EditorControl.editPageNumber" )
1121 .Scope( AS_GLOBAL )
1122 .FriendlyName( _( "Edit Sheet Page Number..." ) )
1123 .Tooltip( _( "Edit the page number of the current or selected sheet" ) ) );
1124
1126 .Name( "eeschema.EditorControl.rescueSymbols" )
1127 .Scope( AS_GLOBAL )
1128 .FriendlyName( _( "Rescue Symbols..." ) )
1129 .Tooltip( _( "Find old symbols in project and rename/rescue them" ) )
1130 .Icon( BITMAPS::rescue ) );
1131
1133 .Name( "eeschema.EditorControl.remapSymbols" )
1134 .Scope( AS_GLOBAL )
1135 .FriendlyName( _( "Remap Legacy Library Symbols..." ) )
1136 .Tooltip( _( "Remap library symbol references in legacy schematics to the symbol library table" ) )
1137 .Icon( BITMAPS::rescue ) );
1138
1140 .Name( "eeschema.EditorControl.nextNetItem" )
1141 .Scope( AS_GLOBAL )
1142 .DefaultHotkey( WXK_TAB )
1143 .FriendlyName( _( "Next Net Item" ) )
1144 .Tooltip( _( "Select next item on the current net" ) ) );
1145
1147 .Name( "eeschema.EditorControl.previousNetItem" )
1148 .Scope( AS_GLOBAL )
1149 .DefaultHotkey( MD_SHIFT + static_cast<int>( WXK_TAB ) )
1150 .FriendlyName( _( "Previous Net Item" ) )
1151 .Tooltip( _( "Select previous item on the current net" ) ) );
1152
1154 .Name( "eeschema.EditorControl.drawSheetOnClipboard" )
1155 .Scope( AS_GLOBAL )
1156 .FriendlyName( _( "Export Drawing to Clipboard" ) )
1157 .Tooltip( _( "Export drawing of current sheet to clipboard" ) )
1158 .Icon( BITMAPS::copy ) );
1159
1161 .Name( "eeschema.EditorControl.importGraphics" )
1162 .Scope( AS_GLOBAL )
1163 .DefaultHotkey( MD_CTRL + MD_SHIFT + 'F' )
1164 .LegacyHotkeyName( "Place DXF" )
1165 .FriendlyName( _( "Import Graphics..." ) )
1166 .Tooltip( _( "Import 2D drawing file" ) )
1167 .Icon( BITMAPS::import_vector )
1168 .Flags( AF_ACTIVATE ) );
1169
1171 .Name( "eeschema.EditorControl.showPcbNew" )
1172 .Scope( AS_GLOBAL )
1173 .FriendlyName( _( "Switch to PCB Editor" ) )
1174 .Tooltip( _( "Open PCB in board editor" ) )
1175 .Icon( BITMAPS::icon_pcbnew_24 ) );
1176
1178 .Name( "eeschema.EditorControl.exportNetlist" )
1179 .Scope( AS_GLOBAL )
1180 .FriendlyName( _( "Export Netlist..." ) )
1181 .Tooltip( _( "Export file containing netlist in one of several formats" ) )
1182 .Icon( BITMAPS::netlist ) );
1183
1185 .Name( "eeschema.EditorControl.generateBOM" )
1186 .Scope( AS_GLOBAL )
1187 .FriendlyName( _( "Generate Bill of Materials..." ) )
1188 .Tooltip( _( "Generate a bill of materials for the current schematic" ) )
1189 .Icon( BITMAPS::post_bom ) );
1190
1192 .Name( "eeschema.EditorControl.generateBOMLegacy" )
1193 .Scope( AS_GLOBAL )
1194 .FriendlyName( _( "Generate Legacy Bill of Materials..." ) )
1195 .Tooltip( _( "Generate a bill of materials for the current schematic (Legacy Generator)" ) )
1196 .Icon( BITMAPS::file_bom )
1197 );
1198
1200 .Name( "eeschema.EditorControl.generateBOMExternal" )
1201 .Scope( AS_GLOBAL )
1202 .FriendlyName( _( "Generate Bill of Materials (External)..." ) )
1203 .Tooltip( _( "Generate a bill of materials for the current schematic using external generator" ) )
1204 );
1205
1207 .Name( "eeschema.EditorControl.exportSymbolsToLibrary" )
1208 .Scope( AS_GLOBAL )
1209 .FriendlyName( _( "Export Symbols..." ) )
1210 .Tooltip( _( "Add symbols from schematic to a new or an existing symbol library\n"
1211 "(does not remove other symbols from this library)" ) )
1212 .Icon( BITMAPS::library_archive ) );
1213
1215 .Name( "eeschema.EditorControl.selectOnPCB" )
1216 .Scope( AS_GLOBAL )
1217 .FriendlyName( _( "Select on PCB" ) )
1218 .Tooltip( _( "Select corresponding items in PCB editor" ) )
1219 .Icon( BITMAPS::select_same_sheet ) );
1220
1222 .Name( "eeschema.EditorControl.showHiddenPins" )
1223 .Scope( AS_GLOBAL )
1224 .FriendlyName( _( "Show Hidden Pins" ) )
1225 .ToolbarState( TOOLBAR_STATE::TOGGLE )
1226 .Icon( BITMAPS::hidden_pin ) );
1227
1229 .Name( "eeschema.EditorControl.showHiddenFields" )
1230 .Scope( AS_GLOBAL )
1231 .FriendlyName( _( "Show Hidden Fields" ) )
1232 .ToolbarState( TOOLBAR_STATE::TOGGLE ) );
1233
1235 .Name( "eeschema.EditorControl.showDirectiveLabels" )
1236 .Scope( AS_GLOBAL )
1237 .FriendlyName( _( "Show Directive Labels" ) )
1238 .ToolbarState( TOOLBAR_STATE::TOGGLE ) );
1239
1241 .Name( "eeschema.EditorControl.showERCWarnings" )
1242 .Scope( AS_GLOBAL )
1243 .FriendlyName( _( "Show ERC Warnings" ) )
1244 .Tooltip( _( "Show markers for electrical rules checker warnings" ) )
1245 .ToolbarState( TOOLBAR_STATE::TOGGLE ) );
1246
1248 .Name( "eeschema.EditorControl.showERCErrors" )
1249 .Scope( AS_GLOBAL )
1250 .FriendlyName( _( "Show ERC Errors" ) )
1251 .Tooltip( _( "Show markers for electrical rules checker errors" ) )
1252 .ToolbarState( TOOLBAR_STATE::TOGGLE ) );
1253
1255 .Name( "eeschema.EditorControl.showERCExclusions" )
1256 .Scope( AS_GLOBAL )
1257 .FriendlyName( _( "Show ERC Exclusions" ) )
1258 .Tooltip( _( "Show markers for excluded electrical rules checker violations" ) )
1259 .ToolbarState( TOOLBAR_STATE::TOGGLE ) );
1260
1262 .Name( "eeschema.EditorControl.markSimExclusions" )
1263 .Scope( AS_GLOBAL )
1264 .FriendlyName( _( "Mark items excluded from simulation" ) )
1265 .Tooltip( _( "Draw 'X's over items which have been excluded from simulation" ) )
1266 .ToolbarState( TOOLBAR_STATE::TOGGLE ) );
1267
1269 .Name( "eeschema.EditorControl.showOperatingPointVoltages" )
1270 .Scope( AS_GLOBAL )
1271 .FriendlyName( _( "Show OP Voltages" ) )
1272 .Tooltip( _( "Show operating point voltage data from simulation" ) )
1273 .ToolbarState( TOOLBAR_STATE::TOGGLE ));
1274
1276 .Name( "eeschema.EditorControl.showOperatingPointCurrents" )
1277 .Scope( AS_GLOBAL )
1278 .FriendlyName( _( "Show OP Currents" ) )
1279 .Tooltip( _( "Show operating point current data from simulation" ) )
1280 .ToolbarState( TOOLBAR_STATE::TOGGLE ) );
1281
1283 .Name( "eeschema.EditorControl.togglePinAltIcons" )
1284 .Scope( AS_GLOBAL )
1285 .FriendlyName( _( "Show Pin Alternate Icons" ) )
1286 .Tooltip( _( "Show indicator icons for pins with alternate modes" ) )
1287 .ToolbarState( TOOLBAR_STATE::TOGGLE ) );
1288
1290 .Name( "eeschema.EditorControl.lineModeFree" )
1291 .Scope( AS_GLOBAL )
1292 .FriendlyName( _( "Line Mode for Wires and Buses" ) )
1293 .Tooltip( _( "Draw and drag at any angle" ) )
1294 .Icon( BITMAPS::lines_any )
1295 .Flags( AF_NONE )
1296 .Parameter( LINE_MODE::LINE_MODE_FREE ) );
1297
1299 .Name( "eeschema.EditorControl.lineModeOrthonal" )
1300 .Scope( AS_GLOBAL )
1301 .FriendlyName( _( "Line Mode for Wires and Buses" ) )
1302 .Tooltip( _( "Constrain drawing and dragging to horizontal or vertical motions" ) )
1303 .Icon( BITMAPS::lines90 )
1304 .Flags( AF_NONE )
1305 .Parameter( LINE_MODE::LINE_MODE_90) );
1306
1308 .Name( "eeschema.EditorControl.lineMode45" )
1309 .Scope( AS_GLOBAL )
1310 .FriendlyName( _( "Line Mode for Wires and Buses" ) )
1311 .Tooltip( _( "Constrain drawing and dragging to horizontal, vertical, or 45-degree angle motions" ) )
1312 .Icon( BITMAPS::hv45mode )
1313 .Flags( AF_NONE )
1314 .Parameter( LINE_MODE::LINE_MODE_45 ) );
1315
1317 .Name( "eeschema.EditorControl.lineModeNext" )
1318 .Scope( AS_GLOBAL )
1319 .DefaultHotkey( MD_SHIFT + static_cast<int>( WXK_SPACE ) )
1320 .FriendlyName( _( "Line Mode for Wires and Buses" ) )
1321 .Tooltip( _( "Switch to next angle snapping mode" ) ) );
1322
1324 .Name( "eeschema.EditorControl.angleSnapModeChanged" )
1325 .Scope( AS_GLOBAL )
1326 .Flags( AF_NOTIFY ) );
1327
1329 .Name( "eeschema.EditorControl.annotateAutomatically" )
1330 .Scope( AS_GLOBAL )
1331 .FriendlyName( _( "Annotate Automatically" ) )
1332 .Tooltip( _( "Toggle automatic annotation of new symbols" ) )
1333 .ToolbarState( TOOLBAR_STATE::TOGGLE )
1334 .Icon( BITMAPS::annotate ) );
1335
1337 .Name( "eeschema.EditorControl.repairSchematic" )
1338 .Scope( AS_GLOBAL )
1339 .FriendlyName( _( "Repair Schematic" ) )
1340 .Tooltip( _( "Run various diagnostics and attempt to repair schematic" ) )
1341 .Icon( BITMAPS::rescue ) );
1342
1344 .Name( "eeschema.EditorControl.previousUnit" )
1345 .Scope( AS_GLOBAL )
1346 .FriendlyName( _( "Previous Symbol Unit" ) )
1347 .Tooltip( _( "Open the previous unit of the symbol" ) )
1348 .Parameter<int>( -1 ) );
1349
1351 .Name( "eeschema.EditorControl.nextUnit" )
1352 .Scope( AS_GLOBAL )
1353 .FriendlyName( _( "Next Symbol Unit" ) )
1354 .Tooltip( _( "Open the next unit of the symbol" ) )
1355 .Parameter<int>( 1 ) );
1356
1357// SCH_NAVIGATE_TOOL
1358//
1360 .Name( "eeschema.NavigateTool.changeSheet" )
1361 .Scope( AS_CONTEXT )
1362 .FriendlyName( _( "Change Sheet" ) )
1363 .Tooltip( _( "Change to provided sheet's contents in the schematic editor" ) )
1364 .Icon( BITMAPS::enter_sheet ) );
1365
1367 .Name( "eeschema.NavigateTool.enterSheet" )
1368 .Scope( AS_GLOBAL )
1369 .FriendlyName( _( "Enter Sheet" ) )
1370 .Tooltip( _( "Display the selected sheet's contents in the schematic editor" ) )
1371 .Icon( BITMAPS::enter_sheet ) );
1372
1374 .Name( "eeschema.NavigateTool.leaveSheet" )
1375 .Scope( AS_GLOBAL )
1376 .DefaultHotkey( MD_ALT + static_cast<int>( WXK_BACK ) )
1377 .LegacyHotkeyName( "Leave Sheet" )
1378 .FriendlyName( _( "Leave Sheet" ) )
1379 .Tooltip( _( "Display the parent sheet in the schematic editor" ) )
1380 .Icon( BITMAPS::leave_sheet ) );
1381
1383 .Name( "eeschema.NavigateTool.up" )
1384 .Scope( AS_GLOBAL )
1385 .DefaultHotkey( MD_ALT + static_cast<int>( WXK_UP ) )
1386 .FriendlyName( _( "Navigate Up" ) )
1387 .Tooltip( _( "Navigate up one sheet in the hierarchy" ) )
1388 .Icon( BITMAPS::up ) );
1389
1391 .Name( "eeschema.NavigateTool.back" )
1392 .Scope( AS_GLOBAL )
1393 .DefaultHotkey( MD_ALT + static_cast<int>( WXK_LEFT ) )
1394 .FriendlyName( _( "Navigate Back" ) )
1395 .Tooltip( _( "Move backward in sheet navigation history" ) )
1396 .Icon( BITMAPS::left ) );
1397
1399 .Name( "eeschema.NavigateTool.forward" )
1400 .Scope( AS_GLOBAL )
1401 .DefaultHotkey( MD_ALT + static_cast<int>( WXK_RIGHT ) )
1402 .FriendlyName( _( "Navigate Forward" ) )
1403 .Tooltip( _( "Move forward in sheet navigation history" ) )
1404 .Icon( BITMAPS::right ) );
1405
1407 .Name( "eeschema.NavigateTool.previous" )
1408 .Scope( AS_GLOBAL )
1409 .DefaultHotkey( WXK_PAGEUP )
1410 .FriendlyName( _( "Previous Sheet" ) )
1411 .Tooltip( _( "Move to previous sheet by number" ) )
1412 .Icon( BITMAPS::left ) );
1413
1415 .Name( "eeschema.NavigateTool.next" )
1416 .Scope( AS_GLOBAL )
1417 .DefaultHotkey( WXK_PAGEDOWN )
1418 .FriendlyName( _( "Next Sheet" ) )
1419 .Tooltip( _( "Move to next sheet by number" ) )
1420 .Icon( BITMAPS::right ) );
1421
1423 .Name( "eeschema.EditorTool.showHierarchy" )
1424 .Scope( AS_GLOBAL )
1425 .DefaultHotkey( MD_CTRL + 'H' )
1426 .FriendlyName( _( "Hierarchy Navigator" ) )
1427 .Tooltip( _( "Show/hide the schematic sheet hierarchy navigator" ) )
1428 .ToolbarState( TOOLBAR_STATE::TOGGLE )
1429 .Icon( BITMAPS::hierarchy_nav ) );
1430
1431
1432// SCH_LINE_WIRE_BUS_TOOL
1433//
1436 .Name( "eeschema.InteractiveDrawingLineWireBus.drawWires" )
1437 .Scope( AS_GLOBAL )
1438 .DefaultHotkey( 'W' )
1439 .LegacyHotkeyName( "Begin Wire" )
1440 .FriendlyName( _( "Draw Wires" ) )
1441 .ToolbarState( TOOLBAR_STATE::TOGGLE )
1442 .Icon( BITMAPS::add_line )
1443 .Flags( AF_ACTIVATE )
1444 .Parameter( &drawWireActionParam ) );
1445
1448 .Name( "eeschema.InteractiveDrawingLineWireBus.drawBuses" )
1449 .Scope( AS_GLOBAL )
1450 .DefaultHotkey( 'B' )
1451 .LegacyHotkeyName( "Begin Bus" )
1452 .FriendlyName( _( "Draw Buses" ) )
1453 .ToolbarState( TOOLBAR_STATE::TOGGLE )
1454 .Icon( BITMAPS::add_bus )
1455 .Flags( AF_ACTIVATE )
1456 .Parameter( &drawBusActionParam ) );
1457
1459 .Name( "eeschema.InteractiveDrawingLineWireBus.unfoldBus" )
1460 .Scope( AS_GLOBAL )
1461 .DefaultHotkey( 'C' )
1462 .LegacyHotkeyName( "Unfold from Bus" )
1463 .FriendlyName( _( "Unfold from Bus" ) )
1464 .Tooltip( _( "Break a wire out of a bus" ) )
1466 .Flags( AF_ACTIVATE )
1467 .Parameter<wxString*>( nullptr ) );
1468
1471 .Name( "eeschema.InteractiveDrawingLineWireBus.drawLines" )
1472 .Scope( AS_GLOBAL )
1473 .DefaultHotkey( 'I' )
1474 .LegacyHotkeyName( "Add Graphic PolyLine" )
1475 .FriendlyName( _( "Draw Lines" ) )
1476 .ToolbarState( TOOLBAR_STATE::TOGGLE )
1478 .Flags( AF_ACTIVATE )
1479 .Parameter( &drawLinesActionParam ) );
1480
1482 .Name( "eeschema.InteractiveDrawingLineWireBus.undoLastSegment")
1483 .Scope( AS_GLOBAL )
1484 .DefaultHotkey( WXK_BACK )
1485 .FriendlyName( _( "Undo Last Segment" ) )
1486 .Tooltip( _( "Walks the current line back one segment." ) )
1487 .Icon( BITMAPS::undo ) );
1488
1490 .Name( "eeschema.InteractiveDrawingLineWireBus.switchPosture" )
1491 .Scope( AS_GLOBAL )
1492 .DefaultHotkey( '/' )
1493 .FriendlyName( _( "Switch Segment Posture" ) )
1494 .Tooltip( _( "Switches posture of the current segment." ) )
1496 .Flags( AF_NONE ) );
1497
1498// SCH_MOVE_TOOL
1499//
1501 .Name( "eeschema.InteractiveMove.move" )
1502 .Scope( AS_GLOBAL )
1503 .DefaultHotkey( 'M' )
1504 .LegacyHotkeyName( "Move Item" )
1505 .FriendlyName( _( "Move" ) )
1506 .Icon( BITMAPS::move )
1507 .Flags( AF_ACTIVATE ) );
1508
1510 .Name( "eeschema.InteractiveMove.drag" )
1511 .Scope( AS_GLOBAL )
1512 .DefaultHotkey( 'G' )
1513 .LegacyHotkeyName( "Drag Item" )
1514 .FriendlyName( _( "Drag" ) )
1515 .Tooltip( _( "Move items while keeping their connections" ) )
1516 .Icon( BITMAPS::drag )
1517 .Flags( AF_ACTIVATE ) );
1518
1520 .Name( "eeschema.AlignToGrid" )
1521 .Scope( AS_GLOBAL )
1522 .FriendlyName( _( "Align Items to Grid" ) )
1524 .Flags( AF_ACTIVATE ) );
1525
1526// Schematic editor save copy curr sheet command
1528 .Name( "eeschema.EditorControl.saveCurrSheetCopyAs" )
1529 .Scope( AS_GLOBAL )
1530 .FriendlyName( _( "Save Current Sheet Copy As..." ) )
1531 .Tooltip( _( "Save a copy of the current sheet to another location or name" ) )
1532 .Icon( BITMAPS::save_as ) );
1533
1534// Drag and drop
1536 .Name( "eeschema.EditorControl.ddAppendFile" )
1537 .Scope( AS_GLOBAL ) );
1538
1540 .Name( "eeschema.EditorControl.ddAddImage" )
1541 .Scope( AS_GLOBAL ) );
1542
1544 .Name( "eeschema.EditorControl.ddImportGraphics" )
1545 .Scope( AS_GLOBAL ) );
1546
1547// SIMULATOR
1549 .Name( "eeschema.Simulation.newAnalysisTab" )
1550 .Scope( AS_GLOBAL )
1551 .DefaultHotkey( MD_CTRL + 'N' )
1552 .LegacyHotkeyName( "New" )
1553 .FriendlyName( _( "New Analysis Tab..." ) )
1554 .Tooltip( _( "Create a new tab containing a simulation analysis" ) )
1555 .Icon( BITMAPS::sim_add_plot ) );
1556
1558 .Name( "eeschema.Simulation.openWorkbook" )
1559 .Scope( AS_GLOBAL )
1560 .DefaultHotkey( MD_CTRL + 'O' )
1561 .LegacyHotkeyName( "Open" )
1562 .FriendlyName( _( "Open Workbook..." ) )
1563 .Tooltip( _( "Open a saved set of analysis tabs and settings" ) )
1564 .Icon( BITMAPS::directory_open ) );
1565
1567 .Name( "eeschema.Simulation.saveWorkbook" )
1568 .Scope( AS_GLOBAL )
1569 .DefaultHotkey( MD_CTRL + 'S' )
1570 .LegacyHotkeyName( "Save" )
1571 .FriendlyName( _( "Save Workbook" ) )
1572 .Tooltip( _( "Save the current set of analysis tabs and settings" ) )
1573 .Icon( BITMAPS::save ) );
1574
1576 .Name( "eeschema.Simulation.saveWorkbookAs" )
1577 .Scope( AS_GLOBAL )
1578 .DefaultHotkey( MD_CTRL + MD_SHIFT + 'S' )
1579 .LegacyHotkeyName( "Save As" )
1580 .FriendlyName( _( "Save Workbook As..." ) )
1581 .Tooltip( _( "Save the current set of analysis tabs and settings to another location" ) )
1582 .Icon( BITMAPS::sim_add_signal ) );
1583
1585 .Name( "eeschema.Simulator.exportPNG" )
1586 .Scope( AS_GLOBAL )
1587 .FriendlyName( _( "Export Current Plot as PNG..." ) )
1588 .Icon( BITMAPS::export_png ) );
1589
1591 .Name( "eeschema.Simulator.exportCSV" )
1592 .Scope( AS_GLOBAL )
1593 .FriendlyName( _( "Export Current Plot as CSV..." ) )
1594 .Icon( BITMAPS::export_file ) );
1595
1597 .Name( "eeschema.Simulator.exportToClipboard" )
1598 .Scope( AS_GLOBAL )
1599 .FriendlyName( _( "Export Current Plot to Clipboard" ) )
1600 .Icon( BITMAPS::export_png ) );
1601
1603 .Name( "eeschema.Simulator.exportPlotToSchematic" )
1604 .Scope( AS_GLOBAL )
1605 .FriendlyName( _( "Export Current Plot to Schematic" ) )
1606 .Icon( BITMAPS::export_png ) );
1607
1609 .Name( "eeschema.Simulator.toggleSimSidePanel" )
1610 .Scope( AS_GLOBAL )
1611 .FriendlyName( _( "Show Simulation Side Panel" ) ) );
1612
1614 .Name( "eeschema.Simulator.toggleSimConsole" )
1615 .Scope( AS_GLOBAL )
1616 .FriendlyName( _( "Show Simulation Console Panel" ) ) );
1617
1619 .Name( "eeschema.Simulator.toggleLegend" )
1620 .Scope( AS_GLOBAL )
1621 .FriendlyName( _( "Show Legend" ) )
1622 .Icon( BITMAPS::text ) );
1623
1625 .Name( "eeschema.Simulator.toggleDottedSecondary" )
1626 .Scope( AS_GLOBAL )
1627 .FriendlyName( _( "Dotted Current/Phase" ) )
1628 .Tooltip( _( "Draw secondary signal trace (current or phase) with a dotted line" ) ) );
1629
1631 .Name( "eeschema.Simulator.toggleDarkModePlots" )
1632 .Scope( AS_GLOBAL )
1633 .FriendlyName( _( "Dark Mode Plots" ) )
1634 .Tooltip( _( "Draw plots with a black background" ) ) );
1635
1637 .Name( "eeschema.Simulation.simAnalysisProperties" )
1638 .Scope( AS_GLOBAL )
1639 .FriendlyName( _( "Edit Analysis Tab..." ) )
1640 .Tooltip( _( "Edit the current analysis tab's SPICE command and plot setup" ) )
1641 .Icon( BITMAPS::sim_command ) );
1642
1644 .Name( "eeschema.Simulation.runSimulation" )
1645 .Scope( AS_GLOBAL )
1646 .DefaultHotkey( 'R' )
1647 .FriendlyName( _( "Run Simulation" ) )
1648 .Icon( BITMAPS::sim_run ) );
1649
1651 .Name( "eeschema.Simulation.stopSimulation" )
1652 .Scope( AS_GLOBAL )
1653 .FriendlyName( _( "Stop Simulation" ) )
1654 .Icon( BITMAPS::sim_stop ) );
1655
1657 .Name( "eeschema.Simulation.probe" )
1658 .Scope( AS_GLOBAL )
1659 .DefaultHotkey( MD_SHIFT + 'P' )
1660 .FriendlyName( _( "Probe Schematic..." ) )
1661 .Tooltip( _( "Add a simulator probe" ) )
1662 .Icon( BITMAPS::sim_probe ) );
1663
1665 .Name( "eeschema.Simulation.tune" )
1666 .Scope( AS_GLOBAL )
1667 .DefaultHotkey( MD_SHIFT + 'T' )
1668 .FriendlyName( _( "Add Tuned Value..." ) )
1669 .Tooltip( _( "Select a value to be tuned" ) )
1670 .Icon( BITMAPS::sim_tune ) );
1671
1673 .Name( "eeschema.Simulation.editUserDefinedSignals" )
1674 .Scope( AS_GLOBAL )
1675 .FriendlyName( _( "User-defined Signals..." ) )
1676 .Tooltip( _( "Add, edit or delete user-defined simulation signals" ) )
1677 .Icon( BITMAPS::sim_add_signal ) );
1678
1680 .Name( "eeschema.Simulation.showNetlist" )
1681 .Scope( AS_GLOBAL )
1682 .FriendlyName( _( "Show SPICE Netlist" ) )
1683 .Icon( BITMAPS::netlist ) );
1684
1686 .Name( "eeschema.EditorControl.addVariant" )
1687 .Scope( AS_GLOBAL )
1688 .FriendlyName( _( "Add Variant..." ) )
1689 .Tooltip( _( "Add new variant to the schematic." ) ) );
1690
1692 .Name( "eeschema.EditorControl.removeVariant" )
1693 .Scope( AS_GLOBAL )
1694 .FriendlyName( _( "Remove Variant..." ) )
1695 .Tooltip( _( "Remove an existing variant from the schematic." ) ) );
1696
1697// clang-format on
@ add_symbol_to_schematic
@ add_hierarchical_subsheet
@ net_highlight_schematic
@ add_graphical_polygon
@ add_line_label
@ edit_comp_value
@ edit_comp_footprint
@ add_rectangle
@ add_class_flag
@ add_hierarchical_label
@ autoplace_fields
@ change_entry_orient
@ add_graphical_segments
@ INVALID_BITMAP
@ part_properties
@ add_component
@ add_keepout_area
@ import_hierarchical_label
@ align_elements_to_grid
@ 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 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 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 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 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 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 repairSchematic
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 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 saveSheetToDesignBlock
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 generateBOMExternal
static TOOL_ACTION toggleERCErrors
static TOOL_ACTION incrementAnnotations
static TOOL_ACTION placeSymbolAnchor
static TOOL_ACTION navigatePrevious
static TOOL_ACTION saveSelectionToDesignBlock
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 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 setExcludeFromSimulation
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 changeSheet
static TOOL_ACTION highlightNet
static TOOL_ACTION deleteSymbol
static TOOL_ACTION assignNetclass
static TOOL_ACTION annotate
static TOOL_ACTION showDesignBlockPanel
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 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 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:46
@ LINE_MODE_90
@ LINE_MODE_45
@ LINE_MODE_FREE
@ LAYER_WIRE
Definition layer_ids.h:452
@ LAYER_NOTES
Definition layer_ids.h:467
@ LAYER_BUS
Definition layer_ids.h:453
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:164
@ SCH_DIRECTIVE_LABEL_T
Definition typeinfo.h:175
@ SCH_LABEL_T
Definition typeinfo.h:171
@ SCH_SHEET_T
Definition typeinfo.h:179
@ SCH_HIER_LABEL_T
Definition typeinfo.h:173
@ SCH_TEXT_T
Definition typeinfo.h:155
@ SCH_BUS_WIRE_ENTRY_T
Definition typeinfo.h:165
@ SCH_TEXTBOX_T
Definition typeinfo.h:156
@ SCH_GLOBAL_LABEL_T
Definition typeinfo.h:172
@ SCH_JUNCTION_T
Definition typeinfo.h:163
@ SCH_PIN_T
Definition typeinfo.h:157