KiCad PCB EDA Suite
Loading...
Searching...
No Matches
sch_actions.cpp
Go to the documentation of this file.
1/*
2 * This program source code file is part of KiCad, a free EDA CAD application.
3 *
4 * Copyright (C) 2019-2023 CERN
5 * Copyright The KiCad Developers, see AUTHORS.txt for contributors.
6 *
7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License
9 * as published by the Free Software Foundation; either version 2
10 * of the License, or (at your option) any later version.
11 *
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License
18 * along with this program. If not, see <https://www.gnu.org/licenses/>.
19 */
20
21#include "tools/sch_actions.h"
22
23#include <bitmaps.h>
24#include <core/typeinfo.h>
25#include <layer_ids.h>
26#include <sch_bitmap.h>
27#include <sch_shape.h>
29#include <tool/arc_draw_mode.h>
30#include <tool/tool_action.h>
31
32class DESIGN_BLOCK;
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// clang-format off
42
43// SCH_INSPECTION_TOOL
44//
46 .Name( "eeschema.InspectionTool.runERC" )
47 .Scope( AS_GLOBAL )
48 .FriendlyName( _( "Electrical Rules Checker" ) )
49 .Tooltip( _( "Show the electrical rules checker window" ) )
50 .Icon( BITMAPS::erc ) );
51
53 .Name( "eeschema.InspectionTool.checkSymbol" )
54 .Scope( AS_GLOBAL )
55 .FriendlyName( _( "Symbol Checker" ) )
56 .Tooltip( _( "Show the symbol checker window" ) )
57 .Icon( BITMAPS::erc ) );
58
60 .Name( "eeschema.InspectionTool.diffSymbol" )
61 .Scope( AS_GLOBAL )
62 .FriendlyName( _( "Compare Symbol with Library" ) )
63 .Tooltip( _( "Show differences between schematic symbol and its library equivalent" ) )
64 .Icon( BITMAPS::library ) );
65
67 .Name( "eeschema.InspectionTool.CompareSchematicWithFile" )
68 .Scope( AS_GLOBAL )
69 .FriendlyName( _( "Compare Schematic with File..." ) )
70 .Tooltip( _( "Diff the current schematic against another .kicad_sch file" ) )
71 .Icon( BITMAPS::library ) );
72
74 .Name( "eeschema.InspectionTool.CompareSchematicWithHistory" )
75 .Scope( AS_GLOBAL )
76 .FriendlyName( _( "Compare Schematic with Local History..." ) )
77 .Tooltip( _( "Diff the current schematic against the most recent local-history snapshot" ) )
78 .Icon( BITMAPS::library ) );
79
81 .Name( "eeschema.InspectionTool.showBusSyntaxHelp" )
82 .Scope( AS_GLOBAL )
83 .FriendlyName( _( "Show Bus Syntax Help" ) )
85
87 .Name( "eeschema.EditorControl.showSimulator" )
88 .Scope( AS_GLOBAL )
89 .FriendlyName( _( "Simulator" ) )
90 .Tooltip( _( "Show simulation window for running SPICE or IBIS simulations." ) )
91 .Icon( BITMAPS::simulator ) );
92
93
94// SCH_POINT_EDITOR
95//
97 .Name( "eeschema.PointEditor.addCorner" )
98 .Scope( AS_GLOBAL )
99 .FriendlyName( _( "Create Corner" ) )
100 .Icon( BITMAPS::add_corner ) );
101
103 .Name( "eeschema.PointEditor.removeCorner" )
104 .Scope( AS_GLOBAL )
105 .FriendlyName( _( "Remove Corner" ) )
106 .Icon( BITMAPS::delete_cursor ) );
107
108// SCH_SELECTION_TOOL
109//
111 .Name( "eeschema.InteractiveSelection.SelectNode" )
112 .Scope( AS_GLOBAL )
113 .DefaultHotkey( MD_ALT + '3' )
114 .LegacyHotkeyName( "Select Node" )
115 .FriendlyName( _( "Select Node" ) )
116 .Tooltip( _( "Select a connection item under the cursor" ) ) );
117
119 .Name( "eeschema.InteractiveSelection.SelectConnection" )
120 .Scope( AS_GLOBAL )
121 .DefaultHotkey( MD_CTRL + '4' )
122 .LegacyHotkeyName( "Select Connection" )
123 .FriendlyName( _( "Select/Expand Connection" ) )
124 .Tooltip( _( "Selects a connection or expands an existing selection to pins, symbols, or entire connections" ) )
126
128 .Name( "eeschema.InteractiveSelection.SyncSelection" )
129 .Scope( AS_GLOBAL ) );
130
131// SCH_DESIGN_BLOCK_CONTROL
133 .Name( "eeschema.SchDesignBlockControl.showDesignBlockPanel" )
134 .Scope( AS_GLOBAL )
135 .FriendlyName( _( "Design Blocks" ) )
136 .Tooltip( _( "Show/hide design blocks library" ) )
137 .Icon( BITMAPS::search_tree ) );
138
140 .Name( "eeschema.RemoteSymbols.showPanel" )
141 .Scope( AS_GLOBAL )
142 .FriendlyName( _( "Remote Symbols" ) )
143 .Tooltip( _( "Show/hide the remote symbol panel" ) )
144 .Icon( BITMAPS::library_browser ) );
145
147 .Name( "eeschema.SchDesignBlockControl.saveSheetAsDesignBlock" )
148 .Scope( AS_GLOBAL )
149 .FriendlyName( _( "Save Current Sheet as Design Block..." ) )
150 .Tooltip( _( "Create a new design block from the current sheet" ) )
151 .Icon( BITMAPS::new_component ) );
152
154 .Name( "eeschema.SchDesignBlockControl.saveSelectionAsDesignBlock" )
155 .Scope( AS_GLOBAL )
156 .FriendlyName( _( "Save Selection as Design Block..." ) )
157 .Tooltip( _( "Create a new design block from the current selection" ) )
158 .Icon( BITMAPS::new_component ) );
159
161 .Name( "eeschema.SchDesignBlockControl.updateDesignBlockFromSheet" )
162 .Scope( AS_GLOBAL )
163 .FriendlyName( _( "Update Design Block from Current Sheet" ) )
164 .Tooltip( _( "Set design block schematic to current sheet" ) )
165 .Icon( BITMAPS::save ) );
166
168 .Name( "eeschema.SchDesignBlockControl.updateDesignBlockFromSelection" )
169 .Scope( AS_GLOBAL )
170 .FriendlyName( _( "Update Design Block from Selection" ) )
171 .Tooltip( _( "Set design block schematic to current selection" ) )
172 .Icon( BITMAPS::save ) );
173
175 .Name( "eeschema.SchDesignBlockControl.deleteDesignBlock" )
176 .Scope( AS_GLOBAL )
177 .FriendlyName( _( "Delete Design Block" ) )
178 .Tooltip( _( "Remove the selected design block from its library" ) )
179 .Icon( BITMAPS::trash ) );
180
182 .Name( "eeschema.SchDesignBlockControl.editDesignBlockProperties" )
183 .Scope( AS_GLOBAL )
184 .FriendlyName( _( "Properties..." ) )
185 .Tooltip( _( "Edit properties of design block" ) )
186 .Icon( BITMAPS::edit ) );
187
188// SYMBOL_EDITOR_CONTROL
189//
191 .Name( "eeschema.SymbolLibraryControl.saveLibraryAs" )
192 .Scope( AS_GLOBAL )
193 .DefaultHotkey( MD_CTRL + MD_SHIFT + 'S' )
194 .LegacyHotkeyName( "Save As" )
195 .FriendlyName( _( "Save Library As..." ) )
196 .Tooltip( _( "Save the current library to a new file" ) ) );
197
199 .Name( "eeschema.SymbolLibraryControl.saveLibraryAsPacked" )
200 .Scope( AS_GLOBAL )
201 .LegacyHotkeyName( "Save As Packed" )
202 .FriendlyName( _( "Save Library As Packed..." ) )
203 .Tooltip( _( "Save the current unpacked library to a new packed library file" ) ) );
204
206 .Name( "eeschema.SymbolLibraryControl.saveLibraryAsUnpacked" )
207 .Scope( AS_GLOBAL )
208 .LegacyHotkeyName( "Save As Unpacked" )
209 .FriendlyName( _( "Save Library As Unpacked..." ) )
210 .Tooltip( _( "Save the current packed library to a new unpacked library folder" ) ) );
211
213 .Name( "eeschema.SymbolLibraryControl.CompareLibraryWithFile" )
214 .Scope( AS_GLOBAL )
215 .FriendlyName( _( "Compare Library with File..." ) )
216 .Tooltip( _( "Diff the current symbol library against another .kicad_sym file" ) )
217 .Icon( BITMAPS::library ) );
218
220 .Name( "eeschema.SymbolLibraryControl.newSymbol" )
221 .Scope( AS_GLOBAL )
222 .DefaultHotkey( MD_CTRL + 'N' )
223 .FriendlyName( _( "New Symbol..." ) )
224 .Tooltip( _( "Create a new symbol in an existing library" ) )
225 .Icon( BITMAPS::new_component ) );
226
228 .Name( "eeschema.SymbolLibraryControl.deriveFromExistingSymbol" )
229 .Scope( AS_GLOBAL )
230 .FriendlyName( _( "Derive from Existing Symbol..." ) )
231 .Tooltip( _( "Create a new symbol, derived from an existing symbol" ) )
232 .Icon( BITMAPS::new_component ) );
233
235 .Name( "eeschema.SymbolLibraryControl.editSymbol" )
236 .Scope( AS_GLOBAL )
237 .FriendlyName( _( "Edit Symbol" ) )
238 .Tooltip( _( "Show selected symbol on editor canvas" ) )
239 .Icon( BITMAPS::edit ) );
240
242 .Name( "eeschema.SymbolLibraryControl.duplicateSymbol" )
243 .Scope( AS_GLOBAL )
244 .FriendlyName( _( "Duplicate Symbol" ) )
245 .Icon( BITMAPS::duplicate ) );
246
248 .Name( "eeschema.SymbolLibraryControl.renameFootprint" )
249 .Scope( AS_GLOBAL )
250 .FriendlyName( _( "Rename Symbol..." ) )
251 .Icon( BITMAPS::edit ) );
252
254 .Name( "eeschema.SymbolLibraryControl.saveSymbolAs" )
255 .Scope( AS_GLOBAL )
256 .FriendlyName( _( "Save As..." ) )
257 .Tooltip( _( "Save the current symbol to a different library or name" ) )
258 .Icon( BITMAPS::save_as ) );
259
261 .Name( "eeschema.SymbolLibraryControl.saveSymbolCopyAs" )
262 .Scope( AS_GLOBAL )
263 .FriendlyName( _( "Save Copy As..." ) )
264 .Tooltip( _( "Save a copy of the current symbol to a different library or name" ) )
265 .Icon( BITMAPS::save_as ) );
266
268 .Name( "eeschema.SymbolLibraryControl.deleteSymbol" )
269 .Scope( AS_GLOBAL )
270 .FriendlyName( _( "Delete Symbol" ) )
271 .Tooltip( _( "Remove the selected symbol from its library" ) )
272 .Icon( BITMAPS::trash ) );
273
275 .Name( "eeschema.SymbolLibraryControl.cutSymbol" )
276 .Scope( AS_GLOBAL )
277 .FriendlyName( _( "Cut" ) )
278 .Icon( BITMAPS::cut ) );
279
281 .Name( "eeschema.SymbolLibraryControl.copySymbol" )
282 .Scope( AS_GLOBAL )
283 .FriendlyName( _( "Copy" ) )
284 .Icon( BITMAPS::copy ) );
285
287 .Name( "eeschema.SymbolLibraryControl.pasteSymbol" )
288 .Scope( AS_GLOBAL )
289 .FriendlyName( _( "Paste Symbol" ) )
290 .Icon( BITMAPS::paste ) );
291
293 .Name("eeschema.SymbolLibraryControl.importSymbol" )
294 .Scope( AS_GLOBAL )
295 .FriendlyName( _( "Import Symbol..." ) )
296 .Tooltip( _( "Import a symbol to the current library" ) )
297 .Icon( BITMAPS::import_part ) );
298
300 .Name( "eeschema.SymbolLibraryControl.exportSymbol" )
301 .Scope( AS_GLOBAL )
302 .FriendlyName( _( "Export..." ) )
303 .Tooltip( _( "Export a symbol to a new library file" ) )
304 .Icon( BITMAPS::export_part ) );
305
307 .Name( "eeschema.SymbolLibraryControl.updateSymbolFields" )
308 .Scope( AS_GLOBAL )
309 .FriendlyName( _( "Update Symbol Fields..." ) )
310 .Tooltip( _( "Update symbol to match changes made in parent symbol" ) )
311 .Icon( BITMAPS::refresh ) );
312
314 .Name( "eeschema.SymbolLibraryControl.flattenSymbol" )
315 .Scope( AS_GLOBAL )
316 .FriendlyName( _( "Flatten Symbol" ) )
317 .Tooltip( _( "Remove inheritance from symbol" ) ) );
318
319// Not DefaultHotkeys because GTK refuses WXK_TAB as a menu accelerator. Ctrl+Tab uses the char hook.
321 .Name( "eeschema.SymbolLibraryControl.nextSymbolTab" )
322 .Scope( AS_GLOBAL )
323 .FriendlyName( _( "Next Symbol Tab" ) )
324 .Tooltip( _( "Switch to the next open symbol tab" ) ) );
325
327 .Name( "eeschema.SymbolLibraryControl.prevSymbolTab" )
328 .Scope( AS_GLOBAL )
329 .FriendlyName( _( "Previous Symbol Tab" ) )
330 .Tooltip( _( "Switch to the previous open symbol tab" ) ) );
331
333 .Name( "eeschema.SymbolLibraryControl.closeSymbolTab" )
334 .Scope( AS_GLOBAL )
335 .FriendlyName( _( "Close Symbol Tab" ) )
336 .Tooltip( _( "Close the active symbol tab" ) ) );
337
339 .Name( "eeschema.SymbolLibraryControl.showLibraryFieldsTable" )
340 .Scope( AS_GLOBAL )
341 .FriendlyName( _( "Bulk Edit Symbol Fields..." ) )
342 .Tooltip( _( "Edit a table of fields from all symbols in the library" ) )
343 .Icon( BITMAPS::table ) );
344
346 .Name( "eeschema.SymbolLibraryControl.showRelatedLibraryFieldsTable" )
347 .Scope( AS_GLOBAL )
348 .FriendlyName( _( "Bulk Edit Related Symbol Fields..." ) )
349 .Tooltip( _( "Edit a table of fields from all symbols related to the selected symbol" ) )
350 .Icon( BITMAPS::table ) );
351
353 .Name( "eeschema.SymbolLibraryControl.addSymbolToSchematic" )
354 .Scope( AS_GLOBAL )
355 .FriendlyName( _( "Add Symbol to Schematic" ) )
356 .Tooltip( _( "Add the current symbol to the schematic" ) )
358
360 .Name( "eeschema.SymbolLibraryControl.showElectricalTypes" )
361 .Scope( AS_GLOBAL )
362 .FriendlyName( _( "Show Pin Electrical Types" ) )
363 .Tooltip( _( "Annotate pins with their electrical types" ) )
364 .ToolbarState( TOOLBAR_STATE::TOGGLE )
365 .Icon( BITMAPS::pin_show_etype ) );
366
368 .Name( "eeschema.SymbolLibraryControl.showPinNumbers" )
369 .Scope( AS_GLOBAL )
370 .FriendlyName( _( "Show Pin Numbers" ) )
371 .Tooltip( _( "Annotate pins with their numbers" ) )
372 .ToolbarState( TOOLBAR_STATE::TOGGLE )
373 .Icon( BITMAPS::pin ) );
374
376 .Name( "eeschema.SymbolLibraryControl.exportSymbolView" )
377 .Scope( AS_GLOBAL )
378 .FriendlyName( _( "Export View as PNG..." ) )
379 .Tooltip( _( "Create PNG file from the current view" ) )
380 .Icon( BITMAPS::export_png ) );
381
383 .Name( "eeschema.SymbolLibraryControl.exportSymbolAsSVG" )
384 .Scope( AS_GLOBAL )
385 .FriendlyName( _( "Export Symbol as SVG..." ) )
386 .Tooltip( _( "Create SVG file from the current symbol" ) )
387 .Icon( BITMAPS::export_svg ) );
388
390 .Name( "eeschema.SymbolLibraryControl.toggleSyncedPinsMode" )
391 .Scope( AS_GLOBAL )
392 .FriendlyName( _( "Synchronized Pins Mode" ) )
393 .Tooltip( _( "Synchronized Pins Mode\n"
394 "When enabled propagates all changes (except pin numbers) to other units.\n"
395 "Enabled by default for multiunit parts with interchangeable units." ) )
396 .ToolbarState( TOOLBAR_STATE::TOGGLE )
397 .Icon( BITMAPS::pin2pin ) );
398
400 .Name( "eeschema.SymbolLibraryControl.showHiddenPins" )
401 .Scope( AS_GLOBAL )
402 .FriendlyName( _( "Show Hidden Pins" ) )
403 .ToolbarState( TOOLBAR_STATE::TOGGLE )
404 .Icon( BITMAPS::hidden_pin ) );
405
407 .Name( "eeschema.SymbolLibraryControl.showHiddenFields" )
408 .Scope( AS_GLOBAL )
409 .FriendlyName( _( "Show Hidden Fields" ) )
410 .ToolbarState( TOOLBAR_STATE::TOGGLE )
411 .Icon( BITMAPS::text_sketch ) );
412
414 .Name( "eeschema.SymbolLibraryControl.previousSymbol" )
415 .Scope( AS_GLOBAL )
416 .FriendlyName( _( "Display previous symbol" ) )
417 .Icon( BITMAPS::lib_previous ) );
418
420 .Name( "eeschema.SymbolLibraryControl.nextSymbol" )
421 .Scope( AS_GLOBAL )
422 .FriendlyName( _( "Display next symbol" ) )
423 .Icon( BITMAPS::lib_next ) );
424
425
426// SYMBOL_EDITOR_DRAWING_TOOLS
427//
429 .Name( "eeschema.SymbolDrawing.placeSymbolPin" )
430 .Scope( AS_GLOBAL )
431 .DefaultHotkey( 'P' )
432 .LegacyHotkeyName( "Create Pin" )
433 .FriendlyName( _( "Draw Pins" ) )
434 .ToolbarState( TOOLBAR_STATE::TOGGLE )
435 .Icon( BITMAPS::pin )
436 .Flags( AF_ACTIVATE )
437 .Parameter( SCH_PIN_T ) );
438
440 .Name( "eeschema.SymbolDrawing.placeSymbolText" )
441 .Scope( AS_GLOBAL )
442 .FriendlyName( _( "Draw Text" ) )
443 .ToolbarState( TOOLBAR_STATE::TOGGLE )
444 .Icon( BITMAPS::text )
445 .Flags( AF_ACTIVATE )
446 .Parameter( SCH_TEXT_T ) );
447
449 .Name( "eeschema.SymbolDrawing.drawSymbolTextBox" )
450 .Scope( AS_GLOBAL )
451 .FriendlyName( _( "Draw Text Boxes" ) )
452 .ToolbarState( TOOLBAR_STATE::TOGGLE )
453 .Icon( BITMAPS::add_textbox )
454 .Flags( AF_ACTIVATE ) );
455
457 .Name( "eeschema.SymbolDrawing.drawSymbolLines" )
458 .Scope( AS_GLOBAL )
459 .FriendlyName( _( "Draw Lines" ) )
460 .Tooltip( _( "Draw connected graphic lines" ) )
461 .ToolbarState( TOOLBAR_STATE::TOGGLE )
463 .Flags( AF_ACTIVATE )
464 .Parameter( SHAPE_T::POLY ) );
465
467 .Name( "eeschema.SymbolDrawing.drawSymbolPolygon" )
468 .Scope( AS_GLOBAL )
469 .FriendlyName( _( "Draw Polygons" ) )
470 .ToolbarState( TOOLBAR_STATE::TOGGLE )
472 .Flags( AF_ACTIVATE )
473 .Parameter( SHAPE_T::POLY ) );
474
476 .Name( "eeschema.SymbolDrawing.placeSymbolAnchor" )
477 .Scope( AS_GLOBAL )
478 .FriendlyName( _( "Move Symbol Anchor" ) )
479 .ToolbarState( TOOLBAR_STATE::TOGGLE )
480 .Icon( BITMAPS::anchor )
481 .Flags( AF_ACTIVATE ) );
482
483// SYMBOL_EDITOR_PIN_TOOL
484//
486 .Name( "eeschema.PinEditing.pushPinLength" )
487 .Scope( AS_GLOBAL )
488 .FriendlyName( _( "Push Pin Length" ) )
489 .Tooltip( _( "Copy pin length to other pins in symbol" ) )
490 .Icon( BITMAPS::pin_size_to ) );
491
493 .Name( "eeschema.PinEditing.pushPinNameSize" )
494 .Scope( AS_GLOBAL )
495 .FriendlyName( _( "Push Pin Name Size" ) )
496 .Tooltip( _( "Copy pin name size to other pins in symbol" ) )
497 .Icon( BITMAPS::pin_size_to ) );
498
500 .Name( "eeschema.PinEditing.pushPinNumSize" )
501 .Scope( AS_GLOBAL )
502 .FriendlyName( _( "Push Pin Number Size" ) )
503 .Tooltip( _( "Copy pin number size to other pins in symbol" ) )
504 .Icon( BITMAPS::pin_size_to ) );
505
506
507// SCH_DRAWING_TOOLS
508//
510 .Name( "eeschema.InteractiveDrawing.placeSymbol" )
511 .Scope( AS_GLOBAL )
512 .DefaultHotkey( 'A' )
513 .LegacyHotkeyName( "Add Symbol" )
514 .FriendlyName( _( "Place Symbols" ) )
515 .ToolbarState( TOOLBAR_STATE::TOGGLE )
517 .Flags( AF_ACTIVATE )
518 .Parameter<SCH_ACTIONS::PLACE_SYMBOL_PARAMS>( {} ) );
519
521 .Name( "eeschema.InteractiveDrawing.placeNextSymbolUnit" )
522 .Scope( AS_GLOBAL )
523 .FriendlyName( _( "Place Next Symbol Unit" ) )
524 .Tooltip( _( "Place the next unit of the current symbol that is missing from the schematic" ) )
525 .Flags( AF_ACTIVATE )
526 // The symbol to use as a reference for the next unit and optionally the unit number
527 .Parameter<SCH_ACTIONS::PLACE_SYMBOL_UNIT_PARAMS>( {} ) );
528
530 .Name( "eeschema.InteractiveDrawing.placePowerSymbol" )
531 .Scope( AS_GLOBAL )
532 .DefaultHotkey( 'P' )
533 .LegacyHotkeyName( "Add Power" )
534 .FriendlyName( _( "Place Power Symbols" ) )
535 .ToolbarState( TOOLBAR_STATE::TOGGLE )
536 .Icon( BITMAPS::add_power )
537 .Flags( AF_ACTIVATE )
538 .Parameter<SCH_ACTIONS::PLACE_SYMBOL_PARAMS>( {} ) );
539
541 .Name( "eeschema.InteractiveDrawing.placeDesignBlock" )
542 .Scope( AS_GLOBAL )
543 .DefaultHotkey( MD_SHIFT + 'B' )
544 .FriendlyName( _( "Place Design Block" ) )
545 .Tooltip( _( "Add selected design block to current sheet" ) )
547 .Flags( AF_ACTIVATE )
548 .Parameter<DESIGN_BLOCK*>( nullptr ) );
549
551 .Name( "eeschema.InteractiveDrawing.placeLinkedDesignBlock" )
552 .Scope( AS_GLOBAL )
553 .FriendlyName( _( "Place Linked Design Block" ) )
554 .Tooltip( _( "Place design block linked to selected group" ) )
556 .Flags( AF_ACTIVATE ) );
557
559 .Name( "eeschema.InteractiveDrawing.saveToLinkedDesignBlock" )
560 .Scope( AS_GLOBAL )
561 .FriendlyName( _( "Save to Linked Design Block" ) )
562 .Tooltip( _( "Save selected group to linked design block" ) )
564 .Flags( AF_ACTIVATE ) );
565
566
568 .Name( "eeschema.InteractiveDrawing.placeNoConnect" )
569 .Scope( AS_GLOBAL )
570 .DefaultHotkey( 'Q' )
571 .LegacyHotkeyName( "Add No Connect Flag" )
572 .FriendlyName( _( "Place/Remove No Connect Flags" ) )
573 .ToolbarState( TOOLBAR_STATE::TOGGLE )
574 .Icon( BITMAPS::noconn )
575 .Flags( AF_ACTIVATE )
576 .Parameter( SCH_NO_CONNECT_T ) );
577
579 .Name( "eeschema.InteractiveDrawing.placeJunction" )
580 .Scope( AS_GLOBAL )
581 .DefaultHotkey( 'J' )
582 .LegacyHotkeyName( "Add Junction" )
583 .FriendlyName( _( "Place Junctions" ) )
584 .ToolbarState( TOOLBAR_STATE::TOGGLE )
585 .Icon( BITMAPS::add_junction )
586 .Flags( AF_ACTIVATE )
587 .Parameter( SCH_JUNCTION_T ) );
588
590 .Name( "eeschema.InteractiveDrawing.placeBusWireEntry" )
591 .Scope( AS_GLOBAL )
592 .DefaultHotkey( 'Z' )
593 .LegacyHotkeyName( "Add Wire Entry" )
594 .FriendlyName( _( "Place Wire to Bus Entries" ) )
595 .ToolbarState( TOOLBAR_STATE::TOGGLE )
596 .Icon( BITMAPS::add_line2bus )
597 .Flags( AF_ACTIVATE )
598 .Parameter( SCH_BUS_WIRE_ENTRY_T ) );
599
601 .Name( "eeschema.InteractiveDrawing.placeLabel" )
602 .Scope( AS_GLOBAL )
603 .DefaultHotkey( 'L' )
604 .LegacyHotkeyName( "Add Label" )
605 .FriendlyName( _( "Place Net Labels" ) )
606 .ToolbarState( TOOLBAR_STATE::TOGGLE )
607 .Icon( BITMAPS::add_label )
608 .Flags( AF_ACTIVATE ) );
609
611 .Name( "eeschema.InteractiveDrawing.placeClassLabel" )
612 .Scope( AS_GLOBAL )
613 .FriendlyName( _( "Place Directive Labels" ) )
614 .ToolbarState( TOOLBAR_STATE::TOGGLE )
616 .Flags( AF_ACTIVATE ) );
617
619 .Name( "eeschema.InteractiveDrawing.placeHierarchicalLabel" )
620 .Scope( AS_GLOBAL )
621 .DefaultHotkey( 'H' )
622 .LegacyHotkeyName( "Add Hierarchical Label" )
623 .FriendlyName( _( "Place Hierarchical Labels" ) )
624 .ToolbarState( TOOLBAR_STATE::TOGGLE )
626 .Flags( AF_ACTIVATE ) );
627
629 .Name( "eeschema.InteractiveDrawing.drawSheet" )
630 .Scope( AS_GLOBAL )
631 .DefaultHotkey( 'S' )
632 .LegacyHotkeyName( "Add Sheet" )
633 .FriendlyName( _( "Draw Hierarchical Sheets" ) )
634 .ToolbarState( TOOLBAR_STATE::TOGGLE )
636 .Flags( AF_ACTIVATE )
637 .Parameter( SCH_SHEET_T ) );
638
640 .Name( "eeschema.InteractiveDrawing.drawSheetFromFile" )
641 .Scope( AS_GLOBAL )
642 .FriendlyName( _( "Draw Sheet from File" ) )
643 .Tooltip( _( "Copy sheet into project and draw on current sheet" ) )
645 .Flags( AF_ACTIVATE )
646 .Parameter<wxString*> ( nullptr ) );
647
649 .Name( "eeschema.InteractiveDrawing.drawSheetFromDesignBlock" )
650 .Scope( AS_GLOBAL )
651 .FriendlyName( _( "Draw Sheet from Design Block" ) )
652 .Tooltip( _( "Copy design block into project as a sheet on current sheet" ) )
654 .Flags( AF_ACTIVATE )
655 .Parameter<DESIGN_BLOCK*> ( nullptr ) );
656
658 .Name( "eeschema.InteractiveDrawing.placeSheetPin" )
659 .Scope( AS_GLOBAL )
660 .FriendlyName( _( "Place Pins from Sheet" ) )
661 .Tooltip( _( "Add sheet pins from existing hierarchical labels found on that sheet" ) )
662 .ToolbarState( TOOLBAR_STATE::TOGGLE )
664 .Flags( AF_ACTIVATE ) );
665
667 .Name( "eeschema.InteractiveDrawing.autoplaceAllSheetPins" )
668 .Scope( AS_GLOBAL )
669 .FriendlyName( _( "Autoplace All Sheet Pins" ) )
670 .Tooltip( _( "Imports and auto places all sheet pins" ) ) );
671
673 .Name( "eeschema.InteractiveDrawing.syncSheetPins" )
674 .Scope( AS_GLOBAL )
675 .FriendlyName( _( "Sync Selected Sheet Pins..." ) )
676 .Tooltip( _( "Synchronize selected sheet pins and hierarchical labels" ) )
678 .Flags( AF_ACTIVATE ) );
679
681 .Name( "eeschema.InteractiveDrawing.syncAllSheetsPins" )
682 .Scope( AS_GLOBAL )
683 .FriendlyName( _( "Sync All Sheet Pins..." ) )
684 .Tooltip( _( "Synchronize all sheet pins and hierarchical labels" ) )
686 .Flags( AF_ACTIVATE ) );
687
689 .Name( "eeschema.InteractiveDrawing.importSheet" )
690 .Scope( AS_GLOBAL )
691 .FriendlyName( _( "Import Sheet..." ) )
692 .Tooltip( _( "Import sheet into project" ) )
694 .Flags( AF_ACTIVATE )
695 .Parameter<wxString*> ( nullptr ) );
696
698 .Name( "eeschema.InteractiveDrawing.placeGlobalLabel" )
699 .Scope( AS_GLOBAL )
700 .DefaultHotkey( MD_CTRL + 'L' )
701 .LegacyHotkeyName( "Add Global Label" )
702 .FriendlyName( _( "Place Global Labels" ) )
703 .ToolbarState( TOOLBAR_STATE::TOGGLE )
704 .Icon( BITMAPS::add_glabel )
705 .Flags( AF_ACTIVATE ) );
706
708 .Name( "eeschema.InteractiveDrawing.placeSchematicText" )
709 .Scope( AS_GLOBAL )
710 .DefaultHotkey( 'T' )
711 .LegacyHotkeyName( "Add Graphic Text" )
712 .FriendlyName( _( "Draw Text" ) )
713 .ToolbarState( TOOLBAR_STATE::TOGGLE )
714 .Icon( BITMAPS::text )
715 .Flags( AF_ACTIVATE ) );
716
718 .Name( "eeschema.InteractiveDrawing.drawTextBox" )
719 .Scope( AS_GLOBAL )
720 .FriendlyName( _( "Draw Text Boxes" ) )
721 .ToolbarState( TOOLBAR_STATE::TOGGLE )
722 .Icon( BITMAPS::add_textbox )
723 .Flags( AF_ACTIVATE )
724 .Parameter( SHAPE_T::RECTANGLE ) );
725
727 .Name( "eeschema.InteractiveDrawing.drawTable" )
728 .Scope( AS_GLOBAL )
729 .FriendlyName( _( "Draw Tables" ) )
730 .ToolbarState( TOOLBAR_STATE::TOGGLE )
731 .Icon( BITMAPS::table )
732 .Flags( AF_ACTIVATE ) );
733
735 .Name( "eeschema.InteractiveDrawing.drawRectangle" )
736 .Scope( AS_GLOBAL )
737 .FriendlyName( _( "Draw Rectangles" ) )
738 .ToolbarState( TOOLBAR_STATE::TOGGLE )
740 .Flags( AF_ACTIVATE )
741 .Parameter( SHAPE_T::RECTANGLE ) );
742
744 .Name( "eeschema.InteractiveDrawing.drawCircle" )
745 .Scope( AS_GLOBAL )
746 .FriendlyName( _( "Draw Circles" ) )
747 .ToolbarState( TOOLBAR_STATE::TOGGLE )
748 .Icon( BITMAPS::add_circle )
749 .Flags( AF_ACTIVATE )
750 .Parameter( SHAPE_T::CIRCLE ) );
751
753 .Name( "eeschema.InteractiveDrawing.drawEllipse" )
754 .Scope( AS_GLOBAL )
755 .FriendlyName( _( "Draw Ellipses" ) )
756 .ToolbarState( TOOLBAR_STATE::TOGGLE )
757 .Icon( BITMAPS::add_ellipse )
758 .Flags( AF_ACTIVATE )
759 .Parameter( SHAPE_T::ELLIPSE ) );
760
762 .Name( "eeschema.InteractiveDrawing.drawEllipseArc" )
763 .Scope( AS_GLOBAL )
764 .FriendlyName( _( "Draw Elliptical Arcs" ) )
765 .ToolbarState( TOOLBAR_STATE::TOGGLE )
767 .Flags( AF_ACTIVATE )
768 .Parameter( SHAPE_T::ELLIPSE_ARC ) );
769
771 .Name( "eeschema.InteractiveDrawing.drawArc" )
772 .Scope( AS_GLOBAL )
773 .FriendlyName( _( "Draw Arcs" ) )
774 .ToolbarState( TOOLBAR_STATE::TOGGLE )
775 .Icon( BITMAPS::add_arc )
776 .Flags( AF_ACTIVATE )
777 .Parameter( SHAPE_T::ARC ) );
778
780 .Name( "eeschema.InteractiveDrawing.drawArcCenter" )
781 .Scope( AS_GLOBAL )
782 .FriendlyName( _( "Draw Arc: Center, Start, End" ) )
783 .Tooltip( _( "Draw arcs by clicking the center, the start point, then the end point" ) )
784 .ToolbarState( TOOLBAR_STATE::TOGGLE )
786 .Flags( AF_ACTIVATE )
787 .Parameter( ARC_DRAW_MODE::CENTER_START_END ) );
788
790 .Name( "eeschema.InteractiveDrawing.drawArcStartEndMid" )
791 .Scope( AS_GLOBAL )
792 .FriendlyName( _( "Draw Arc: Start, End, Midpoint" ) )
793 .Tooltip( _( "Draw arcs by clicking the start point, the end point, then a point on the arc" ) )
794 .ToolbarState( TOOLBAR_STATE::TOGGLE )
796 .Flags( AF_ACTIVATE )
797 .Parameter( ARC_DRAW_MODE::START_END_MID ) );
798
800 .Name( "eeschema.InteractiveDrawing.drawArcStartEndCenter" )
801 .Scope( AS_GLOBAL )
802 .FriendlyName( _( "Draw Arc: Start, End, Center" ) )
803 .Tooltip( _( "Draw arcs by clicking the start point, the end point, then the center" ) )
804 .ToolbarState( TOOLBAR_STATE::TOGGLE )
806 .Flags( AF_ACTIVATE )
807 .Parameter( ARC_DRAW_MODE::START_END_CENTER ) );
808
810 .Name( "eeschema.InteractiveDrawing.drawArcTangent" )
811 .Scope( AS_GLOBAL )
812 .FriendlyName( _( "Draw Arc: Tangent" ) )
813 .Tooltip( _( "Draw arcs tangent to the previous arc or to the line or arc ending at the start point" ) )
814 .ToolbarState( TOOLBAR_STATE::TOGGLE )
816 .Flags( AF_ACTIVATE )
817 .Parameter( ARC_DRAW_MODE::TANGENT ) );
818
820 .Name( "eeschema.InteractiveDrawing.drawArcStartDirEnd" )
821 .Scope( AS_GLOBAL )
822 .FriendlyName( _( "Draw Arc: Start, Direction, End" ) )
823 .Tooltip( _( "Draw arcs by clicking the start point, a point giving the start direction, then the end point" ) )
824 .ToolbarState( TOOLBAR_STATE::TOGGLE )
826 .Flags( AF_ACTIVATE )
827 .Parameter( ARC_DRAW_MODE::START_DIR_END ) );
828
842
843
845 .Name( "eeschema.InteractiveDrawing.drawBezier" )
846 .Scope( AS_GLOBAL )
847 .FriendlyName( _( "Draw Bezier Curve" ) )
848 .ToolbarState( TOOLBAR_STATE::TOGGLE )
849 .Icon( BITMAPS::add_bezier )
850 .Flags( AF_ACTIVATE )
851 .Parameter( SHAPE_T::BEZIER ) );
852
854 .Name( "eeschema.InteractiveDrawing.drawPolygon" )
855 .Scope( AS_GLOBAL )
856 .FriendlyName( _( "Draw Polygons" ) )
857 .ToolbarState( TOOLBAR_STATE::TOGGLE )
859 .Flags( AF_ACTIVATE )
860 .Parameter( SHAPE_T::POLY ) );
861
863 .Name( "eeschema.InteractiveDrawing.placeImage" )
864 .Scope( AS_GLOBAL )
865 .FriendlyName( _( "Place Images" ) )
866 .ToolbarState( TOOLBAR_STATE::TOGGLE )
867 .Icon( BITMAPS::image )
868 .Flags( AF_ACTIVATE )
869 .Parameter<SCH_BITMAP*>( nullptr ) );
870
872 .Name( "eeschema.InteractiveDrawing.convertImageToOutlines" )
873 .Scope( AS_GLOBAL )
874 .FriendlyName( _( "Convert to Outlines..." ) )
875 .Tooltip( _( "Trace the image into schematic graphics" ) )
876 .Icon( BITMAPS::image ) );
877
879 .Name( "eeschema.InteractiveDrawing.drawRuleArea" )
880 .Scope( AS_GLOBAL )
881 .FriendlyName( _( "Draw Rule Areas" ) )
882 .ToolbarState( TOOLBAR_STATE::TOGGLE )
884 .Flags( AF_ACTIVATE )
885 .Parameter( SHAPE_T::RECTANGLE ) );
886
888 .Name( "eeschema.InteractiveDrawing.closeOutline" )
889 .Scope( AS_CONTEXT )
890 .FriendlyName( _( "Close Outline" ) )
891 .Tooltip( _( "Close the in-progress outline" ) )
892 .Icon( BITMAPS::checked_ok ) );
893
894
895// SCH_EDIT_TOOL
896//
898 .Name( "eeschema.InteractiveEdit.repeatDrawItem" )
899 .Scope( AS_GLOBAL )
900#ifdef __WXMAC__
901 .DefaultHotkey( WXK_F1 )
902#else
903 .DefaultHotkey( WXK_INSERT )
904#endif
905 .LegacyHotkeyName( "Repeat Last Item" )
906 .FriendlyName( _( "Repeat Last Item" ) )
907 .Tooltip( _( "Duplicates the last drawn item" ) ) );
908
910 .Name( "eeschema.InteractiveEdit.rotateCW" )
911 .Scope( AS_GLOBAL )
912 .DefaultHotkey( MD_SHIFT + 'R' )
913 .FriendlyName( _( "Rotate Clockwise" ) )
914 .Icon( BITMAPS::rotate_cw ) );
915
917 .Name( "eeschema.InteractiveEdit.rotateCCW" )
918 .Scope( AS_GLOBAL )
919 .DefaultHotkey( 'R' )
920 .LegacyHotkeyName( "Rotate Item" )
921 .FriendlyName( _( "Rotate Counterclockwise" ) )
922 .Icon( BITMAPS::rotate_ccw ) );
923
925 .Name( "eeschema.InteractiveEdit.mirrorV" )
926 .Scope( AS_GLOBAL )
927 .DefaultHotkey( 'Y' )
928 .LegacyHotkeyName( "Mirror X" ) // Yes, these were backwards prior to 6.0....
929 .FriendlyName( _( "Mirror Vertically" ) )
930 .Tooltip( _( "Flips selected item(s) from top to bottom" ) )
931 .Icon( BITMAPS::mirror_v ) );
932
934 .Name( "eeschema.InteractiveEdit.mirrorH" )
935 .Scope( AS_GLOBAL )
936 .DefaultHotkey( 'X' )
937 .LegacyHotkeyName( "Mirror Y" ) // Yes, these were backwards prior to 6.0....
938 .FriendlyName( _( "Mirror Horizontally" ) )
939 .Tooltip( _( "Flips selected item(s) from left to right" ) )
940 .Icon( BITMAPS::mirror_h ) );
941
943 .Name( "eeschema.InteractiveEdit.swap" )
944 .Scope( AS_GLOBAL )
945 .DefaultHotkey( MD_ALT + 'S' )
946 .FriendlyName( _( "Swap" ) )
947 .Tooltip( _( "Swap positions of selected items" ) )
948 .Icon( BITMAPS::swap ) );
949
950// Separate action so "real" pin swaps are not conflated with the generic position swap.
952 .Name( "eeschema.InteractiveEdit.swapPins" )
953 .Scope( AS_GLOBAL )
954 .FriendlyName( _( "Swap Pins" ) )
955 .Tooltip( _( "Swap the selected symbol pins' positions" ) )
956 .Icon( BITMAPS::swap ) );
957
959 .Name( "eeschema.InteractiveEdit.swapPinLabels" )
960 .Scope( AS_GLOBAL )
961 .FriendlyName( _( "Swap Pin Labels" ) )
962 .Tooltip( _( "Swap the labels attached to selected pins" ) )
963 .Icon( BITMAPS::swap ) );
964
966 .Name( "eeschema.InteractiveEdit.swapUnitLabels" )
967 .Scope( AS_GLOBAL )
968 .FriendlyName( _( "Swap Unit Labels" ) )
969 .Tooltip( _( "Swap labels between selected units" ) )
970 .Icon( BITMAPS::swap ) );
971
973 .Name( "eeschema.InteractiveEdit.toggleLock" )
974 .Scope( AS_GLOBAL )
975 .FriendlyName( _( "Toggle Lock" ) )
976 .Tooltip( _( "Lock or unlock selected items" ) )
977 .Icon( BITMAPS::lock_unlock ) );
978
980 .Name( "eeschema.InteractiveEdit.lock" )
981 .Scope( AS_GLOBAL )
982 .FriendlyName( _( "Lock" ) )
983 .Tooltip( _( "Prevent items from being moved and/or resized on the canvas" ) )
984 .Icon( BITMAPS::locked ) );
985
987 .Name( "eeschema.InteractiveEdit.unlock" )
988 .Scope( AS_GLOBAL )
989 .FriendlyName( _( "Unlock" ) )
990 .Tooltip( _( "Allow items to be moved and/or resized on the canvas" ) )
991 .Icon( BITMAPS::unlocked ) );
992
994 .Name( "eeschema.InteractiveEdit.properties" )
995 .Scope( AS_GLOBAL )
996 .DefaultHotkey( 'E' )
997 .LegacyHotkeyName( "Edit Item" )
998 .FriendlyName( _( "Properties..." ) )
999 .Icon( BITMAPS::edit ) );
1000
1002 .Name( "eeschema.InteractiveEdit.editReference" )
1003 .Scope( AS_GLOBAL )
1004 .DefaultHotkey( 'U' )
1005 .LegacyHotkeyName( "Edit Symbol Reference" )
1006 .FriendlyName( _( "Edit Reference Designator..." ) )
1007 .Icon( BITMAPS::edit_comp_ref ) );
1008
1010 .Name( "eeschema.InteractiveEdit.editValue" )
1011 .Scope( AS_GLOBAL )
1012 .DefaultHotkey( 'V' )
1013 .LegacyHotkeyName( "Edit Symbol Value" )
1014 .FriendlyName( _( "Edit Value..." ) )
1015 .Icon( BITMAPS::edit_comp_value ) );
1016
1018 .Name( "eeschema.InteractiveEdit.editFootprint" )
1019 .Scope( AS_GLOBAL )
1020 .DefaultHotkey( 'F' )
1021 .LegacyHotkeyName( "Edit Symbol Footprint" )
1022 .FriendlyName( _( "Edit Footprint..." ) )
1024
1026 .Name( "eeschema.InteractiveEdit.autoplaceFields" )
1027 .Scope( AS_GLOBAL )
1028 .DefaultHotkey( 'O' )
1029 .LegacyHotkeyName( "Autoplace Fields" )
1030 .FriendlyName( _( "Autoplace Fields" ) )
1031 .Tooltip( _( "Runs the automatic placement algorithm on the symbol's (or sheet's) fields" ) )
1032 .Icon( BITMAPS::autoplace_fields ) );
1033
1035 .Name( "eeschema.InteractiveEdit.changeSymbols" )
1036 .Scope( AS_GLOBAL )
1037 .FriendlyName( _( "Change Symbols..." ) )
1038 .Tooltip( _( "Assign different symbols from the library" ) )
1039 .Icon( BITMAPS::exchange ) );
1040
1042 .Name( "eeschema.InteractiveEdit.updateSymbols" )
1043 .Scope( AS_GLOBAL )
1044 .FriendlyName( _( "Update Symbols from Library..." ) )
1045 .Tooltip( _( "Update symbols to include any changes from the library" ) )
1046 .Icon( BITMAPS::refresh ) );
1047
1049 .Name( "eeschema.InteractiveEdit.changeSymbol" )
1050 .Scope( AS_GLOBAL )
1051 .FriendlyName( _( "Change Symbol..." ) )
1052 .Tooltip( _( "Assign a different symbol from the library" ) )
1053 .Icon( BITMAPS::exchange ) );
1054
1056 .Name( "eeschema.InteractiveEdit.updateSymbol" )
1057 .Scope( AS_GLOBAL )
1058 .FriendlyName( _( "Update Symbol..." ) )
1059 .Tooltip( _( "Update symbol to include any changes from the library" ) )
1060 .Icon( BITMAPS::refresh ) );
1061
1063 .Name( "eeschema.InteractiveEdit.setVariantSymbol" )
1064 .Scope( AS_GLOBAL )
1065 .FriendlyName( _( "Set Variant Symbol..." ) )
1066 .Tooltip( _( "Assign an alternate library symbol for this design variant" ) )
1067 .Icon( BITMAPS::exchange ) );
1068
1070 .Name( "eeschema.InteractiveEdit.clearVariantSymbol" )
1071 .Scope( AS_GLOBAL )
1072 .FriendlyName( _( "Clear Variant Symbol" ) )
1073 .Tooltip( _( "Remove the variant symbol override and revert to the base symbol" ) )
1074 .Icon( BITMAPS::cancel ) );
1075
1077 .Name( "eeschema.InteractiveEdit.assignNetclass" )
1078 .Scope( AS_GLOBAL )
1079 .FriendlyName( _( "Assign Netclass..." ) )
1080 .Tooltip( _( "Assign a netclass to nets matching a pattern" ) )
1081 .Icon( BITMAPS::netlist ) );
1082
1084 .Name( "eeschema.InteractiveEdit.findNetInInspector" )
1085 .Scope( AS_GLOBAL )
1086 .FriendlyName( _( "Find in Net Navigator" ) )
1087 .Tooltip( _( "Locate the selected net in the net navigator" ) ) );
1088
1090 .Name( "eeschema.InteractiveEdit.toggleDeMorgan" )
1091 .Scope( AS_GLOBAL )
1092 .FriendlyName( _( "Cycle Body Style" ) )
1093 .Tooltip( _( "Switch between De Morgan (or other) representations" ) )
1094 .Icon( BITMAPS::morgan2 ) );
1095
1097 .Name( "eeschema.InteractiveEdit.toLabel" )
1098 .Scope( AS_GLOBAL )
1099 .FriendlyName( _( "Change to Label" ) )
1100 .Tooltip( _( "Change existing item to a label" ) )
1102 .Flags( AF_NONE )
1103 .Parameter( SCH_LABEL_T ) );
1104
1106 .Name( "eeschema.InteractiveEdit.toCLabel" ) // Old name based on netClass label.
1107 // There's no sense losing hotkey assignments, so we
1108 // leave it as-is)
1109 .Scope( AS_GLOBAL )
1110 .FriendlyName( _( "Change to Directive Label" ) )
1111 .Tooltip( _( "Change existing item to a directive label" ) )
1113 .Flags( AF_NONE )
1114 .Parameter( SCH_DIRECTIVE_LABEL_T ) );
1115
1117 .Name( "eeschema.InteractiveEdit.toHLabel" )
1118 .Scope( AS_GLOBAL )
1119 .FriendlyName( _( "Change to Hierarchical Label" ) )
1120 .Tooltip( _( "Change existing item to a hierarchical label" ) )
1122 .Flags( AF_NONE )
1123 .Parameter( SCH_HIER_LABEL_T ) );
1124
1126 .Name( "eeschema.InteractiveEdit.toGLabel" )
1127 .Scope( AS_GLOBAL )
1128 .FriendlyName( _( "Change to Global Label" ) )
1129 .Tooltip( _( "Change existing item to a global label" ) )
1130 .Icon( BITMAPS::add_glabel )
1131 .Flags( AF_NONE )
1132 .Parameter( SCH_GLOBAL_LABEL_T ) );
1133
1135 .Name( "eeschema.InteractiveEdit.toText" )
1136 .Scope( AS_GLOBAL )
1137 .FriendlyName( _( "Change to Text" ) )
1138 .Tooltip( _( "Change existing item to a text comment" ) )
1139 .Icon( BITMAPS::text )
1140 .Flags( AF_NONE )
1141 .Parameter( SCH_TEXT_T ) );
1142
1144 .Name( "eeschema.InteractiveEdit.toTextBox" )
1145 .Scope( AS_GLOBAL )
1146 .FriendlyName( _( "Change to Text Box" ) )
1147 .Tooltip( _( "Change existing item to a text box" ) )
1148 .Icon( BITMAPS::add_textbox )
1149 .Flags( AF_NONE )
1150 .Parameter( SCH_TEXTBOX_T ) );
1151
1153 .Name( "eeschema.InteractiveEdit.cleanupSheetPins" )
1154 .Scope( AS_GLOBAL )
1155 .FriendlyName( _( "Cleanup Sheet Pins" ) )
1156 .Tooltip( _( "Delete unreferenced sheet pins" ) ) );
1157
1159 .Name( "eeschema.InteractiveEdit.editTextAndGraphics" )
1160 .Scope( AS_GLOBAL )
1161 .FriendlyName( _( "Edit Text & Graphics Properties..." ) )
1162 .Tooltip( _( "Edit text and graphics properties globally across schematic" ) )
1163 .Icon( BITMAPS::text ) );
1164
1166 .Name( "eeschema.InteractiveEdit.symbolProperties" )
1167 .Scope( AS_GLOBAL )
1168 .FriendlyName( _( "Symbol Properties..." ) )
1169 .Icon( BITMAPS::part_properties ) );
1170
1172 .Name( "eeschema.InteractiveEdit.editSymbolPinMaps" )
1173 .Scope( AS_GLOBAL )
1174 .FriendlyName( _( "Symbol Pin Maps..." ) )
1175 .Tooltip( _( "Edit the symbol's pin-to-pad maps and associated footprints" ) )
1176 .Icon( BITMAPS::pin_table ) );
1177
1179 .Name( "eeschema.InteractiveEdit.pinTable" )
1180 .Scope( AS_GLOBAL )
1181 .FriendlyName( _( "Pin Table..." ) )
1182 .Tooltip( _( "Displays pin table for bulk editing of pins" ) )
1183 .Icon( BITMAPS::pin_table ) );
1184
1186 .Name( "eeschema.InteractiveEdit.convertStackedPins" )
1187 .Scope( AS_GLOBAL )
1188 .FriendlyName( _( "Convert Stacked Pins" ) )
1189 .Tooltip( _( "Convert multiple pins at the same location to a single pin with stacked notation" ) )
1190 .Icon( BITMAPS::pin ) );
1191
1193 .Name( "eeschema.InteractiveEdit.explodeStackedPin" )
1194 .Scope( AS_GLOBAL )
1195 .FriendlyName( _( "Explode Stacked Pin" ) )
1196 .Tooltip( _( "Convert a pin with stacked notation to multiple individual pins" ) )
1197 .Icon( BITMAPS::pin ) );
1198
1200 .Name( "eeschema.InteractiveEdit.breakWire" )
1201 .Scope( AS_GLOBAL )
1202 .FriendlyName( _( "Break" ) )
1203 .Tooltip( _( "Divide into connected segments" ) )
1204 .Icon( BITMAPS::break_line ) );
1205
1207 .Name( "eeschema.InteractiveEdit.slice" )
1208 .Scope( AS_GLOBAL )
1209 .FriendlyName( _( "Slice" ) )
1210 .Tooltip( _( "Divide into unconnected segments" ) )
1211 .Icon( BITMAPS::slice_line ) );
1212
1213// SCH_EDITOR_CONTROL
1214//
1216 .Name( "eeschema.EditorControl.restartMove" )
1217 .Scope( AS_GLOBAL ) );
1218
1220 .Name( "eeschema.EditorControl.highlightNet" )
1221 .Scope( AS_GLOBAL )
1222 .DefaultHotkey( '`' )
1223 .FriendlyName( _( "Highlight Net" ) )
1224 .Tooltip( _( "Highlight net under cursor" ) )
1226
1228 .Name( "eeschema.EditorControl.clearHighlight" )
1229 .Scope( AS_GLOBAL )
1230 .DefaultHotkey( '~' )
1231 .FriendlyName( _( "Clear Net Highlighting" ) )
1232 .Tooltip( _( "Clear any existing net highlighting" ) ) );
1233
1235 .Name( "eeschema.EditorControl.updateNetHighlighting" )
1236 .Scope( AS_GLOBAL ) );
1237
1239 .Name( "eeschema.EditorControl.highlightNetTool" )
1240 .Scope( AS_GLOBAL )
1241 .FriendlyName( _( "Highlight Nets" ) )
1242 .Tooltip( _( "Highlight wires and pins of a net" ) )
1243 .ToolbarState( TOOLBAR_STATE::TOGGLE )
1245 .Flags( AF_ACTIVATE ) );
1246
1248 .Name( "eeschema.EditorControl.highlightNetChain" )
1249 .Scope( AS_GLOBAL )
1250 .FriendlyName( _( "Highlight Net Chain" ) )
1251 .Tooltip( _( "Highlight the net chain under the cursor" ) )
1253
1255 .Name( "eeschema.EditorControl.removeFromNetChain" )
1256 .Scope( AS_GLOBAL )
1257 .FriendlyName( _( "Remove from Net Chain" ) )
1258 .Tooltip( _( "Remove the selected net from its net chain by disabling propagation on the bridging component(s)" ) ) );
1259
1261 .Name( "eeschema.EditorControl.replaceTerminalPin" )
1262 .Scope( AS_GLOBAL )
1263 .FriendlyName( _( "Replace Terminal Pin" ) ) );
1264
1266 .Name( "eeschema.EditorControl.nameNetChain" )
1267 .Scope( AS_GLOBAL )
1268 .FriendlyName( _( "Name Net Chain" ) )
1269 .Tooltip( _( "Assign a name to the net chain" ) ) );
1270
1272 .Name( "eeschema.EditorControl.createNetChainBetweenPins" )
1273 .Scope( AS_GLOBAL )
1274 .FriendlyName( _( "Create Net Chain Between Pins" ) )
1275 .Tooltip( _( "Create a new net chain connecting the two selected pins" ) ) );
1276
1278 .Name( "eeschema.EditorControl.createNetChain" )
1279 .Scope( AS_GLOBAL )
1280 .FriendlyName( _( "Create Net Chain..." ) )
1281 .Tooltip( _( "Detect net chain paths through passives and create a named net chain" ) ) );
1282
1284 .Name( "eeschema.EditorControl.showNetNavigator" )
1285 .Scope( AS_GLOBAL )
1286 .FriendlyName( _( "Net Navigator" ) )
1287 .Tooltip( _( "Show/hide the net navigator" ) ) );
1288
1290 .Name( "eeschema.EditorControl.editWithSymbolEditor" )
1291 .Scope( AS_GLOBAL )
1292 .DefaultHotkey( MD_CTRL + 'E' )
1293 .LegacyHotkeyName( "Edit with Symbol Editor" )
1294 .FriendlyName( _( "Edit with Symbol Editor" ) )
1295 .Tooltip( _( "Open the selected symbol in the Symbol Editor" ) )
1296 .Icon( BITMAPS::libedit ) );
1297
1299 .Name( "eeschema.EditorControl.setExcludeFromBOM" )
1300 .Scope( AS_GLOBAL )
1301 .FriendlyName( _( "Exclude from Bill of Materials" ) )
1302 .Tooltip( _( "Set the exclude from bill of materials attribute" ) ) );
1303
1305 .Name( "eeschema.EditorControl.setExcludeFromSimulation" )
1306 .Scope( AS_GLOBAL )
1307 .FriendlyName( _( "Exclude from Simulation" ) )
1308 .Tooltip( _( "Set the exclude from simulation attribute" ) ) );
1309
1311 .Name( "eeschema.EditorControl.setExcludeFromBoard" )
1312 .Scope( AS_GLOBAL )
1313 .FriendlyName( _( "Exclude from Board" ) )
1314 .Tooltip( _( "Set the exclude from board attribute" ) ) );
1315
1317 .Name( "eeschema.EditorControl.setExcludeFromPosFiles" )
1318 .Scope( AS_GLOBAL )
1319 .FriendlyName( _( "Exclude from Position Files" ) )
1320 .Tooltip( _( "Set the exclude from position files attribute" ) ) );
1321
1323 .Name( "eeschema.EditorControl.setDNP" )
1324 .Scope( AS_GLOBAL )
1325 .FriendlyName( _( "Do not Populate" ) )
1326 .Tooltip( _( "Set the do not populate attribute" ) ) );
1327
1329 .Name( "eeschema.EditorControl.editLibSymbolWithSymbolEditor" )
1330 .Scope( AS_GLOBAL )
1331 .DefaultHotkey( MD_CTRL + MD_SHIFT + 'E' )
1332 .FriendlyName( _( "Edit Library Symbol..." ) )
1333 .Tooltip( _( "Open the library symbol in the Symbol Editor" ) )
1334 .Icon( BITMAPS::libedit ) );
1335
1337 .Name( "eeschema.EditorControl.editSymbolFields" )
1338 .Scope( AS_GLOBAL )
1339 .FriendlyName( _( "Bulk Edit Symbol Fields..." ) )
1340 .Tooltip( _( "Edit a table of fields from all symbols in the schematic" ) )
1341 .Icon( BITMAPS::spreadsheet ) );
1342
1344 .Name( "eeschema.EditorControl.editSymbolLibraryLinks" )
1345 .Scope( AS_GLOBAL )
1346 .FriendlyName( _( "Bulk Edit Symbol Library Links..." ) )
1347 .Tooltip( _( "Edit a table of links between schematic and library symbols" ) )
1348 .Icon( BITMAPS::link ) );
1349
1351 .Name( "eeschema.EditorControl.assignFootprints" )
1352 .Scope( AS_GLOBAL )
1353 .FriendlyName( _( "Assign Footprints..." ) )
1354 .Tooltip( _( "Run footprint assignment tool" ) )
1355 .Icon( BITMAPS::icon_cvpcb_24 ) );
1356
1358 .Name( "eeschema.EditorControl.importFPAssignments" )
1359 .Scope( AS_GLOBAL )
1360 .FriendlyName( _( "Import Footprint Assignments..." ) )
1361 .Tooltip( _( "Import symbol footprint assignments from .cmp file created by board editor" ) )
1363
1365 .Name( "eeschema.EditorControl.annotate" )
1366 .Scope( AS_GLOBAL )
1367 .FriendlyName( _( "Annotate Schematic..." ) )
1368 .Tooltip( _( "Fill in schematic symbol reference designators" ) )
1369 .Icon( BITMAPS::annotate ) );
1370
1372 .Name( "eeschema.EditorControl.incrementAnnotations" )
1373 .Scope( AS_GLOBAL )
1374 .FriendlyName( _( "Increment Annotations From..." ) )
1375 .Tooltip( _( "Increment a subset of reference designators starting at a particular symbol" ) )
1377 );
1378
1380 .Name( "eeschema.EditorControl.schematicSetup" )
1381 .Scope( AS_GLOBAL )
1382 .FriendlyName( _( "Schematic Setup..." ) )
1383 .Tooltip( _( "Edit schematic setup including annotation styles and electrical rules" ) )
1384 .Icon( BITMAPS::options_schematic ) );
1385
1387 .Name( "eeschema.EditorControl.editPageNumber" )
1388 .Scope( AS_GLOBAL )
1389 .FriendlyName( _( "Edit Sheet Page Number..." ) )
1390 .Tooltip( _( "Edit the page number of the current or selected sheet" ) ) );
1391
1393 .Name( "eeschema.EditorControl.rescueSymbols" )
1394 .Scope( AS_GLOBAL )
1395 .FriendlyName( _( "Rescue Symbols..." ) )
1396 .Tooltip( _( "Find old symbols in project and rename/rescue them" ) )
1397 .Icon( BITMAPS::rescue ) );
1398
1400 .Name( "eeschema.EditorControl.remapSymbols" )
1401 .Scope( AS_GLOBAL )
1402 .FriendlyName( _( "Remap Legacy Library Symbols..." ) )
1403 .Tooltip( _( "Remap library symbol references in legacy schematics to the symbol library table" ) )
1404 .Icon( BITMAPS::rescue ) );
1405
1407 .Name( "eeschema.EditorControl.nextNetItem" )
1408 .Scope( AS_GLOBAL )
1409 .DefaultHotkey( WXK_TAB )
1410 .FriendlyName( _( "Next Net Item" ) )
1411 .Tooltip( _( "Select next item on the current net" ) ) );
1412
1414 .Name( "eeschema.EditorControl.previousNetItem" )
1415 .Scope( AS_GLOBAL )
1416 .DefaultHotkey( MD_SHIFT + static_cast<int>( WXK_TAB ) )
1417 .FriendlyName( _( "Previous Net Item" ) )
1418 .Tooltip( _( "Select previous item on the current net" ) ) );
1419
1421 .Name( "eeschema.EditorControl.drawSheetOnClipboard" )
1422 .Scope( AS_GLOBAL )
1423 .FriendlyName( _( "Export Drawing to Clipboard" ) )
1424 .Tooltip( _( "Export drawing of current sheet to clipboard" ) )
1425 .Icon( BITMAPS::copy ) );
1426
1428 .Name( "eeschema.EditorControl.importGraphics" )
1429 .Scope( AS_GLOBAL )
1430 .DefaultHotkey( MD_CTRL + MD_SHIFT + 'F' )
1431 .LegacyHotkeyName( "Place DXF" )
1432 .FriendlyName( _( "Import Graphics..." ) )
1433 .Tooltip( _( "Import 2D drawing file" ) )
1434 .Icon( BITMAPS::import_vector )
1435 .Flags( AF_ACTIVATE ) );
1436
1438 .Name( "eeschema.EditorControl.importNonKicadSchematic" )
1439 .Scope( AS_GLOBAL )
1440 .FriendlyName( _( "Import Non-KiCad Schematic..." ) )
1441 .Tooltip( _( "Replace current schematic sheet with one imported from another application" ) )
1442 .Icon( BITMAPS::import_document ) );
1443
1445 .Name( "eeschema.EditorControl.showPcbNew" )
1446 .Scope( AS_GLOBAL )
1447 .FriendlyName( _( "Switch to PCB Editor" ) )
1448 .Tooltip( _( "Open PCB in board editor" ) )
1449 .Icon( BITMAPS::icon_pcbnew_24 ) );
1450
1452 .Name( "eeschema.EditorControl.exportNetlist" )
1453 .Scope( AS_GLOBAL )
1454 .FriendlyName( _( "Export Netlist..." ) )
1455 .Tooltip( _( "Export file containing netlist in one of several formats" ) )
1456 .Icon( BITMAPS::netlist ) );
1457
1459 .Name( "eeschema.EditorControl.generateBOM" )
1460 .Scope( AS_GLOBAL )
1461 .FriendlyName( _( "Generate Bill of Materials..." ) )
1462 .Tooltip( _( "Generate a bill of materials for the current schematic" ) )
1463 .Icon( BITMAPS::post_bom ) );
1464
1466 .Name( "eeschema.EditorControl.generateBOMLegacy" )
1467 .Scope( AS_GLOBAL )
1468 .FriendlyName( _( "Generate Legacy Bill of Materials..." ) )
1469 .Tooltip( _( "Generate a bill of materials for the current schematic (Legacy Generator)" ) )
1470 .Icon( BITMAPS::file_bom )
1471 );
1472
1474 .Name( "eeschema.EditorControl.generateBOMExternal" )
1475 .Scope( AS_GLOBAL )
1476 .FriendlyName( _( "Generate Bill of Materials (External)..." ) )
1477 .Tooltip( _( "Generate a bill of materials for the current schematic using external generator" ) )
1478 );
1479
1481 .Name( "eeschema.EditorControl.exportSymbolsToLibrary" )
1482 .Scope( AS_GLOBAL )
1483 .FriendlyName( _( "Export Symbols..." ) )
1484 .Tooltip( _( "Add symbols from schematic to a new or an existing symbol library\n"
1485 "(does not remove other symbols from this library)" ) )
1486 .Icon( BITMAPS::library_archive ) );
1487
1489 .Name( "eeschema.EditorControl.selectOnPCB" )
1490 .Scope( AS_GLOBAL )
1491 .FriendlyName( _( "Select on PCB" ) )
1492 .Tooltip( _( "Select corresponding items in PCB editor" ) )
1493 .Icon( BITMAPS::select_same_sheet ) );
1494
1496 .Name( "eeschema.EditorControl.showHiddenPins" )
1497 .Scope( AS_GLOBAL )
1498 .FriendlyName( _( "Show Hidden Pins" ) )
1499 .ToolbarState( TOOLBAR_STATE::TOGGLE )
1500 .Icon( BITMAPS::hidden_pin ) );
1501
1503 .Name( "eeschema.EditorControl.showHiddenFields" )
1504 .Scope( AS_GLOBAL )
1505 .FriendlyName( _( "Show Hidden Fields" ) )
1506 .ToolbarState( TOOLBAR_STATE::TOGGLE ) );
1507
1509 .Name( "eeschema.EditorControl.showDirectiveLabels" )
1510 .Scope( AS_GLOBAL )
1511 .FriendlyName( _( "Show Directive Labels" ) )
1512 .ToolbarState( TOOLBAR_STATE::TOGGLE ) );
1513
1515 .Name( "eeschema.EditorControl.showERCWarnings" )
1516 .Scope( AS_GLOBAL )
1517 .FriendlyName( _( "Show ERC Warnings" ) )
1518 .Tooltip( _( "Show markers for electrical rules checker warnings" ) )
1519 .ToolbarState( TOOLBAR_STATE::TOGGLE ) );
1520
1522 .Name( "eeschema.EditorControl.showERCErrors" )
1523 .Scope( AS_GLOBAL )
1524 .FriendlyName( _( "Show ERC Errors" ) )
1525 .Tooltip( _( "Show markers for electrical rules checker errors" ) )
1526 .ToolbarState( TOOLBAR_STATE::TOGGLE ) );
1527
1529 .Name( "eeschema.EditorControl.showERCExclusions" )
1530 .Scope( AS_GLOBAL )
1531 .FriendlyName( _( "Show ERC Exclusions" ) )
1532 .Tooltip( _( "Show markers for excluded electrical rules checker violations" ) )
1533 .ToolbarState( TOOLBAR_STATE::TOGGLE ) );
1534
1536 .Name( "eeschema.EditorControl.markSimExclusions" )
1537 .Scope( AS_GLOBAL )
1538 .FriendlyName( _( "Mark items excluded from simulation" ) )
1539 .Tooltip( _( "Draw 'X's over items which have been excluded from simulation" ) )
1540 .ToolbarState( TOOLBAR_STATE::TOGGLE ) );
1541
1543 .Name( "eeschema.EditorControl.showOperatingPointVoltages" )
1544 .Scope( AS_GLOBAL )
1545 .FriendlyName( _( "Show OP Voltages" ) )
1546 .Tooltip( _( "Show operating point voltage data from simulation" ) )
1547 .ToolbarState( TOOLBAR_STATE::TOGGLE ));
1548
1550 .Name( "eeschema.EditorControl.showOperatingPointCurrents" )
1551 .Scope( AS_GLOBAL )
1552 .FriendlyName( _( "Show OP Currents" ) )
1553 .Tooltip( _( "Show operating point current data from simulation" ) )
1554 .ToolbarState( TOOLBAR_STATE::TOGGLE ) );
1555
1557 .Name( "eeschema.EditorControl.togglePinAltIcons" )
1558 .Scope( AS_GLOBAL )
1559 .FriendlyName( _( "Show Pin Alternate Icons" ) )
1560 .Tooltip( _( "Show indicator icons for pins with alternate modes" ) )
1561 .ToolbarState( TOOLBAR_STATE::TOGGLE ) );
1562
1564 .Name( "eeschema.EditorControl.lineModeFree" )
1565 .Scope( AS_GLOBAL )
1566 .FriendlyName( _( "Line Mode for Wires and Buses" ) )
1567 .Tooltip( _( "Draw and drag at any angle" ) )
1568 .Icon( BITMAPS::lines_any )
1569 .Flags( AF_NONE )
1570 .Parameter( LINE_MODE::LINE_MODE_FREE ) );
1571
1573 .Name( "eeschema.EditorControl.lineModeOrthonal" )
1574 .Scope( AS_GLOBAL )
1575 .FriendlyName( _( "Line Mode for Wires and Buses" ) )
1576 .Tooltip( _( "Constrain drawing and dragging to horizontal or vertical motions" ) )
1577 .Icon( BITMAPS::lines90 )
1578 .Flags( AF_NONE )
1579 .Parameter( LINE_MODE::LINE_MODE_90) );
1580
1582 .Name( "eeschema.EditorControl.lineMode45" )
1583 .Scope( AS_GLOBAL )
1584 .FriendlyName( _( "Line Mode for Wires and Buses" ) )
1585 .Tooltip( _( "Constrain drawing and dragging to horizontal, vertical, or 45-degree angle motions" ) )
1586 .Icon( BITMAPS::hv45mode )
1587 .Flags( AF_NONE )
1588 .Parameter( LINE_MODE::LINE_MODE_45 ) );
1589
1591 .Name( "eeschema.EditorControl.lineModeNext" )
1592 .Scope( AS_GLOBAL )
1593 .DefaultHotkey( MD_SHIFT + static_cast<int>( WXK_SPACE ) )
1594 .FriendlyName( _( "Line Mode for Wires and Buses" ) )
1595 .Tooltip( _( "Switch to next angle snapping mode" ) ) );
1596
1598 .Name( "eeschema.EditorControl.angleSnapModeChanged" )
1599 .Scope( AS_GLOBAL )
1600 .Flags( AF_NOTIFY ) );
1601
1603 .Name( "eeschema.EditorControl.annotateAutomatically" )
1604 .Scope( AS_GLOBAL )
1605 .FriendlyName( _( "Annotate Automatically" ) )
1606 .Tooltip( _( "Toggle automatic annotation of new symbols" ) )
1607 .ToolbarState( TOOLBAR_STATE::TOGGLE )
1608 .Icon( BITMAPS::annotate ) );
1609
1611 .Name( "eeschema.EditorControl.previousUnit" )
1612 .Scope( AS_GLOBAL )
1613 .FriendlyName( _( "Previous Symbol Unit" ) )
1614 .Tooltip( _( "Open the previous unit of the symbol" ) )
1615 .Parameter<int>( -1 ) );
1616
1618 .Name( "eeschema.EditorControl.nextUnit" )
1619 .Scope( AS_GLOBAL )
1620 .FriendlyName( _( "Next Symbol Unit" ) )
1621 .Tooltip( _( "Open the next unit of the symbol" ) )
1622 .Parameter<int>( 1 ) );
1623
1624// SCH_NAVIGATE_TOOL
1625//
1627 .Name( "eeschema.NavigateTool.changeSheet" )
1628 .Scope( AS_CONTEXT )
1629 .FriendlyName( _( "Change Sheet" ) )
1630 .Tooltip( _( "Change to provided sheet's contents in the schematic editor" ) )
1631 .Icon( BITMAPS::enter_sheet ) );
1632
1634 .Name( "eeschema.NavigateTool.enterSheet" )
1635 .Scope( AS_GLOBAL )
1636 .FriendlyName( _( "Enter Sheet" ) )
1637 .Tooltip( _( "Display the selected sheet's contents in the schematic editor" ) )
1638 .Icon( BITMAPS::enter_sheet ) );
1639
1641 .Name( "eeschema.NavigateTool.leaveSheet" )
1642 .Scope( AS_GLOBAL )
1643 .DefaultHotkey( MD_ALT + static_cast<int>( WXK_BACK ) )
1644 .LegacyHotkeyName( "Leave Sheet" )
1645 .FriendlyName( _( "Leave Sheet" ) )
1646 .Tooltip( _( "Display the parent sheet in the schematic editor" ) )
1647 .Icon( BITMAPS::leave_sheet ) );
1648
1650 .Name( "eeschema.NavigateTool.up" )
1651 .Scope( AS_GLOBAL )
1652 .DefaultHotkey( MD_ALT + static_cast<int>( WXK_UP ) )
1653 .FriendlyName( _( "Navigate Up" ) )
1654 .Tooltip( _( "Navigate up one sheet in the hierarchy" ) )
1655 .Icon( BITMAPS::up ) );
1656
1658 .Name( "eeschema.NavigateTool.back" )
1659 .Scope( AS_GLOBAL )
1660 .DefaultHotkey( MD_ALT + static_cast<int>( WXK_LEFT ) )
1661 .FriendlyName( _( "Navigate Back" ) )
1662 .Tooltip( _( "Move backward in sheet navigation history" ) )
1663 .Icon( BITMAPS::left ) );
1664
1666 .Name( "eeschema.NavigateTool.forward" )
1667 .Scope( AS_GLOBAL )
1668 .DefaultHotkey( MD_ALT + static_cast<int>( WXK_RIGHT ) )
1669 .FriendlyName( _( "Navigate Forward" ) )
1670 .Tooltip( _( "Move forward in sheet navigation history" ) )
1671 .Icon( BITMAPS::right ) );
1672
1674 .Name( "eeschema.NavigateTool.previous" )
1675 .Scope( AS_GLOBAL )
1676 .DefaultHotkey( WXK_PAGEUP )
1677 .FriendlyName( _( "Previous Sheet" ) )
1678 .Tooltip( _( "Move to previous sheet by number" ) )
1679 .Icon( BITMAPS::left ) );
1680
1682 .Name( "eeschema.NavigateTool.next" )
1683 .Scope( AS_GLOBAL )
1684 .DefaultHotkey( WXK_PAGEDOWN )
1685 .FriendlyName( _( "Next Sheet" ) )
1686 .Tooltip( _( "Move to next sheet by number" ) )
1687 .Icon( BITMAPS::right ) );
1688
1690 .Name( "eeschema.EditorTool.showHierarchy" )
1691 .Scope( AS_GLOBAL )
1692 .DefaultHotkey( MD_CTRL + 'H' )
1693 .FriendlyName( _( "Hierarchy Navigator" ) )
1694 .Tooltip( _( "Show/hide the schematic sheet hierarchy navigator" ) )
1695 .ToolbarState( TOOLBAR_STATE::TOGGLE )
1696 .Icon( BITMAPS::hierarchy_nav ) );
1697
1698
1699// SCH_LINE_WIRE_BUS_TOOL
1700//
1703 .Name( "eeschema.InteractiveDrawingLineWireBus.drawWires" )
1704 .Scope( AS_GLOBAL )
1705 .DefaultHotkey( 'W' )
1706 .LegacyHotkeyName( "Begin Wire" )
1707 .FriendlyName( _( "Draw Wires" ) )
1708 .ToolbarState( TOOLBAR_STATE::TOGGLE )
1709 .Icon( BITMAPS::add_line )
1710 .Flags( AF_ACTIVATE )
1711 .Parameter( &drawWireActionParam ) );
1712
1715 .Name( "eeschema.InteractiveDrawingLineWireBus.drawBuses" )
1716 .Scope( AS_GLOBAL )
1717 .DefaultHotkey( 'B' )
1718 .LegacyHotkeyName( "Begin Bus" )
1719 .FriendlyName( _( "Draw Buses" ) )
1720 .ToolbarState( TOOLBAR_STATE::TOGGLE )
1721 .Icon( BITMAPS::add_bus )
1722 .Flags( AF_ACTIVATE )
1723 .Parameter( &drawBusActionParam ) );
1724
1726 .Name( "eeschema.InteractiveDrawingLineWireBus.unfoldBus" )
1727 .Scope( AS_GLOBAL )
1728 .DefaultHotkey( 'C' )
1729 .LegacyHotkeyName( "Unfold from Bus" )
1730 .FriendlyName( _( "Unfold from Bus" ) )
1731 .Tooltip( _( "Break a wire out of a bus" ) )
1733 .Flags( AF_ACTIVATE )
1734 .Parameter<wxString*>( nullptr ) );
1735
1738 .Name( "eeschema.InteractiveDrawingLineWireBus.drawLines" )
1739 .Scope( AS_GLOBAL )
1740 .DefaultHotkey( 'I' )
1741 .LegacyHotkeyName( "Add Graphic PolyLine" )
1742 .FriendlyName( _( "Draw Lines" ) )
1743 .ToolbarState( TOOLBAR_STATE::TOGGLE )
1745 .Flags( AF_ACTIVATE )
1746 .Parameter( &drawLinesActionParam ) );
1747
1749 .Name( "eeschema.InteractiveDrawingLineWireBus.undoLastSegment")
1750 .Scope( AS_GLOBAL )
1751 .DefaultHotkey( WXK_BACK )
1752 .FriendlyName( _( "Undo Last Segment" ) )
1753 .Tooltip( _( "Walks the current line back one segment." ) )
1754 .Icon( BITMAPS::undo ) );
1755
1757 .Name( "eeschema.InteractiveDrawingLineWireBus.switchPosture" )
1758 .Scope( AS_GLOBAL )
1759 .DefaultHotkey( '/' )
1760 .FriendlyName( _( "Switch Segment Posture" ) )
1761 .Tooltip( _( "Switches posture of the current segment." ) )
1763 .Flags( AF_NONE ) );
1764
1765// SCH_MOVE_TOOL
1766//
1768 .Name( "eeschema.InteractiveMove.move" )
1769 .Scope( AS_GLOBAL )
1770 .DefaultHotkey( 'M' )
1771 .LegacyHotkeyName( "Move Item" )
1772 .FriendlyName( _( "Move" ) )
1773 .Icon( BITMAPS::move )
1774 .Flags( AF_ACTIVATE ) );
1775
1777 .Name( "eeschema.InteractiveMove.drag" )
1778 .Scope( AS_GLOBAL )
1779 .DefaultHotkey( 'G' )
1780 .LegacyHotkeyName( "Drag Item" )
1781 .FriendlyName( _( "Drag" ) )
1782 .Tooltip( _( "Move items while keeping their connections" ) )
1783 .Icon( BITMAPS::drag )
1784 .Flags( AF_ACTIVATE ) );
1785
1787 .Name( "eeschema.AlignToGrid" )
1788 .Scope( AS_GLOBAL )
1789 .FriendlyName( _( "Align Items to Grid" ) )
1791 .Flags( AF_ACTIVATE ) );
1792
1794 .Name( "eeschema.Align.alignTop" )
1795 .Scope( AS_GLOBAL )
1796 .FriendlyName( _( "Align to Top" ) )
1797 .Tooltip( _( "Aligns selected items to the top edge of the item under the cursor" ) )
1799 .Flags( AF_ACTIVATE ) );
1800
1802 .Name( "eeschema.Align.alignBottom" )
1803 .Scope( AS_GLOBAL )
1804 .FriendlyName( _( "Align to Bottom" ) )
1805 .Tooltip( _( "Aligns selected items to the bottom edge of the item under the cursor" ) )
1807 .Flags( AF_ACTIVATE ) );
1808
1810 .Name( "eeschema.Align.alignLeft" )
1811 .Scope( AS_GLOBAL )
1812 .FriendlyName( _( "Align to Left" ) )
1813 .Tooltip( _( "Aligns selected items to the left edge of the item under the cursor" ) )
1815 .Flags( AF_ACTIVATE ) );
1816
1818 .Name( "eeschema.Align.alignRight" )
1819 .Scope( AS_GLOBAL )
1820 .FriendlyName( _( "Align to Right" ) )
1821 .Tooltip( _( "Aligns selected items to the right edge of the item under the cursor" ) )
1823 .Flags( AF_ACTIVATE ) );
1824
1826 .Name( "eeschema.Align.alignCenterX" )
1827 .Scope( AS_GLOBAL )
1828 .FriendlyName( _( "Align to Horizontal Center" ) )
1829 .Tooltip( _( "Aligns selected items to the horizontal center of the item under the cursor" ) )
1831 .Flags( AF_ACTIVATE ) );
1832
1834 .Name( "eeschema.Align.alignCenterY" )
1835 .Scope( AS_GLOBAL )
1836 .FriendlyName( _( "Align to Vertical Center" ) )
1837 .Tooltip( _( "Aligns selected items to the vertical center of the item under the cursor" ) )
1839 .Flags( AF_ACTIVATE ) );
1840
1841// Schematic editor save copy curr sheet command
1843 .Name( "eeschema.EditorControl.saveCurrSheetCopyAs" )
1844 .Scope( AS_GLOBAL )
1845 .FriendlyName( _( "Save Current Sheet Copy As..." ) )
1846 .Tooltip( _( "Save a copy of the current sheet to another location or name" ) )
1847 .Icon( BITMAPS::save_as ) );
1848
1849// Drag and drop
1851 .Name( "eeschema.EditorControl.ddAppendFile" )
1852 .Scope( AS_GLOBAL ) );
1853
1855 .Name( "eeschema.EditorControl.ddAddImage" )
1856 .Scope( AS_GLOBAL ) );
1857
1859 .Name( "eeschema.EditorControl.ddImportGraphics" )
1860 .Scope( AS_GLOBAL ) );
1861
1862// SIMULATOR
1864 .Name( "eeschema.Simulation.newAnalysisTab" )
1865 .Scope( AS_GLOBAL )
1866 .DefaultHotkey( MD_CTRL + 'N' )
1867 .LegacyHotkeyName( "New" )
1868 .FriendlyName( _( "New Analysis Tab..." ) )
1869 .Tooltip( _( "Create a new tab containing a simulation analysis" ) )
1870 .Icon( BITMAPS::sim_add_plot ) );
1871
1873 .Name( "eeschema.Simulation.openWorkbook" )
1874 .Scope( AS_GLOBAL )
1875 .DefaultHotkey( MD_CTRL + 'O' )
1876 .LegacyHotkeyName( "Open" )
1877 .FriendlyName( _( "Open Workbook..." ) )
1878 .Tooltip( _( "Open a saved set of analysis tabs and settings" ) )
1879 .Icon( BITMAPS::directory_open ) );
1880
1882 .Name( "eeschema.Simulation.saveWorkbook" )
1883 .Scope( AS_GLOBAL )
1884 .DefaultHotkey( MD_CTRL + 'S' )
1885 .LegacyHotkeyName( "Save" )
1886 .FriendlyName( _( "Save Workbook" ) )
1887 .Tooltip( _( "Save the current set of analysis tabs and settings" ) )
1888 .Icon( BITMAPS::save ) );
1889
1891 .Name( "eeschema.Simulation.saveWorkbookAs" )
1892 .Scope( AS_GLOBAL )
1893 .DefaultHotkey( MD_CTRL + MD_SHIFT + 'S' )
1894 .LegacyHotkeyName( "Save As" )
1895 .FriendlyName( _( "Save Workbook As..." ) )
1896 .Tooltip( _( "Save the current set of analysis tabs and settings to another location" ) )
1897 .Icon( BITMAPS::sim_add_signal ) );
1898
1900 .Name( "eeschema.Simulator.exportPNG" )
1901 .Scope( AS_GLOBAL )
1902 .FriendlyName( _( "Export Current Plot as PNG..." ) )
1903 .Icon( BITMAPS::export_png ) );
1904
1906 .Name( "eeschema.Simulator.exportCSV" )
1907 .Scope( AS_GLOBAL )
1908 .FriendlyName( _( "Export Current Plot as CSV..." ) )
1909 .Icon( BITMAPS::export_file ) );
1910
1912 .Name( "eeschema.Simulator.exportToClipboard" )
1913 .Scope( AS_GLOBAL )
1914 .FriendlyName( _( "Export Current Plot to Clipboard" ) )
1915 .Icon( BITMAPS::export_png ) );
1916
1918 .Name( "eeschema.Simulator.exportPlotToSchematic" )
1919 .Scope( AS_GLOBAL )
1920 .FriendlyName( _( "Export Current Plot to Schematic" ) )
1921 .Icon( BITMAPS::export_png ) );
1922
1924 .Name( "eeschema.Simulator.toggleSimSidePanel" )
1925 .Scope( AS_GLOBAL )
1926 .FriendlyName( _( "Show Simulation Side Panel" ) ) );
1927
1929 .Name( "eeschema.Simulator.toggleSimConsole" )
1930 .Scope( AS_GLOBAL )
1931 .FriendlyName( _( "Show Simulation Console Panel" ) ) );
1932
1934 .Name( "eeschema.Simulator.toggleLegend" )
1935 .Scope( AS_GLOBAL )
1936 .FriendlyName( _( "Show Legend" ) )
1937 .Icon( BITMAPS::text ) );
1938
1940 .Name( "eeschema.Simulator.toggleDottedSecondary" )
1941 .Scope( AS_GLOBAL )
1942 .FriendlyName( _( "Dotted Current/Phase" ) )
1943 .Tooltip( _( "Draw secondary signal trace (current or phase) with a dotted line" ) ) );
1944
1946 .Name( "eeschema.Simulator.toggleSmithChart" )
1947 .Scope( AS_GLOBAL )
1948 .FriendlyName( _( "Smith Chart" ) )
1949 .Tooltip( _( "Show S-parameter results on a Smith chart" ) ) );
1950
1952 .Name( "eeschema.Simulator.toggleDarkModePlots" )
1953 .Scope( AS_GLOBAL )
1954 .FriendlyName( _( "Dark Mode Plots" ) )
1955 .Tooltip( _( "Draw plots with a black background" ) ) );
1956
1958 .Name( "eeschema.Simulation.simAnalysisProperties" )
1959 .Scope( AS_GLOBAL )
1960 .FriendlyName( _( "Edit Analysis Tab..." ) )
1961 .Tooltip( _( "Edit the current analysis tab's SPICE command and plot setup" ) )
1962 .Icon( BITMAPS::sim_command ) );
1963
1965 .Name( "eeschema.Simulation.runSimulation" )
1966 .Scope( AS_GLOBAL )
1967 .DefaultHotkey( 'R' )
1968 .FriendlyName( _( "Run Simulation" ) )
1969 .Icon( BITMAPS::sim_run ) );
1970
1972 .Name( "eeschema.Simulation.stopSimulation" )
1973 .Scope( AS_GLOBAL )
1974 .FriendlyName( _( "Stop Simulation" ) )
1975 .Icon( BITMAPS::sim_stop ) );
1976
1978 .Name( "eeschema.Simulation.probe" )
1979 .Scope( AS_GLOBAL )
1980 .DefaultHotkey( MD_SHIFT + 'P' )
1981 .FriendlyName( _( "Probe Schematic..." ) )
1982 .Tooltip( _( "Add a simulator probe" ) )
1983 .Icon( BITMAPS::sim_probe ) );
1984
1986 .Name( "eeschema.Simulation.tune" )
1987 .Scope( AS_GLOBAL )
1988 .DefaultHotkey( MD_SHIFT + 'T' )
1989 .FriendlyName( _( "Add Tuned Value..." ) )
1990 .Tooltip( _( "Select a value to be tuned" ) )
1991 .Icon( BITMAPS::sim_tune ) );
1992
1994 .Name( "eeschema.Simulation.editUserDefinedSignals" )
1995 .Scope( AS_GLOBAL )
1996 .FriendlyName( _( "User-defined Signals..." ) )
1997 .Tooltip( _( "Add, edit or delete user-defined simulation signals" ) )
1998 .Icon( BITMAPS::sim_add_signal ) );
1999
2001 .Name( "eeschema.Simulation.showNetlist" )
2002 .Scope( AS_GLOBAL )
2003 .FriendlyName( _( "Show SPICE Netlist" ) )
2004 .Icon( BITMAPS::netlist ) );
2005
2007 .Name( "eeschema.EditorControl.addVariant" )
2008 .Scope( AS_GLOBAL )
2009 .FriendlyName( _( "Add Design Variant..." ) )
2010 .Tooltip( _( "Add new design variant to the schematic." ) ) );
2011
2013 .Name( "eeschema.EditorControl.removeVariant" )
2014 .Scope( AS_GLOBAL )
2015 .FriendlyName( _( "Remove Design Variant..." ) )
2016 .Tooltip( _( "Remove an existing design variant from the schematic." ) ) );
2017
2019 .Name( "eeschema.EditorControl.editVariantDescription" )
2020 .Scope( AS_GLOBAL )
2021 .FriendlyName( _( "Edit Variant Description..." ) )
2022 .Tooltip( _( "Edit the description of an existing design variant." ) ) );
2023
2025 .Name( "eeschema.EditorControl.renameVariant" )
2026 .Scope( AS_GLOBAL )
2027 .FriendlyName( _( "Rename Design Variant..." ) )
2028 .Tooltip( _( "Rename an existing design variant." ) ) );
2029
2031 .Name( "eeschema.EditorControl.copyVariant" )
2032 .Scope( AS_GLOBAL )
2033 .FriendlyName( _( "Copy Design Variant..." ) )
2034 .Tooltip( _( "Create a copy of an existing design variant." ) ) );
2035
2036// clang-format on
ARC_DRAW_MODE
Construction sequence used when interactively drawing a circular arc.
@ TANGENT
End only; start and departure direction come from a tangent seed.
@ START_END_MID
Start, end, then the arc midpoint dragged along the chord bisector.
@ START_DIR_END
Start, a point giving the departure direction, then the end.
@ START_END_CENTER
Start, end, then the center dragged along the chord bisector.
@ CENTER_START_END
Center, then start (sets radius), then sweep to the end.
@ import_document
@ align_items_bottom
@ add_symbol_to_schematic
@ align_items_left
@ add_hierarchical_subsheet
@ add_arc_tangent
@ add_arc_start_dir_end
@ net_highlight_schematic
@ add_graphical_polygon
@ align_items_middle
@ add_line_label
@ edit_comp_value
@ align_items_top
@ edit_comp_footprint
@ add_rectangle
@ align_items_right
@ add_class_flag
@ add_hierarchical_label
@ autoplace_fields
@ add_ellipse_arc
@ change_entry_orient
@ add_graphical_segments
@ add_arc_start_end_mid
@ library_browser
@ INVALID_BITMAP
@ part_properties
@ add_arc_start_end_center
@ add_component
@ add_keepout_area
@ import_hierarchical_label
@ align_elements_to_grid
@ align_items_center
@ annotate_increment
@ options_schematic
@ bus_definition_tool
@ add_arc_center
@ add_hierar_pin
@ select_same_sheet
@ library_archive
@ import_footprint_names
static TOOL_ACTION showPcbNew
static TOOL_ACTION editSymbol
static TOOL_ACTION rotateCCW
static TOOL_ACTION placeClassLabel
Definition sch_actions.h:85
static TOOL_ACTION editSymbolPinMaps
static TOOL_ACTION placeSheetPin
Definition sch_actions.h:91
static TOOL_ACTION createNetChain
static TOOL_ACTION updateDesignBlockFromSheet
static TOOL_ACTION importSymbol
static TOOL_ACTION syncSelection
Selection synchronization (PCB -> SCH)
Definition sch_actions.h:63
static TOOL_ACTION newSymbol
static TOOL_ACTION placeNextSymbolUnit
Definition sch_actions.h:73
static TOOL_ACTION compareSchematicWithHistory
static TOOL_ACTION saveLibraryAsPacked
static TOOL_ACTION swapPins
static TOOL_ACTION editValue
static TOOL_ACTION drawArcCenter
static TOOL_ACTION saveLibraryAs
static TOOL_ACTION setExcludeFromBOM
static TOOL_ACTION drawArcStartEndCenter
static TOOL_ACTION assignFootprints
static TOOL_ACTION saveSheetAsDesignBlock
static TOOL_ACTION mirrorV
static TOOL_ACTION copyVariant
static TOOL_ACTION lineModeNext
static TOOL_ACTION toggleSimConsole
static TOOL_ACTION drawSheetFromFile
Definition sch_actions.h:89
static TOOL_ACTION exportPlotToClipboard
static TOOL_ACTION toggleOPCurrents
static TOOL_ACTION saveToLinkedDesignBlock
Definition sch_actions.h:77
static TOOL_ACTION clearHighlight
static TOOL_ACTION swap
static TOOL_ACTION saveSelectionAsDesignBlock
static TOOL_ACTION showBusSyntaxHelp
static TOOL_ACTION placeGlobalLabel
Definition sch_actions.h:86
static TOOL_ACTION saveWorkbookAs
static TOOL_ACTION removeVariant
static TOOL_ACTION previousSymbol
static TOOL_ACTION deleteDesignBlock
static TOOL_ACTION editSymbolFields
static TOOL_ACTION toggleSimSidePanel
static TOOL_ACTION drawEllipseArc
static TOOL_ACTION pushPinLength
static TOOL_ACTION checkSymbol
static TOOL_ACTION importFPAssignments
static TOOL_ACTION changeSymbols
static TOOL_ACTION convertStackedPins
static TOOL_ACTION drawTextBox
Definition sch_actions.h:99
static TOOL_ACTION toggleAnnotateAuto
static TOOL_ACTION updateSymbol
static TOOL_ACTION autoplaceFields
static TOOL_ACTION changeSymbol
static TOOL_ACTION syncAllSheetsPins
Definition sch_actions.h:97
static TOOL_ACTION showRelatedLibFieldsTable
static TOOL_ACTION ddAddImage
static TOOL_ACTION editLibSymbolWithLibEdit
static TOOL_ACTION closeOutline
static TOOL_ACTION exportPlotAsCSV
static TOOL_ACTION convertImageToOutlines
static TOOL_ACTION drawArc
static TOOL_ACTION drawSheet
Definition sch_actions.h:88
static TOOL_ACTION toggleERCWarnings
static TOOL_ACTION pinTable
static TOOL_ACTION drawSymbolLines
static TOOL_ACTION placeSymbolPin
static TOOL_ACTION navigateBack
static TOOL_ACTION editVariantDescription
static TOOL_ACTION schematicSetup
static TOOL_ACTION saveLibraryAsUnpacked
static TOOL_ACTION toggleDirectiveLabels
static TOOL_ACTION pasteSymbol
static TOOL_ACTION drawSymbolTextBox
static TOOL_ACTION pushPinNameSize
static TOOL_ACTION highlightNetTool
static TOOL_ACTION properties
static TOOL_ACTION editReference
static TOOL_ACTION leaveSheet
static TOOL_ACTION exportSymbolAsSVG
static TOOL_ACTION breakWire
static TOOL_ACTION ddImportGraphics
static TOOL_ACTION removeFromNetChain
static TOOL_ACTION renameSymbol
static TOOL_ACTION findNetInInspector
static TOOL_ACTION toggleHiddenFields
static TOOL_ACTION autoplaceAllSheetPins
Definition sch_actions.h:92
static TOOL_ACTION drawRectangle
static TOOL_ACTION drawLines
static TOOL_ACTION saveCurrSheetCopyAs
Definition sch_actions.h:49
static TOOL_ACTION placeHierLabel
Definition sch_actions.h:87
static TOOL_ACTION alignTop
static TOOL_ACTION alignRight
static TOOL_ACTION simAnalysisProperties
static TOOL_ACTION selectConnection
If current selection is a wire or bus, expand to entire connection.
Definition sch_actions.h:57
static TOOL_ACTION toggleSmithChart
static TOOL_ACTION drawEllipse
static TOOL_ACTION toggleDottedSecondary
static TOOL_ACTION placeLabel
Definition sch_actions.h:84
static TOOL_ACTION drawCircle
static TOOL_ACTION navigateNext
static TOOL_ACTION duplicateSymbol
static TOOL_ACTION importGraphics
static TOOL_ACTION toText
static TOOL_ACTION restartMove
static TOOL_ACTION placeBusWireEntry
Definition sch_actions.h:83
static TOOL_ACTION closeSymbolTab
static TOOL_ACTION toHLabel
static TOOL_ACTION showRemoteSymbolPanel
static TOOL_ACTION drawArcTangent
static TOOL_ACTION cutSymbol
static TOOL_ACTION nextNetItem
static TOOL_ACTION drawBezier
static TOOL_ACTION drawWire
Definition sch_actions.h:78
static TOOL_ACTION compareSchematicWithFile
static TOOL_ACTION remapSymbols
static TOOL_ACTION lineMode45
static TOOL_ACTION compareLibraryWithFile
static TOOL_ACTION saveSymbolCopyAs
static TOOL_ACTION nextUnit
static TOOL_ACTION editSymbolLibraryLinks
static TOOL_ACTION simTune
static TOOL_ACTION rotateCW
static TOOL_ACTION importSheet
Definition sch_actions.h:93
static TOOL_ACTION showElectricalTypes
static TOOL_ACTION alignBottom
static TOOL_ACTION toggleDarkModePlots
static TOOL_ACTION flattenSymbol
static TOOL_ACTION drag
static TOOL_ACTION exportPlotAsPNG
static TOOL_ACTION pointEditorAddCorner
static TOOL_ACTION generateBOM
static TOOL_ACTION showHierarchy
static TOOL_ACTION exportPlotToSchematic
static TOOL_ACTION setExcludeFromSim
static TOOL_ACTION highlightNetChain
static TOOL_ACTION toLabel
static TOOL_ACTION showNetNavigator
static TOOL_ACTION placeJunction
Definition sch_actions.h:82
static TOOL_ACTION setDNP
static TOOL_ACTION markSimExclusions
static TOOL_ACTION previousNetItem
static TOOL_ACTION drawSymbolPolygon
static TOOL_ACTION drawRuleArea
static TOOL_ACTION swapUnitLabels
static TOOL_ACTION placeSymbol
Definition sch_actions.h:72
static TOOL_ACTION placeImage
static TOOL_ACTION alignToGrid
static TOOL_ACTION showHiddenFields
static TOOL_ACTION editDesignBlockProperties
static TOOL_ACTION editWithLibEdit
static TOOL_ACTION cleanupSheetPins
static TOOL_ACTION runSimulation
static TOOL_ACTION toDLabel
static TOOL_ACTION navigateForward
static TOOL_ACTION alignLeft
static TOOL_ACTION generateBOMExternal
static TOOL_ACTION nextSymbol
static TOOL_ACTION toggleERCErrors
static TOOL_ACTION incrementAnnotations
static TOOL_ACTION placeSymbolAnchor
static TOOL_ACTION clearVariantSymbol
static TOOL_ACTION navigatePrevious
static TOOL_ACTION setExcludeFromPosFiles
static TOOL_ACTION alignCenterX
static TOOL_ACTION rescueSymbols
static TOOL_ACTION prevSymbolTab
static TOOL_ACTION showHiddenPins
static TOOL_ACTION cycleBodyStyle
static TOOL_ACTION editUserDefinedSignals
static TOOL_ACTION showPinNumbers
static TOOL_ACTION angleSnapModeChanged
static TOOL_ACTION drawPolygon
static TOOL_ACTION drawArcStartDirEnd
static TOOL_ACTION placeLinkedDesignBlock
Definition sch_actions.h:76
static TOOL_ACTION exportSymbolView
static TOOL_ACTION selectNode
Select the junction, wire or bus segment under the cursor.
Definition sch_actions.h:53
static TOOL_ACTION drawSheetFromDesignBlock
Definition sch_actions.h:90
static TOOL_ACTION newAnalysisTab
static TOOL_ACTION generateBOMLegacy
static TOOL_ACTION mirrorH
static TOOL_ACTION showLibFieldsTable
static TOOL_ACTION showSimulator
static TOOL_ACTION copySymbol
static TOOL_ACTION unfoldBus
Definition sch_actions.h:80
static TOOL_ACTION pointEditorRemoveCorner
static TOOL_ACTION setVariantSymbol
static TOOL_ACTION placeDesignBlock
Definition sch_actions.h:75
static TOOL_ACTION toggleOPVoltages
static TOOL_ACTION drawBus
Definition sch_actions.h:79
static TOOL_ACTION simProbe
static TOOL_ACTION runERC
Inspection and Editing.
static TOOL_ACTION symbolProperties
static TOOL_ACTION placeSymbolText
static TOOL_ACTION drawArcStartEndMid
static TOOL_ACTION drawTable
static TOOL_ACTION lineMode90
static TOOL_ACTION ddAppendFile
static TOOL_ACTION slice
static TOOL_ACTION placeSchematicText
Definition sch_actions.h:98
static TOOL_ACTION toggleSyncedPinsMode
static TOOL_ACTION toTextBox
static TOOL_ACTION lineModeFree
static TOOL_ACTION unlock
Definition sch_actions.h:68
static TOOL_ACTION changeSheet
static TOOL_ACTION highlightNet
static TOOL_ACTION deleteSymbol
static TOOL_ACTION lock
Definition sch_actions.h:67
static TOOL_ACTION assignNetclass
static TOOL_ACTION annotate
static TOOL_ACTION showDesignBlockPanel
static TOOL_ACTION updateDesignBlockFromSelection
static TOOL_ACTION updateSymbols
static TOOL_ACTION swapPinLabels
static TOOL_ACTION enterSheet
static TOOL_ACTION pushPinNumSize
static TOOL_ACTION undoLastSegment
static TOOL_ACTION showNetlist
static TOOL_ACTION editFootprint
static TOOL_ACTION nextSymbolTab
static TOOL_ACTION replaceTerminalPin
static TOOL_ACTION explodeStackedPin
static TOOL_ACTION togglePinAltIcons
static TOOL_ACTION openWorkbook
static TOOL_ACTION toggleERCExclusions
static TOOL_ACTION updateNetHighlighting
static TOOL_ACTION repeatDrawItem
static const TOOL_ACTION & DrawArcForMode(ARC_DRAW_MODE aMode)
Tool action that starts the arc tool in the given mode.
static TOOL_ACTION renameVariant
static TOOL_ACTION createNetChainBetweenPins
static TOOL_ACTION editTextAndGraphics
static TOOL_ACTION exportNetlist
static TOOL_ACTION alignCenterY
static TOOL_ACTION saveWorkbook
static TOOL_ACTION placeNoConnect
Definition sch_actions.h:81
static TOOL_ACTION editPageNumber
static TOOL_ACTION drawSheetOnClipboard
static TOOL_ACTION exportSymbolsToLibrary
static TOOL_ACTION switchSegmentPosture
static TOOL_ACTION updateSymbolFields
static TOOL_ACTION toGLabel
static TOOL_ACTION toggleHiddenPins
static TOOL_ACTION setExcludeFromBoard
static TOOL_ACTION exportSymbol
static TOOL_ACTION selectOnPCB
static TOOL_ACTION addVariant
static TOOL_ACTION move
static TOOL_ACTION importNonKicadSchematic
static TOOL_ACTION syncSheetPins
Definition sch_actions.h:95
static TOOL_ACTION toggleLegend
static TOOL_ACTION diffSymbol
static TOOL_ACTION placePower
Definition sch_actions.h:74
static TOOL_ACTION navigateUp
static TOOL_ACTION previousUnit
static TOOL_ACTION toggleLock
Definition sch_actions.h:66
static TOOL_ACTION deriveFromExistingSymbol
static TOOL_ACTION stopSimulation
static TOOL_ACTION nameNetChain
static TOOL_ACTION addSymbolToSchematic
static TOOL_ACTION saveSymbolAs
Build up the properties of a TOOL_ACTION in an incremental manner that is static-construction safe.
Represent a single user action.
@ ELLIPSE
Definition eda_shape.h:62
@ RECTANGLE
Use RECTANGLE instead of RECT to avoid collision in a Windows header.
Definition eda_shape.h:57
@ ELLIPSE_ARC
Definition eda_shape.h:63
@ LINE_MODE_90
@ LINE_MODE_45
@ LINE_MODE_FREE
@ LAYER_WIRE
Definition layer_ids.h:480
@ LAYER_NOTES
Definition layer_ids.h:495
@ LAYER_BUS
Definition layer_ids.h:481
const DRAW_SEGMENT_EVENT_PARAMS drawLinesActionParam
const DRAW_SEGMENT_EVENT_PARAMS drawWireActionParam
const DRAW_SEGMENT_EVENT_PARAMS drawBusActionParam
#define _(s)
@ TOGGLE
Action is a toggle button on the toolbar.
Definition tool_action.h:60
@ AS_GLOBAL
Global action (toolbar/main menu event, global shortcut)
Definition tool_action.h:45
@ AS_CONTEXT
Action belongs to a particular tool (i.e. a part of a pop-up menu)
Definition tool_action.h:43
@ AF_ACTIVATE
Action activates a tool.
Definition tool_action.h:52
@ AF_NOTIFY
Action is a notification (it is by default passed to all tools)
Definition tool_action.h:53
@ AF_NONE
Definition tool_action.h:51
@ MD_ALT
Definition tool_event.h:141
@ MD_CTRL
Definition tool_event.h:140
@ MD_SHIFT
Definition tool_event.h:139
@ SCH_NO_CONNECT_T
Definition typeinfo.h:156
@ SCH_DIRECTIVE_LABEL_T
Definition typeinfo.h:167
@ SCH_LABEL_T
Definition typeinfo.h:163
@ SCH_SHEET_T
Definition typeinfo.h:171
@ SCH_HIER_LABEL_T
Definition typeinfo.h:165
@ SCH_TEXT_T
Definition typeinfo.h:147
@ SCH_BUS_WIRE_ENTRY_T
Definition typeinfo.h:157
@ SCH_TEXTBOX_T
Definition typeinfo.h:148
@ SCH_GLOBAL_LABEL_T
Definition typeinfo.h:164
@ SCH_JUNCTION_T
Definition typeinfo.h:155
@ SCH_PIN_T
Definition typeinfo.h:149