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 "tools/ee_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
34// Actions, being statically-defined, require specialized I18N handling. We continue to
35// use the _() macro so that string harvesting by the I18N framework doesn't have to be
36// specialized, but we don't translate on initialization and instead do it in the getters.
37
38#undef _
39#define _(s) s
40
41
42// EE_INSPECTION_TOOL
43//
45 .Name( "eeschema.InspectionTool.runERC" )
46 .Scope( AS_GLOBAL )
47 .FriendlyName( _( "Electrical Rules Checker" ) )
48 .Tooltip( _( "Show the electrical rules checker window" ) )
49 .Icon( BITMAPS::erc ) );
50
52 .Name( "eeschema.InspectionTool.checkSymbol" )
53 .Scope( AS_GLOBAL )
54 .FriendlyName( _( "Symbol Checker" ) )
55 .Tooltip( _( "Show the symbol checker window" ) )
56 .Icon( BITMAPS::erc ) );
57
59 .Name( "eeschema.InspectionTool.diffSymbol" )
60 .Scope( AS_GLOBAL )
61 .FriendlyName( _( "Compare Symbol with Library" ) )
62 .Tooltip( _( "Show differences between schematic symbol and its library equivalent" ) )
63 .Icon( BITMAPS::library ) );
64
66 .Name( "eeschema.InspectionTool.showBusSyntaxHelp" )
67 .Scope( AS_GLOBAL )
68 .FriendlyName( _( "Show Bus Syntax Help" ) )
70
72 .Name( "eeschema.EditorControl.showSimulator" )
73 .Scope( AS_GLOBAL )
74 .FriendlyName( _( "Simulator" ) )
75 .Tooltip( _( "Show simulation window for running SPICE or IBIS simulations." ) )
76 .Icon( BITMAPS::simulator ) );
77
78
79// EE_POINT_EDITOR
80//
82 .Name( "eeschema.PointEditor.addCorner" )
83 .Scope( AS_GLOBAL )
84 .FriendlyName( _( "Create Corner" ) )
85 .Icon( BITMAPS::add_corner ) );
86
88 .Name( "eeschema.PointEditor.removeCorner" )
89 .Scope( AS_GLOBAL )
90 .FriendlyName( _( "Remove Corner" ) )
91 .Icon( BITMAPS::delete_cursor ) );
92
93// EE_SELECTION_TOOL
94//
96 .Name( "eeschema.InteractiveSelection" )
97 .Scope( AS_GLOBAL )
98 .Flags( AF_ACTIVATE ) );
99
101 .Name( "eeschema.InteractiveSelection.SelectNode" )
102 .Scope( AS_GLOBAL )
103 .DefaultHotkey( MD_ALT + '3' )
104 .LegacyHotkeyName( "Select Node" )
105 .FriendlyName( _( "Select Node" ) )
106 .Tooltip( _( "Select a connection item under the cursor" ) ) );
107
109 .Name( "eeschema.InteractiveSelection.SelectConnection" )
110 .Scope( AS_GLOBAL )
111 .DefaultHotkey( MD_CTRL + '4' )
112 .LegacyHotkeyName( "Select Connection" )
113 .FriendlyName( _( "Select Connection" ) )
114 .Tooltip( _( "Select a complete connection" ) )
116
118 .Name( "eeschema.InteractiveSelection.SelectionMenu" )
119 .Scope( AS_GLOBAL ) );
120
122 .Name( "eeschema.InteractiveSelection.AddItemToSel" )
123 .Scope( AS_GLOBAL ) );
124
126 .Name( "eeschema.InteractiveSelection.AddItemsToSel" )
127 .Scope( AS_GLOBAL ) );
128
130 .Name( "eeschema.InteractiveSelection.RemoveItemFromSel" )
131 .Scope( AS_GLOBAL ) );
132
134 .Name( "eeschema.InteractiveSelection.RemoveItemsFromSel" )
135 .Scope( AS_GLOBAL ) );
136
138 .Name( "eeschema.InteractiveSelection.ClearSelection" )
139 .Scope( AS_GLOBAL ) );
140
142 .Name( "eeschema.InteractiveSelection.SyncSelection" )
143 .Scope( AS_GLOBAL ) );
144
145// SCH_DESIGN_BLOCK_CONTROL
147 .Name( "eeschema.SchDesignBlockControl.showDesignBlockPanel" )
148 .Scope( AS_GLOBAL )
149 .FriendlyName( _( "Design Blocks" ) )
150 .Tooltip( _( "Show/hide design blocks library" ) )
151 .Icon( BITMAPS::search_tree ) );
152
154 .Name( "eeschema.SchDesignBlockControl.saveSheetAsDesignBlock" )
155 .Scope( AS_GLOBAL )
156 .FriendlyName( _( "Save Current Sheet as Design Block..." ) )
157 .Tooltip( _( "Create a new design block from the current sheet" ) )
158 .Icon( BITMAPS::new_component ) );
159
161 .Name( "eeschema.SchDesignBlockControl.saveSelectionAsDesignBlock" )
162 .Scope( AS_GLOBAL )
163 .FriendlyName( _( "Save Selection as Design Block..." ) )
164 .Tooltip( _( "Create a new design block from the current selection" ) )
165 .Icon( BITMAPS::new_component ) );
166
168 .Name( "eeschema.SchDesignBlockControl.saveDeleteDesignBlock" )
169 .Scope( AS_GLOBAL )
170 .FriendlyName( _( "Delete Design Block" ) )
171 .Tooltip( _( "Remove the selected design block from its library" ) )
172 .Icon( BITMAPS::trash ) );
173
175 .Name( "eeschema.SchDesignBlockControl.editDesignBlockProperties" )
176 .Scope( AS_GLOBAL )
177 .FriendlyName( _( "Properties..." ) )
178 .Tooltip( _( "Edit properies of design block" ) )
179 .Icon( BITMAPS::edit ) );
180
181// SYMBOL_EDITOR_CONTROL
182//
184 .Name( "eeschema.SymbolLibraryControl.saveLibraryAs" )
185 .Scope( AS_GLOBAL )
186 .DefaultHotkey( MD_SHIFT + MD_CTRL + 'S' )
187 .LegacyHotkeyName( "Save As" )
188 .FriendlyName( _( "Save Library As..." ) )
189 .Tooltip( _( "Save the current library to a new file" ) ) );
190
192 .Name( "eeschema.SymbolLibraryControl.newSymbol" )
193 .Scope( AS_GLOBAL )
194 .DefaultHotkey( MD_CTRL + 'N' )
195 .FriendlyName( _( "New Symbol..." ) )
196 .Tooltip( _( "Create a new symbol in an existing library" ) )
197 .Icon( BITMAPS::new_component ) );
198
200 .Name( "eeschema.SymbolLibraryControl.deriveFromExistingSymbol" )
201 .Scope( AS_GLOBAL )
202 .FriendlyName( _( "Derive from Existing Symbol" ) )
203 .Tooltip( _( "Create a new symbol, derived from an existing symbol" ) )
204 .Icon( BITMAPS::new_component ) );
205
207 .Name( "eeschema.SymbolLibraryControl.editSymbol" )
208 .Scope( AS_GLOBAL )
209 .FriendlyName( _( "Edit Symbol" ) )
210 .Tooltip( _( "Show selected symbol on editor canvas" ) )
211 .Icon( BITMAPS::edit ) );
212
214 .Name( "eeschema.SymbolLibraryControl.duplicateSymbol" )
215 .Scope( AS_GLOBAL )
216 .FriendlyName( _( "Duplicate Symbol" ) )
217 .Icon( BITMAPS::duplicate ) );
218
220 .Name( "eeschema.SymbolLibraryControl.renameFootprint" )
221 .Scope( AS_GLOBAL )
222 .FriendlyName( _( "Rename Symbol..." ) )
223 .Icon( BITMAPS::edit ) );
224
226 .Name( "eeschema.SymbolLibraryControl.saveSymbolAs" )
227 .Scope( AS_GLOBAL )
228 .FriendlyName( _( "Save As..." ) )
229 .Tooltip( _( "Save the current symbol to a different library or name" ) )
230 .Icon( BITMAPS::save_as ) );
231
233 .Name( "eeschema.SymbolLibraryControl.saveSymbolCopyAs" )
234 .Scope( AS_GLOBAL )
235 .FriendlyName( _( "Save Copy As..." ) )
236 .Tooltip( _( "Save a copy of the current symbol to a different library or name" ) )
237 .Icon( BITMAPS::save_as ) );
238
240 .Name( "eeschema.SymbolLibraryControl.deleteSymbol" )
241 .Scope( AS_GLOBAL )
242 .FriendlyName( _( "Delete Symbol" ) )
243 .Tooltip( _( "Remove the selected symbol from its library" ) )
244 .Icon( BITMAPS::trash ) );
245
247 .Name( "eeschema.SymbolLibraryControl.cutSymbol" )
248 .Scope( AS_GLOBAL )
249 .FriendlyName( _( "Cut" ) )
250 .Icon( BITMAPS::cut ) );
251
253 .Name( "eeschema.SymbolLibraryControl.copySymbol" )
254 .Scope( AS_GLOBAL )
255 .FriendlyName( _( "Copy" ) )
256 .Icon( BITMAPS::copy ) );
257
259 .Name( "eeschema.SymbolLibraryControl.pasteSymbol" )
260 .Scope( AS_GLOBAL )
261 .FriendlyName( _( "Paste Symbol" ) )
262 .Icon( BITMAPS::paste ) );
263
265 .Name("eeschema.SymbolLibraryControl.importSymbol" )
266 .Scope( AS_GLOBAL )
267 .FriendlyName( _( "Import Symbol..." ) )
268 .Tooltip( _( "Import a symbol to the current library" ) )
269 .Icon( BITMAPS::import_part ) );
270
272 .Name( "eeschema.SymbolLibraryControl.updateSymbolFields" )
273 .Scope( AS_GLOBAL )
274 .FriendlyName( _( "Update Symbol Fields..." ) )
275 .Tooltip( _( "Update symbol to match changes made in parent symbol" ) )
276 .Icon( BITMAPS::refresh ) );
277
279 .Name( "eeschema.SymbolLibraryControl.setUnitDisplayName" )
280 .Scope( AS_GLOBAL )
281 .FriendlyName( _( "Set Unit Display Name..." ) )
282 .Tooltip( _( "Set the display name for a particular unit in a multi-unit symbol" ) ) );
283
285 .Name( "eeschema.SymbolLibraryControl.addSymbolToSchematic" )
286 .Scope( AS_GLOBAL )
287 .FriendlyName( _( "Add Symbol to Schematic" ) )
288 .Tooltip( _( "Add the current symbol to the schematic" ) )
290
292 .Name( "eeschema.SymbolLibraryControl.showElectricalTypes" )
293 .Scope( AS_GLOBAL )
294 .FriendlyName( _( "Show Pin Electrical Types" ) )
295 .Tooltip( _( "Annotate pins with their electrical types" ) )
296 .Icon( BITMAPS::pin_show_etype ) );
297
299 .Name( "eeschema.SymbolLibraryControl.showPinNumbers" )
300 .Scope( AS_GLOBAL )
301 .FriendlyName( _( "Show Pin Numbers" ) )
302 .Tooltip( _( "Annotate pins with their numbers" ) )
303 .Icon( BITMAPS::pin ) );
304
306 .Name( "eeschema.SymbolLibraryControl.exportSymbolView" )
307 .Scope( AS_GLOBAL )
308 .FriendlyName( _( "Export View as PNG..." ) )
309 .Tooltip( _( "Create PNG file from the current view" ) )
310 .Icon( BITMAPS::export_png ) );
311
313 .Name( "eeschema.SymbolLibraryControl.exportSymbolAsSVG" )
314 .Scope( AS_GLOBAL )
315 .FriendlyName( _( "Export Symbol as SVG..." ) )
316 .Tooltip( _( "Create SVG file from the current symbol" ) )
317 .Icon( BITMAPS::export_svg ) );
318
320 .Name( "eeschema.SymbolLibraryControl.toggleSyncedPinsMode" )
321 .Scope( AS_GLOBAL )
322 .FriendlyName( _( "Synchronized Pins Mode" ) )
323 .Tooltip( _( "Synchronized Pins Mode\n"
324 "When enabled propagates all changes (except pin numbers) to other units.\n"
325 "Enabled by default for multiunit parts with interchangeable units." ) )
326 .Icon( BITMAPS::pin2pin ) );
327
329 .Name( "eeschema.SymbolLibraryControl.showHiddenPins" )
330 .Scope( AS_GLOBAL )
331 .FriendlyName( _( "Show Hidden Pins" ) )
332 .Icon( BITMAPS::hidden_pin ) );
333
335 .Name( "eeschema.SymbolLibraryControl.showHiddenFields" )
336 .Scope( AS_GLOBAL )
337 .FriendlyName( _( "Show Hidden Fields" ) )
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 .Icon( BITMAPS::pin )
350 .Flags( AF_ACTIVATE )
351 .Parameter( SCH_PIN_T ) );
352
354 .Name( "eeschema.SymbolDrawing.placeSymbolText" )
355 .Scope( AS_GLOBAL )
356 .FriendlyName( _( "Draw Text" ) )
357 .Icon( BITMAPS::text )
358 .Flags( AF_ACTIVATE )
359 .Parameter( SCH_TEXT_T ) );
360
362 .Name( "eeschema.SymbolDrawing.drawSymbolTextBox" )
363 .Scope( AS_GLOBAL )
364 .FriendlyName( _( "Draw Text Boxes" ) )
365 .Icon( BITMAPS::add_textbox )
366 .Flags( AF_ACTIVATE ) );
367
369 .Name( "eeschema.SymbolDrawing.drawSymbolLines" )
370 .Scope( AS_GLOBAL )
371 .FriendlyName( _( "Draw Lines" ) )
372 .Tooltip( _( "Draw connected graphic lines" ) )
374 .Flags( AF_ACTIVATE )
375 .Parameter( SHAPE_T::POLY ) );
376
378 .Name( "eeschema.SymbolDrawing.drawSymbolPolygon" )
379 .Scope( AS_GLOBAL )
380 .FriendlyName( _( "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 .Icon( BITMAPS::anchor )
390 .Flags( AF_ACTIVATE ) );
391
392// SYMBOL_EDITOR_PIN_TOOL
393//
395 .Name( "eeschema.PinEditing.pushPinLength" )
396 .Scope( AS_GLOBAL )
397 .FriendlyName( _( "Push Pin Length" ) )
398 .Tooltip( _( "Copy pin length to other pins in symbol" ) )
399 .Icon( BITMAPS::pin_size_to ) );
400
402 .Name( "eeschema.PinEditing.pushPinNameSize" )
403 .Scope( AS_GLOBAL )
404 .FriendlyName( _( "Push Pin Name Size" ) )
405 .Tooltip( _( "Copy pin name size to other pins in symbol" ) )
406 .Icon( BITMAPS::pin_size_to ) );
407
409 .Name( "eeschema.PinEditing.pushPinNumSize" )
410 .Scope( AS_GLOBAL )
411 .FriendlyName( _( "Push Pin Number Size" ) )
412 .Tooltip( _( "Copy pin number size to other pins in symbol" ) )
413 .Icon( BITMAPS::pin_size_to ) );
414
415
416// SCH_DRAWING_TOOLS
417//
419 .Name( "eeschema.InteractiveDrawing.placeSymbol" )
420 .Scope( AS_GLOBAL )
421 .DefaultHotkey( 'A' )
422 .LegacyHotkeyName( "Add Symbol" )
423 .FriendlyName( _( "Place Symbols" ) )
425 .Flags( AF_ACTIVATE )
426 .Parameter<EE_ACTIONS::PLACE_SYMBOL_PARAMS>( {} ) );
427
429 .Name( "eeschema.InteractiveDrawing.placeNextSymbolUnit" )
430 .Scope( AS_GLOBAL )
431 .FriendlyName( _( "Place Next Symbol Unit" ) )
432 .Tooltip( _( "Place the next unit of the current symbol that is missing from the schematic" ) )
433 .Flags( AF_ACTIVATE )
434 // The symbol to use as a reference for the next unit
435 .Parameter<SCH_SYMBOL*>( nullptr ) );
436
438 .Name( "eeschema.InteractiveDrawing.placePowerSymbol" )
439 .Scope( AS_GLOBAL )
440 .DefaultHotkey( 'P' )
441 .LegacyHotkeyName( "Add Power" )
442 .FriendlyName( _( "Place Power Symbols" ) )
443 .Icon( BITMAPS::add_power )
444 .Flags( AF_ACTIVATE )
445 .Parameter<EE_ACTIONS::PLACE_SYMBOL_PARAMS>( {} ) );
446
448 .Name( "eeschema.InteractiveDrawing.placeDesignBlock" )
449 .Scope( AS_GLOBAL )
450 .DefaultHotkey( MD_SHIFT + 'B' )
451 .FriendlyName( _( "Place Design Block" ) )
452 .Tooltip( _( "Add selected design block to current sheet" ) )
454 .Flags( AF_ACTIVATE )
455 .Parameter<DESIGN_BLOCK*>( nullptr ) );
456
457
459 .Name( "eeschema.InteractiveDrawing.placeNoConnect" )
460 .Scope( AS_GLOBAL )
461 .DefaultHotkey( 'Q' )
462 .LegacyHotkeyName( "Add No Connect Flag" )
463 .FriendlyName( _( "Place No Connect Flags" ) )
464 .Icon( BITMAPS::noconn )
465 .Flags( AF_ACTIVATE )
466 .Parameter( SCH_NO_CONNECT_T ) );
467
469 .Name( "eeschema.InteractiveDrawing.placeJunction" )
470 .Scope( AS_GLOBAL )
471 .DefaultHotkey( 'J' )
472 .LegacyHotkeyName( "Add Junction" )
473 .FriendlyName( _( "Place Junctions" ) )
474 .Icon( BITMAPS::add_junction )
475 .Flags( AF_ACTIVATE )
476 .Parameter( SCH_JUNCTION_T ) );
477
479 .Name( "eeschema.InteractiveDrawing.placeBusWireEntry" )
480 .Scope( AS_GLOBAL )
481 .DefaultHotkey( 'Z' )
482 .LegacyHotkeyName( "Add Wire Entry" )
483 .FriendlyName( _( "Place Wire to Bus Entries" ) )
484 .Icon( BITMAPS::add_line2bus )
485 .Flags( AF_ACTIVATE )
486 .Parameter( SCH_BUS_WIRE_ENTRY_T ) );
487
489 .Name( "eeschema.InteractiveDrawing.placeLabel" )
490 .Scope( AS_GLOBAL )
491 .DefaultHotkey( 'L' )
492 .LegacyHotkeyName( "Add Label" )
493 .FriendlyName( _( "Place Net Labels" ) )
494 .Icon( BITMAPS::add_label )
495 .Flags( AF_ACTIVATE ) );
496
499 .Name( "eeschema.InteractiveDrawing.placeClassLabel" )
500 .Scope( AS_GLOBAL )
501 .FriendlyName( _( "Place Directive Labels" ) )
503 .Flags( AF_ACTIVATE ) );
504
506 .Name( "eeschema.InteractiveDrawing.placeHierarchicalLabel" )
507 .Scope( AS_GLOBAL )
508 .DefaultHotkey( 'H' )
509 .LegacyHotkeyName( "Add Hierarchical Label" )
510 .FriendlyName( _( "Place Hierarchical Labels" ) )
512 .Flags( AF_ACTIVATE ) );
513
515 .Name( "eeschema.InteractiveDrawing.drawSheet" )
516 .Scope( AS_GLOBAL )
517 .DefaultHotkey( 'S' )
518 .LegacyHotkeyName( "Add Sheet" )
519 .FriendlyName( _( "Draw Hierarchical Sheets" ) )
521 .Flags( AF_ACTIVATE )
522 .Parameter( SCH_SHEET_T ) );
523
525 .Name( "eeschema.InteractiveDrawing.drawSheetFromFile" )
526 .Scope( AS_GLOBAL )
527 .FriendlyName( _( "Draw Sheet from File" ) )
528 .Tooltip( _( "Copy sheet into project and draw on current sheet" ) )
530 .Flags( AF_ACTIVATE )
531 .Parameter<wxString*> ( nullptr ) );
532
534 .Name( "eeschema.InteractiveDrawing.drawSheetFromDesignBlock" )
535 .Scope( AS_GLOBAL )
536 .FriendlyName( _( "Draw Sheet from Design Block" ) )
537 .Tooltip( _( "Copy design block into project as a sheet on current sheet" ) )
539 .Flags( AF_ACTIVATE )
540 .Parameter<DESIGN_BLOCK*> ( nullptr ) );
541
543 .Name( "eeschema.InteractiveDrawing.placeSheetPin" )
544 .Scope( AS_GLOBAL )
545 .FriendlyName( _( "Place Sheet Pins" ) )
547 .Flags( AF_ACTIVATE ) );
548
550 .Name( "eeschema.InteractiveDrawing.syncSheetPins" )
551 .Scope( AS_GLOBAL )
552 .FriendlyName( _( "Sync Sheet Pins" ) )
553 .Tooltip( _( "Synchronize sheet pins and hierarchical labels" ) )
555 .Flags( AF_ACTIVATE ) );
556
558 .Name( "eeschema.InteractiveDrawing.syncAllSheetsPins" )
559 .Scope( AS_GLOBAL )
560 .FriendlyName( _( "Sync Sheet Pins" ) )
561 .Tooltip( _( "Synchronize sheet pins and hierarchical labels" ) )
563 .Flags( AF_ACTIVATE ) );
564
566 .Name( "eeschema.InteractiveDrawing.importSheet" )
567 .Scope( AS_GLOBAL )
568 .FriendlyName( _( "Import Sheet" ) )
569 .Tooltip( _( "Import sheet into project" ) )
571 .Flags( AF_ACTIVATE )
572 .Parameter<wxString*> ( nullptr ) );
573
575 .Name( "eeschema.InteractiveDrawing.placeGlobalLabel" )
576 .Scope( AS_GLOBAL )
577 .DefaultHotkey( MD_CTRL + 'L' )
578 .LegacyHotkeyName( "Add Global Label" )
579 .FriendlyName( _( "Place Global Labels" ) )
580 .Icon( BITMAPS::add_glabel )
581 .Flags( AF_ACTIVATE ) );
582
584 .Name( "eeschema.InteractiveDrawing.placeSchematicText" )
585 .Scope( AS_GLOBAL )
586 .DefaultHotkey( 'T' )
587 .LegacyHotkeyName( "Add Graphic Text" )
588 .FriendlyName( _( "Draw Text" ) )
589 .Icon( BITMAPS::text )
590 .Flags( AF_ACTIVATE ) );
591
593 .Name( "eeschema.InteractiveDrawing.drawTextBox" )
594 .Scope( AS_GLOBAL )
595 .FriendlyName( _( "Draw Text Boxes" ) )
596 .Icon( BITMAPS::add_textbox )
597 .Flags( AF_ACTIVATE )
598 .Parameter( SHAPE_T::RECTANGLE ) );
599
601 .Name( "eeschema.InteractiveDrawing.drawTable" )
602 .Scope( AS_GLOBAL )
603 .FriendlyName( _( "Draw Tables" ) )
604 .Icon( BITMAPS::spreadsheet ) // JEY TODO
605 .Flags( AF_ACTIVATE ) );
606
608 .Name( "eeschema.InteractiveDrawing.drawRectangle" )
609 .Scope( AS_GLOBAL )
610 .FriendlyName( _( "Draw Rectangles" ) )
612 .Flags( AF_ACTIVATE )
613 .Parameter( SHAPE_T::RECTANGLE ) );
614
616 .Name( "eeschema.InteractiveDrawing.drawCircle" )
617 .Scope( AS_GLOBAL )
618 .FriendlyName( _( "Draw Circles" ) )
619 .Icon( BITMAPS::add_circle )
620 .Flags( AF_ACTIVATE )
621 .Parameter( SHAPE_T::CIRCLE ) );
622
624 .Name( "eeschema.InteractiveDrawing.drawArc" )
625 .Scope( AS_GLOBAL )
626 .FriendlyName( _( "Draw Arcs" ) )
627 .Icon( BITMAPS::add_arc )
628 .Flags( AF_ACTIVATE )
629 .Parameter( SHAPE_T::ARC ) );
630
632 .Name( "eeschema.InteractiveDrawing.drawBezier" )
633 .Scope( AS_GLOBAL )
634 .FriendlyName( _( "Draw Bezier Curve" ) )
635 .Icon( BITMAPS::add_bezier )
636 .Flags( AF_ACTIVATE )
637 .Parameter( SHAPE_T::BEZIER ) );
638
640 .Name( "eeschema.InteractiveDrawing.placeImage" )
641 .Scope( AS_GLOBAL )
642 .FriendlyName( _( "Place Images" ) )
643 .Icon( BITMAPS::image )
644 .Flags( AF_ACTIVATE )
645 .Parameter<SCH_BITMAP*>( nullptr ) );
646
648 .Name( "eeschema.InteractiveDrawing.drawRuleArea" )
649 .Scope( AS_GLOBAL )
650 .FriendlyName( _( "Draw Rule Areas" ) )
652 .Flags( AF_ACTIVATE )
653 .Parameter( SHAPE_T::RECTANGLE ) );
654
656 .Name( "eeschema.InteractiveDrawing.deleteLastPoint" )
657 .Scope( AS_CONTEXT )
658 .FriendlyName( _( "Delete Last Point" ) )
659 .Tooltip( _( "Delete the last point added to the current item" ) )
660 .Icon( BITMAPS::undo ) );
661
663 .Name( "eeschema.InteractiveDrawing.closeOutline" )
664 .Scope( AS_CONTEXT )
665 .FriendlyName( _( "Close Outline" ) )
666 .Tooltip( _( "Close the in-progress outline" ) )
667 .Icon( BITMAPS::checked_ok ) );
668
669
670// SCH_EDIT_TOOL
671//
673 .Name( "eeschema.InteractiveEdit.repeatDrawItem" )
674 .Scope( AS_GLOBAL )
675#ifdef __WXMAC__
676 .DefaultHotkey( WXK_F1 )
677#else
678 .DefaultHotkey( WXK_INSERT )
679#endif
680 .LegacyHotkeyName( "Repeat Last Item" )
681 .FriendlyName( _( "Repeat Last Item" ) )
682 .Tooltip( _( "Duplicates the last drawn item" ) ) );
683
685 .Name( "eeschema.InteractiveEdit.rotateCW" )
686 .Scope( AS_GLOBAL )
687 .FriendlyName( _( "Rotate Clockwise" ) )
688 .Icon( BITMAPS::rotate_cw ) );
689
691 .Name( "eeschema.InteractiveEdit.rotateCCW" )
692 .Scope( AS_GLOBAL )
693 .DefaultHotkey( 'R' )
694 .LegacyHotkeyName( "Rotate Item" )
695 .FriendlyName( _( "Rotate Counterclockwise" ) )
696 .Icon( BITMAPS::rotate_ccw ) );
697
699 .Name( "eeschema.InteractiveEdit.mirrorV" )
700 .Scope( AS_GLOBAL )
701 .DefaultHotkey( 'Y' )
702 .LegacyHotkeyName( "Mirror X" ) // Yes, these were backwards prior to 6.0....
703 .FriendlyName( _( "Mirror Vertically" ) )
704 .Tooltip( _( "Flips selected item(s) from top to bottom" ) )
705 .Icon( BITMAPS::mirror_v ) );
706
708 .Name( "eeschema.InteractiveEdit.mirrorH" )
709 .Scope( AS_GLOBAL )
710 .DefaultHotkey( 'X' )
711 .LegacyHotkeyName( "Mirror Y" ) // Yes, these were backwards prior to 6.0....
712 .FriendlyName( _( "Mirror Horizontally" ) )
713 .Tooltip( _( "Flips selected item(s) from left to right" ) )
714 .Icon( BITMAPS::mirror_h ) );
715
717 .Name( "eeschema.InteractiveEdit.swap" )
718 .Scope( AS_GLOBAL )
719 .DefaultHotkey( MD_ALT + 'S' )
720 .FriendlyName( _( "Swap" ) )
721 .Tooltip( _( "Swap positions of selected items" ) )
722 .Icon( BITMAPS::swap ) );
723
725 .Name( "eeschema.InteractiveEdit.properties" )
726 .Scope( AS_GLOBAL )
727 .DefaultHotkey( 'E' )
728 .LegacyHotkeyName( "Edit Item" )
729 .FriendlyName( _( "Properties..." ) )
730 .Icon( BITMAPS::edit ) );
731
733 .Name( "eeschema.InteractiveEdit.editReference" )
734 .Scope( AS_GLOBAL )
735 .DefaultHotkey( 'U' )
736 .LegacyHotkeyName( "Edit Symbol Reference" )
737 .FriendlyName( _( "Edit Reference Designator..." ) )
738 .Icon( BITMAPS::edit_comp_ref ) );
739
741 .Name( "eeschema.InteractiveEdit.editValue" )
742 .Scope( AS_GLOBAL )
743 .DefaultHotkey( 'V' )
744 .LegacyHotkeyName( "Edit Symbol Value" )
745 .FriendlyName( _( "Edit Value..." ) )
746 .Icon( BITMAPS::edit_comp_value ) );
747
749 .Name( "eeschema.InteractiveEdit.editFootprint" )
750 .Scope( AS_GLOBAL )
751 .DefaultHotkey( 'F' )
752 .LegacyHotkeyName( "Edit Symbol Footprint" )
753 .FriendlyName( _( "Edit Footprint..." ) )
755
757 .Name( "eeschema.InteractiveEdit.autoplaceFields" )
758 .Scope( AS_GLOBAL )
759 .DefaultHotkey( 'O' )
760 .LegacyHotkeyName( "Autoplace Fields" )
761 .FriendlyName( _( "Autoplace Fields" ) )
762 .Tooltip( _( "Runs the automatic placement algorithm on the symbol's (or sheet's) fields" ) )
763 .Icon( BITMAPS::autoplace_fields ) );
764
766 .Name( "eeschema.InteractiveEdit.changeSymbols" )
767 .Scope( AS_GLOBAL )
768 .FriendlyName( _( "Change Symbols..." ) )
769 .Tooltip( _( "Assign different symbols from the library" ) )
770 .Icon( BITMAPS::exchange ) );
771
773 .Name( "eeschema.InteractiveEdit.updateSymbols" )
774 .Scope( AS_GLOBAL )
775 .FriendlyName( _( "Update Symbols from Library..." ) )
776 .Tooltip( _( "Update symbols to include any changes from the library" ) )
777 .Icon( BITMAPS::refresh ) );
778
780 .Name( "eeschema.InteractiveEdit.changeSymbol" )
781 .Scope( AS_GLOBAL )
782 .FriendlyName( _( "Change Symbol..." ) )
783 .Tooltip( _( "Assign a different symbol from the library" ) )
784 .Icon( BITMAPS::exchange ) );
785
787 .Name( "eeschema.InteractiveEdit.updateSymbol" )
788 .Scope( AS_GLOBAL )
789 .FriendlyName( _( "Update Symbol..." ) )
790 .Tooltip( _( "Update symbol to include any changes from the library" ) )
791 .Icon( BITMAPS::refresh ) );
792
794 .Name( "eeschema.InteractiveEdit.assignNetclass" )
795 .Scope( AS_GLOBAL )
796 .FriendlyName( _( "Assign Netclass..." ) )
797 .Tooltip( _( "Assign a netclass to nets matching a pattern" ) )
798 .Icon( BITMAPS::netlist ) );
799
801 .Name( "eeschema.InteractiveEdit.toggleDeMorgan" )
802 .Scope( AS_GLOBAL )
803 .FriendlyName( _( "De Morgan Conversion" ) )
804 .Tooltip( _( "Switch between De Morgan representations" ) )
805 .Icon( BITMAPS::morgan2 ) );
806
808 .Name( "eeschema.InteractiveEdit.showDeMorganStandard" )
809 .Scope( AS_GLOBAL )
810 .FriendlyName( _( "De Morgan Standard" ) )
811 .Tooltip( _( "Switch to standard De Morgan representation" ) )
812 .Icon( BITMAPS::morgan1 ) );
813
815 .Name( "eeschema.InteractiveEdit.showDeMorganAlternate" )
816 .Scope( AS_GLOBAL )
817 .FriendlyName( _( "De Morgan Alternate" ) )
818 .Tooltip( _( "Switch to alternate De Morgan representation" ) )
819 .Icon( BITMAPS::morgan2 ) );
820
822 .Name( "eeschema.InteractiveEdit.toLabel" )
823 .Scope( AS_GLOBAL )
824 .FriendlyName( _( "Change to Label" ) )
825 .Tooltip( _( "Change existing item to a label" ) )
827 .Flags( AF_NONE )
828 .Parameter( SCH_LABEL_T ) );
829
831 .Name( "eeschema.InteractiveEdit.toCLabel" )
832 .Scope( AS_GLOBAL )
833 .FriendlyName( _( "Change to Directive Label" ) )
834 .Tooltip( _( "Change existing item to a directive label" ) )
836 .Flags( AF_NONE )
837 .Parameter( SCH_DIRECTIVE_LABEL_T ) );
838
840 .Name( "eeschema.InteractiveEdit.toHLabel" )
841 .Scope( AS_GLOBAL )
842 .FriendlyName( _( "Change to Hierarchical Label" ) )
843 .Tooltip( _( "Change existing item to a hierarchical label" ) )
845 .Flags( AF_NONE )
846 .Parameter( SCH_HIER_LABEL_T ) );
847
849 .Name( "eeschema.InteractiveEdit.toGLabel" )
850 .Scope( AS_GLOBAL )
851 .FriendlyName( _( "Change to Global Label" ) )
852 .Tooltip( _( "Change existing item to a global label" ) )
853 .Icon( BITMAPS::add_glabel )
854 .Flags( AF_NONE )
855 .Parameter( SCH_GLOBAL_LABEL_T ) );
856
858 .Name( "eeschema.InteractiveEdit.toText" )
859 .Scope( AS_GLOBAL )
860 .FriendlyName( _( "Change to Text" ) )
861 .Tooltip( _( "Change existing item to a text comment" ) )
862 .Icon( BITMAPS::text )
863 .Flags( AF_NONE )
864 .Parameter( SCH_TEXT_T ) );
865
867 .Name( "eeschema.InteractiveEdit.toTextBox" )
868 .Scope( AS_GLOBAL )
869 .FriendlyName( _( "Change to Text Box" ) )
870 .Tooltip( _( "Change existing item to a text box" ) )
871 .Icon( BITMAPS::add_textbox )
872 .Flags( AF_NONE )
873 .Parameter( SCH_TEXTBOX_T ) );
874
876 .Name( "eeschema.InteractiveEdit.cleanupSheetPins" )
877 .Scope( AS_GLOBAL )
878 .FriendlyName( _( "Cleanup Sheet Pins" ) )
879 .Tooltip( _( "Delete unreferenced sheet pins" ) ) );
880
882 .Name( "eeschema.InteractiveEdit.editTextAndGraphics" )
883 .Scope( AS_GLOBAL )
884 .FriendlyName( _( "Edit Text & Graphics Properties..." ) )
885 .Tooltip( _( "Edit text and graphics properties globally across schematic" ) )
886 .Icon( BITMAPS::text ) );
887
889 .Name( "eeschema.InteractiveEdit.symbolProperties" )
890 .Scope( AS_GLOBAL )
891 .FriendlyName( _( "Symbol Properties..." ) )
892 .Icon( BITMAPS::part_properties ) );
893
895 .Name( "eeschema.InteractiveEdit.pinTable" )
896 .Scope( AS_GLOBAL )
897 .FriendlyName( _( "Pin Table..." ) )
898 .Tooltip( _( "Displays pin table for bulk editing of pins" ) )
899 .Icon( BITMAPS::pin_table ) );
900
902 .Name( "eeschema.InteractiveEdit.breakWire" )
903 .Scope( AS_GLOBAL )
904 .FriendlyName( _( "Break" ) )
905 .Tooltip( _( "Divide into connected segments" ) )
906 .Icon( BITMAPS::break_line ) );
907
909 .Name( "eeschema.InteractiveEdit.slice" )
910 .Scope( AS_GLOBAL )
911 .FriendlyName( _( "Slice" ) )
912 .Tooltip( _( "Divide into unconnected segments" ) )
913 .Icon( BITMAPS::slice_line ) );
914
915// SCH_EDITOR_CONTROL
916//
918 .Name( "eeschema.EditorControl.restartMove" )
919 .Scope( AS_GLOBAL ) );
920
922 .Name( "eeschema.EditorControl.highlightNet" )
923 .Scope( AS_GLOBAL )
924 .DefaultHotkey( '`' )
925 .FriendlyName( _( "Highlight Net" ) )
926 .Tooltip( _( "Highlight net under cursor" ) )
928
930 .Name( "eeschema.EditorControl.clearHighlight" )
931 .Scope( AS_GLOBAL )
932 .DefaultHotkey( '~' )
933 .FriendlyName( _( "Clear Net Highlighting" ) )
934 .Tooltip( _( "Clear any existing net highlighting" ) ) );
935
937 .Name( "eeschema.EditorControl.updateNetHighlighting" )
938 .Scope( AS_GLOBAL ) );
939
941 .Name( "eeschema.EditorControl.highlightNetTool" )
942 .Scope( AS_GLOBAL )
943 .FriendlyName( _( "Highlight Nets" ) )
944 .Tooltip( _( "Highlight wires and pins of a net" ) )
946 .Flags( AF_ACTIVATE ) );
947
949 .Name( "eeschema.EditorControl.showNetNavigator" )
950 .Scope( AS_GLOBAL )
951 .FriendlyName( _( "Net Navigator" ) )
952 .Tooltip( _( "Show/hide the net navigator" ) ) );
953
955 .Name( "eeschema.EditorControl.editWithSymbolEditor" )
956 .Scope( AS_GLOBAL )
957 .DefaultHotkey( MD_CTRL + 'E' )
958 .LegacyHotkeyName( "Edit with Symbol Editor" )
959 .FriendlyName( _( "Edit with Symbol Editor" ) )
960 .Tooltip( _( "Open the selected symbol in the Symbol Editor" ) )
961 .Icon( BITMAPS::libedit ) );
962
964 .Name( "eeschema.EditorControl.setExcludeFromBOM" )
965 .Scope( AS_GLOBAL )
966 .FriendlyName( _( "Exclude from Bill of Materials" ) )
967 .Tooltip( _( "Set the exclude from bill of materials attribute" ) ) );
968
970 .Name( "eeschema.EditorControl.unsetExcludeFromBOM" )
971 .Scope( AS_GLOBAL )
972 .FriendlyName( _( "Include in Bill of Materials" ) )
973 .Tooltip( _( "Clear the exclude from bill of materials attribute" ) ) );
974
976 .Name( "eeschema.EditorControl.toggleExcludeFromBOM" )
977 .Scope( AS_GLOBAL )
978 .FriendlyName( _( "Toggle Exclude from Bill of Materials" ) )
979 .Tooltip( _( "Toggle the exclude from bill of materials attribute" ) ) );
980
982 .Name( "eeschema.EditorControl.setExcludeFromSimulation" )
983 .Scope( AS_GLOBAL )
984 .FriendlyName( _( "Exclude from Simulation" ) )
985 .Tooltip( _( "Set the exclude from simulation attribute" ) ) );
986
988 .Name( "eeschema.EditorControl.unsetExcludeFromSimulation" )
989 .Scope( AS_GLOBAL )
990 .FriendlyName( _( "Include in Simulation" ) )
991 .Tooltip( _( "Clear the exclude from simulation attribute" ) ) );
992
994 .Name( "eeschema.EditorControl.toggleExcludeFromSimulation" )
995 .Scope( AS_GLOBAL )
996 .FriendlyName( _( "Toggle Exclude from Simulation" ) )
997 .Tooltip( _( "Toggle the exclude from simulation attribute" ) ) );
998
1000 .Name( "eeschema.EditorControl.setExcludeFromBoard" )
1001 .Scope( AS_GLOBAL )
1002 .FriendlyName( _( "Exclude from Board" ) )
1003 .Tooltip( _( "Set the exclude from board attribute" ) ) );
1004
1006 .Name( "eeschema.EditorControl.unsetExcludeFromBoard" )
1007 .Scope( AS_GLOBAL )
1008 .FriendlyName( _( "Include on Board" ) )
1009 .Tooltip( _( "Clear the exclude from board attribute" ) ) );
1010
1012 .Name( "eeschema.EditorControl.toggleExcludeFromBoard" )
1013 .Scope( AS_GLOBAL )
1014 .FriendlyName( _( "Toggle Exclude from Board" ) )
1015 .Tooltip( _( "Toggle the exclude from board attribute" ) ) );
1016
1018 .Name( "eeschema.EditorControl.setDNP" )
1019 .Scope( AS_GLOBAL )
1020 .FriendlyName( _( "Set Do Not Populate" ) )
1021 .Tooltip( _( "Set the do not populate attribute" ) ) );
1022
1024 .Name( "eeschema.EditorControl.unsetDNP" )
1025 .Scope( AS_GLOBAL )
1026 .FriendlyName( _( "Unset Do Not Populate" ) )
1027 .Tooltip( _( "Clear the do not populate attribute" ) ) );
1028
1030 .Name( "eeschema.EditorControl.toggleDNP" )
1031 .Scope( AS_GLOBAL )
1032 .DefaultHotkey( MD_CTRL + MD_ALT + 'X' )
1033 .FriendlyName( _( "Toggle Do Not Populate" ) )
1034 .Tooltip( _( "Toggle the do not populate attribute" ) ) );
1035
1037 .Name( "eeschema.EditorControl.editLibSymbolWithSymbolEditor" )
1038 .Scope( AS_GLOBAL )
1039 .DefaultHotkey( MD_CTRL + MD_SHIFT + 'E' )
1040 .FriendlyName( _( "Edit Library Symbol..." ) )
1041 .Tooltip( _( "Open the library symbol in the Symbol Editor" ) )
1042 .Icon( BITMAPS::libedit ) );
1043
1045 .Name( "eeschema.EditorControl.editSymbolFields" )
1046 .Scope( AS_GLOBAL )
1047 .FriendlyName( _( "Edit Symbol Fields..." ) )
1048 .Tooltip( _( "Bulk-edit fields of all symbols in schematic" ) )
1049 .Icon( BITMAPS::spreadsheet ) );
1050
1052 .Name( "eeschema.EditorControl.editSymbolLibraryLinks" )
1053 .Scope( AS_GLOBAL )
1054 .FriendlyName( _( "Edit Symbol Library Links..." ) )
1055 .Tooltip( _( "Edit links between schematic and library symbols" ) )
1057
1059 .Name( "eeschema.EditorControl.assignFootprints" )
1060 .Scope( AS_GLOBAL )
1061 .FriendlyName( _( "Assign Footprints..." ) )
1062 .Tooltip( _( "Run footprint assignment tool" ) )
1063 .Icon( BITMAPS::icon_cvpcb_24 ) );
1064
1066 .Name( "eeschema.EditorControl.importFPAssignments" )
1067 .Scope( AS_GLOBAL )
1068 .FriendlyName( _( "Import Footprint Assignments..." ) )
1069 .Tooltip( _( "Import symbol footprint assignments from .cmp file created by board editor" ) )
1071
1073 .Name( "eeschema.EditorControl.annotate" )
1074 .Scope( AS_GLOBAL )
1075 .FriendlyName( _( "Annotate Schematic..." ) )
1076 .Tooltip( _( "Fill in schematic symbol reference designators" ) )
1077 .Icon( BITMAPS::annotate ) );
1078
1080 .Name( "eeschema.EditorControl.incrementAnnotations" )
1081 .Scope( AS_GLOBAL )
1082 .FriendlyName( _( "Increment Annotations From..." ) )
1083 .Tooltip( _( "Increment a subset of reference designators starting at a particular symbol" ) )
1085 );
1086
1088 .Name( "eeschema.EditorControl.schematicSetup" )
1089 .Scope( AS_GLOBAL )
1090 .FriendlyName( _( "Schematic Setup..." ) )
1091 .Tooltip( _( "Edit schematic setup including annotation styles and electrical rules" ) )
1092 .Icon( BITMAPS::options_schematic ) );
1093
1095 .Name( "eeschema.EditorControl.editPageNumber" )
1096 .Scope( AS_GLOBAL )
1097 .FriendlyName( _( "Edit Sheet Page Number..." ) )
1098 .Tooltip( _( "Edit the page number of the current or selected sheet" ) ) );
1099
1101 .Name( "eeschema.EditorControl.rescueSymbols" )
1102 .Scope( AS_GLOBAL )
1103 .FriendlyName( _( "Rescue Symbols..." ) )
1104 .Tooltip( _( "Find old symbols in project and rename/rescue them" ) )
1105 .Icon( BITMAPS::rescue ) );
1106
1108 .Name( "eeschema.EditorControl.remapSymbols" )
1109 .Scope( AS_GLOBAL )
1110 .FriendlyName( _( "Remap Legacy Library Symbols..." ) )
1111 .Tooltip( _( "Remap library symbol references in legacy schematics to the symbol library table" ) )
1112 .Icon( BITMAPS::rescue ) );
1113
1115 .Name( "eeschema.EditorControl.drawSheetOnClipboard" )
1116 .Scope( AS_GLOBAL )
1117 .FriendlyName( _( "Export Drawing to Clipboard" ) )
1118 .Tooltip( _( "Export drawing of current sheet to clipboard" ) )
1119 .Icon( BITMAPS::copy ) );
1120
1122 .Name( "eeschema.EditorControl.importGraphics" )
1123 .Scope( AS_GLOBAL )
1124 .DefaultHotkey( MD_SHIFT + MD_CTRL + 'F' )
1125 .LegacyHotkeyName( "Place DXF" )
1126 .FriendlyName( _( "Import Graphics..." ) )
1127 .Tooltip( _( "Import 2D drawing file" ) )
1128 .Icon( BITMAPS::import_vector )
1129 .Flags( AF_ACTIVATE ) );
1130
1132 .Name( "eeschema.EditorControl.showPcbNew" )
1133 .Scope( AS_GLOBAL )
1134 .FriendlyName( _( "Switch to PCB Editor" ) )
1135 .Tooltip( _( "Open PCB in board editor" ) )
1136 .Icon( BITMAPS::icon_pcbnew_24 ) );
1137
1139 .Name( "eeschema.EditorControl.exportNetlist" )
1140 .Scope( AS_GLOBAL )
1141 .FriendlyName( _( "Export Netlist..." ) )
1142 .Tooltip( _( "Export file containing netlist in one of several formats" ) )
1143 .Icon( BITMAPS::netlist ) );
1144
1146 .Name( "eeschema.EditorControl.generateBOM" )
1147 .Scope( AS_GLOBAL )
1148 .FriendlyName( _( "Generate Bill of Materials..." ) )
1149 .Tooltip( _( "Generate a bill of materials for the current schematic" ) )
1150 .Icon( BITMAPS::post_bom ) );
1151
1153 .Name( "eeschema.EditorControl.generateBOMLegacy" )
1154 .Scope( AS_GLOBAL )
1155 .FriendlyName( _( "Generate Legacy Bill of Materials..." ) )
1156 .Tooltip( _( "Generate a bill of materials for the current schematic (Legacy Generator)" ) )
1157 .Icon( BITMAPS::file_bom )
1158 );
1159
1161 .Name( "eeschema.EditorControl.generateBOMExternal" )
1162 .Scope( AS_GLOBAL )
1163 .FriendlyName( _( "Generate Bill of Materials (External)..." ) )
1164 .Tooltip( _( "Generate a bill of materials for the current schematic using external generator" ) )
1165 );
1166
1168 .Name( "eeschema.EditorControl.exportSymbolsToLibrary" )
1169 .Scope( AS_GLOBAL )
1170 .FriendlyName( _( "Export Symbols to Library..." ) )
1171 .Tooltip( _( "Add symbols used in schematic to an existing symbol library\n"
1172 "(does not remove other symbols from this library)" ) )
1173 .Icon( BITMAPS::library_archive ) );
1174
1176 .Name( "eeschema.EditorControl.exportSymbolsToNewLibrary" )
1177 .Scope( AS_GLOBAL )
1178 .FriendlyName( _( "Export Symbols to New Library..." ) )
1179 .Tooltip( _( "Create a new symbol library using the symbols used in the schematic\n"
1180 "(if the library already exists it will be replaced)" ) )
1181 .Icon( BITMAPS::library_archive_as ) );
1182
1184 .Name( "eeschema.EditorControl.selectOnPCB" )
1185 .Scope( AS_GLOBAL )
1186 .FriendlyName( _( "Select on PCB" ) )
1187 .Tooltip( _( "Select corresponding items in PCB editor" ) )
1188 .Icon( BITMAPS::select_same_sheet ) );
1189
1191 .Name( "eeschema.EditorControl.showHiddenPins" )
1192 .Scope( AS_GLOBAL )
1193 .FriendlyName( _( "Show Hidden Pins" ) )
1194 .Icon( BITMAPS::hidden_pin ) );
1195
1197 .Name( "eeschema.EditorControl.showHiddenFields" )
1198 .Scope( AS_GLOBAL )
1199 .FriendlyName( _( "Show Hidden Fields" ) ) );
1200
1202 .Name( "eeschema.EditorControl.showDirectiveLabels" )
1203 .Scope( AS_GLOBAL )
1204 .FriendlyName( _( "Show Directive Labels" ) ) );
1205
1207 .Name( "eeschema.EditorControl.showERCWarnings" )
1208 .Scope( AS_GLOBAL )
1209 .FriendlyName( _( "Show ERC Warnings" ) )
1210 .Tooltip( _( "Show markers for electrical rules checker warnings" ) ) );
1211
1213 .Name( "eeschema.EditorControl.showERCErrors" )
1214 .Scope( AS_GLOBAL )
1215 .FriendlyName( _( "Show ERC Errors" ) )
1216 .Tooltip( _( "Show markers for electrical rules checker errors" ) ) );
1217
1219 .Name( "eeschema.EditorControl.showERCExclusions" )
1220 .Scope( AS_GLOBAL )
1221 .FriendlyName( _( "Show ERC Exclusions" ) )
1222 .Tooltip( _( "Show markers for excluded electrical rules checker violations" ) ) );
1223
1225 .Name( "eeschema.EditorControl.markSimExclusions" )
1226 .Scope( AS_GLOBAL )
1227 .FriendlyName( _( "Mark items excluded from simulation" ) )
1228 .Tooltip( _( "Draw 'X's over items which have been excluded from simulation" ) ) );
1229
1231 .Name( "eeschema.EditorControl.showOperatingPointVoltages" )
1232 .Scope( AS_GLOBAL )
1233 .FriendlyName( _( "Show OP Voltages" ) )
1234 .Tooltip( _( "Show operating point voltage data from simulation" ) ) );
1235
1237 .Name( "eeschema.EditorControl.showOperatingPointCurrents" )
1238 .Scope( AS_GLOBAL )
1239 .FriendlyName( _( "Show OP Currents" ) )
1240 .Tooltip( _( "Show operating point current data from simulation" ) ) );
1241
1243 .Name( "eeschema.EditorControl.togglePinAltIcons" )
1244 .Scope( AS_GLOBAL )
1245 .FriendlyName( _( "Show Pin Alternate Icons" ) )
1246 .Tooltip( _( "Show indicator icons for pins with alternate modes" ) ) );
1247
1249 .Name( "eeschema.EditorControl.lineModeFree" )
1250 .Scope( AS_GLOBAL )
1251 .FriendlyName( _( "Line Mode for Wires and Buses" ) )
1252 .Tooltip( _( "Draw and drag at any angle" ) )
1253 .Icon( BITMAPS::lines_any )
1254 .Flags( AF_NONE )
1255 .Parameter( LINE_MODE::LINE_MODE_FREE ) );
1256
1258 .Name( "eeschema.EditorControl.lineModeOrthonal" )
1259 .Scope( AS_GLOBAL )
1260 .FriendlyName( _( "Line Mode for Wires and Buses" ) )
1261 .Tooltip( _( "Constrain drawing and dragging to horizontal or vertical motions" ) )
1262 .Icon( BITMAPS::lines90 )
1263 .Flags( AF_NONE )
1264 .Parameter( LINE_MODE::LINE_MODE_90) );
1265
1267 .Name( "eeschema.EditorControl.lineMode45" )
1268 .Scope( AS_GLOBAL )
1269 .FriendlyName( _( "Line Mode for Wires and Buses" ) )
1270 .Tooltip( _( "Constrain drawing and dragging to horizontal, vertical, or 45-degree angle motions" ) )
1271 .Icon( BITMAPS::hv45mode )
1272 .Flags( AF_NONE )
1273 .Parameter( LINE_MODE::LINE_MODE_45 ) );
1274
1276 .Name( "eeschema.EditorControl.lineModeNext" )
1277 .Scope( AS_GLOBAL )
1278 .DefaultHotkey( MD_SHIFT + static_cast<int>( WXK_SPACE ) )
1279 .FriendlyName( _( "Line Mode for Wires and Buses" ) )
1280 .Tooltip( _( "Switch to next line mode" ) ) );
1281
1283 .Name( "eeschema.EditorControl.annotateAutomatically" )
1284 .Scope( AS_GLOBAL )
1285 .FriendlyName( _( "Annotate Automatically" ) )
1286 .Tooltip( _( "Toggle automatic annotation of new symbols" ) )
1287 .Icon( BITMAPS::annotate ) );
1288
1290 .Name( "eeschema.EditorControl.repairSchematic" )
1291 .Scope( AS_GLOBAL )
1292 .FriendlyName( _( "Repair Schematic" ) )
1293 .Tooltip( _( "Run various diagnostics and attempt to repair schematic" ) )
1294 .Icon( BITMAPS::rescue ) );
1295
1297 .Name( "eeschema.EditorControl.previousUnit" )
1298 .Scope( AS_GLOBAL )
1299 .FriendlyName( _( "Previous Symbol Unit" ) )
1300 .Tooltip( _( "Open the previous unit of the symbol" ) )
1301 .Parameter<int>( -1 ) );
1302
1304 .Name( "eeschema.EditorControl.nextUnit" )
1305 .Scope( AS_GLOBAL )
1306 .FriendlyName( _( "Next Symbol Unit" ) )
1307 .Tooltip( _( "Open the next unit of the symbol" ) )
1308 .Parameter<int>( 1 ) );
1309
1310// Python Console
1312 .Name( "eeschema.EditorControl.showPythonConsole" )
1313 .Scope( AS_GLOBAL )
1314 .FriendlyName( _( "Scripting Console" ) )
1315 .Tooltip( _( "Show the Python scripting console" ) )
1316 .Icon( BITMAPS::py_script ) );
1317
1318// SCH_NAVIGATE_TOOL
1319//
1321 .Name( "eeschema.NavigateTool.changeSheet" )
1322 .Scope( AS_CONTEXT )
1323 .FriendlyName( _( "Change Sheet" ) )
1324 .Tooltip( _( "Change to provided sheet's contents in the schematic editor" ) )
1325 .Icon( BITMAPS::enter_sheet ) );
1326
1328 .Name( "eeschema.NavigateTool.enterSheet" )
1329 .Scope( AS_GLOBAL )
1330 .FriendlyName( _( "Enter Sheet" ) )
1331 .Tooltip( _( "Display the selected sheet's contents in the schematic editor" ) )
1332 .Icon( BITMAPS::enter_sheet ) );
1333
1335 .Name( "eeschema.NavigateTool.leaveSheet" )
1336 .Scope( AS_GLOBAL )
1337 .DefaultHotkey( MD_ALT + static_cast<int>( WXK_BACK ) )
1338 .LegacyHotkeyName( "Leave Sheet" )
1339 .FriendlyName( _( "Leave Sheet" ) )
1340 .Tooltip( _( "Display the parent sheet in the schematic editor" ) )
1341 .Icon( BITMAPS::leave_sheet ) );
1342
1344 .Name( "eeschema.NavigateTool.up" )
1345 .Scope( AS_GLOBAL )
1346 .DefaultHotkey( MD_ALT + static_cast<int>( WXK_UP ) )
1347 .FriendlyName( _( "Navigate Up" ) )
1348 .Tooltip( _( "Navigate up one sheet in the hierarchy" ) )
1349 .Icon( BITMAPS::up ) );
1350
1352 .Name( "eeschema.NavigateTool.back" )
1353 .Scope( AS_GLOBAL )
1354 .DefaultHotkey( MD_ALT + static_cast<int>( WXK_LEFT ) )
1355 .FriendlyName( _( "Navigate Back" ) )
1356 .Tooltip( _( "Move backward in sheet navigation history" ) )
1357 .Icon( BITMAPS::left ) );
1358
1360 .Name( "eeschema.NavigateTool.forward" )
1361 .Scope( AS_GLOBAL )
1362 .DefaultHotkey( MD_ALT + static_cast<int>( WXK_RIGHT ) )
1363 .FriendlyName( _( "Navigate Forward" ) )
1364 .Tooltip( _( "Move forward in sheet navigation history" ) )
1365 .Icon( BITMAPS::right ) );
1366
1368 .Name( "eeschema.NavigateTool.previous" )
1369 .Scope( AS_GLOBAL )
1370 .DefaultHotkey( WXK_PAGEUP )
1371 .FriendlyName( _( "Previous Sheet" ) )
1372 .Tooltip( _( "Move to previous sheet by number" ) )
1373 .Icon( BITMAPS::left ) );
1374
1376 .Name( "eeschema.NavigateTool.next" )
1377 .Scope( AS_GLOBAL )
1378 .DefaultHotkey( WXK_PAGEDOWN )
1379 .FriendlyName( _( "Next Sheet" ) )
1380 .Tooltip( _( "Move to next sheet by number" ) )
1381 .Icon( BITMAPS::right ) );
1382
1384 .Name( "eeschema.EditorTool.showHierarchy" )
1385 .Scope( AS_GLOBAL )
1386 .DefaultHotkey( MD_CTRL + 'H' )
1387 .FriendlyName( _( "Hierarchy Navigator" ) )
1388 .Tooltip( _( "Show/hide the schematic sheet hierarchy navigator" ) )
1389 .Icon( BITMAPS::hierarchy_nav ) );
1390
1391
1392// SCH_LINE_WIRE_BUS_TOOL
1393//
1396 .Name( "eeschema.InteractiveDrawingLineWireBus.drawWires" )
1397 .Scope( AS_GLOBAL )
1398 .DefaultHotkey( 'W' )
1399 .LegacyHotkeyName( "Begin Wire" )
1400 .FriendlyName( _( "Draw Wires" ) )
1401 .Icon( BITMAPS::add_line )
1402 .Flags( AF_ACTIVATE )
1403 .Parameter( &drawWireActionParam ) );
1404
1407 .Name( "eeschema.InteractiveDrawingLineWireBus.drawBuses" )
1408 .Scope( AS_GLOBAL )
1409 .DefaultHotkey( 'B' )
1410 .LegacyHotkeyName( "Begin Bus" )
1411 .FriendlyName( _( "Draw Buses" ) )
1412 .Icon( BITMAPS::add_bus )
1413 .Flags( AF_ACTIVATE )
1414 .Parameter( &drawBusActionParam ) );
1415
1417 .Name( "eeschema.InteractiveDrawingLineWireBus.unfoldBus" )
1418 .Scope( AS_GLOBAL )
1419 .DefaultHotkey( 'C' )
1420 .LegacyHotkeyName( "Unfold from Bus" )
1421 .FriendlyName( _( "Unfold from Bus" ) )
1422 .Tooltip( _( "Break a wire out of a bus" ) )
1424 .Flags( AF_ACTIVATE )
1425 .Parameter<wxString*>( nullptr ) );
1426
1429 .Name( "eeschema.InteractiveDrawingLineWireBus.drawLines" )
1430 .Scope( AS_GLOBAL )
1431 .DefaultHotkey( 'I' )
1432 .LegacyHotkeyName( "Add Graphic PolyLine" )
1433 .FriendlyName( _( "Draw Lines" ) )
1435 .Flags( AF_ACTIVATE )
1436 .Parameter( &drawLinesActionParam ) );
1437
1439 .Name( "eeschema.InteractiveDrawingLineWireBus.undoLastSegment")
1440 .Scope( AS_GLOBAL )
1441 .DefaultHotkey( WXK_BACK )
1442 .FriendlyName( _( "Undo Last Segment" ) )
1443 .Tooltip( _( "Walks the current line back one segment." ) )
1444 .Icon( BITMAPS::undo ) );
1445
1447 .Name( "eeschema.InteractiveDrawingLineWireBus.switchPosture" )
1448 .Scope( AS_GLOBAL )
1449 .DefaultHotkey( '/' )
1450 .FriendlyName( _( "Switch Segment Posture" ) )
1451 .Tooltip( _( "Switches posture of the current segment." ) )
1453 .Flags( AF_NONE ) );
1454
1455// SCH_MOVE_TOOL
1456//
1458 .Name( "eeschema.InteractiveMove.move" )
1459 .Scope( AS_GLOBAL )
1460 .DefaultHotkey( 'M' )
1461 .LegacyHotkeyName( "Move Item" )
1462 .FriendlyName( _( "Move" ) )
1463 .Icon( BITMAPS::move )
1464 .Flags( AF_ACTIVATE ) );
1465
1467 .Name( "eeschema.InteractiveMove.drag" )
1468 .Scope( AS_GLOBAL )
1469 .DefaultHotkey( 'G' )
1470 .LegacyHotkeyName( "Drag Item" )
1471 .FriendlyName( _( "Drag" ) )
1472 .Tooltip( _( "Move items while keeping their connections" ) )
1473 .Icon( BITMAPS::drag )
1474 .Flags( AF_ACTIVATE ) );
1475
1477 .Name( "eeschema.AlignToGrid" )
1478 .Scope( AS_GLOBAL )
1479 .FriendlyName( _( "Align Items to Grid" ) )
1481 .Flags( AF_ACTIVATE ) );
1482
1483// Schematic editor save copy curr sheet command
1485 .Name( "eeschema.EditorControl.saveCurrSheetCopyAs" )
1486 .Scope( AS_GLOBAL )
1487 .FriendlyName( _( "Save Current Sheet Copy As..." ) )
1488 .Tooltip( _( "Save a copy of the current sheet to another location or name" ) )
1489 .Icon( BITMAPS::save_as ) );
1490
1491// Drag and drop
1493 .Name( "eeschema.EditorControl.ddAppendFile" )
1494 .Scope( AS_GLOBAL ) );
1495
1496// SIMULATOR
1498 .Name( "eeschema.Simulation.newAnalysisTab" )
1499 .Scope( AS_GLOBAL )
1500 .DefaultHotkey( MD_CTRL + 'N' )
1501 .LegacyHotkeyName( "New" )
1502 .FriendlyName( _( "New Analysis Tab..." ) )
1503 .Tooltip( _( "Create a new tab containing a simulation analysis" ) )
1504 .Icon( BITMAPS::sim_add_plot ) );
1505
1507 .Name( "eeschema.Simulation.openWorkbook" )
1508 .Scope( AS_GLOBAL )
1509 .DefaultHotkey( MD_CTRL + 'O' )
1510 .LegacyHotkeyName( "Open" )
1511 .FriendlyName( _( "Open Workbook..." ) )
1512 .Tooltip( _( "Open a saved set of analysis tabs and settings" ) )
1513 .Icon( BITMAPS::directory_open ) );
1514
1516 .Name( "eeschema.Simulation.saveWorkbook" )
1517 .Scope( AS_GLOBAL )
1518 .DefaultHotkey( MD_CTRL + 'S' )
1519 .LegacyHotkeyName( "Save" )
1520 .FriendlyName( _( "Save Workbook" ) )
1521 .Tooltip( _( "Save the current set of analysis tabs and settings" ) )
1522 .Icon( BITMAPS::save ) );
1523
1525 .Name( "eeschema.Simulation.saveWorkbookAs" )
1526 .Scope( AS_GLOBAL )
1527 .DefaultHotkey( MD_SHIFT + MD_CTRL + 'S' )
1528 .LegacyHotkeyName( "Save As" )
1529 .FriendlyName( _( "Save Workbook As..." ) )
1530 .Tooltip( _( "Save the current set of analysis tabs and settings to another location" ) )
1531 .Icon( BITMAPS::sim_add_signal ) );
1532
1534 .Name( "eeschema.Simulator.exportPNG" )
1535 .Scope( AS_GLOBAL )
1536 .FriendlyName( _( "Export Current Plot as PNG..." ) )
1537 .Icon( BITMAPS::export_png ) );
1538
1540 .Name( "eeschema.Simulator.exportCSV" )
1541 .Scope( AS_GLOBAL )
1542 .FriendlyName( _( "Export Current Plot as CSV..." ) )
1543 .Icon( BITMAPS::export_file ) );
1544
1546 .Name( "eeschema.Simulator.exportToClipboard" )
1547 .Scope( AS_GLOBAL )
1548 .FriendlyName( _( "Export Current Plot to Clipboard" ) )
1549 .Icon( BITMAPS::export_png ) );
1550
1552 .Name( "eeschema.Simulator.exportPlotToSchematic" )
1553 .Scope( AS_GLOBAL )
1554 .FriendlyName( _( "Export Current Plot to Schematic" ) )
1555 .Icon( BITMAPS::export_png ) );
1556
1558 .Name( "eeschema.Simulator.toggleLegend" )
1559 .Scope( AS_GLOBAL )
1560 .FriendlyName( _( "Show Legend" ) )
1561 .Icon( BITMAPS::text ) );
1562
1564 .Name( "eeschema.Simulator.toggleDottedSecondary" )
1565 .Scope( AS_GLOBAL )
1566 .FriendlyName( _( "Dotted Current/Phase" ) )
1567 .Tooltip( _( "Draw secondary signal trace (current or phase) with a dotted line" ) ) );
1568
1570 .Name( "eeschema.Simulator.toggleDarkModePlots" )
1571 .Scope( AS_GLOBAL )
1572 .FriendlyName( _( "Dark Mode Plots" ) )
1573 .Tooltip( _( "Draw plots with a black background" ) ) );
1574
1576 .Name( "eeschema.Simulation.simAnalysisProperties" )
1577 .Scope( AS_GLOBAL )
1578 .FriendlyName( _( "Edit Analysis Tab..." ) )
1579 .Tooltip( _( "Edit the current analysis tab's SPICE command and plot setup" ) )
1580 .Icon( BITMAPS::sim_command ) );
1581
1583 .Name( "eeschema.Simulation.runSimulation" )
1584 .Scope( AS_GLOBAL )
1585 .DefaultHotkey( 'R' )
1586 .FriendlyName( _( "Run Simulation" ) )
1587 .Icon( BITMAPS::sim_run ) );
1588
1590 .Name( "eeschema.Simulation.stopSimulation" )
1591 .Scope( AS_GLOBAL )
1592 .FriendlyName( _( "Stop Simulation" ) )
1593 .Icon( BITMAPS::sim_stop ) );
1594
1596 .Name( "eeschema.Simulation.probe" )
1597 .Scope( AS_GLOBAL )
1598 .DefaultHotkey( 'P' )
1599 .FriendlyName( _( "Probe Schematic..." ) )
1600 .Tooltip( _( "Add a simulator probe" ) )
1601 .Icon( BITMAPS::sim_probe ) );
1602
1604 .Name( "eeschema.Simulation.tune" )
1605 .Scope( AS_GLOBAL )
1606 .DefaultHotkey( 'T' )
1607 .FriendlyName( _( "Add Tuned Value..." ) )
1608 .Tooltip( _( "Select a value to be tuned" ) )
1609 .Icon( BITMAPS::sim_tune ) );
1610
1612 .Name( "eeschema.Simulation.editUserDefinedSignals" )
1613 .Scope( AS_GLOBAL )
1614 .FriendlyName( _( "User-defined Signals..." ) )
1615 .Tooltip( _( "Add, edit or delete user-defined simulation signals" ) )
1616 .Icon( BITMAPS::sim_add_signal ) );
1617
1619 .Name( "eeschema.Simulation.showNetlist" )
1620 .Scope( AS_GLOBAL )
1621 .FriendlyName( _( "Show SPICE Netlist" ) )
1622 .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
@ add_keepout_area
@ import_hierarchical_label
@ directory_open
@ align_elements_to_grid
@ add_junction
@ annotate_increment
@ options_schematic
@ bus_definition_tool
@ sim_add_signal
@ add_hierar_pin
@ new_component
@ icon_cvpcb_24
@ select_same_sheet
@ library_archive
@ import_footprint_names
@ import_vector
@ edit_cmp_symb_links
static TOOL_ACTION importFPAssignments
Definition: ee_actions.h:182
static TOOL_ACTION drawSheetFromFile
Definition: ee_actions.h:94
static TOOL_ACTION deleteSymbol
Definition: ee_actions.h:221
static TOOL_ACTION mirrorV
Definition: ee_actions.h:132
static TOOL_ACTION simAnalysisProperties
Definition: ee_actions.h:301
static TOOL_ACTION repairSchematic
Definition: ee_actions.h:273
static TOOL_ACTION deleteDesignBlock
Definition: ee_actions.h:209
static TOOL_ACTION drawSheetFromDesignBlock
Definition: ee_actions.h:95
static TOOL_ACTION remapSymbols
Definition: ee_actions.h:176
static TOOL_ACTION unsetDNP
Definition: ee_actions.h:202
static TOOL_ACTION runERC
Inspection and Editing.
Definition: ee_actions.h:156
static TOOL_ACTION alignToGrid
Definition: ee_actions.h:126
static TOOL_ACTION selectionActivate
Activation of the selection tool.
Definition: ee_actions.h:46
static TOOL_ACTION toggleAnnotateAuto
Definition: ee_actions.h:284
static TOOL_ACTION placeDesignBlock
Definition: ee_actions.h:82
static TOOL_ACTION properties
Definition: ee_actions.h:135
static TOOL_ACTION toggleExcludeFromSimulation
Definition: ee_actions.h:197
static TOOL_ACTION unsetExcludeFromSimulation
Definition: ee_actions.h:196
static TOOL_ACTION cutSymbol
Definition: ee_actions.h:222
static TOOL_ACTION lineMode90
Definition: ee_actions.h:279
static TOOL_ACTION toggleHiddenPins
Definition: ee_actions.h:247
static TOOL_ACTION highlightNet
Definition: ee_actions.h:308
static TOOL_ACTION setExcludeFromBoard
Definition: ee_actions.h:198
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:127
static TOOL_ACTION editUserDefinedSignals
Definition: ee_actions.h:304
static TOOL_ACTION changeSheet
Definition: ee_actions.h:231
static TOOL_ACTION openWorkbook
Definition: ee_actions.h:288
static TOOL_ACTION clearHighlight
Definition: ee_actions.h:309
static TOOL_ACTION drawTable
Definition: ee_actions.h:104
static TOOL_ACTION stopSimulation
Definition: ee_actions.h:303
static TOOL_ACTION syncAllSheetsPins
Definition: ee_actions.h:101
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:153
static TOOL_ACTION pinTable
Definition: ee_actions.h:162
static TOOL_ACTION toggleLegend
Definition: ee_actions.h:298
static TOOL_ACTION toGLabel
Definition: ee_actions.h:147
static TOOL_ACTION toggleExcludeFromBoard
Definition: ee_actions.h:200
static TOOL_ACTION navigateForward
Definition: ee_actions.h:235
static TOOL_ACTION setDNP
Definition: ee_actions.h:201
static TOOL_ACTION saveSymbolAs
Definition: ee_actions.h:214
static TOOL_ACTION cleanupSheetPins
Definition: ee_actions.h:243
static TOOL_ACTION slice
Definition: ee_actions.h:151
static TOOL_ACTION assignNetclass
Definition: ee_actions.h:168
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:128
static TOOL_ACTION navigateBack
Definition: ee_actions.h:236
static TOOL_ACTION placeSymbolAnchor
Definition: ee_actions.h:123
static TOOL_ACTION saveWorkbook
Definition: ee_actions.h:289
static TOOL_ACTION saveWorkbookAs
Definition: ee_actions.h:290
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:250
static TOOL_ACTION toText
Definition: ee_actions.h:148
static TOOL_ACTION exportPlotAsCSV
Definition: ee_actions.h:292
static TOOL_ACTION drawSymbolPolygon
Definition: ee_actions.h:122
static TOOL_ACTION showPythonConsole
Definition: ee_actions.h:272
static TOOL_ACTION generateBOMExternal
Definition: ee_actions.h:186
static TOOL_ACTION toggleERCWarnings
Definition: ee_actions.h:252
static TOOL_ACTION simTune
Definition: ee_actions.h:297
static TOOL_ACTION duplicateSymbol
Definition: ee_actions.h:219
static TOOL_ACTION drawRuleArea
Definition: ee_actions.h:113
static TOOL_ACTION toggleERCExclusions
Definition: ee_actions.h:254
static TOOL_ACTION placeClassLabel
Definition: ee_actions.h:90
static TOOL_ACTION drawWire
Definition: ee_actions.h:83
static TOOL_ACTION placeNextSymbolUnit
Definition: ee_actions.h:80
static TOOL_ACTION showDeMorganAlternate
Definition: ee_actions.h:142
static TOOL_ACTION toggleExcludeFromBOM
Definition: ee_actions.h:194
static TOOL_ACTION newSymbol
Definition: ee_actions.h:216
static TOOL_ACTION lineModeNext
Definition: ee_actions.h:281
static TOOL_ACTION autoplaceFields
Definition: ee_actions.h:139
static TOOL_ACTION closeOutline
Definition: ee_actions.h:115
static TOOL_ACTION pushPinNameSize
Definition: ee_actions.h:263
static TOOL_ACTION drawCircle
Definition: ee_actions.h:106
static TOOL_ACTION showDeMorganStandard
Definition: ee_actions.h:141
static TOOL_ACTION removeItemsFromSel
Definition: ee_actions.h:64
static TOOL_ACTION pushPinNumSize
Definition: ee_actions.h:264
static TOOL_ACTION rotateCCW
Definition: ee_actions.h:131
static TOOL_ACTION lineModeFree
Definition: ee_actions.h:278
static TOOL_ACTION editLibSymbolWithLibEdit
Definition: ee_actions.h:180
static TOOL_ACTION incrementAnnotations
Definition: ee_actions.h:158
static TOOL_ACTION editSymbol
Definition: ee_actions.h:218
static TOOL_ACTION drawBus
Definition: ee_actions.h:84
static TOOL_ACTION editValue
Definition: ee_actions.h:137
static TOOL_ACTION saveLibraryAs
Definition: ee_actions.h:213
static TOOL_ACTION toggleDarkModePlots
Definition: ee_actions.h:300
static TOOL_ACTION generateBOMLegacy
Definition: ee_actions.h:185
static TOOL_ACTION placeSymbolText
Definition: ee_actions.h:119
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:253
static TOOL_ACTION toLabel
Definition: ee_actions.h:144
static TOOL_ACTION pointEditorAddCorner
Definition: ee_actions.h:152
static TOOL_ACTION exportPlotAsPNG
Definition: ee_actions.h:291
static TOOL_ACTION placePower
Definition: ee_actions.h:81
static TOOL_ACTION addSymbolToSchematic
Definition: ee_actions.h:187
static TOOL_ACTION deleteLastPoint
Definition: ee_actions.h:114
static TOOL_ACTION toTextBox
Definition: ee_actions.h:149
static TOOL_ACTION showPinNumbers
Definition: ee_actions.h:266
static TOOL_ACTION breakWire
Definition: ee_actions.h:150
static TOOL_ACTION placeSheetPin
Definition: ee_actions.h:96
static TOOL_ACTION drawLines
Definition: ee_actions.h:109
static TOOL_ACTION toggleOPCurrents
Definition: ee_actions.h:257
static TOOL_ACTION restartMove
Definition: ee_actions.h:260
static TOOL_ACTION mirrorH
Definition: ee_actions.h:133
static TOOL_ACTION showSimulator
Definition: ee_actions.h:295
static TOOL_ACTION showNetlist
Definition: ee_actions.h:305
static TOOL_ACTION highlightNetTool
Definition: ee_actions.h:311
static TOOL_ACTION updateNetHighlighting
Definition: ee_actions.h:310
static TOOL_ACTION syncSheetPins
Definition: ee_actions.h:99
static TOOL_ACTION rotateCW
Definition: ee_actions.h:130
static TOOL_ACTION exportNetlist
Definition: ee_actions.h:183
static TOOL_ACTION assignFootprints
Definition: ee_actions.h:167
static TOOL_ACTION unsetExcludeFromBOM
Definition: ee_actions.h:193
static TOOL_ACTION selectOnPCB
Definition: ee_actions.h:261
static TOOL_ACTION togglePinAltIcons
Definition: ee_actions.h:258
static TOOL_ACTION diffSymbol
Definition: ee_actions.h:172
static TOOL_ACTION rescueSymbols
Definition: ee_actions.h:175
static TOOL_ACTION pushPinLength
Definition: ee_actions.h:262
static TOOL_ACTION importGraphics
Definition: ee_actions.h:269
static TOOL_ACTION leaveSheet
Definition: ee_actions.h:233
static TOOL_ACTION toggleHiddenFields
Definition: ee_actions.h:248
static TOOL_ACTION editWithLibEdit
Definition: ee_actions.h:179
static TOOL_ACTION simProbe
Definition: ee_actions.h:296
static TOOL_ACTION placeGlobalLabel
Definition: ee_actions.h:91
static TOOL_ACTION removeItemFromSel
Definition: ee_actions.h:60
static TOOL_ACTION exportSymbolAsSVG
Definition: ee_actions.h:271
static TOOL_ACTION importSymbol
Definition: ee_actions.h:225
static TOOL_ACTION toggleDottedSecondary
Definition: ee_actions.h:299
static TOOL_ACTION ddAppendFile
Definition: ee_actions.h:315
static TOOL_ACTION exportSymbolsToLibrary
Definition: ee_actions.h:188
static TOOL_ACTION placeHierLabel
Definition: ee_actions.h:92
static TOOL_ACTION drawSheetOnClipboard
Definition: ee_actions.h:268
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:159
static TOOL_ACTION saveSymbolCopyAs
Definition: ee_actions.h:215
static TOOL_ACTION drawTextBox
Definition: ee_actions.h:103
static TOOL_ACTION symbolProperties
Definition: ee_actions.h:161
static TOOL_ACTION showNetNavigator
Definition: ee_actions.h:312
static TOOL_ACTION checkSymbol
Definition: ee_actions.h:171
static TOOL_ACTION editPageNumber
Definition: ee_actions.h:170
static TOOL_ACTION drawRectangle
Definition: ee_actions.h:105
static TOOL_ACTION changeSymbol
Definition: ee_actions.h:165
static TOOL_ACTION annotate
Definition: ee_actions.h:157
static TOOL_ACTION undoLastSegment
Definition: ee_actions.h:111
static TOOL_ACTION placeImage
Definition: ee_actions.h:110
static TOOL_ACTION editFootprint
Definition: ee_actions.h:138
static TOOL_ACTION exportPlotToSchematic
Definition: ee_actions.h:294
static TOOL_ACTION enterSheet
Definition: ee_actions.h:232
static TOOL_ACTION setUnitDisplayName
Definition: ee_actions.h:228
static TOOL_ACTION toggleDirectiveLabels
Definition: ee_actions.h:251
static TOOL_ACTION editReference
Definition: ee_actions.h:136
static TOOL_ACTION copySymbol
Definition: ee_actions.h:223
static TOOL_ACTION updateSymbols
Definition: ee_actions.h:164
static TOOL_ACTION syncSelection
Selection synchronization (PCB -> SCH)
Definition: ee_actions.h:70
static TOOL_ACTION showHierarchy
Definition: ee_actions.h:239
static TOOL_ACTION placeSchematicText
Definition: ee_actions.h:102
static TOOL_ACTION setExcludeFromBOM
Definition: ee_actions.h:192
static TOOL_ACTION drawSymbolTextBox
Definition: ee_actions.h:120
static TOOL_ACTION toggleOPVoltages
Definition: ee_actions.h:256
static TOOL_ACTION changeSymbols
Definition: ee_actions.h:163
static TOOL_ACTION setExcludeFromSimulation
Definition: ee_actions.h:195
static TOOL_ACTION unsetExcludeFromBoard
Definition: ee_actions.h:199
static TOOL_ACTION showDesignBlockPanel
Definition: ee_actions.h:206
static TOOL_ACTION drawSymbolLines
Definition: ee_actions.h:121
static TOOL_ACTION unfoldBus
Definition: ee_actions.h:85
static TOOL_ACTION renameSymbol
Definition: ee_actions.h:220
static TOOL_ACTION drawArc
Definition: ee_actions.h:107
static TOOL_ACTION previousUnit
Definition: ee_actions.h:274
static TOOL_ACTION toggleSyncedPinsMode
Definition: ee_actions.h:259
static TOOL_ACTION nextUnit
Definition: ee_actions.h:275
static TOOL_ACTION toCLabel
Definition: ee_actions.h:145
static TOOL_ACTION lineMode45
Definition: ee_actions.h:280
static TOOL_ACTION drawSheet
Definition: ee_actions.h:93
static TOOL_ACTION drawBezier
Definition: ee_actions.h:108
static TOOL_ACTION runSimulation
Definition: ee_actions.h:302
static TOOL_ACTION markSimExclusions
Definition: ee_actions.h:255
static TOOL_ACTION navigateNext
Definition: ee_actions.h:238
static TOOL_ACTION navigateUp
Definition: ee_actions.h:234
static TOOL_ACTION editSymbolLibraryLinks
Definition: ee_actions.h:160
static TOOL_ACTION placeLabel
Definition: ee_actions.h:89
static TOOL_ACTION repeatDrawItem
Definition: ee_actions.h:129
static TOOL_ACTION switchSegmentPosture
Definition: ee_actions.h:112
static TOOL_ACTION showHiddenPins
Definition: ee_actions.h:249
static TOOL_ACTION toHLabel
Definition: ee_actions.h:146
static TOOL_ACTION saveCurrSheetCopyAs
Definition: ee_actions.h:42
static TOOL_ACTION saveSheetAsDesignBlock
Definition: ee_actions.h:207
static TOOL_ACTION updateSymbolFields
Definition: ee_actions.h:227
static TOOL_ACTION editTextAndGraphics
Definition: ee_actions.h:244
static TOOL_ACTION showPcbNew
Definition: ee_actions.h:181
static TOOL_ACTION exportSymbolView
Definition: ee_actions.h:270
static TOOL_ACTION placeBusWireEntry
Definition: ee_actions.h:88
static TOOL_ACTION toggleDNP
Definition: ee_actions.h:203
static TOOL_ACTION placeSymbolPin
Definition: ee_actions.h:118
static TOOL_ACTION placeJunction
Definition: ee_actions.h:87
static TOOL_ACTION deriveFromExistingSymbol
Definition: ee_actions.h:217
static TOOL_ACTION importSheet
Definition: ee_actions.h:97
static TOOL_ACTION generateBOM
Definition: ee_actions.h:184
static TOOL_ACTION swap
Definition: ee_actions.h:134
static TOOL_ACTION saveSelectionAsDesignBlock
Definition: ee_actions.h:208
static TOOL_ACTION editDesignBlockProperties
Definition: ee_actions.h:210
static TOOL_ACTION navigatePrevious
Definition: ee_actions.h:237
static TOOL_ACTION newAnalysisTab
Definition: ee_actions.h:287
static TOOL_ACTION placeNoConnect
Definition: ee_actions.h:86
static TOOL_ACTION pasteSymbol
Definition: ee_actions.h:224
static TOOL_ACTION toggleDeMorgan
Definition: ee_actions.h:140
static TOOL_ACTION updateSymbol
Definition: ee_actions.h:166
static TOOL_ACTION showBusSyntaxHelp
Definition: ee_actions.h:173
static TOOL_ACTION exportPlotToClipboard
Definition: ee_actions.h:293
static TOOL_ACTION schematicSetup
Definition: ee_actions.h:169
static TOOL_ACTION showElectricalTypes
Definition: ee_actions.h:265
static TOOL_ACTION exportSymbolsToNewLibrary
Definition: ee_actions.h:189
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:39
@ LINE_MODE_90
@ LINE_MODE_45
@ LINE_MODE_FREE
@ LAYER_WIRE
Definition: layer_ids.h:356
@ LAYER_NOTES
Definition: layer_ids.h:371
@ 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:171
@ SCH_LABEL_T
Definition: typeinfo.h:167
@ SCH_SHEET_T
Definition: typeinfo.h:174
@ 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