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 The KiCad Developers, see AUTHORS.txt for contributors.
6 *
7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License
9 * as published by the Free Software Foundation; either version 2
10 * of the License, or (at your option) any later version.
11 *
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License
18 * along with this program; if not, you may find one here:
19 * http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
20 * or you may search the http://www.gnu.org website for the version 2 license,
21 * or you may write to the Free Software Foundation, Inc.,
22 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
23 */
24
25#include "tools/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_CTRL + MD_SHIFT + '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::table )
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.setExcludeFromSimulation" )
971 .Scope( AS_GLOBAL )
972 .FriendlyName( _( "Exclude from Simulation" ) )
973 .Tooltip( _( "Set the exclude from simulation attribute" ) ) );
974
976 .Name( "eeschema.EditorControl.setExcludeFromBoard" )
977 .Scope( AS_GLOBAL )
978 .FriendlyName( _( "Exclude from Board" ) )
979 .Tooltip( _( "Set the exclude from board attribute" ) ) );
980
982 .Name( "eeschema.EditorControl.setDNP" )
983 .Scope( AS_GLOBAL )
984 .FriendlyName( _( "Do not Populate" ) )
985 .Tooltip( _( "Set the do not populate attribute" ) ) );
986
988 .Name( "eeschema.EditorControl.editLibSymbolWithSymbolEditor" )
989 .Scope( AS_GLOBAL )
990 .DefaultHotkey( MD_CTRL + MD_SHIFT + 'E' )
991 .FriendlyName( _( "Edit Library Symbol..." ) )
992 .Tooltip( _( "Open the library symbol in the Symbol Editor" ) )
993 .Icon( BITMAPS::libedit ) );
994
996 .Name( "eeschema.EditorControl.editSymbolFields" )
997 .Scope( AS_GLOBAL )
998 .FriendlyName( _( "Edit Symbol Fields..." ) )
999 .Tooltip( _( "Bulk-edit fields of all symbols in schematic" ) )
1000 .Icon( BITMAPS::spreadsheet ) );
1001
1003 .Name( "eeschema.EditorControl.editSymbolLibraryLinks" )
1004 .Scope( AS_GLOBAL )
1005 .FriendlyName( _( "Edit Symbol Library Links..." ) )
1006 .Tooltip( _( "Edit links between schematic and library symbols" ) )
1008
1010 .Name( "eeschema.EditorControl.assignFootprints" )
1011 .Scope( AS_GLOBAL )
1012 .FriendlyName( _( "Assign Footprints..." ) )
1013 .Tooltip( _( "Run footprint assignment tool" ) )
1014 .Icon( BITMAPS::icon_cvpcb_24 ) );
1015
1017 .Name( "eeschema.EditorControl.importFPAssignments" )
1018 .Scope( AS_GLOBAL )
1019 .FriendlyName( _( "Import Footprint Assignments..." ) )
1020 .Tooltip( _( "Import symbol footprint assignments from .cmp file created by board editor" ) )
1022
1024 .Name( "eeschema.EditorControl.annotate" )
1025 .Scope( AS_GLOBAL )
1026 .FriendlyName( _( "Annotate Schematic..." ) )
1027 .Tooltip( _( "Fill in schematic symbol reference designators" ) )
1028 .Icon( BITMAPS::annotate ) );
1029
1031 .Name( "eeschema.EditorControl.incrementAnnotations" )
1032 .Scope( AS_GLOBAL )
1033 .FriendlyName( _( "Increment Annotations From..." ) )
1034 .Tooltip( _( "Increment a subset of reference designators starting at a particular symbol" ) )
1036 );
1037
1039 .Name( "eeschema.EditorControl.schematicSetup" )
1040 .Scope( AS_GLOBAL )
1041 .FriendlyName( _( "Schematic Setup..." ) )
1042 .Tooltip( _( "Edit schematic setup including annotation styles and electrical rules" ) )
1043 .Icon( BITMAPS::options_schematic ) );
1044
1046 .Name( "eeschema.EditorControl.editPageNumber" )
1047 .Scope( AS_GLOBAL )
1048 .FriendlyName( _( "Edit Sheet Page Number..." ) )
1049 .Tooltip( _( "Edit the page number of the current or selected sheet" ) ) );
1050
1052 .Name( "eeschema.EditorControl.rescueSymbols" )
1053 .Scope( AS_GLOBAL )
1054 .FriendlyName( _( "Rescue Symbols..." ) )
1055 .Tooltip( _( "Find old symbols in project and rename/rescue them" ) )
1056 .Icon( BITMAPS::rescue ) );
1057
1059 .Name( "eeschema.EditorControl.remapSymbols" )
1060 .Scope( AS_GLOBAL )
1061 .FriendlyName( _( "Remap Legacy Library Symbols..." ) )
1062 .Tooltip( _( "Remap library symbol references in legacy schematics to the symbol library table" ) )
1063 .Icon( BITMAPS::rescue ) );
1064
1066 .Name( "eeschema.EditorControl.drawSheetOnClipboard" )
1067 .Scope( AS_GLOBAL )
1068 .FriendlyName( _( "Export Drawing to Clipboard" ) )
1069 .Tooltip( _( "Export drawing of current sheet to clipboard" ) )
1070 .Icon( BITMAPS::copy ) );
1071
1073 .Name( "eeschema.EditorControl.importGraphics" )
1074 .Scope( AS_GLOBAL )
1075 .DefaultHotkey( MD_CTRL + MD_SHIFT + 'F' )
1076 .LegacyHotkeyName( "Place DXF" )
1077 .FriendlyName( _( "Import Graphics..." ) )
1078 .Tooltip( _( "Import 2D drawing file" ) )
1079 .Icon( BITMAPS::import_vector )
1080 .Flags( AF_ACTIVATE ) );
1081
1083 .Name( "eeschema.EditorControl.showPcbNew" )
1084 .Scope( AS_GLOBAL )
1085 .FriendlyName( _( "Switch to PCB Editor" ) )
1086 .Tooltip( _( "Open PCB in board editor" ) )
1087 .Icon( BITMAPS::icon_pcbnew_24 ) );
1088
1090 .Name( "eeschema.EditorControl.exportNetlist" )
1091 .Scope( AS_GLOBAL )
1092 .FriendlyName( _( "Export Netlist..." ) )
1093 .Tooltip( _( "Export file containing netlist in one of several formats" ) )
1094 .Icon( BITMAPS::netlist ) );
1095
1097 .Name( "eeschema.EditorControl.generateBOM" )
1098 .Scope( AS_GLOBAL )
1099 .FriendlyName( _( "Generate Bill of Materials..." ) )
1100 .Tooltip( _( "Generate a bill of materials for the current schematic" ) )
1101 .Icon( BITMAPS::post_bom ) );
1102
1104 .Name( "eeschema.EditorControl.generateBOMLegacy" )
1105 .Scope( AS_GLOBAL )
1106 .FriendlyName( _( "Generate Legacy Bill of Materials..." ) )
1107 .Tooltip( _( "Generate a bill of materials for the current schematic (Legacy Generator)" ) )
1108 .Icon( BITMAPS::file_bom )
1109 );
1110
1112 .Name( "eeschema.EditorControl.generateBOMExternal" )
1113 .Scope( AS_GLOBAL )
1114 .FriendlyName( _( "Generate Bill of Materials (External)..." ) )
1115 .Tooltip( _( "Generate a bill of materials for the current schematic using external generator" ) )
1116 );
1117
1119 .Name( "eeschema.EditorControl.exportSymbolsToLibrary" )
1120 .Scope( AS_GLOBAL )
1121 .FriendlyName( _( "Export Symbols to Library..." ) )
1122 .Tooltip( _( "Add symbols used in schematic to an existing symbol library\n"
1123 "(does not remove other symbols from this library)" ) )
1124 .Icon( BITMAPS::library_archive ) );
1125
1127 .Name( "eeschema.EditorControl.exportSymbolsToNewLibrary" )
1128 .Scope( AS_GLOBAL )
1129 .FriendlyName( _( "Export Symbols to New Library..." ) )
1130 .Tooltip( _( "Create a new symbol library using the symbols used in the schematic\n"
1131 "(if the library already exists it will be replaced)" ) )
1132 .Icon( BITMAPS::library_archive_as ) );
1133
1135 .Name( "eeschema.EditorControl.selectOnPCB" )
1136 .Scope( AS_GLOBAL )
1137 .FriendlyName( _( "Select on PCB" ) )
1138 .Tooltip( _( "Select corresponding items in PCB editor" ) )
1139 .Icon( BITMAPS::select_same_sheet ) );
1140
1142 .Name( "eeschema.EditorControl.showHiddenPins" )
1143 .Scope( AS_GLOBAL )
1144 .FriendlyName( _( "Show Hidden Pins" ) )
1145 .Icon( BITMAPS::hidden_pin ) );
1146
1148 .Name( "eeschema.EditorControl.showHiddenFields" )
1149 .Scope( AS_GLOBAL )
1150 .FriendlyName( _( "Show Hidden Fields" ) ) );
1151
1153 .Name( "eeschema.EditorControl.showDirectiveLabels" )
1154 .Scope( AS_GLOBAL )
1155 .FriendlyName( _( "Show Directive Labels" ) ) );
1156
1158 .Name( "eeschema.EditorControl.showERCWarnings" )
1159 .Scope( AS_GLOBAL )
1160 .FriendlyName( _( "Show ERC Warnings" ) )
1161 .Tooltip( _( "Show markers for electrical rules checker warnings" ) ) );
1162
1164 .Name( "eeschema.EditorControl.showERCErrors" )
1165 .Scope( AS_GLOBAL )
1166 .FriendlyName( _( "Show ERC Errors" ) )
1167 .Tooltip( _( "Show markers for electrical rules checker errors" ) ) );
1168
1170 .Name( "eeschema.EditorControl.showERCExclusions" )
1171 .Scope( AS_GLOBAL )
1172 .FriendlyName( _( "Show ERC Exclusions" ) )
1173 .Tooltip( _( "Show markers for excluded electrical rules checker violations" ) ) );
1174
1176 .Name( "eeschema.EditorControl.markSimExclusions" )
1177 .Scope( AS_GLOBAL )
1178 .FriendlyName( _( "Mark items excluded from simulation" ) )
1179 .Tooltip( _( "Draw 'X's over items which have been excluded from simulation" ) ) );
1180
1182 .Name( "eeschema.EditorControl.showOperatingPointVoltages" )
1183 .Scope( AS_GLOBAL )
1184 .FriendlyName( _( "Show OP Voltages" ) )
1185 .Tooltip( _( "Show operating point voltage data from simulation" ) ) );
1186
1188 .Name( "eeschema.EditorControl.showOperatingPointCurrents" )
1189 .Scope( AS_GLOBAL )
1190 .FriendlyName( _( "Show OP Currents" ) )
1191 .Tooltip( _( "Show operating point current data from simulation" ) ) );
1192
1194 .Name( "eeschema.EditorControl.togglePinAltIcons" )
1195 .Scope( AS_GLOBAL )
1196 .FriendlyName( _( "Show Pin Alternate Icons" ) )
1197 .Tooltip( _( "Show indicator icons for pins with alternate modes" ) ) );
1198
1200 .Name( "eeschema.EditorControl.lineModeFree" )
1201 .Scope( AS_GLOBAL )
1202 .FriendlyName( _( "Line Mode for Wires and Buses" ) )
1203 .Tooltip( _( "Draw and drag at any angle" ) )
1204 .Icon( BITMAPS::lines_any )
1205 .Flags( AF_NONE )
1206 .Parameter( LINE_MODE::LINE_MODE_FREE ) );
1207
1209 .Name( "eeschema.EditorControl.lineModeOrthonal" )
1210 .Scope( AS_GLOBAL )
1211 .FriendlyName( _( "Line Mode for Wires and Buses" ) )
1212 .Tooltip( _( "Constrain drawing and dragging to horizontal or vertical motions" ) )
1213 .Icon( BITMAPS::lines90 )
1214 .Flags( AF_NONE )
1215 .Parameter( LINE_MODE::LINE_MODE_90) );
1216
1218 .Name( "eeschema.EditorControl.lineMode45" )
1219 .Scope( AS_GLOBAL )
1220 .FriendlyName( _( "Line Mode for Wires and Buses" ) )
1221 .Tooltip( _( "Constrain drawing and dragging to horizontal, vertical, or 45-degree angle motions" ) )
1222 .Icon( BITMAPS::hv45mode )
1223 .Flags( AF_NONE )
1224 .Parameter( LINE_MODE::LINE_MODE_45 ) );
1225
1227 .Name( "eeschema.EditorControl.lineModeNext" )
1228 .Scope( AS_GLOBAL )
1229 .DefaultHotkey( MD_SHIFT + static_cast<int>( WXK_SPACE ) )
1230 .FriendlyName( _( "Line Mode for Wires and Buses" ) )
1231 .Tooltip( _( "Switch to next line mode" ) ) );
1232
1234 .Name( "eeschema.EditorControl.annotateAutomatically" )
1235 .Scope( AS_GLOBAL )
1236 .FriendlyName( _( "Annotate Automatically" ) )
1237 .Tooltip( _( "Toggle automatic annotation of new symbols" ) )
1238 .Icon( BITMAPS::annotate ) );
1239
1241 .Name( "eeschema.EditorControl.repairSchematic" )
1242 .Scope( AS_GLOBAL )
1243 .FriendlyName( _( "Repair Schematic" ) )
1244 .Tooltip( _( "Run various diagnostics and attempt to repair schematic" ) )
1245 .Icon( BITMAPS::rescue ) );
1246
1248 .Name( "eeschema.EditorControl.previousUnit" )
1249 .Scope( AS_GLOBAL )
1250 .FriendlyName( _( "Previous Symbol Unit" ) )
1251 .Tooltip( _( "Open the previous unit of the symbol" ) )
1252 .Parameter<int>( -1 ) );
1253
1255 .Name( "eeschema.EditorControl.nextUnit" )
1256 .Scope( AS_GLOBAL )
1257 .FriendlyName( _( "Next Symbol Unit" ) )
1258 .Tooltip( _( "Open the next unit of the symbol" ) )
1259 .Parameter<int>( 1 ) );
1260
1261// SCH_NAVIGATE_TOOL
1262//
1264 .Name( "eeschema.NavigateTool.changeSheet" )
1265 .Scope( AS_CONTEXT )
1266 .FriendlyName( _( "Change Sheet" ) )
1267 .Tooltip( _( "Change to provided sheet's contents in the schematic editor" ) )
1268 .Icon( BITMAPS::enter_sheet ) );
1269
1271 .Name( "eeschema.NavigateTool.enterSheet" )
1272 .Scope( AS_GLOBAL )
1273 .FriendlyName( _( "Enter Sheet" ) )
1274 .Tooltip( _( "Display the selected sheet's contents in the schematic editor" ) )
1275 .Icon( BITMAPS::enter_sheet ) );
1276
1278 .Name( "eeschema.NavigateTool.leaveSheet" )
1279 .Scope( AS_GLOBAL )
1280 .DefaultHotkey( MD_ALT + static_cast<int>( WXK_BACK ) )
1281 .LegacyHotkeyName( "Leave Sheet" )
1282 .FriendlyName( _( "Leave Sheet" ) )
1283 .Tooltip( _( "Display the parent sheet in the schematic editor" ) )
1284 .Icon( BITMAPS::leave_sheet ) );
1285
1287 .Name( "eeschema.NavigateTool.up" )
1288 .Scope( AS_GLOBAL )
1289 .DefaultHotkey( MD_ALT + static_cast<int>( WXK_UP ) )
1290 .FriendlyName( _( "Navigate Up" ) )
1291 .Tooltip( _( "Navigate up one sheet in the hierarchy" ) )
1292 .Icon( BITMAPS::up ) );
1293
1295 .Name( "eeschema.NavigateTool.back" )
1296 .Scope( AS_GLOBAL )
1297 .DefaultHotkey( MD_ALT + static_cast<int>( WXK_LEFT ) )
1298 .FriendlyName( _( "Navigate Back" ) )
1299 .Tooltip( _( "Move backward in sheet navigation history" ) )
1300 .Icon( BITMAPS::left ) );
1301
1303 .Name( "eeschema.NavigateTool.forward" )
1304 .Scope( AS_GLOBAL )
1305 .DefaultHotkey( MD_ALT + static_cast<int>( WXK_RIGHT ) )
1306 .FriendlyName( _( "Navigate Forward" ) )
1307 .Tooltip( _( "Move forward in sheet navigation history" ) )
1308 .Icon( BITMAPS::right ) );
1309
1311 .Name( "eeschema.NavigateTool.previous" )
1312 .Scope( AS_GLOBAL )
1313 .DefaultHotkey( WXK_PAGEUP )
1314 .FriendlyName( _( "Previous Sheet" ) )
1315 .Tooltip( _( "Move to previous sheet by number" ) )
1316 .Icon( BITMAPS::left ) );
1317
1319 .Name( "eeschema.NavigateTool.next" )
1320 .Scope( AS_GLOBAL )
1321 .DefaultHotkey( WXK_PAGEDOWN )
1322 .FriendlyName( _( "Next Sheet" ) )
1323 .Tooltip( _( "Move to next sheet by number" ) )
1324 .Icon( BITMAPS::right ) );
1325
1327 .Name( "eeschema.EditorTool.showHierarchy" )
1328 .Scope( AS_GLOBAL )
1329 .DefaultHotkey( MD_CTRL + 'H' )
1330 .FriendlyName( _( "Hierarchy Navigator" ) )
1331 .Tooltip( _( "Show/hide the schematic sheet hierarchy navigator" ) )
1332 .Icon( BITMAPS::hierarchy_nav ) );
1333
1334
1335// SCH_LINE_WIRE_BUS_TOOL
1336//
1339 .Name( "eeschema.InteractiveDrawingLineWireBus.drawWires" )
1340 .Scope( AS_GLOBAL )
1341 .DefaultHotkey( 'W' )
1342 .LegacyHotkeyName( "Begin Wire" )
1343 .FriendlyName( _( "Draw Wires" ) )
1344 .Icon( BITMAPS::add_line )
1345 .Flags( AF_ACTIVATE )
1346 .Parameter( &drawWireActionParam ) );
1347
1350 .Name( "eeschema.InteractiveDrawingLineWireBus.drawBuses" )
1351 .Scope( AS_GLOBAL )
1352 .DefaultHotkey( 'B' )
1353 .LegacyHotkeyName( "Begin Bus" )
1354 .FriendlyName( _( "Draw Buses" ) )
1355 .Icon( BITMAPS::add_bus )
1356 .Flags( AF_ACTIVATE )
1357 .Parameter( &drawBusActionParam ) );
1358
1360 .Name( "eeschema.InteractiveDrawingLineWireBus.unfoldBus" )
1361 .Scope( AS_GLOBAL )
1362 .DefaultHotkey( 'C' )
1363 .LegacyHotkeyName( "Unfold from Bus" )
1364 .FriendlyName( _( "Unfold from Bus" ) )
1365 .Tooltip( _( "Break a wire out of a bus" ) )
1367 .Flags( AF_ACTIVATE )
1368 .Parameter<wxString*>( nullptr ) );
1369
1372 .Name( "eeschema.InteractiveDrawingLineWireBus.drawLines" )
1373 .Scope( AS_GLOBAL )
1374 .DefaultHotkey( 'I' )
1375 .LegacyHotkeyName( "Add Graphic PolyLine" )
1376 .FriendlyName( _( "Draw Lines" ) )
1378 .Flags( AF_ACTIVATE )
1379 .Parameter( &drawLinesActionParam ) );
1380
1382 .Name( "eeschema.InteractiveDrawingLineWireBus.undoLastSegment")
1383 .Scope( AS_GLOBAL )
1384 .DefaultHotkey( WXK_BACK )
1385 .FriendlyName( _( "Undo Last Segment" ) )
1386 .Tooltip( _( "Walks the current line back one segment." ) )
1387 .Icon( BITMAPS::undo ) );
1388
1390 .Name( "eeschema.InteractiveDrawingLineWireBus.switchPosture" )
1391 .Scope( AS_GLOBAL )
1392 .DefaultHotkey( '/' )
1393 .FriendlyName( _( "Switch Segment Posture" ) )
1394 .Tooltip( _( "Switches posture of the current segment." ) )
1396 .Flags( AF_NONE ) );
1397
1398// SCH_MOVE_TOOL
1399//
1401 .Name( "eeschema.InteractiveMove.move" )
1402 .Scope( AS_GLOBAL )
1403 .DefaultHotkey( 'M' )
1404 .LegacyHotkeyName( "Move Item" )
1405 .FriendlyName( _( "Move" ) )
1406 .Icon( BITMAPS::move )
1407 .Flags( AF_ACTIVATE ) );
1408
1410 .Name( "eeschema.InteractiveMove.drag" )
1411 .Scope( AS_GLOBAL )
1412 .DefaultHotkey( 'G' )
1413 .LegacyHotkeyName( "Drag Item" )
1414 .FriendlyName( _( "Drag" ) )
1415 .Tooltip( _( "Move items while keeping their connections" ) )
1416 .Icon( BITMAPS::drag )
1417 .Flags( AF_ACTIVATE ) );
1418
1420 .Name( "eeschema.AlignToGrid" )
1421 .Scope( AS_GLOBAL )
1422 .FriendlyName( _( "Align Items to Grid" ) )
1424 .Flags( AF_ACTIVATE ) );
1425
1426// Schematic editor save copy curr sheet command
1428 .Name( "eeschema.EditorControl.saveCurrSheetCopyAs" )
1429 .Scope( AS_GLOBAL )
1430 .FriendlyName( _( "Save Current Sheet Copy As..." ) )
1431 .Tooltip( _( "Save a copy of the current sheet to another location or name" ) )
1432 .Icon( BITMAPS::save_as ) );
1433
1434// Drag and drop
1436 .Name( "eeschema.EditorControl.ddAppendFile" )
1437 .Scope( AS_GLOBAL ) );
1438
1439// SIMULATOR
1441 .Name( "eeschema.Simulation.newAnalysisTab" )
1442 .Scope( AS_GLOBAL )
1443 .DefaultHotkey( MD_CTRL + 'N' )
1444 .LegacyHotkeyName( "New" )
1445 .FriendlyName( _( "New Analysis Tab..." ) )
1446 .Tooltip( _( "Create a new tab containing a simulation analysis" ) )
1447 .Icon( BITMAPS::sim_add_plot ) );
1448
1450 .Name( "eeschema.Simulation.openWorkbook" )
1451 .Scope( AS_GLOBAL )
1452 .DefaultHotkey( MD_CTRL + 'O' )
1453 .LegacyHotkeyName( "Open" )
1454 .FriendlyName( _( "Open Workbook..." ) )
1455 .Tooltip( _( "Open a saved set of analysis tabs and settings" ) )
1456 .Icon( BITMAPS::directory_open ) );
1457
1459 .Name( "eeschema.Simulation.saveWorkbook" )
1460 .Scope( AS_GLOBAL )
1461 .DefaultHotkey( MD_CTRL + 'S' )
1462 .LegacyHotkeyName( "Save" )
1463 .FriendlyName( _( "Save Workbook" ) )
1464 .Tooltip( _( "Save the current set of analysis tabs and settings" ) )
1465 .Icon( BITMAPS::save ) );
1466
1468 .Name( "eeschema.Simulation.saveWorkbookAs" )
1469 .Scope( AS_GLOBAL )
1470 .DefaultHotkey( MD_CTRL + MD_SHIFT + 'S' )
1471 .LegacyHotkeyName( "Save As" )
1472 .FriendlyName( _( "Save Workbook As..." ) )
1473 .Tooltip( _( "Save the current set of analysis tabs and settings to another location" ) )
1474 .Icon( BITMAPS::sim_add_signal ) );
1475
1477 .Name( "eeschema.Simulator.exportPNG" )
1478 .Scope( AS_GLOBAL )
1479 .FriendlyName( _( "Export Current Plot as PNG..." ) )
1480 .Icon( BITMAPS::export_png ) );
1481
1483 .Name( "eeschema.Simulator.exportCSV" )
1484 .Scope( AS_GLOBAL )
1485 .FriendlyName( _( "Export Current Plot as CSV..." ) )
1486 .Icon( BITMAPS::export_file ) );
1487
1489 .Name( "eeschema.Simulator.exportToClipboard" )
1490 .Scope( AS_GLOBAL )
1491 .FriendlyName( _( "Export Current Plot to Clipboard" ) )
1492 .Icon( BITMAPS::export_png ) );
1493
1495 .Name( "eeschema.Simulator.exportPlotToSchematic" )
1496 .Scope( AS_GLOBAL )
1497 .FriendlyName( _( "Export Current Plot to Schematic" ) )
1498 .Icon( BITMAPS::export_png ) );
1499
1501 .Name( "eeschema.Simulator.toggleLegend" )
1502 .Scope( AS_GLOBAL )
1503 .FriendlyName( _( "Show Legend" ) )
1504 .Icon( BITMAPS::text ) );
1505
1507 .Name( "eeschema.Simulator.toggleDottedSecondary" )
1508 .Scope( AS_GLOBAL )
1509 .FriendlyName( _( "Dotted Current/Phase" ) )
1510 .Tooltip( _( "Draw secondary signal trace (current or phase) with a dotted line" ) ) );
1511
1513 .Name( "eeschema.Simulator.toggleDarkModePlots" )
1514 .Scope( AS_GLOBAL )
1515 .FriendlyName( _( "Dark Mode Plots" ) )
1516 .Tooltip( _( "Draw plots with a black background" ) ) );
1517
1519 .Name( "eeschema.Simulation.simAnalysisProperties" )
1520 .Scope( AS_GLOBAL )
1521 .FriendlyName( _( "Edit Analysis Tab..." ) )
1522 .Tooltip( _( "Edit the current analysis tab's SPICE command and plot setup" ) )
1523 .Icon( BITMAPS::sim_command ) );
1524
1526 .Name( "eeschema.Simulation.runSimulation" )
1527 .Scope( AS_GLOBAL )
1528 .DefaultHotkey( 'R' )
1529 .FriendlyName( _( "Run Simulation" ) )
1530 .Icon( BITMAPS::sim_run ) );
1531
1533 .Name( "eeschema.Simulation.stopSimulation" )
1534 .Scope( AS_GLOBAL )
1535 .FriendlyName( _( "Stop Simulation" ) )
1536 .Icon( BITMAPS::sim_stop ) );
1537
1539 .Name( "eeschema.Simulation.probe" )
1540 .Scope( AS_GLOBAL )
1541 .DefaultHotkey( 'P' )
1542 .FriendlyName( _( "Probe Schematic..." ) )
1543 .Tooltip( _( "Add a simulator probe" ) )
1544 .Icon( BITMAPS::sim_probe ) );
1545
1547 .Name( "eeschema.Simulation.tune" )
1548 .Scope( AS_GLOBAL )
1549 .DefaultHotkey( 'T' )
1550 .FriendlyName( _( "Add Tuned Value..." ) )
1551 .Tooltip( _( "Select a value to be tuned" ) )
1552 .Icon( BITMAPS::sim_tune ) );
1553
1555 .Name( "eeschema.Simulation.editUserDefinedSignals" )
1556 .Scope( AS_GLOBAL )
1557 .FriendlyName( _( "User-defined Signals..." ) )
1558 .Tooltip( _( "Add, edit or delete user-defined simulation signals" ) )
1559 .Icon( BITMAPS::sim_add_signal ) );
1560
1562 .Name( "eeschema.Simulation.showNetlist" )
1563 .Scope( AS_GLOBAL )
1564 .FriendlyName( _( "Show SPICE Netlist" ) )
1565 .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:213
static TOOL_ACTION mirrorV
Definition: ee_actions.h:132
static TOOL_ACTION simAnalysisProperties
Definition: ee_actions.h:293
static TOOL_ACTION repairSchematic
Definition: ee_actions.h:265
static TOOL_ACTION deleteDesignBlock
Definition: ee_actions.h:201
static TOOL_ACTION drawSheetFromDesignBlock
Definition: ee_actions.h:95
static TOOL_ACTION remapSymbols
Definition: ee_actions.h:176
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:276
static TOOL_ACTION placeDesignBlock
Definition: ee_actions.h:82
static TOOL_ACTION properties
Definition: ee_actions.h:135
static TOOL_ACTION cutSymbol
Definition: ee_actions.h:214
static TOOL_ACTION lineMode90
Definition: ee_actions.h:271
static TOOL_ACTION toggleHiddenPins
Definition: ee_actions.h:239
static TOOL_ACTION highlightNet
Definition: ee_actions.h:300
static TOOL_ACTION setExcludeFromBoard
Definition: ee_actions.h:194
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:296
static TOOL_ACTION changeSheet
Definition: ee_actions.h:223
static TOOL_ACTION openWorkbook
Definition: ee_actions.h:280
static TOOL_ACTION clearHighlight
Definition: ee_actions.h:301
static TOOL_ACTION drawTable
Definition: ee_actions.h:104
static TOOL_ACTION stopSimulation
Definition: ee_actions.h:295
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:290
static TOOL_ACTION toGLabel
Definition: ee_actions.h:147
static TOOL_ACTION navigateForward
Definition: ee_actions.h:227
static TOOL_ACTION setDNP
Definition: ee_actions.h:195
static TOOL_ACTION saveSymbolAs
Definition: ee_actions.h:206
static TOOL_ACTION cleanupSheetPins
Definition: ee_actions.h:235
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:228
static TOOL_ACTION placeSymbolAnchor
Definition: ee_actions.h:123
static TOOL_ACTION saveWorkbook
Definition: ee_actions.h:281
static TOOL_ACTION saveWorkbookAs
Definition: ee_actions.h:282
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:242
static TOOL_ACTION toText
Definition: ee_actions.h:148
static TOOL_ACTION exportPlotAsCSV
Definition: ee_actions.h:284
static TOOL_ACTION drawSymbolPolygon
Definition: ee_actions.h:122
static TOOL_ACTION generateBOMExternal
Definition: ee_actions.h:186
static TOOL_ACTION toggleERCWarnings
Definition: ee_actions.h:244
static TOOL_ACTION simTune
Definition: ee_actions.h:289
static TOOL_ACTION duplicateSymbol
Definition: ee_actions.h:211
static TOOL_ACTION drawRuleArea
Definition: ee_actions.h:113
static TOOL_ACTION toggleERCExclusions
Definition: ee_actions.h:246
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 newSymbol
Definition: ee_actions.h:208
static TOOL_ACTION lineModeNext
Definition: ee_actions.h:273
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:255
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:256
static TOOL_ACTION rotateCCW
Definition: ee_actions.h:131
static TOOL_ACTION lineModeFree
Definition: ee_actions.h:270
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:210
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:205
static TOOL_ACTION toggleDarkModePlots
Definition: ee_actions.h:292
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:245
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:283
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:258
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:249
static TOOL_ACTION restartMove
Definition: ee_actions.h:252
static TOOL_ACTION mirrorH
Definition: ee_actions.h:133
static TOOL_ACTION showSimulator
Definition: ee_actions.h:287
static TOOL_ACTION showNetlist
Definition: ee_actions.h:297
static TOOL_ACTION highlightNetTool
Definition: ee_actions.h:303
static TOOL_ACTION updateNetHighlighting
Definition: ee_actions.h:302
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 selectOnPCB
Definition: ee_actions.h:253
static TOOL_ACTION togglePinAltIcons
Definition: ee_actions.h:250
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:254
static TOOL_ACTION importGraphics
Definition: ee_actions.h:261
static TOOL_ACTION leaveSheet
Definition: ee_actions.h:225
static TOOL_ACTION toggleHiddenFields
Definition: ee_actions.h:240
static TOOL_ACTION editWithLibEdit
Definition: ee_actions.h:179
static TOOL_ACTION simProbe
Definition: ee_actions.h:288
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:263
static TOOL_ACTION importSymbol
Definition: ee_actions.h:217
static TOOL_ACTION toggleDottedSecondary
Definition: ee_actions.h:291
static TOOL_ACTION ddAppendFile
Definition: ee_actions.h:307
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:260
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:207
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:304
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:286
static TOOL_ACTION enterSheet
Definition: ee_actions.h:224
static TOOL_ACTION setUnitDisplayName
Definition: ee_actions.h:220
static TOOL_ACTION toggleDirectiveLabels
Definition: ee_actions.h:243
static TOOL_ACTION editReference
Definition: ee_actions.h:136
static TOOL_ACTION copySymbol
Definition: ee_actions.h:215
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:231
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:248
static TOOL_ACTION changeSymbols
Definition: ee_actions.h:163
static TOOL_ACTION setExcludeFromSimulation
Definition: ee_actions.h:193
static TOOL_ACTION showDesignBlockPanel
Definition: ee_actions.h:198
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:212
static TOOL_ACTION drawArc
Definition: ee_actions.h:107
static TOOL_ACTION previousUnit
Definition: ee_actions.h:266
static TOOL_ACTION toggleSyncedPinsMode
Definition: ee_actions.h:251
static TOOL_ACTION nextUnit
Definition: ee_actions.h:267
static TOOL_ACTION toCLabel
Definition: ee_actions.h:145
static TOOL_ACTION lineMode45
Definition: ee_actions.h:272
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:294
static TOOL_ACTION markSimExclusions
Definition: ee_actions.h:247
static TOOL_ACTION navigateNext
Definition: ee_actions.h:230
static TOOL_ACTION navigateUp
Definition: ee_actions.h:226
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:241
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:199
static TOOL_ACTION updateSymbolFields
Definition: ee_actions.h:219
static TOOL_ACTION editTextAndGraphics
Definition: ee_actions.h:236
static TOOL_ACTION showPcbNew
Definition: ee_actions.h:181
static TOOL_ACTION exportSymbolView
Definition: ee_actions.h:262
static TOOL_ACTION placeBusWireEntry
Definition: ee_actions.h:88
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:209
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:200
static TOOL_ACTION editDesignBlockProperties
Definition: ee_actions.h:202
static TOOL_ACTION navigatePrevious
Definition: ee_actions.h:229
static TOOL_ACTION newAnalysisTab
Definition: ee_actions.h:279
static TOOL_ACTION placeNoConnect
Definition: ee_actions.h:86
static TOOL_ACTION pasteSymbol
Definition: ee_actions.h:216
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:285
static TOOL_ACTION schematicSetup
Definition: ee_actions.h:169
static TOOL_ACTION showElectricalTypes
Definition: ee_actions.h:257
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
@ RECTANGLE
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:441
@ LAYER_NOTES
Definition: layer_ids.h:456
@ LAYER_BUS
Definition: layer_ids.h:442
@ 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:145
@ MD_CTRL
Definition: tool_event.h:144
@ MD_SHIFT
Definition: tool_event.h:143
@ 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