KiCad PCB EDA Suite
Loading...
Searching...
No Matches
ee_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 (C) 2019-2024 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 <bitmaps.h>
26#include <core/typeinfo.h>
27#include <layer_ids.h>
28#include <sch_bitmap.h>
30#include <tools/ee_actions.h>
31#include <tool/tool_action.h>
32
33// Actions, being statically-defined, require specialized I18N handling. We continue to
34// use the _() macro so that string harvesting by the I18N framework doesn't have to be
35// specialized, but we don't translate on initialization and instead do it in the getters.
36
37#undef _
38#define _(s) s
39
40
41// EE_INSPECTION_TOOL
42//
44 .Name( "eeschema.InspectionTool.runERC" )
45 .Scope( AS_GLOBAL )
46 .FriendlyName( _( "Electrical Rules Checker" ) )
47 .Tooltip( _( "Perform electrical rules check" ) )
48 .Icon( BITMAPS::erc ) );
49
51 .Name( "eeschema.InspectionTool.checkSymbol" )
52 .Scope( AS_GLOBAL )
53 .FriendlyName( _( "Symbol Checker" ) )
54 .Tooltip( _( "Show the symbol checker window" ) )
55 .Icon( BITMAPS::erc ) );
56
58 .Name( "eeschema.InspectionTool.diffSymbol" )
59 .Scope( AS_GLOBAL )
60 .FriendlyName( _( "Compare Symbol with Library" ) )
61 .Tooltip( _( "Show differences between schematic symbol and its library equivalent" ) )
62 .Icon( BITMAPS::library ) );
63
65 .Name( "eeschema.InspectionTool.showBusSyntaxHelp" )
66 .Scope( AS_GLOBAL )
67 .FriendlyName( _( "Show Bus Syntax Help" ) )
69
71 .Name( "eeschema.EditorControl.showSimulator" )
72 .Scope( AS_GLOBAL )
73 .FriendlyName( _( "Simulator" ) )
74 .Tooltip( _( "Show simulation window for running SPICE or IBIS simulations." ) )
75 .Icon( BITMAPS::simulator ) );
76
78 .Name( "eeschema.InspectionTool.showDatasheet" )
79 .Scope( AS_GLOBAL )
80 .DefaultHotkey( 'D' )
81 .LegacyHotkeyName( "Show Datasheet" )
82 .FriendlyName( _( "Show Datasheet" ) )
83 .Tooltip( _( "Opens the datasheet in a browser" ) )
84 .Icon( BITMAPS::datasheet ) );
85
86
87// EE_POINT_EDITOR
88//
90 .Name( "eeschema.PointEditor.addCorner" )
91 .Scope( AS_GLOBAL )
92 .FriendlyName( _( "Create Corner" ) )
93 .Icon( BITMAPS::add_corner ) );
94
96 .Name( "eeschema.PointEditor.removeCorner" )
97 .Scope( AS_GLOBAL )
98 .FriendlyName( _( "Remove Corner" ) )
99 .Icon( BITMAPS::delete_cursor ) );
100
101
102// EE_SELECTION_TOOL
103//
105 .Name( "eeschema.InteractiveSelection" )
106 .Scope( AS_GLOBAL )
107 .Flags( AF_ACTIVATE ) );
108
110 .Name( "eeschema.InteractiveSelection.SelectNode" )
111 .Scope( AS_GLOBAL )
112 .DefaultHotkey( MD_ALT + '3' )
113 .LegacyHotkeyName( "Select Node" )
114 .FriendlyName( _( "Select Node" ) )
115 .Tooltip( _( "Select a connection item under the cursor" ) ) );
116
118 .Name( "eeschema.InteractiveSelection.SelectConnection" )
119 .Scope( AS_GLOBAL )
120 .DefaultHotkey( MD_ALT + '4' )
121 .LegacyHotkeyName( "Select Connection" )
122 .FriendlyName( _( "Select Connection" ) )
123 .Tooltip( _( "Select a complete connection" ) )
125
127 .Name( "eeschema.InteractiveSelection.SelectionMenu" )
128 .Scope( AS_GLOBAL ) );
129
131 .Name( "eeschema.InteractiveSelection.AddItemToSel" )
132 .Scope( AS_GLOBAL ) );
133
135 .Name( "eeschema.InteractiveSelection.AddItemsToSel" )
136 .Scope( AS_GLOBAL ) );
137
139 .Name( "eeschema.InteractiveSelection.RemoveItemFromSel" )
140 .Scope( AS_GLOBAL ) );
141
143 .Name( "eeschema.InteractiveSelection.RemoveItemsFromSel" )
144 .Scope( AS_GLOBAL ) );
145
147 .Name( "eeschema.InteractiveSelection.ClearSelection" )
148 .Scope( AS_GLOBAL ) );
149
151 .Name( "eeschema.InteractiveSelection.SyncSelection" )
152 .Scope( AS_GLOBAL ) );
153
154// SYMBOL_EDITOR_CONTROL
155//
157 .Name( "eeschema.SymbolLibraryControl.saveLibraryAs" )
158 .Scope( AS_GLOBAL )
159 .DefaultHotkey( MD_SHIFT + MD_CTRL + 'S' )
160 .LegacyHotkeyName( "Save As" )
161 .FriendlyName( _( "Save Library As..." ) )
162 .Tooltip( _( "Save the current library to a new file." ) ) );
163
165 .Name( "eeschema.SymbolLibraryControl.newSymbol" )
166 .Scope( AS_GLOBAL )
167 .DefaultHotkey( MD_CTRL + 'N' )
168 .FriendlyName( _( "New Symbol..." ) )
169 .Tooltip( _( "Create a new symbol" ) )
170 .Icon( BITMAPS::new_component ) );
171
173 .Name( "eeschema.SymbolLibraryControl.deriveFromExistingSymbol" )
174 .Scope( AS_GLOBAL )
175 .FriendlyName( _( "Derive from Existing Symbol" ) )
176 .Tooltip( _( "Create a new symbol, derived from an existing symbol" ) )
177 .Icon( BITMAPS::new_component ) );
178
180 .Name( "eeschema.SymbolLibraryControl.editSymbol" )
181 .Scope( AS_GLOBAL )
182 .FriendlyName( _( "Edit Symbol" ) )
183 .Tooltip( _( "Show selected symbol on editor canvas" ) )
184 .Icon( BITMAPS::edit ) );
185
187 .Name( "eeschema.SymbolLibraryControl.duplicateSymbol" )
188 .Scope( AS_GLOBAL )
189 .FriendlyName( _( "Duplicate Symbol" ) )
190 .Tooltip( _( "Make a copy of the selected symbol" ) )
191 .Icon( BITMAPS::duplicate ) );
192
194 .Name( "eeschema.SymbolLibraryControl.renameFootprint" )
195 .Scope( AS_GLOBAL )
196 .FriendlyName( _( "Rename Symbol..." ) )
197 .Tooltip( _( "Rename the selected symbol" ) )
198 .Icon( BITMAPS::edit ) );
199
201 .Name( "eeschema.SymbolLibraryControl.saveSymbolCopyAs" )
202 .Scope( AS_GLOBAL )
203 .FriendlyName( _( "Save Copy As..." ) )
204 .Tooltip( _( "Save a copy of the current symbol to a different library." ) )
205 .Icon( BITMAPS::save_as ) );
206
208 .Name( "eeschema.SymbolLibraryControl.deleteSymbol" )
209 .Scope( AS_GLOBAL )
210 .FriendlyName( _( "Delete Symbol" ) )
211 .Tooltip( _( "Remove the selected symbol from its library" ) )
212 .Icon( BITMAPS::trash ) );
213
215 .Name( "eeschema.SymbolLibraryControl.cutSymbol" )
216 .Scope( AS_GLOBAL )
217 .FriendlyName( _( "Cut" ) )
218 .Icon( BITMAPS::cut ) );
219
221 .Name( "eeschema.SymbolLibraryControl.copySymbol" )
222 .Scope( AS_GLOBAL )
223 .FriendlyName( _( "Copy" ) )
224 .Icon( BITMAPS::copy ) );
225
227 .Name( "eeschema.SymbolLibraryControl.pasteSymbol" )
228 .Scope( AS_GLOBAL )
229 .FriendlyName( _( "Paste Symbol" ) )
230 .Icon( BITMAPS::paste ) );
231
233 .Name("eeschema.SymbolLibraryControl.importSymbol" )
234 .Scope( AS_GLOBAL )
235 .FriendlyName( _( "Import Symbol..." ) )
236 .Tooltip( _( "Import a symbol to the current library" ) )
237 .Icon( BITMAPS::import_part ) );
238
240 .Name( "eeschema.SymbolLibraryControl.exportSymbol" )
241 .Scope( AS_GLOBAL )
242 .FriendlyName( _( "Export..." ) )
243 .Tooltip( _( "Export a symbol to a new library file" ) )
244 .Icon( BITMAPS::export_part ) );
245
247 .Name( "eeschema.SymbolLibraryControl.openWithTextEditor" )
248 .Scope( AS_GLOBAL )
249 .FriendlyName( _( "Edit in a Text Editor..." ) )
250 .Tooltip( _( "Open a library file with a text editor" ) )
251 .Icon( BITMAPS::editor ) );
252
254 .Name( "eeschema.SymbolLibraryControl.updateSymbolFields" )
255 .Scope( AS_GLOBAL )
256 .FriendlyName( _( "Update Symbol Fields..." ) )
257 .Tooltip( _( "Update symbol to match changes made in parent symbol" ) )
258 .Icon( BITMAPS::refresh ) );
259
261 .Name( "eeschema.SymbolLibraryControl.setUnitDisplayName" )
262 .Scope( AS_GLOBAL )
263 .FriendlyName( _( "Set Unit Display Name..." ) )
264 .Tooltip( _( "Set the display name for a unit" ) ) );
265
267 .Name( "eeschema.SymbolLibraryControl.addSymbolToSchematic" )
268 .Scope( AS_GLOBAL )
269 .FriendlyName( _( "Add Symbol to Schematic" ) )
270 .Tooltip( _( "Add the current symbol to the schematic" ) )
272
274 .Name( "eeschema.SymbolLibraryControl.showElectricalTypes" )
275 .Scope( AS_GLOBAL )
276 .FriendlyName( _( "Show Pin Electrical Types" ) )
277 .Tooltip( _( "Annotate pins with their electrical types" ) )
278 .Icon( BITMAPS::pin_show_etype ) );
279
281 .Name( "eeschema.SymbolLibraryControl.showPinNumbers" )
282 .Scope( AS_GLOBAL )
283 .FriendlyName( _( "Show Pin Numbers" ) )
284 .Tooltip( _( "Annotate pins with their numbers" ) )
285 .Icon( BITMAPS::pin ) );
286
288 .Name( "eeschema.SymbolLibraryControl.showSymbolTree" )
289 .Scope( AS_GLOBAL )
290 .FriendlyName( _( "Show Symbol Tree" ) )
291 .Icon( BITMAPS::search_tree ) );
292
294 .Name( "eeschema.SymbolLibraryControl.hideSymbolTree" )
295 .Scope( AS_GLOBAL )
296 .FriendlyName( _( "Hide Symbol Tree" ) )
297 .Icon( BITMAPS::search_tree ) );
298
300 .Name( "eeschema.SymbolLibraryControl.exportSymbolView" )
301 .Scope( AS_GLOBAL )
302 .FriendlyName( _( "Export View as PNG..." ) )
303 .Tooltip( _( "Create PNG file from the current view" ) )
304 .Icon( BITMAPS::export_png ) );
305
307 .Name( "eeschema.SymbolLibraryControl.exportSymbolAsSVG" )
308 .Scope( AS_GLOBAL )
309 .FriendlyName( _( "Export Symbol as SVG..." ) )
310 .Tooltip( _( "Create SVG file from the current symbol" ) )
311 .Icon( BITMAPS::export_svg ) );
312
314 .Name( "eeschema.SymbolLibraryControl.toggleSyncedPinsMode" )
315 .Scope( AS_GLOBAL )
316 .FriendlyName( _( "Synchronized Pins Mode" ) )
317 .Tooltip( _( "Synchronized Pins Mode\n"
318 "When enabled propagates all changes (except pin numbers) to other units.\n"
319 "Enabled by default for multiunit parts with interchangeable units." ) )
320 .Icon( BITMAPS::pin2pin ) );
321
323 .Name( "eeschema.SymbolLibraryControl.showHiddenPins" )
324 .Scope( AS_GLOBAL )
325 .FriendlyName( _( "Show Hidden Pins" ) )
326 .Tooltip( _( "Toggle display of hidden pins" ) )
327 .Icon( BITMAPS::hidden_pin ) );
328
330 .Name( "eeschema.SymbolLibraryControl.showHiddenFields" )
331 .Scope( AS_GLOBAL )
332 .FriendlyName( _( "Show Hidden Fields" ) )
333 .Tooltip( _( "Toggle display of hidden text fields" ) )
334 .Icon( BITMAPS::text_sketch ) );
335
336
337// SYMBOL_EDITOR_DRAWING_TOOLS
338//
340 .Name( "eeschema.SymbolDrawing.placeSymbolPin" )
341 .Scope( AS_GLOBAL )
342 .DefaultHotkey( 'P' )
343 .LegacyHotkeyName( "Create Pin" )
344 .FriendlyName( _( "Add Pin" ) )
345 .Tooltip( _( "Add a pin" ) )
346 .Icon( BITMAPS::pin )
347 .Flags( AF_ACTIVATE )
348 .Parameter( SCH_PIN_T ) );
349
351 .Name( "eeschema.SymbolDrawing.placeSymbolText" )
352 .Scope( AS_GLOBAL )
353 .FriendlyName( _( "Add Text" ) )
354 .Tooltip( _( "Add a text item" ) )
355 .Icon( BITMAPS::text )
356 .Flags( AF_ACTIVATE )
357 .Parameter( SCH_TEXT_T ) );
358
360 .Name( "eeschema.SymbolDrawing.drawSymbolTextBox" )
361 .Scope( AS_GLOBAL )
362 .FriendlyName( _( "Add Text Box" ) )
363 .Tooltip( _( "Add a text box item" ) )
364 .Icon( BITMAPS::add_textbox )
365 .Flags( AF_ACTIVATE ) );
366
368 .Name( "eeschema.SymbolDrawing.drawSymbolLines" )
369 .Scope( AS_GLOBAL )
370 .FriendlyName( _( "Add Lines" ) )
371 .Tooltip( _( "Add connected graphic lines" ) )
373 .Flags( AF_ACTIVATE )
374 .Parameter( SHAPE_T::POLY ) );
375
377 .Name( "eeschema.SymbolDrawing.drawSymbolPolygon" )
378 .Scope( AS_GLOBAL )
379 .FriendlyName( _( "Add Polygon" ) )
380 .Tooltip( _( "Draw polygons" ) )
382 .Flags( AF_ACTIVATE )
383 .Parameter( SHAPE_T::POLY ) );
384
386 .Name( "eeschema.SymbolDrawing.placeSymbolAnchor" )
387 .Scope( AS_GLOBAL )
388 .FriendlyName( _( "Move Symbol Anchor" ) )
389 .Tooltip( _( "Specify a new location for the symbol anchor" ) )
390 .Icon( BITMAPS::anchor )
391 .Flags( AF_ACTIVATE ) );
392
393// SYMBOL_EDITOR_PIN_TOOL
394//
396 .Name( "eeschema.PinEditing.pushPinLength" )
397 .Scope( AS_GLOBAL )
398 .FriendlyName( _( "Push Pin Length" ) )
399 .Tooltip( _( "Copy pin length to other pins in symbol" ) )
400 .Icon( BITMAPS::pin_size_to ) );
401
403 .Name( "eeschema.PinEditing.pushPinNameSize" )
404 .Scope( AS_GLOBAL )
405 .FriendlyName( _( "Push Pin Name Size" ) )
406 .Tooltip( _( "Copy pin name size to other pins in symbol" ) )
407 .Icon( BITMAPS::pin_size_to ) );
408
410 .Name( "eeschema.PinEditing.pushPinNumSize" )
411 .Scope( AS_GLOBAL )
412 .FriendlyName( _( "Push Pin Number Size" ) )
413 .Tooltip( _( "Copy pin number size to other pins in symbol" ) )
414 .Icon( BITMAPS::pin_size_to ) );
415
416
417// SCH_DRAWING_TOOLS
418//
420 .Name( "eeschema.InteractiveDrawing.placeSymbol" )
421 .Scope( AS_GLOBAL )
422 .DefaultHotkey( 'A' )
423 .LegacyHotkeyName( "Add Symbol" )
424 .FriendlyName( _( "Add Symbol" ) )
425 .Tooltip( _( "Add symbols" ) )
427 .Flags( AF_ACTIVATE )
428 .Parameter<SCH_SYMBOL*>( nullptr ) );
429
431 .Name( "eeschema.InteractiveDrawing.placePowerSymbol" )
432 .Scope( AS_GLOBAL )
433 .DefaultHotkey( 'P' )
434 .LegacyHotkeyName( "Add Power" )
435 .FriendlyName( _( "Add Power" ) )
436 .Tooltip( _( "Add power symbols" ) )
437 .Icon( BITMAPS::add_power )
438 .Flags( AF_ACTIVATE )
439 .Parameter<SCH_SYMBOL*>( nullptr ) );
440
442 .Name( "eeschema.InteractiveDrawing.placeNoConnect" )
443 .Scope( AS_GLOBAL )
444 .DefaultHotkey( 'Q' )
445 .LegacyHotkeyName( "Add No Connect Flag" )
446 .FriendlyName( _( "Add No Connect Flag" ) )
447 .Tooltip( _( "Draw no-connection flags" ) )
448 .Icon( BITMAPS::noconn )
449 .Flags( AF_ACTIVATE )
450 .Parameter( SCH_NO_CONNECT_T ) );
451
453 .Name( "eeschema.InteractiveDrawing.placeJunction" )
454 .Scope( AS_GLOBAL )
455 .DefaultHotkey( 'J' )
456 .LegacyHotkeyName( "Add Junction" )
457 .FriendlyName( _( "Add Junction" ) )
458 .Tooltip( _( "Draw junctions" ) )
459 .Icon( BITMAPS::add_junction )
460 .Flags( AF_ACTIVATE )
461 .Parameter( SCH_JUNCTION_T ) );
462
464 .Name( "eeschema.InteractiveDrawing.placeBusWireEntry" )
465 .Scope( AS_GLOBAL )
466 .DefaultHotkey( 'Z' )
467 .LegacyHotkeyName( "Add Wire Entry" )
468 .FriendlyName( _( "Add Wire to Bus Entry" ) )
469 .Tooltip( _( "Add a wire entry to a bus" ) )
470 .Icon( BITMAPS::add_line2bus )
471 .Flags( AF_ACTIVATE )
472 .Parameter( SCH_BUS_WIRE_ENTRY_T ) );
473
475 .Name( "eeschema.InteractiveDrawing.placeLabel" )
476 .Scope( AS_GLOBAL )
477 .DefaultHotkey( 'L' )
478 .LegacyHotkeyName( "Add Label" )
479 .FriendlyName( _( "Add Label" ) )
480 .Tooltip( _( "Draw net labels" ) )
481 .Icon( BITMAPS::add_label )
482 .Flags( AF_ACTIVATE ) );
483
485 .Name( "eeschema.InteractiveDrawing.placeClassLabel" )
486 .Scope( AS_GLOBAL )
487 .FriendlyName( _( "Add Net Class Directive" ) )
488 .Tooltip( _( "Add net class directive labels" ) )
490 .Flags( AF_ACTIVATE ) );
491
493 .Name( "eeschema.InteractiveDrawing.placeHierarchicalLabel" )
494 .Scope( AS_GLOBAL )
495 .DefaultHotkey( 'H' )
496 .LegacyHotkeyName( "Add Hierarchical Label" )
497 .FriendlyName( _( "Add Hierarchical Label" ) )
498 .Tooltip( _( "Add hierarchical labels" ) )
500 .Flags( AF_ACTIVATE ) );
501
503 .Name( "eeschema.InteractiveDrawing.drawSheet" )
504 .Scope( AS_GLOBAL )
505 .DefaultHotkey( 'S' )
506 .LegacyHotkeyName( "Add Sheet" )
507 .FriendlyName( _( "Add Sheet" ) )
508 .Tooltip( _( "Draw hierarchical sheets" ) )
510 .Flags( AF_ACTIVATE )
511 .Parameter( SCH_SHEET_T ) );
512
514 .Name( "eeschema.InteractiveDrawing.placeSheetPin" )
515 .Scope( AS_GLOBAL )
516 .FriendlyName( _( "Add Sheet Pin" ) )
517 .Tooltip( _( "Add sheet pins" ) )
519 .Flags( AF_ACTIVATE ) );
520
522 .Name( "eeschema.InteractiveDrawing.syncSheetPins" )
523 .Scope( AS_GLOBAL )
524 .FriendlyName( _( "Sync Sheet Pins" ) )
525 .Tooltip( _( "Synchronize sheet pins and hierarchical labels" ) )
527 .Flags( AF_ACTIVATE ) );
528
530 .Name( "eeschema.InteractiveDrawing.syncAllSheetsPins" )
531 .Scope( AS_GLOBAL )
532 .FriendlyName( _( "Sync Sheet Pins" ) )
533 .Tooltip( _( "Synchronize sheet pins and hierarchical labels" ) )
535 .Flags( AF_ACTIVATE ) );
536
538 .Name( "eeschema.InteractiveDrawing.placeGlobalLabel" )
539 .Scope( AS_GLOBAL )
540 .DefaultHotkey( MD_CTRL + 'L' )
541 .LegacyHotkeyName( "Add Global Label" )
542 .FriendlyName( _( "Add Global Label" ) )
543 .Tooltip( _( "Add global labels" ) )
544 .Icon( BITMAPS::add_glabel )
545 .Flags( AF_ACTIVATE ) );
546
548 .Name( "eeschema.InteractiveDrawing.placeSchematicText" )
549 .Scope( AS_GLOBAL )
550 .DefaultHotkey( 'T' )
551 .LegacyHotkeyName( "Add Graphic Text" )
552 .FriendlyName( _( "Add Text" ) )
553 .Tooltip( _( "Draw text items" ) )
554 .Icon( BITMAPS::text )
555 .Flags( AF_ACTIVATE ) );
556
558 .Name( "eeschema.InteractiveDrawing.drawTextBox" )
559 .Scope( AS_GLOBAL )
560 .FriendlyName( _( "Add Text Box" ) )
561 .Tooltip( _( "Draw text box items" ) )
562 .Icon( BITMAPS::add_textbox )
563 .Flags( AF_ACTIVATE )
564 .Parameter( SHAPE_T::RECTANGLE ) );
565
567 .Name( "eeschema.InteractiveDrawing.drawTable" )
568 .Scope( AS_GLOBAL )
569 .FriendlyName( _( "Add Table" ) )
570 .Tooltip( _( "Draw table" ) )
571 .Icon( BITMAPS::spreadsheet ) // JEY TODO
572 .Flags( AF_ACTIVATE ) );
573
575 .Name( "eeschema.InteractiveDrawing.drawRectangle" )
576 .Scope( AS_GLOBAL )
577 .FriendlyName( _( "Add Rectangle" ) )
578 .Tooltip( _( "Draw rectangles" ) )
580 .Flags( AF_ACTIVATE )
581 .Parameter( SHAPE_T::RECTANGLE ) );
582
584 .Name( "eeschema.InteractiveDrawing.drawCircle" )
585 .Scope( AS_GLOBAL )
586 .FriendlyName( _( "Add Circle" ) )
587 .Tooltip( _( "Draw circles" ) )
588 .Icon( BITMAPS::add_circle )
589 .Flags( AF_ACTIVATE )
590 .Parameter( SHAPE_T::CIRCLE ) );
591
593 .Name( "eeschema.InteractiveDrawing.drawArc" )
594 .Scope( AS_GLOBAL )
595 .FriendlyName( _( "Add Arc" ) )
596 .Tooltip( _( "Draw arcs" ) )
597 .Icon( BITMAPS::add_arc )
598 .Flags( AF_ACTIVATE )
599 .Parameter( SHAPE_T::ARC ) );
600
602 .Name( "eeschema.InteractiveDrawing.placeImage" )
603 .Scope( AS_GLOBAL )
604 .FriendlyName( _( "Add Image" ) )
605 .Tooltip( _( "Add bitmap images" ) )
606 .Icon( BITMAPS::image )
607 .Flags( AF_ACTIVATE )
608 .Parameter<SCH_BITMAP*>( nullptr ) );
609
610
611// SCH_EDIT_TOOL
612//
614 .Name( "eeschema.InteractiveEdit.repeatDrawItem" )
615 .Scope( AS_GLOBAL )
616#ifdef __WXMAC__
617 .DefaultHotkey( WXK_F1 )
618#else
619 .DefaultHotkey( WXK_INSERT )
620#endif
621 .LegacyHotkeyName( "Repeat Last Item" )
622 .FriendlyName( _( "Repeat Last Item" ) )
623 .Tooltip( _( "Duplicates the last drawn item" ) ) );
624
626 .Name( "eeschema.InteractiveEdit.rotateCW" )
627 .Scope( AS_GLOBAL )
628 .FriendlyName( _( "Rotate Clockwise" ) )
629 .Tooltip( _( "Rotates selected item(s) clockwise" ) )
630 .Icon( BITMAPS::rotate_cw ) );
631
633 .Name( "eeschema.InteractiveEdit.rotateCCW" )
634 .Scope( AS_GLOBAL )
635 .DefaultHotkey( 'R' )
636 .LegacyHotkeyName( "Rotate Item" )
637 .FriendlyName( _( "Rotate Counterclockwise" ) )
638 .Tooltip( _( "Rotates selected item(s) counter-clockwise" ) )
639 .Icon( BITMAPS::rotate_ccw ) );
640
642 .Name( "eeschema.InteractiveEdit.mirrorV" )
643 .Scope( AS_GLOBAL )
644 .DefaultHotkey( 'Y' )
645 .LegacyHotkeyName( "Mirror X" ) // Yes, these were backwards prior to 6.0....
646 .FriendlyName( _( "Mirror Vertically" ) )
647 .Tooltip( _( "Flips selected item(s) from top to bottom" ) )
648 .Icon( BITMAPS::mirror_v ) );
649
651 .Name( "eeschema.InteractiveEdit.mirrorH" )
652 .Scope( AS_GLOBAL )
653 .DefaultHotkey( 'X' )
654 .LegacyHotkeyName( "Mirror Y" ) // Yes, these were backwards prior to 6.0....
655 .FriendlyName( _( "Mirror Horizontally" ) )
656 .Tooltip( _( "Flips selected item(s) from left to right" ) )
657 .Icon( BITMAPS::mirror_h ) );
658
660 .Name( "eeschema.InteractiveEdit.swap" )
661 .Scope( AS_GLOBAL )
662 .DefaultHotkey( 'S' )
663 .FriendlyName( _( "Swap" ) )
664 .Tooltip( _( "Swaps selected items' positions" ) )
665 .Icon( BITMAPS::swap ) );
666
668 .Name( "eeschema.InteractiveEdit.properties" )
669 .Scope( AS_GLOBAL )
670 .DefaultHotkey( 'E' )
671 .LegacyHotkeyName( "Edit Item" )
672 .FriendlyName( _( "Properties..." ) )
673 .Tooltip( _( "Displays item properties dialog" ) )
674 .Icon( BITMAPS::edit ) );
675
677 .Name( "eeschema.InteractiveEdit.editReference" )
678 .Scope( AS_GLOBAL )
679 .DefaultHotkey( 'U' )
680 .LegacyHotkeyName( "Edit Symbol Reference" )
681 .FriendlyName( _( "Edit Reference Designator..." ) )
682 .Tooltip( _( "Displays reference designator dialog" ) )
683 .Icon( BITMAPS::edit_comp_ref ) );
684
686 .Name( "eeschema.InteractiveEdit.editValue" )
687 .Scope( AS_GLOBAL )
688 .DefaultHotkey( 'V' )
689 .LegacyHotkeyName( "Edit Symbol Value" )
690 .FriendlyName( _( "Edit Value..." ) )
691 .Tooltip( _( "Displays value field dialog" ) )
692 .Icon( BITMAPS::edit_comp_value ) );
693
695 .Name( "eeschema.InteractiveEdit.editFootprint" )
696 .Scope( AS_GLOBAL )
697 .DefaultHotkey( 'F' )
698 .LegacyHotkeyName( "Edit Symbol Footprint" )
699 .FriendlyName( _( "Edit Footprint..." ) )
700 .Tooltip( _( "Displays footprint field dialog" ) )
702
704 .Name( "eeschema.InteractiveEdit.autoplaceFields" )
705 .Scope( AS_GLOBAL )
706 .DefaultHotkey( 'O' )
707 .LegacyHotkeyName( "Autoplace Fields" )
708 .FriendlyName( _( "Autoplace Fields" ) )
709 .Tooltip( _( "Runs the automatic placement algorithm on the symbol or sheet's fields" ) )
710 .Icon( BITMAPS::autoplace_fields ) );
711
713 .Name( "eeschema.InteractiveEdit.changeSymbols" )
714 .Scope( AS_GLOBAL )
715 .FriendlyName( _( "Change Symbols..." ) )
716 .Tooltip( _( "Assign different symbols from the library" ) )
717 .Icon( BITMAPS::exchange ) );
718
720 .Name( "eeschema.InteractiveEdit.updateSymbols" )
721 .Scope( AS_GLOBAL )
722 .FriendlyName( _( "Update Symbols from Library..." ) )
723 .Tooltip( _( "Update symbols to include any changes from the library" ) )
724 .Icon( BITMAPS::refresh ) );
725
727 .Name( "eeschema.InteractiveEdit.changeSymbol" )
728 .Scope( AS_GLOBAL )
729 .FriendlyName( _( "Change Symbol..." ) )
730 .Tooltip( _( "Assign a different symbol from the library" ) )
731 .Icon( BITMAPS::exchange ) );
732
734 .Name( "eeschema.InteractiveEdit.updateSymbol" )
735 .Scope( AS_GLOBAL )
736 .FriendlyName( _( "Update Symbol..." ) )
737 .Tooltip( _( "Update symbol to include any changes from the library" ) )
738 .Icon( BITMAPS::refresh ) );
739
741 .Name( "eeschema.InteractiveEdit.assignNetclass" )
742 .Scope( AS_GLOBAL )
743 .FriendlyName( _( "Assign Netclass..." ) )
744 .Tooltip( _( "Assign a netclass to nets matching a pattern" ) )
745 .Icon( BITMAPS::netlist ) );
746
748 .Name( "eeschema.InteractiveEdit.toggleDeMorgan" )
749 .Scope( AS_GLOBAL )
750 .FriendlyName( _( "De Morgan Conversion" ) )
751 .Tooltip( _( "Switch between De Morgan representations" ) )
752 .Icon( BITMAPS::morgan2 ) );
753
755 .Name( "eeschema.InteractiveEdit.showDeMorganStandard" )
756 .Scope( AS_GLOBAL )
757 .FriendlyName( _( "De Morgan Standard" ) )
758 .Tooltip( _( "Switch to standard De Morgan representation" ) )
759 .Icon( BITMAPS::morgan1 ) );
760
762 .Name( "eeschema.InteractiveEdit.showDeMorganAlternate" )
763 .Scope( AS_GLOBAL )
764 .FriendlyName( _( "De Morgan Alternate" ) )
765 .Tooltip( _( "Switch to alternate De Morgan representation" ) )
766 .Icon( BITMAPS::morgan2 ) );
767
769 .Name( "eeschema.InteractiveEdit.toLabel" )
770 .Scope( AS_GLOBAL )
771 .FriendlyName( _( "Change to Label" ) )
772 .Tooltip( _( "Change existing item to a label" ) )
774 .Flags( AF_NONE )
775 .Parameter( SCH_LABEL_T ) );
776
778 .Name( "eeschema.InteractiveEdit.toCLabel" )
779 .Scope( AS_GLOBAL )
780 .FriendlyName( _( "Change to Directive Label" ) )
781 .Tooltip( _( "Change existing item to a directive label" ) )
783 .Flags( AF_NONE )
784 .Parameter( SCH_DIRECTIVE_LABEL_T ) );
785
787 .Name( "eeschema.InteractiveEdit.toHLabel" )
788 .Scope( AS_GLOBAL )
789 .FriendlyName( _( "Change to Hierarchical Label" ) )
790 .Tooltip( _( "Change existing item to a hierarchical label" ) )
792 .Flags( AF_NONE )
793 .Parameter( SCH_HIER_LABEL_T ) );
794
796 .Name( "eeschema.InteractiveEdit.toGLabel" )
797 .Scope( AS_GLOBAL )
798 .FriendlyName( _( "Change to Global Label" ) )
799 .Tooltip( _( "Change existing item to a global label" ) )
800 .Icon( BITMAPS::add_glabel )
801 .Flags( AF_NONE )
802 .Parameter( SCH_GLOBAL_LABEL_T ) );
803
805 .Name( "eeschema.InteractiveEdit.toText" )
806 .Scope( AS_GLOBAL )
807 .FriendlyName( _( "Change to Text" ) )
808 .Tooltip( _( "Change existing item to a text comment" ) )
809 .Icon( BITMAPS::text )
810 .Flags( AF_NONE )
811 .Parameter( SCH_TEXT_T ) );
812
814 .Name( "eeschema.InteractiveEdit.toTextBox" )
815 .Scope( AS_GLOBAL )
816 .FriendlyName( _( "Change to Text Box" ) )
817 .Tooltip( _( "Change existing item to a text box" ) )
818 .Icon( BITMAPS::add_textbox )
819 .Flags( AF_NONE )
820 .Parameter( SCH_TEXTBOX_T ) );
821
823 .Name( "eeschema.InteractiveEdit.cleanupSheetPins" )
824 .Scope( AS_GLOBAL )
825 .FriendlyName( _( "Cleanup Sheet Pins" ) )
826 .Tooltip( _( "Delete unreferenced sheet pins" ) ) );
827
829 .Name( "eeschema.InteractiveEdit.editTextAndGraphics" )
830 .Scope( AS_GLOBAL )
831 .FriendlyName( _( "Edit Text & Graphics Properties..." ) )
832 .Tooltip( _( "Edit text and graphics properties globally across schematic" ) )
833 .Icon( BITMAPS::text ) );
834
836 .Name( "eeschema.InteractiveEdit.symbolProperties" )
837 .Scope( AS_GLOBAL )
838 .FriendlyName( _( "Symbol Properties..." ) )
839 .Tooltip( _( "Displays symbol properties dialog" ) )
840 .Icon( BITMAPS::part_properties ) );
841
843 .Name( "eeschema.InteractiveEdit.pinTable" )
844 .Scope( AS_GLOBAL )
845 .FriendlyName( _( "Pin Table..." ) )
846 .Tooltip( _( "Displays pin table for bulk editing of pins" ) )
847 .Icon( BITMAPS::pin_table ) );
848
850 .Name( "eeschema.InteractiveEdit.breakWire" )
851 .Scope( AS_GLOBAL )
852 .FriendlyName( _( "Break" ) )
853 .Tooltip( _( "Divide into connected segments" ) )
854 .Icon( BITMAPS::break_line ) );
855
857 .Name( "eeschema.InteractiveEdit.slice" )
858 .Scope( AS_GLOBAL )
859 .FriendlyName( _( "Slice" ) )
860 .Tooltip( _( "Divide into unconnected segments" ) )
861 .Icon( BITMAPS::slice_line ) );
862
863// SCH_EDITOR_CONTROL
864//
866 .Name( "eeschema.EditorControl.restartMove" )
867 .Scope( AS_GLOBAL ) );
868
870 .Name( "eeschema.EditorControl.highlightNet" )
871 .Scope( AS_GLOBAL )
872 .DefaultHotkey( '`' )
873 .FriendlyName( _( "Highlight Net" ) )
874 .Tooltip( _( "Highlight net under cursor" ) )
876
878 .Name( "eeschema.EditorControl.clearHighlight" )
879 .Scope( AS_GLOBAL )
880 .DefaultHotkey( '~' )
881 .FriendlyName( _( "Clear Net Highlighting" ) )
882 .Tooltip( _( "Clear any existing net highlighting" ) ) );
883
885 .Name( "eeschema.EditorControl.updateNetHighlighting" )
886 .Scope( AS_GLOBAL ) );
887
889 .Name( "eeschema.EditorControl.highlightNetTool" )
890 .Scope( AS_GLOBAL )
891 .FriendlyName( _( "Highlight Nets" ) )
892 .Tooltip( _( "Highlight wires and pins of a net" ) )
894 .Flags( AF_ACTIVATE ) );
895
897 .Name( "eeschema.EditorControl.showNetNavigator" )
898 .Scope( AS_GLOBAL )
899 .FriendlyName( _( "Show Net Navigator" ) )
900 .Tooltip( _( "Toggle the net navigator panel visibility" ) ) );
901
903 .Name( "eeschema.EditorControl.editWithSymbolEditor" )
904 .Scope( AS_GLOBAL )
905 .DefaultHotkey( MD_CTRL + 'E' )
906 .LegacyHotkeyName( "Edit with Symbol Editor" )
907 .FriendlyName( _( "Edit with Symbol Editor" ) )
908 .Tooltip( _( "Open the selected symbol in the Symbol Editor" ) )
909 .Icon( BITMAPS::libedit ) );
910
912 .Name( "eeschema.EditorControl.setExcludeFromBOM" )
913 .Scope( AS_GLOBAL )
914 .FriendlyName( _( "Exclude from Bill of Materials" ) )
915 .Tooltip( _( "Set the exclude from bill of materials attribute" ) ) );
916
918 .Name( "eeschema.EditorControl.unsetExcludeFromBOM" )
919 .Scope( AS_GLOBAL )
920 .FriendlyName( _( "Include in Bill of Materials" ) )
921 .Tooltip( _( "Clear the exclude from bill of materials attribute" ) ) );
922
924 .Name( "eeschema.EditorControl.toggleExcludeFromBOM" )
925 .Scope( AS_GLOBAL )
926 .FriendlyName( _( "Toggle Exclude from Bill of Materials" ) )
927 .Tooltip( _( "Toggle the exclude from bill of materials attribute" ) ) );
928
930 .Name( "eeschema.EditorControl.setExcludeFromSimulation" )
931 .Scope( AS_GLOBAL )
932 .FriendlyName( _( "Exclude from Simulation" ) )
933 .Tooltip( _( "Set the exclude from simulation attribute" ) ) );
934
936 .Name( "eeschema.EditorControl.unsetExcludeFromSimulation" )
937 .Scope( AS_GLOBAL )
938 .FriendlyName( _( "Include in Simulation" ) )
939 .Tooltip( _( "Clear the exclude from simulation attribute" ) ) );
940
942 .Name( "eeschema.EditorControl.toggleExcludeFromSimulation" )
943 .Scope( AS_GLOBAL )
944 .FriendlyName( _( "Toggle Exclude from Simulation" ) )
945 .Tooltip( _( "Toggle the exclude from simulation attribute" ) ) );
946
948 .Name( "eeschema.EditorControl.setExcludeFromBoard" )
949 .Scope( AS_GLOBAL )
950 .FriendlyName( _( "Exclude from Board" ) )
951 .Tooltip( _( "Set the exclude from board attribute" ) ) );
952
954 .Name( "eeschema.EditorControl.unsetExcludeFromBoard" )
955 .Scope( AS_GLOBAL )
956 .FriendlyName( _( "Include on Board" ) )
957 .Tooltip( _( "Clear the exclude from board attribute" ) ) );
958
960 .Name( "eeschema.EditorControl.toggleExcludeFromBoard" )
961 .Scope( AS_GLOBAL )
962 .FriendlyName( _( "Toggle Exclude from Board" ) )
963 .Tooltip( _( "Toggle the exclude from board attribute" ) ) );
964
966 .Name( "eeschema.EditorControl.setDNP" )
967 .Scope( AS_GLOBAL )
968 .FriendlyName( _( "Set Do Not Populate" ) )
969 .Tooltip( _( "Set the do not populate attribute" ) ) );
970
972 .Name( "eeschema.EditorControl.unsetDNP" )
973 .Scope( AS_GLOBAL )
974 .FriendlyName( _( "Unset Do Not Populate" ) )
975 .Tooltip( _( "Clear the do not populate attribute" ) ) );
976
978 .Name( "eeschema.EditorControl.toggleDNP" )
979 .Scope( AS_GLOBAL )
980 .DefaultHotkey( MD_CTRL + MD_ALT + 'X' )
981 .FriendlyName( _( "Toggle Do Not Populate" ) )
982 .Tooltip( _( "Toggle the do not populate attribute" ) ) );
983
985 .Name( "eeschema.EditorControl.editLibSymbolWithSymbolEditor" )
986 .Scope( AS_GLOBAL )
987 .DefaultHotkey( MD_CTRL + MD_SHIFT + 'E' )
988 .FriendlyName( _( "Edit Library Symbol..." ) )
989 .Tooltip( _( "Open the library symbol in the Symbol Editor" ) )
990 .Icon( BITMAPS::libedit ) );
991
993 .Name( "eeschema.EditorControl.editSymbolFields" )
994 .Scope( AS_GLOBAL )
995 .FriendlyName( _( "Edit Symbol Fields..." ) )
996 .Tooltip( _( "Bulk-edit fields of all symbols in schematic" ) )
997 .Icon( BITMAPS::spreadsheet ) );
998
1000 .Name( "eeschema.EditorControl.editSymbolLibraryLinks" )
1001 .Scope( AS_GLOBAL )
1002 .FriendlyName( _( "Edit Symbol Library Links..." ) )
1003 .Tooltip( _( "Edit links between schematic and library symbols" ) )
1005
1007 .Name( "eeschema.EditorControl.assignFootprints" )
1008 .Scope( AS_GLOBAL )
1009 .FriendlyName( _( "Assign Footprints..." ) )
1010 .Tooltip( _( "Run footprint assignment tool" ) )
1011 .Icon( BITMAPS::icon_cvpcb_24 ) );
1012
1014 .Name( "eeschema.EditorControl.importFPAssignments" )
1015 .Scope( AS_GLOBAL )
1016 .FriendlyName( _( "Import Footprint Assignments..." ) )
1017 .Tooltip( _( "Import symbol footprint assignments from .cmp file created by board editor" ) )
1019
1021 .Name( "eeschema.EditorControl.annotate" )
1022 .Scope( AS_GLOBAL )
1023 .FriendlyName( _( "Annotate Schematic..." ) )
1024 .Tooltip( _( "Fill in schematic symbol reference designators" ) )
1025 .Icon( BITMAPS::annotate ) );
1026
1028 .Name( "eeschema.EditorControl.schematicSetup" )
1029 .Scope( AS_GLOBAL )
1030 .FriendlyName( _( "Schematic Setup..." ) )
1031 .Tooltip( _( "Edit schematic setup including annotation styles and electrical rules" ) )
1032 .Icon( BITMAPS::options_schematic ) );
1033
1035 .Name( "eeschema.EditorControl.editPageNumber" )
1036 .Scope( AS_GLOBAL )
1037 .FriendlyName( _( "Edit Sheet Page Number..." ) )
1038 .Tooltip( _( "Edit the page number of the current or selected sheet" ) ) );
1039
1041 .Name( "eeschema.EditorControl.rescueSymbols" )
1042 .Scope( AS_GLOBAL )
1043 .FriendlyName( _( "Rescue Symbols..." ) )
1044 .Tooltip( _( "Find old symbols in project and rename/rescue them" ) )
1045 .Icon( BITMAPS::rescue ) );
1046
1048 .Name( "eeschema.EditorControl.remapSymbols" )
1049 .Scope( AS_GLOBAL )
1050 .FriendlyName( _( "Remap Legacy Library Symbols..." ) )
1051 .Tooltip( _( "Remap library symbol references in legacy schematics to the symbol library table" ) )
1052 .Icon( BITMAPS::rescue ) );
1053
1055 .Name( "eeschema.EditorControl.drawSheetOnClipboard" )
1056 .Scope( AS_GLOBAL )
1057 .FriendlyName( _( "Export Drawing to Clipboard" ) )
1058 .Tooltip( _( "Export drawing of current sheet to clipboard" ) )
1059 .Icon( BITMAPS::copy ) );
1060
1062 .Name( "eeschema.EditorControl.importGraphics" )
1063 .Scope( AS_GLOBAL )
1064 .DefaultHotkey( MD_SHIFT + MD_CTRL + 'F' )
1065 .LegacyHotkeyName( "Place DXF" )
1066 .FriendlyName( _( "Import Graphics..." ) )
1067 .Tooltip( _( "Import 2D drawing file" ) )
1068 .Icon( BITMAPS::import_vector )
1069 .Flags( AF_ACTIVATE ) );
1070
1072 .Name( "eeschema.EditorControl.showPcbNew" )
1073 .Scope( AS_GLOBAL )
1074 .FriendlyName( _( "Switch to PCB Editor" ) )
1075 .Tooltip( _( "Open PCB in board editor" ) )
1076 .Icon( BITMAPS::icon_pcbnew_24 ) );
1077
1079 .Name( "eeschema.EditorControl.exportNetlist" )
1080 .Scope( AS_GLOBAL )
1081 .FriendlyName( _( "Export Netlist..." ) )
1082 .Tooltip( _( "Export file containing netlist in one of several formats" ) )
1083 .Icon( BITMAPS::netlist ) );
1084
1086 .Name( "eeschema.EditorControl.generateBOM" )
1087 .Scope( AS_GLOBAL )
1088 .FriendlyName( _( "Generate Bill of Materials..." ) )
1089 .Tooltip( _( "Generate a bill of materials for the current schematic" ) )
1090 .Icon( BITMAPS::post_bom ) );
1091
1093 .Name( "eeschema.EditorControl.generateBOMLegacy" )
1094 .Scope( AS_GLOBAL )
1095 .FriendlyName( _( "Generate Legacy Bill of Materials..." ) )
1096 .Tooltip( _( "Generate a bill of materials for the current schematic (Legacy Generator)" ) )
1097 );
1098
1100 .Name( "eeschema.EditorControl.generateBOMExternal" )
1101 .Scope( AS_GLOBAL )
1102 .FriendlyName( _( "Generate Bill of Materials (External)..." ) )
1103 .Tooltip( _( "Generate a bill of materials for the current schematic using external generator" ) )
1104 );
1105
1107 .Name( "eeschema.EditorControl.exportSymbolsToLibrary" )
1108 .Scope( AS_GLOBAL )
1109 .FriendlyName( _( "Export Symbols to Library..." ) )
1110 .Tooltip( _( "Add symbols used in schematic to an existing symbol library\n"
1111 "(does not remove other symbols from this library)" ) )
1112 .Icon( BITMAPS::library_archive ) );
1113
1115 .Name( "eeschema.EditorControl.exportSymbolsToNewLibrary" )
1116 .Scope( AS_GLOBAL )
1117 .FriendlyName( _( "Export Symbols to New Library..." ) )
1118 .Tooltip( _( "Create a new symbol library using the symbols used in the schematic\n"
1119 "(if the library already exists it will be replaced)" ) )
1120 .Icon( BITMAPS::library_archive_as ) );
1121
1123 .Name( "eeschema.EditorControl.selectOnPCB" )
1124 .Scope( AS_GLOBAL )
1125 .FriendlyName( _( "Select on PCB" ) )
1126 .Tooltip( _( "Select corresponding items in PCB editor" ) )
1127 .Icon( BITMAPS::select_same_sheet ) );
1128
1130 .Name( "eeschema.EditorControl.showHiddenPins" )
1131 .Scope( AS_GLOBAL )
1132 .FriendlyName( _( "Show Hidden Pins" ) )
1133 .Tooltip( _( "Toggle display of hidden pins" ) )
1134 .Icon( BITMAPS::hidden_pin ) );
1135
1137 .Name( "eeschema.EditorControl.showHiddenFields" )
1138 .Scope( AS_GLOBAL )
1139 .FriendlyName( _( "Show Hidden Fields" ) )
1140 .Tooltip( _( "Toggle display of hidden text fields" ) ) );
1141
1143 .Name( "eeschema.EditorControl.showDirectiveLabels" )
1144 .Scope( AS_GLOBAL )
1145 .FriendlyName( _( "Show Directive Labels" ) )
1146 .Tooltip( _( "Toggle display of directive labels" ) ) );
1147
1149 .Name( "eeschema.EditorControl.showERCWarnings" )
1150 .Scope( AS_GLOBAL )
1151 .FriendlyName( _( "Show ERC Warnings" ) )
1152 .Tooltip( _( "Show markers for electrical rules checker warnings" ) ) );
1153
1155 .Name( "eeschema.EditorControl.showERCErrors" )
1156 .Scope( AS_GLOBAL )
1157 .FriendlyName( _( "Show ERC Errors" ) )
1158 .Tooltip( _( "Show markers for electrical rules checker errors" ) ) );
1159
1161 .Name( "eeschema.EditorControl.showERCExclusions" )
1162 .Scope( AS_GLOBAL )
1163 .FriendlyName( _( "Show ERC Exclusions" ) )
1164 .Tooltip( _( "Show markers for excluded electrical rules checker violations" ) ) );
1165
1167 .Name( "eeschema.EditorControl.showOperatingPointVoltages" )
1168 .Scope( AS_GLOBAL )
1169 .FriendlyName( _( "Show OP Voltages" ) )
1170 .Tooltip( _( "Show operating point voltage data from simulation" ) ) );
1171
1173 .Name( "eeschema.EditorControl.showOperatingPointCurrents" )
1174 .Scope( AS_GLOBAL )
1175 .FriendlyName( _( "Show OP Currents" ) )
1176 .Tooltip( _( "Show operating point current data from simulation" ) ) );
1177
1179 .Name( "eeschema.EditorControl.lineModeFree" )
1180 .Scope( AS_GLOBAL )
1181 .FriendlyName( _( "Line Mode for Wires and Buses" ) )
1182 .Tooltip( _( "Draw and drag at any angle" ) )
1183 .Icon( BITMAPS::lines_any )
1184 .Flags( AF_NONE )
1185 .Parameter( LINE_MODE::LINE_MODE_FREE ) );
1186
1188 .Name( "eeschema.EditorControl.lineModeOrthonal" )
1189 .Scope( AS_GLOBAL )
1190 .FriendlyName( _( "Line Mode for Wires and Buses" ) )
1191 .Tooltip( _( "Constrain drawing and dragging to horizontal or vertical motions" ) )
1192 .Icon( BITMAPS::lines90 )
1193 .Flags( AF_NONE )
1194 .Parameter( LINE_MODE::LINE_MODE_90) );
1195
1197 .Name( "eeschema.EditorControl.lineMode45" )
1198 .Scope( AS_GLOBAL )
1199 .FriendlyName( _( "Line Mode for Wires and Buses" ) )
1200 .Tooltip( _( "Constrain drawing and dragging to horizontal, vertical, or 45-degree angle motions" ) )
1201 .Icon( BITMAPS::hv45mode )
1202 .Flags( AF_NONE )
1203 .Parameter( LINE_MODE::LINE_MODE_45 ) );
1204
1206 .Name( "eeschema.EditorControl.lineModeNext" )
1207 .Scope( AS_GLOBAL )
1208 .DefaultHotkey( MD_SHIFT + static_cast<int>( WXK_SPACE ) )
1209 .FriendlyName( _( "Line Mode for Wires and Buses" ) )
1210 .Tooltip( _( "Switch to next line mode" ) ) );
1211
1213 .Name( "eeschema.EditorControl.annotateAutomatically" )
1214 .Scope( AS_GLOBAL )
1215 .FriendlyName( _( "Annotate Automatically" ) )
1216 .Tooltip( _( "Toggle automatic annotation of new symbols" ) )
1217 .Icon( BITMAPS::annotate ) );
1218
1220 .Name( "eeschema.EditorControl.repairSchematic" )
1221 .Scope( AS_GLOBAL )
1222 .FriendlyName( _( "Repair Schematic" ) )
1223 .Tooltip( _( "Run various diagnostics and attempt to repair schematic" ) )
1224 .Icon( BITMAPS::rescue ) );
1225
1226// Python Console
1228 .Name( "eeschema.EditorControl.showPythonConsole" )
1229 .Scope( AS_GLOBAL )
1230 .FriendlyName( _( "Scripting Console" ) )
1231 .Tooltip( _( "Show the Python scripting console" ) )
1232 .Icon( BITMAPS::py_script ) );
1233
1234// SCH_NAVIGATE_TOOL
1235//
1237 .Name( "eeschema.NavigateTool.changeSheet" )
1238 .Scope( AS_CONTEXT )
1239 .FriendlyName( _( "Change Sheet" ) )
1240 .Tooltip( _( "Change to provided sheet's contents in the schematic editor" ) )
1241 .Icon( BITMAPS::enter_sheet ) );
1242
1244 .Name( "eeschema.NavigateTool.enterSheet" )
1245 .Scope( AS_GLOBAL )
1246 .FriendlyName( _( "Enter Sheet" ) )
1247 .Tooltip( _( "Display the selected sheet's contents in the schematic editor" ) )
1248 .Icon( BITMAPS::enter_sheet ) );
1249
1251 .Name( "eeschema.NavigateTool.leaveSheet" )
1252 .Scope( AS_GLOBAL )
1253 .DefaultHotkey( MD_ALT + static_cast<int>( WXK_BACK ) )
1254 .LegacyHotkeyName( "Leave Sheet" )
1255 .FriendlyName( _( "Leave Sheet" ) )
1256 .Tooltip( _( "Display the parent sheet in the schematic editor" ) )
1257 .Icon( BITMAPS::leave_sheet ) );
1258
1260 .Name( "eeschema.NavigateTool.up" )
1261 .Scope( AS_GLOBAL )
1262 .DefaultHotkey( MD_ALT + static_cast<int>( WXK_UP ) )
1263 .FriendlyName( _( "Navigate Up" ) )
1264 .Tooltip( _( "Navigate up one sheet in the hierarchy" ) )
1265 .Icon( BITMAPS::up ) );
1266
1268 .Name( "eeschema.NavigateTool.back" )
1269 .Scope( AS_GLOBAL )
1270 .DefaultHotkey( MD_ALT + static_cast<int>( WXK_LEFT ) )
1271 .FriendlyName( _( "Navigate Back" ) )
1272 .Tooltip( _( "Move backward in sheet navigation history" ) )
1273 .Icon( BITMAPS::left ) );
1274
1276 .Name( "eeschema.NavigateTool.forward" )
1277 .Scope( AS_GLOBAL )
1278 .DefaultHotkey( MD_ALT + static_cast<int>( WXK_RIGHT ) )
1279 .FriendlyName( _( "Navigate Forward" ) )
1280 .Tooltip( _( "Move forward in sheet navigation history" ) )
1281 .Icon( BITMAPS::right ) );
1282
1284 .Name( "eeschema.NavigateTool.previous" )
1285 .Scope( AS_GLOBAL )
1286 .DefaultHotkey( WXK_PAGEUP )
1287 .FriendlyName( _( "Previous Sheet" ) )
1288 .Tooltip( _( "Move to previous sheet by number" ) )
1289 .Icon( BITMAPS::left ) );
1290
1292 .Name( "eeschema.NavigateTool.next" )
1293 .Scope( AS_GLOBAL )
1294 .DefaultHotkey( WXK_PAGEDOWN )
1295 .FriendlyName( _( "Next Sheet" ) )
1296 .Tooltip( _( "Move to next sheet by number" ) )
1297 .Icon( BITMAPS::right ) );
1298
1300 .Name( "eeschema.EditorTool.showHierarchy" )
1301 .Scope( AS_GLOBAL )
1302 .DefaultHotkey( MD_CTRL + 'H' )
1303 .FriendlyName( _( "Hierarchy Navigator" ) )
1304 .Tooltip( _( "Show or hide the schematic sheet hierarchy navigator" ) )
1305 .Icon( BITMAPS::hierarchy_nav ) );
1306
1307
1308// SCH_LINE_WIRE_BUS_TOOL
1309//
1312 .Name( "eeschema.InteractiveDrawingLineWireBus.drawWires" )
1313 .Scope( AS_GLOBAL )
1314 .DefaultHotkey( 'W' )
1315 .LegacyHotkeyName( "Begin Wire" )
1316 .FriendlyName( _( "Add Wire" ) )
1317 .Tooltip( _( "Add a wire" ) )
1318 .Icon( BITMAPS::add_line )
1319 .Flags( AF_ACTIVATE )
1320 .Parameter( &drawWireActionParam ) );
1321
1324 .Name( "eeschema.InteractiveDrawingLineWireBus.drawBuses" )
1325 .Scope( AS_GLOBAL )
1326 .DefaultHotkey( 'B' )
1327 .LegacyHotkeyName( "Begin Bus" )
1328 .FriendlyName( _( "Add Bus" ) )
1329 .Tooltip( _( "Add a bus" ) )
1330 .Icon( BITMAPS::add_bus )
1331 .Flags( AF_ACTIVATE )
1332 .Parameter( &drawBusActionParam ) );
1333
1335 .Name( "eeschema.InteractiveDrawingLineWireBus.unfoldBus" )
1336 .Scope( AS_GLOBAL )
1337 .DefaultHotkey( 'C' )
1338 .LegacyHotkeyName( "Unfold from Bus" )
1339 .FriendlyName( _( "Unfold from Bus" ) )
1340 .Tooltip( _( "Break a wire out of a bus" ) )
1342 .Flags( AF_ACTIVATE )
1343 .Parameter<wxString*>( nullptr ) );
1344
1347 .Name( "eeschema.InteractiveDrawingLineWireBus.drawLines" )
1348 .Scope( AS_GLOBAL )
1349 .DefaultHotkey( 'I' )
1350 .LegacyHotkeyName( "Add Graphic PolyLine" )
1351 .FriendlyName( _( "Add Lines" ) )
1352 .Tooltip( _( "Draw graphic lines" ) )
1354 .Flags( AF_ACTIVATE )
1355 .Parameter( &drawLinesActionParam ) );
1356
1358 .Name( "eeschema.InteractiveDrawingLineWireBus.undoLastSegment")
1359 .Scope( AS_GLOBAL )
1360 .DefaultHotkey( WXK_BACK )
1361 .FriendlyName( _( "Undo Last Segment" ) )
1362 .Tooltip( _( "Walks the current line back one segment." ) )
1363 .Icon( BITMAPS::undo ) );
1364
1366 .Name( "eeschema.InteractiveDrawingLineWireBus.switchPosture" )
1367 .Scope( AS_GLOBAL )
1368 .DefaultHotkey( '/' )
1369 .FriendlyName( _( "Switch Segment Posture" ) )
1370 .Tooltip( _( "Switches posture of the current segment." ) )
1372 .Flags( AF_NONE ) );
1373
1374// SCH_MOVE_TOOL
1375//
1377 .Name( "eeschema.InteractiveMove.move" )
1378 .Scope( AS_GLOBAL )
1379 .DefaultHotkey( 'M' )
1380 .LegacyHotkeyName( "Move Item" )
1381 .FriendlyName( _( "Move" ) )
1382 .Tooltip( _( "Moves the selected item(s)" ) )
1383 .Icon( BITMAPS::move )
1384 .Flags( AF_ACTIVATE ) );
1385
1387 .Name( "eeschema.InteractiveMove.drag" )
1388 .Scope( AS_GLOBAL )
1389 .DefaultHotkey( 'G' )
1390 .LegacyHotkeyName( "Drag Item" )
1391 .FriendlyName( _( "Drag" ) )
1392 .Tooltip( _( "Drags the selected item(s)" ) )
1393 .Icon( BITMAPS::drag )
1394 .Flags( AF_ACTIVATE ) );
1395
1397 .Name( "eeschema.AlignToGrid" )
1398 .Scope( AS_GLOBAL )
1399 .FriendlyName( _( "Align Items to Grid" ) )
1401 .Flags( AF_ACTIVATE ) );
1402
1403// Schematic editor save copy curr sheet command
1405 .Name( "eeschema.EditorControl.saveCurrSheetCopyAs" )
1406 .Scope( AS_GLOBAL )
1407 .FriendlyName( _( "Save Current Sheet Copy As..." ) )
1408 .Tooltip( _( "Save a copy of the current sheet to another location or name" ) )
1409 .Icon( BITMAPS::save_as ) );
1410
1411// Drag and drop
1413 .Name( "eeschema.EditorControl.ddAppendFile" )
1414 .Scope( AS_GLOBAL ) );
1415
1416// SIMULATOR
1418 .Name( "eeschema.Simulation.newAnalysisTab" )
1419 .Scope( AS_GLOBAL )
1420 .DefaultHotkey( MD_CTRL + 'N' )
1421 .LegacyHotkeyName( "New" )
1422 .FriendlyName( _( "New Analysis Tab..." ) )
1423 .Tooltip( _( "Create a new tab containing a simulation analysis" ) )
1424 .Icon( BITMAPS::sim_add_plot ) );
1425
1427 .Name( "eeschema.Simulation.openWorkbook" )
1428 .Scope( AS_GLOBAL )
1429 .DefaultHotkey( MD_CTRL + 'O' )
1430 .LegacyHotkeyName( "Open" )
1431 .FriendlyName( _( "Open Workbook..." ) )
1432 .Tooltip( _( "Open a saved set of analysis tabs and settings" ) )
1433 .Icon( BITMAPS::directory_open ) );
1434
1436 .Name( "eeschema.Simulation.saveWorkbook" )
1437 .Scope( AS_GLOBAL )
1438 .DefaultHotkey( MD_CTRL + 'S' )
1439 .LegacyHotkeyName( "Save" )
1440 .FriendlyName( _( "Save Workbook" ) )
1441 .Tooltip( _( "Save the current set of analysis tabs and settings" ) )
1442 .Icon( BITMAPS::save ) );
1443
1445 .Name( "eeschema.Simulation.saveWorkbookAs" )
1446 .Scope( AS_GLOBAL )
1447 .DefaultHotkey( MD_SHIFT + MD_CTRL + 'S' )
1448 .LegacyHotkeyName( "Save As" )
1449 .FriendlyName( _( "Save Workbook As..." ) )
1450 .Tooltip( _( "Save the current set of analysis tabs and settings to another location" ) )
1451 .Icon( BITMAPS::sim_add_signal ) );
1452
1454 .Name( "eeschema.Simulator.exportPNG" )
1455 .Scope( AS_GLOBAL )
1456 .FriendlyName( _( "Export Current Plot as PNG..." ) )
1457 .Icon( BITMAPS::export_png ) );
1458
1460 .Name( "eeschema.Simulator.exportCSV" )
1461 .Scope( AS_GLOBAL )
1462 .FriendlyName( _( "Export Current Plot as CSV..." ) )
1463 .Icon( BITMAPS::export_file ) );
1464
1466 .Name( "eeschema.Simulator.exportToClipboard" )
1467 .Scope( AS_GLOBAL )
1468 .FriendlyName( _( "Export Current Plot to Clipboard" ) )
1469 .Icon( BITMAPS::export_png ) );
1470
1472 .Name( "eeschema.Simulator.exportPlotToSchematic" )
1473 .Scope( AS_GLOBAL )
1474 .FriendlyName( _( "Export Current Plot to Schematic" ) )
1475 .Icon( BITMAPS::export_png ) );
1476
1478 .Name( "eeschema.Simulator.toggleLegend" )
1479 .Scope( AS_GLOBAL )
1480 .FriendlyName( _( "Show Legend" ) )
1481 .Icon( BITMAPS::text ) );
1482
1484 .Name( "eeschema.Simulator.toggleDottedSecondary" )
1485 .Scope( AS_GLOBAL )
1486 .FriendlyName( _( "Dotted Current/Phase" ) )
1487 .Tooltip( _( "Draw secondary signal trace (current or phase) with a dotted line" ) ) );
1488
1490 .Name( "eeschema.Simulator.toggleDarkModePlots" )
1491 .Scope( AS_GLOBAL )
1492 .FriendlyName( _( "Dark Mode Plots" ) )
1493 .Tooltip( _( "Draw plots with a black background" ) ) );
1494
1496 .Name( "eeschema.Simulation.simAnalysisProperties" )
1497 .Scope( AS_GLOBAL )
1498 .FriendlyName( _( "Edit Analysis Tab..." ) )
1499 .Tooltip( _( "Edit the current analysis tab's SPICE command and plot setup" ) )
1500 .Icon( BITMAPS::sim_command ) );
1501
1503 .Name( "eeschema.Simulation.runSimulation" )
1504 .Scope( AS_GLOBAL )
1505 .DefaultHotkey( 'R' )
1506 .FriendlyName( _( "Run Simulation" ) )
1507 .Icon( BITMAPS::sim_run ) );
1508
1510 .Name( "eeschema.Simulation.stopSimulation" )
1511 .Scope( AS_GLOBAL )
1512 .FriendlyName( _( "Stop Simulation" ) )
1513 .Icon( BITMAPS::sim_stop ) );
1514
1516 .Name( "eeschema.Simulation.probe" )
1517 .Scope( AS_GLOBAL )
1518 .DefaultHotkey( 'P' )
1519 .FriendlyName( _( "Probe Schematic..." ) )
1520 .Tooltip( _( "Add a simulator probe" ) )
1521 .Icon( BITMAPS::sim_probe ) );
1522
1524 .Name( "eeschema.Simulation.tune" )
1525 .Scope( AS_GLOBAL )
1526 .DefaultHotkey( 'T' )
1527 .FriendlyName( _( "Add Tuned Value..." ) )
1528 .Tooltip( _( "Select a value to be tuned" ) )
1529 .Icon( BITMAPS::sim_tune ) );
1530
1532 .Name( "eeschema.Simulation.editUserDefinedSignals" )
1533 .Scope( AS_GLOBAL )
1534 .FriendlyName( _( "User-defined Signals..." ) )
1535 .Tooltip( _( "Add, edit or delete user-defined simulation signals" ) )
1536 .Icon( BITMAPS::sim_add_signal ) );
1537
1539 .Name( "eeschema.Simulation.showNetlist" )
1540 .Scope( AS_GLOBAL )
1541 .FriendlyName( _( "Show SPICE Netlist" ) )
1542 .Icon( BITMAPS::netlist ) );
@ 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
@ library_archive_as
@ add_graphical_segments
@ sim_add_plot
@ INVALID_BITMAP
@ part_properties
@ add_component
@ import_hierarchical_label
@ directory_open
@ align_elements_to_grid
@ add_junction
@ 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 importFPAssignments
Definition: ee_actions.h:173
static TOOL_ACTION deleteSymbol
Definition: ee_actions.h:204
static TOOL_ACTION mirrorV
Definition: ee_actions.h:123
static TOOL_ACTION simAnalysisProperties
Definition: ee_actions.h:282
static TOOL_ACTION repairSchematic
Definition: ee_actions.h:256
static TOOL_ACTION remapSymbols
Definition: ee_actions.h:167
static TOOL_ACTION unsetDNP
Definition: ee_actions.h:193
static TOOL_ACTION runERC
Definition: ee_actions.h:148
static TOOL_ACTION alignToGrid
Definition: ee_actions.h:117
static TOOL_ACTION selectionActivate
Activation of the selection tool.
Definition: ee_actions.h:46
static TOOL_ACTION toggleAnnotateAuto
Definition: ee_actions.h:265
static TOOL_ACTION properties
Definition: ee_actions.h:126
static TOOL_ACTION toggleExcludeFromSimulation
Definition: ee_actions.h:188
static TOOL_ACTION unsetExcludeFromSimulation
Definition: ee_actions.h:187
static TOOL_ACTION cutSymbol
Definition: ee_actions.h:205
static TOOL_ACTION lineMode90
Definition: ee_actions.h:260
static TOOL_ACTION toggleHiddenPins
Definition: ee_actions.h:231
static TOOL_ACTION highlightNet
Definition: ee_actions.h:289
static TOOL_ACTION setExcludeFromBoard
Definition: ee_actions.h:189
static TOOL_ACTION addItemsToSel
Selects a list of items (specified as the event parameter)
Definition: ee_actions.h:63
static TOOL_ACTION move
Definition: ee_actions.h:118
static TOOL_ACTION editUserDefinedSignals
Definition: ee_actions.h:285
static TOOL_ACTION changeSheet
Definition: ee_actions.h:215
static TOOL_ACTION openWorkbook
Definition: ee_actions.h:269
static TOOL_ACTION clearHighlight
Definition: ee_actions.h:290
static TOOL_ACTION drawTable
Definition: ee_actions.h:99
static TOOL_ACTION stopSimulation
Definition: ee_actions.h:284
static TOOL_ACTION syncAllSheetsPins
Definition: ee_actions.h:96
static TOOL_ACTION selectConnection
If current selection is a wire or bus, expand to entire connection.
Definition: ee_actions.h:53
static TOOL_ACTION pointEditorRemoveCorner
Definition: ee_actions.h:144
static TOOL_ACTION pinTable
Definition: ee_actions.h:153
static TOOL_ACTION toggleLegend
Definition: ee_actions.h:279
static TOOL_ACTION toGLabel
Definition: ee_actions.h:138
static TOOL_ACTION toggleExcludeFromBoard
Definition: ee_actions.h:191
static TOOL_ACTION navigateForward
Definition: ee_actions.h:219
static TOOL_ACTION setDNP
Definition: ee_actions.h:192
static TOOL_ACTION cleanupSheetPins
Definition: ee_actions.h:227
static TOOL_ACTION slice
Definition: ee_actions.h:142
static TOOL_ACTION assignNetclass
Definition: ee_actions.h:159
static TOOL_ACTION placeSymbol
Definition: ee_actions.h:79
static TOOL_ACTION clearSelection
Clears the current selection.
Definition: ee_actions.h:56
static TOOL_ACTION drag
Definition: ee_actions.h:119
static TOOL_ACTION navigateBack
Definition: ee_actions.h:220
static TOOL_ACTION placeSymbolAnchor
Definition: ee_actions.h:114
static TOOL_ACTION openWithTextEditor
Definition: ee_actions.h:212
static TOOL_ACTION saveWorkbook
Definition: ee_actions.h:270
static TOOL_ACTION saveWorkbookAs
Definition: ee_actions.h:271
static TOOL_ACTION selectionMenu
Runs a selection menu to select from a list of items.
Definition: ee_actions.h:67
static TOOL_ACTION showHiddenFields
Definition: ee_actions.h:234
static TOOL_ACTION toText
Definition: ee_actions.h:139
static TOOL_ACTION exportPlotAsCSV
Definition: ee_actions.h:273
static TOOL_ACTION drawSymbolPolygon
Definition: ee_actions.h:113
static TOOL_ACTION showPythonConsole
Definition: ee_actions.h:255
static TOOL_ACTION generateBOMExternal
Definition: ee_actions.h:177
static TOOL_ACTION toggleERCWarnings
Definition: ee_actions.h:236
static TOOL_ACTION simTune
Definition: ee_actions.h:278
static TOOL_ACTION duplicateSymbol
Definition: ee_actions.h:202
static TOOL_ACTION toggleERCExclusions
Definition: ee_actions.h:238
static TOOL_ACTION placeClassLabel
Definition: ee_actions.h:88
static TOOL_ACTION drawWire
Definition: ee_actions.h:81
static TOOL_ACTION showDeMorganAlternate
Definition: ee_actions.h:133
static TOOL_ACTION toggleExcludeFromBOM
Definition: ee_actions.h:185
static TOOL_ACTION newSymbol
Definition: ee_actions.h:199
static TOOL_ACTION lineModeNext
Definition: ee_actions.h:262
static TOOL_ACTION autoplaceFields
Definition: ee_actions.h:130
static TOOL_ACTION pushPinNameSize
Definition: ee_actions.h:245
static TOOL_ACTION drawCircle
Definition: ee_actions.h:101
static TOOL_ACTION showDeMorganStandard
Definition: ee_actions.h:132
static TOOL_ACTION removeItemsFromSel
Definition: ee_actions.h:64
static TOOL_ACTION pushPinNumSize
Definition: ee_actions.h:246
static TOOL_ACTION rotateCCW
Definition: ee_actions.h:122
static TOOL_ACTION lineModeFree
Definition: ee_actions.h:259
static TOOL_ACTION editLibSymbolWithLibEdit
Definition: ee_actions.h:171
static TOOL_ACTION editSymbol
Definition: ee_actions.h:201
static TOOL_ACTION drawBus
Definition: ee_actions.h:82
static TOOL_ACTION editValue
Definition: ee_actions.h:128
static TOOL_ACTION saveLibraryAs
Definition: ee_actions.h:197
static TOOL_ACTION toggleDarkModePlots
Definition: ee_actions.h:281
static TOOL_ACTION generateBOMLegacy
Definition: ee_actions.h:176
static TOOL_ACTION placeSymbolText
Definition: ee_actions.h:110
static TOOL_ACTION selectNode
Select the junction, wire or bus segment under the cursor.
Definition: ee_actions.h:49
static TOOL_ACTION toggleERCErrors
Definition: ee_actions.h:237
static TOOL_ACTION toLabel
Definition: ee_actions.h:135
static TOOL_ACTION pointEditorAddCorner
Definition: ee_actions.h:143
static TOOL_ACTION exportPlotAsPNG
Definition: ee_actions.h:272
static TOOL_ACTION placePower
Definition: ee_actions.h:80
static TOOL_ACTION addSymbolToSchematic
Definition: ee_actions.h:178
static TOOL_ACTION toTextBox
Definition: ee_actions.h:140
static TOOL_ACTION showPinNumbers
Definition: ee_actions.h:248
static TOOL_ACTION breakWire
Definition: ee_actions.h:141
static TOOL_ACTION placeSheetPin
Definition: ee_actions.h:92
static TOOL_ACTION drawLines
Definition: ee_actions.h:103
static TOOL_ACTION toggleOPCurrents
Definition: ee_actions.h:240
static TOOL_ACTION restartMove
Definition: ee_actions.h:242
static TOOL_ACTION mirrorH
Definition: ee_actions.h:124
static TOOL_ACTION showSimulator
Definition: ee_actions.h:276
static TOOL_ACTION showNetlist
Definition: ee_actions.h:286
static TOOL_ACTION highlightNetTool
Definition: ee_actions.h:292
static TOOL_ACTION updateNetHighlighting
Definition: ee_actions.h:291
static TOOL_ACTION syncSheetPins
Definition: ee_actions.h:94
static TOOL_ACTION rotateCW
Definition: ee_actions.h:121
static TOOL_ACTION exportNetlist
Definition: ee_actions.h:174
static TOOL_ACTION assignFootprints
Definition: ee_actions.h:158
static TOOL_ACTION unsetExcludeFromBOM
Definition: ee_actions.h:184
static TOOL_ACTION selectOnPCB
Definition: ee_actions.h:243
static TOOL_ACTION diffSymbol
Definition: ee_actions.h:163
static TOOL_ACTION rescueSymbols
Definition: ee_actions.h:166
static TOOL_ACTION pushPinLength
Definition: ee_actions.h:244
static TOOL_ACTION importGraphics
Definition: ee_actions.h:252
static TOOL_ACTION leaveSheet
Definition: ee_actions.h:217
static TOOL_ACTION toggleHiddenFields
Definition: ee_actions.h:232
static TOOL_ACTION editWithLibEdit
Definition: ee_actions.h:170
static TOOL_ACTION simProbe
Definition: ee_actions.h:277
static TOOL_ACTION placeGlobalLabel
Definition: ee_actions.h:89
static TOOL_ACTION removeItemFromSel
Definition: ee_actions.h:60
static TOOL_ACTION exportSymbolAsSVG
Definition: ee_actions.h:254
static TOOL_ACTION importSymbol
Definition: ee_actions.h:208
static TOOL_ACTION toggleDottedSecondary
Definition: ee_actions.h:280
static TOOL_ACTION ddAppendFile
Definition: ee_actions.h:296
static TOOL_ACTION exportSymbolsToLibrary
Definition: ee_actions.h:179
static TOOL_ACTION placeHierLabel
Definition: ee_actions.h:90
static TOOL_ACTION drawSheetOnClipboard
Definition: ee_actions.h:251
static TOOL_ACTION addItemToSel
Selects an item (specified as the event parameter).
Definition: ee_actions.h:59
static TOOL_ACTION editSymbolFields
Definition: ee_actions.h:150
static TOOL_ACTION showDatasheet
Inspection and Editing.
Definition: ee_actions.h:147
static TOOL_ACTION saveSymbolCopyAs
Definition: ee_actions.h:198
static TOOL_ACTION drawTextBox
Definition: ee_actions.h:98
static TOOL_ACTION symbolProperties
Definition: ee_actions.h:152
static TOOL_ACTION showNetNavigator
Definition: ee_actions.h:293
static TOOL_ACTION checkSymbol
Definition: ee_actions.h:162
static TOOL_ACTION editPageNumber
Definition: ee_actions.h:161
static TOOL_ACTION drawRectangle
Definition: ee_actions.h:100
static TOOL_ACTION changeSymbol
Definition: ee_actions.h:156
static TOOL_ACTION annotate
Definition: ee_actions.h:149
static TOOL_ACTION undoLastSegment
Definition: ee_actions.h:105
static TOOL_ACTION placeImage
Definition: ee_actions.h:104
static TOOL_ACTION hideSymbolTree
Definition: ee_actions.h:250
static TOOL_ACTION editFootprint
Definition: ee_actions.h:129
static TOOL_ACTION exportPlotToSchematic
Definition: ee_actions.h:275
static TOOL_ACTION enterSheet
Definition: ee_actions.h:216
static TOOL_ACTION setUnitDisplayName
Definition: ee_actions.h:211
static TOOL_ACTION toggleDirectiveLabels
Definition: ee_actions.h:235
static TOOL_ACTION editReference
Definition: ee_actions.h:127
static TOOL_ACTION copySymbol
Definition: ee_actions.h:206
static TOOL_ACTION updateSymbols
Definition: ee_actions.h:155
static TOOL_ACTION syncSelection
Selection synchronization (PCB -> SCH)
Definition: ee_actions.h:70
static TOOL_ACTION showHierarchy
Definition: ee_actions.h:223
static TOOL_ACTION placeSchematicText
Definition: ee_actions.h:97
static TOOL_ACTION setExcludeFromBOM
Definition: ee_actions.h:183
static TOOL_ACTION drawSymbolTextBox
Definition: ee_actions.h:111
static TOOL_ACTION toggleOPVoltages
Definition: ee_actions.h:239
static TOOL_ACTION changeSymbols
Definition: ee_actions.h:154
static TOOL_ACTION setExcludeFromSimulation
Definition: ee_actions.h:186
static TOOL_ACTION unsetExcludeFromBoard
Definition: ee_actions.h:190
static TOOL_ACTION drawSymbolLines
Definition: ee_actions.h:112
static TOOL_ACTION unfoldBus
Definition: ee_actions.h:83
static TOOL_ACTION renameSymbol
Definition: ee_actions.h:203
static TOOL_ACTION drawArc
Definition: ee_actions.h:102
static TOOL_ACTION exportSymbol
Definition: ee_actions.h:209
static TOOL_ACTION toggleSyncedPinsMode
Definition: ee_actions.h:241
static TOOL_ACTION toCLabel
Definition: ee_actions.h:136
static TOOL_ACTION lineMode45
Definition: ee_actions.h:261
static TOOL_ACTION drawSheet
Definition: ee_actions.h:91
static TOOL_ACTION runSimulation
Definition: ee_actions.h:283
static TOOL_ACTION showSymbolTree
Definition: ee_actions.h:249
static TOOL_ACTION navigateNext
Definition: ee_actions.h:222
static TOOL_ACTION navigateUp
Definition: ee_actions.h:218
static TOOL_ACTION editSymbolLibraryLinks
Definition: ee_actions.h:151
static TOOL_ACTION placeLabel
Definition: ee_actions.h:87
static TOOL_ACTION repeatDrawItem
Definition: ee_actions.h:120
static TOOL_ACTION switchSegmentPosture
Definition: ee_actions.h:106
static TOOL_ACTION showHiddenPins
Definition: ee_actions.h:233
static TOOL_ACTION toHLabel
Definition: ee_actions.h:137
static TOOL_ACTION saveCurrSheetCopyAs
Definition: ee_actions.h:42
static TOOL_ACTION updateSymbolFields
Definition: ee_actions.h:210
static TOOL_ACTION editTextAndGraphics
Definition: ee_actions.h:228
static TOOL_ACTION showPcbNew
Definition: ee_actions.h:172
static TOOL_ACTION exportSymbolView
Definition: ee_actions.h:253
static TOOL_ACTION placeBusWireEntry
Definition: ee_actions.h:86
static TOOL_ACTION toggleDNP
Definition: ee_actions.h:194
static TOOL_ACTION placeSymbolPin
Definition: ee_actions.h:109
static TOOL_ACTION placeJunction
Definition: ee_actions.h:85
static TOOL_ACTION deriveFromExistingSymbol
Definition: ee_actions.h:200
static TOOL_ACTION generateBOM
Definition: ee_actions.h:175
static TOOL_ACTION swap
Definition: ee_actions.h:125
static TOOL_ACTION navigatePrevious
Definition: ee_actions.h:221
static TOOL_ACTION newAnalysisTab
Definition: ee_actions.h:268
static TOOL_ACTION placeNoConnect
Definition: ee_actions.h:84
static TOOL_ACTION pasteSymbol
Definition: ee_actions.h:207
static TOOL_ACTION toggleDeMorgan
Definition: ee_actions.h:131
static TOOL_ACTION updateSymbol
Definition: ee_actions.h:157
static TOOL_ACTION showBusSyntaxHelp
Definition: ee_actions.h:164
static TOOL_ACTION exportPlotToClipboard
Definition: ee_actions.h:274
static TOOL_ACTION schematicSetup
Definition: ee_actions.h:160
static TOOL_ACTION showElectricalTypes
Definition: ee_actions.h:247
static TOOL_ACTION exportSymbolsToNewLibrary
Definition: ee_actions.h:180
Build up the properties of a TOOL_ACTION in an incremental manner that is static-construction safe.
Definition: tool_action.h:102
Represent a single user action.
Definition: tool_action.h:269
@ ARC
use RECTANGLE instead of RECT to avoid collision in a Windows header
const DRAW_SEGMENT_EVENT_PARAMS drawLinesActionParam
const DRAW_SEGMENT_EVENT_PARAMS drawWireActionParam
const DRAW_SEGMENT_EVENT_PARAMS drawBusActionParam
#define _(s)
Definition: ee_actions.cpp:38
@ LINE_MODE_90
@ LINE_MODE_45
@ LINE_MODE_FREE
@ LAYER_WIRE
Definition: layer_ids.h:356
@ LAYER_NOTES
Definition: layer_ids.h:370
@ LAYER_BUS
Definition: layer_ids.h:357
@ AS_GLOBAL
Global action (toolbar/main menu event, global shortcut)
Definition: tool_action.h:48
@ AS_CONTEXT
Action belongs to a particular tool (i.e. a part of a pop-up menu)
Definition: tool_action.h:46
@ AF_ACTIVATE
Action activates a tool.
Definition: tool_action.h:55
@ AF_NONE
Definition: tool_action.h:54
@ MD_ALT
Definition: tool_event.h:144
@ MD_CTRL
Definition: tool_event.h:143
@ MD_SHIFT
Definition: tool_event.h:142
@ SCH_NO_CONNECT_T
Definition: typeinfo.h:160
@ SCH_DIRECTIVE_LABEL_T
Definition: typeinfo.h:170
@ SCH_LABEL_T
Definition: typeinfo.h:167
@ SCH_SHEET_T
Definition: typeinfo.h:173
@ SCH_HIER_LABEL_T
Definition: typeinfo.h:169
@ SCH_TEXT_T
Definition: typeinfo.h:151
@ SCH_BUS_WIRE_ENTRY_T
Definition: typeinfo.h:161
@ SCH_TEXTBOX_T
Definition: typeinfo.h:152
@ SCH_GLOBAL_LABEL_T
Definition: typeinfo.h:168
@ SCH_JUNCTION_T
Definition: typeinfo.h:159
@ SCH_PIN_T
Definition: typeinfo.h:153