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.drawRuleArea" )
873 .Scope( AS_GLOBAL )
874 .FriendlyName( _( "Draw Rule Areas" ) )
875 .ToolbarState( TOOLBAR_STATE::TOGGLE )
877 .Flags( AF_ACTIVATE )
878 .Parameter( SHAPE_T::RECTANGLE ) );
879
881 .Name( "eeschema.InteractiveDrawing.closeOutline" )
882 .Scope( AS_CONTEXT )
883 .FriendlyName( _( "Close Outline" ) )
884 .Tooltip( _( "Close the in-progress outline" ) )
885 .Icon( BITMAPS::checked_ok ) );
886
887
888// SCH_EDIT_TOOL
889//
891 .Name( "eeschema.InteractiveEdit.repeatDrawItem" )
892 .Scope( AS_GLOBAL )
893#ifdef __WXMAC__
894 .DefaultHotkey( WXK_F1 )
895#else
896 .DefaultHotkey( WXK_INSERT )
897#endif
898 .LegacyHotkeyName( "Repeat Last Item" )
899 .FriendlyName( _( "Repeat Last Item" ) )
900 .Tooltip( _( "Duplicates the last drawn item" ) ) );
901
903 .Name( "eeschema.InteractiveEdit.rotateCW" )
904 .Scope( AS_GLOBAL )
905 .DefaultHotkey( MD_SHIFT + 'R' )
906 .FriendlyName( _( "Rotate Clockwise" ) )
907 .Icon( BITMAPS::rotate_cw ) );
908
910 .Name( "eeschema.InteractiveEdit.rotateCCW" )
911 .Scope( AS_GLOBAL )
912 .DefaultHotkey( 'R' )
913 .LegacyHotkeyName( "Rotate Item" )
914 .FriendlyName( _( "Rotate Counterclockwise" ) )
915 .Icon( BITMAPS::rotate_ccw ) );
916
918 .Name( "eeschema.InteractiveEdit.mirrorV" )
919 .Scope( AS_GLOBAL )
920 .DefaultHotkey( 'Y' )
921 .LegacyHotkeyName( "Mirror X" ) // Yes, these were backwards prior to 6.0....
922 .FriendlyName( _( "Mirror Vertically" ) )
923 .Tooltip( _( "Flips selected item(s) from top to bottom" ) )
924 .Icon( BITMAPS::mirror_v ) );
925
927 .Name( "eeschema.InteractiveEdit.mirrorH" )
928 .Scope( AS_GLOBAL )
929 .DefaultHotkey( 'X' )
930 .LegacyHotkeyName( "Mirror Y" ) // Yes, these were backwards prior to 6.0....
931 .FriendlyName( _( "Mirror Horizontally" ) )
932 .Tooltip( _( "Flips selected item(s) from left to right" ) )
933 .Icon( BITMAPS::mirror_h ) );
934
936 .Name( "eeschema.InteractiveEdit.swap" )
937 .Scope( AS_GLOBAL )
938 .DefaultHotkey( MD_ALT + 'S' )
939 .FriendlyName( _( "Swap" ) )
940 .Tooltip( _( "Swap positions of selected items" ) )
941 .Icon( BITMAPS::swap ) );
942
943// Separate action so "real" pin swaps are not conflated with the generic position swap.
945 .Name( "eeschema.InteractiveEdit.swapPins" )
946 .Scope( AS_GLOBAL )
947 .FriendlyName( _( "Swap Pins" ) )
948 .Tooltip( _( "Swap the selected symbol pins' positions" ) )
949 .Icon( BITMAPS::swap ) );
950
952 .Name( "eeschema.InteractiveEdit.swapPinLabels" )
953 .Scope( AS_GLOBAL )
954 .FriendlyName( _( "Swap Pin Labels" ) )
955 .Tooltip( _( "Swap the labels attached to selected pins" ) )
956 .Icon( BITMAPS::swap ) );
957
959 .Name( "eeschema.InteractiveEdit.swapUnitLabels" )
960 .Scope( AS_GLOBAL )
961 .FriendlyName( _( "Swap Unit Labels" ) )
962 .Tooltip( _( "Swap labels between selected units" ) )
963 .Icon( BITMAPS::swap ) );
964
966 .Name( "eeschema.InteractiveEdit.toggleLock" )
967 .Scope( AS_GLOBAL )
968 .FriendlyName( _( "Toggle Lock" ) )
969 .Tooltip( _( "Lock or unlock selected items" ) )
970 .Icon( BITMAPS::lock_unlock ) );
971
973 .Name( "eeschema.InteractiveEdit.lock" )
974 .Scope( AS_GLOBAL )
975 .FriendlyName( _( "Lock" ) )
976 .Tooltip( _( "Prevent items from being moved and/or resized on the canvas" ) )
977 .Icon( BITMAPS::locked ) );
978
980 .Name( "eeschema.InteractiveEdit.unlock" )
981 .Scope( AS_GLOBAL )
982 .FriendlyName( _( "Unlock" ) )
983 .Tooltip( _( "Allow items to be moved and/or resized on the canvas" ) )
984 .Icon( BITMAPS::unlocked ) );
985
987 .Name( "eeschema.InteractiveEdit.properties" )
988 .Scope( AS_GLOBAL )
989 .DefaultHotkey( 'E' )
990 .LegacyHotkeyName( "Edit Item" )
991 .FriendlyName( _( "Properties..." ) )
992 .Icon( BITMAPS::edit ) );
993
995 .Name( "eeschema.InteractiveEdit.editReference" )
996 .Scope( AS_GLOBAL )
997 .DefaultHotkey( 'U' )
998 .LegacyHotkeyName( "Edit Symbol Reference" )
999 .FriendlyName( _( "Edit Reference Designator..." ) )
1000 .Icon( BITMAPS::edit_comp_ref ) );
1001
1003 .Name( "eeschema.InteractiveEdit.editValue" )
1004 .Scope( AS_GLOBAL )
1005 .DefaultHotkey( 'V' )
1006 .LegacyHotkeyName( "Edit Symbol Value" )
1007 .FriendlyName( _( "Edit Value..." ) )
1008 .Icon( BITMAPS::edit_comp_value ) );
1009
1011 .Name( "eeschema.InteractiveEdit.editFootprint" )
1012 .Scope( AS_GLOBAL )
1013 .DefaultHotkey( 'F' )
1014 .LegacyHotkeyName( "Edit Symbol Footprint" )
1015 .FriendlyName( _( "Edit Footprint..." ) )
1017
1019 .Name( "eeschema.InteractiveEdit.autoplaceFields" )
1020 .Scope( AS_GLOBAL )
1021 .DefaultHotkey( 'O' )
1022 .LegacyHotkeyName( "Autoplace Fields" )
1023 .FriendlyName( _( "Autoplace Fields" ) )
1024 .Tooltip( _( "Runs the automatic placement algorithm on the symbol's (or sheet's) fields" ) )
1025 .Icon( BITMAPS::autoplace_fields ) );
1026
1028 .Name( "eeschema.InteractiveEdit.changeSymbols" )
1029 .Scope( AS_GLOBAL )
1030 .FriendlyName( _( "Change Symbols..." ) )
1031 .Tooltip( _( "Assign different symbols from the library" ) )
1032 .Icon( BITMAPS::exchange ) );
1033
1035 .Name( "eeschema.InteractiveEdit.updateSymbols" )
1036 .Scope( AS_GLOBAL )
1037 .FriendlyName( _( "Update Symbols from Library..." ) )
1038 .Tooltip( _( "Update symbols to include any changes from the library" ) )
1039 .Icon( BITMAPS::refresh ) );
1040
1042 .Name( "eeschema.InteractiveEdit.changeSymbol" )
1043 .Scope( AS_GLOBAL )
1044 .FriendlyName( _( "Change Symbol..." ) )
1045 .Tooltip( _( "Assign a different symbol from the library" ) )
1046 .Icon( BITMAPS::exchange ) );
1047
1049 .Name( "eeschema.InteractiveEdit.updateSymbol" )
1050 .Scope( AS_GLOBAL )
1051 .FriendlyName( _( "Update Symbol..." ) )
1052 .Tooltip( _( "Update symbol to include any changes from the library" ) )
1053 .Icon( BITMAPS::refresh ) );
1054
1056 .Name( "eeschema.InteractiveEdit.setVariantSymbol" )
1057 .Scope( AS_GLOBAL )
1058 .FriendlyName( _( "Set Variant Symbol..." ) )
1059 .Tooltip( _( "Assign an alternate library symbol for this design variant" ) )
1060 .Icon( BITMAPS::exchange ) );
1061
1063 .Name( "eeschema.InteractiveEdit.clearVariantSymbol" )
1064 .Scope( AS_GLOBAL )
1065 .FriendlyName( _( "Clear Variant Symbol" ) )
1066 .Tooltip( _( "Remove the variant symbol override and revert to the base symbol" ) )
1067 .Icon( BITMAPS::cancel ) );
1068
1070 .Name( "eeschema.InteractiveEdit.assignNetclass" )
1071 .Scope( AS_GLOBAL )
1072 .FriendlyName( _( "Assign Netclass..." ) )
1073 .Tooltip( _( "Assign a netclass to nets matching a pattern" ) )
1074 .Icon( BITMAPS::netlist ) );
1075
1077 .Name( "eeschema.InteractiveEdit.findNetInInspector" )
1078 .Scope( AS_GLOBAL )
1079 .FriendlyName( _( "Find in Net Navigator" ) )
1080 .Tooltip( _( "Locate the selected net in the net navigator" ) ) );
1081
1083 .Name( "eeschema.InteractiveEdit.toggleDeMorgan" )
1084 .Scope( AS_GLOBAL )
1085 .FriendlyName( _( "Cycle Body Style" ) )
1086 .Tooltip( _( "Switch between De Morgan (or other) representations" ) )
1087 .Icon( BITMAPS::morgan2 ) );
1088
1090 .Name( "eeschema.InteractiveEdit.toLabel" )
1091 .Scope( AS_GLOBAL )
1092 .FriendlyName( _( "Change to Label" ) )
1093 .Tooltip( _( "Change existing item to a label" ) )
1095 .Flags( AF_NONE )
1096 .Parameter( SCH_LABEL_T ) );
1097
1099 .Name( "eeschema.InteractiveEdit.toCLabel" ) // Old name based on netClass label.
1100 // There's no sense losing hotkey assignments, so we
1101 // leave it as-is)
1102 .Scope( AS_GLOBAL )
1103 .FriendlyName( _( "Change to Directive Label" ) )
1104 .Tooltip( _( "Change existing item to a directive label" ) )
1106 .Flags( AF_NONE )
1107 .Parameter( SCH_DIRECTIVE_LABEL_T ) );
1108
1110 .Name( "eeschema.InteractiveEdit.toHLabel" )
1111 .Scope( AS_GLOBAL )
1112 .FriendlyName( _( "Change to Hierarchical Label" ) )
1113 .Tooltip( _( "Change existing item to a hierarchical label" ) )
1115 .Flags( AF_NONE )
1116 .Parameter( SCH_HIER_LABEL_T ) );
1117
1119 .Name( "eeschema.InteractiveEdit.toGLabel" )
1120 .Scope( AS_GLOBAL )
1121 .FriendlyName( _( "Change to Global Label" ) )
1122 .Tooltip( _( "Change existing item to a global label" ) )
1123 .Icon( BITMAPS::add_glabel )
1124 .Flags( AF_NONE )
1125 .Parameter( SCH_GLOBAL_LABEL_T ) );
1126
1128 .Name( "eeschema.InteractiveEdit.toText" )
1129 .Scope( AS_GLOBAL )
1130 .FriendlyName( _( "Change to Text" ) )
1131 .Tooltip( _( "Change existing item to a text comment" ) )
1132 .Icon( BITMAPS::text )
1133 .Flags( AF_NONE )
1134 .Parameter( SCH_TEXT_T ) );
1135
1137 .Name( "eeschema.InteractiveEdit.toTextBox" )
1138 .Scope( AS_GLOBAL )
1139 .FriendlyName( _( "Change to Text Box" ) )
1140 .Tooltip( _( "Change existing item to a text box" ) )
1141 .Icon( BITMAPS::add_textbox )
1142 .Flags( AF_NONE )
1143 .Parameter( SCH_TEXTBOX_T ) );
1144
1146 .Name( "eeschema.InteractiveEdit.cleanupSheetPins" )
1147 .Scope( AS_GLOBAL )
1148 .FriendlyName( _( "Cleanup Sheet Pins" ) )
1149 .Tooltip( _( "Delete unreferenced sheet pins" ) ) );
1150
1152 .Name( "eeschema.InteractiveEdit.editTextAndGraphics" )
1153 .Scope( AS_GLOBAL )
1154 .FriendlyName( _( "Edit Text & Graphics Properties..." ) )
1155 .Tooltip( _( "Edit text and graphics properties globally across schematic" ) )
1156 .Icon( BITMAPS::text ) );
1157
1159 .Name( "eeschema.InteractiveEdit.symbolProperties" )
1160 .Scope( AS_GLOBAL )
1161 .FriendlyName( _( "Symbol Properties..." ) )
1162 .Icon( BITMAPS::part_properties ) );
1163
1165 .Name( "eeschema.InteractiveEdit.editSymbolPinMaps" )
1166 .Scope( AS_GLOBAL )
1167 .FriendlyName( _( "Symbol Pin Maps..." ) )
1168 .Tooltip( _( "Edit the symbol's pin-to-pad maps and associated footprints" ) )
1169 .Icon( BITMAPS::pin_table ) );
1170
1172 .Name( "eeschema.InteractiveEdit.pinTable" )
1173 .Scope( AS_GLOBAL )
1174 .FriendlyName( _( "Pin Table..." ) )
1175 .Tooltip( _( "Displays pin table for bulk editing of pins" ) )
1176 .Icon( BITMAPS::pin_table ) );
1177
1179 .Name( "eeschema.InteractiveEdit.convertStackedPins" )
1180 .Scope( AS_GLOBAL )
1181 .FriendlyName( _( "Convert Stacked Pins" ) )
1182 .Tooltip( _( "Convert multiple pins at the same location to a single pin with stacked notation" ) )
1183 .Icon( BITMAPS::pin ) );
1184
1186 .Name( "eeschema.InteractiveEdit.explodeStackedPin" )
1187 .Scope( AS_GLOBAL )
1188 .FriendlyName( _( "Explode Stacked Pin" ) )
1189 .Tooltip( _( "Convert a pin with stacked notation to multiple individual pins" ) )
1190 .Icon( BITMAPS::pin ) );
1191
1193 .Name( "eeschema.InteractiveEdit.breakWire" )
1194 .Scope( AS_GLOBAL )
1195 .FriendlyName( _( "Break" ) )
1196 .Tooltip( _( "Divide into connected segments" ) )
1197 .Icon( BITMAPS::break_line ) );
1198
1200 .Name( "eeschema.InteractiveEdit.slice" )
1201 .Scope( AS_GLOBAL )
1202 .FriendlyName( _( "Slice" ) )
1203 .Tooltip( _( "Divide into unconnected segments" ) )
1204 .Icon( BITMAPS::slice_line ) );
1205
1206// SCH_EDITOR_CONTROL
1207//
1209 .Name( "eeschema.EditorControl.restartMove" )
1210 .Scope( AS_GLOBAL ) );
1211
1213 .Name( "eeschema.EditorControl.highlightNet" )
1214 .Scope( AS_GLOBAL )
1215 .DefaultHotkey( '`' )
1216 .FriendlyName( _( "Highlight Net" ) )
1217 .Tooltip( _( "Highlight net under cursor" ) )
1219
1221 .Name( "eeschema.EditorControl.clearHighlight" )
1222 .Scope( AS_GLOBAL )
1223 .DefaultHotkey( '~' )
1224 .FriendlyName( _( "Clear Net Highlighting" ) )
1225 .Tooltip( _( "Clear any existing net highlighting" ) ) );
1226
1228 .Name( "eeschema.EditorControl.updateNetHighlighting" )
1229 .Scope( AS_GLOBAL ) );
1230
1232 .Name( "eeschema.EditorControl.highlightNetTool" )
1233 .Scope( AS_GLOBAL )
1234 .FriendlyName( _( "Highlight Nets" ) )
1235 .Tooltip( _( "Highlight wires and pins of a net" ) )
1236 .ToolbarState( TOOLBAR_STATE::TOGGLE )
1238 .Flags( AF_ACTIVATE ) );
1239
1241 .Name( "eeschema.EditorControl.highlightNetChain" )
1242 .Scope( AS_GLOBAL )
1243 .FriendlyName( _( "Highlight Net Chain" ) )
1244 .Tooltip( _( "Highlight the net chain under the cursor" ) )
1246
1248 .Name( "eeschema.EditorControl.removeFromNetChain" )
1249 .Scope( AS_GLOBAL )
1250 .FriendlyName( _( "Remove from Net Chain" ) )
1251 .Tooltip( _( "Remove the selected net from its net chain by disabling propagation on the bridging component(s)" ) ) );
1252
1254 .Name( "eeschema.EditorControl.replaceTerminalPin" )
1255 .Scope( AS_GLOBAL )
1256 .FriendlyName( _( "Replace Terminal Pin" ) ) );
1257
1259 .Name( "eeschema.EditorControl.nameNetChain" )
1260 .Scope( AS_GLOBAL )
1261 .FriendlyName( _( "Name Net Chain" ) )
1262 .Tooltip( _( "Assign a name to the net chain" ) ) );
1263
1265 .Name( "eeschema.EditorControl.createNetChainBetweenPins" )
1266 .Scope( AS_GLOBAL )
1267 .FriendlyName( _( "Create Net Chain Between Pins" ) )
1268 .Tooltip( _( "Create a new net chain connecting the two selected pins" ) ) );
1269
1271 .Name( "eeschema.EditorControl.createNetChain" )
1272 .Scope( AS_GLOBAL )
1273 .FriendlyName( _( "Create Net Chain..." ) )
1274 .Tooltip( _( "Detect net chain paths through passives and create a named net chain" ) ) );
1275
1277 .Name( "eeschema.EditorControl.showNetNavigator" )
1278 .Scope( AS_GLOBAL )
1279 .FriendlyName( _( "Net Navigator" ) )
1280 .Tooltip( _( "Show/hide the net navigator" ) ) );
1281
1283 .Name( "eeschema.EditorControl.editWithSymbolEditor" )
1284 .Scope( AS_GLOBAL )
1285 .DefaultHotkey( MD_CTRL + 'E' )
1286 .LegacyHotkeyName( "Edit with Symbol Editor" )
1287 .FriendlyName( _( "Edit with Symbol Editor" ) )
1288 .Tooltip( _( "Open the selected symbol in the Symbol Editor" ) )
1289 .Icon( BITMAPS::libedit ) );
1290
1292 .Name( "eeschema.EditorControl.setExcludeFromBOM" )
1293 .Scope( AS_GLOBAL )
1294 .FriendlyName( _( "Exclude from Bill of Materials" ) )
1295 .Tooltip( _( "Set the exclude from bill of materials attribute" ) ) );
1296
1298 .Name( "eeschema.EditorControl.setExcludeFromSimulation" )
1299 .Scope( AS_GLOBAL )
1300 .FriendlyName( _( "Exclude from Simulation" ) )
1301 .Tooltip( _( "Set the exclude from simulation attribute" ) ) );
1302
1304 .Name( "eeschema.EditorControl.setExcludeFromBoard" )
1305 .Scope( AS_GLOBAL )
1306 .FriendlyName( _( "Exclude from Board" ) )
1307 .Tooltip( _( "Set the exclude from board attribute" ) ) );
1308
1310 .Name( "eeschema.EditorControl.setExcludeFromPosFiles" )
1311 .Scope( AS_GLOBAL )
1312 .FriendlyName( _( "Exclude from Position Files" ) )
1313 .Tooltip( _( "Set the exclude from position files attribute" ) ) );
1314
1316 .Name( "eeschema.EditorControl.setDNP" )
1317 .Scope( AS_GLOBAL )
1318 .FriendlyName( _( "Do not Populate" ) )
1319 .Tooltip( _( "Set the do not populate attribute" ) ) );
1320
1322 .Name( "eeschema.EditorControl.editLibSymbolWithSymbolEditor" )
1323 .Scope( AS_GLOBAL )
1324 .DefaultHotkey( MD_CTRL + MD_SHIFT + 'E' )
1325 .FriendlyName( _( "Edit Library Symbol..." ) )
1326 .Tooltip( _( "Open the library symbol in the Symbol Editor" ) )
1327 .Icon( BITMAPS::libedit ) );
1328
1330 .Name( "eeschema.EditorControl.editSymbolFields" )
1331 .Scope( AS_GLOBAL )
1332 .FriendlyName( _( "Bulk Edit Symbol Fields..." ) )
1333 .Tooltip( _( "Edit a table of fields from all symbols in the schematic" ) )
1334 .Icon( BITMAPS::spreadsheet ) );
1335
1337 .Name( "eeschema.EditorControl.editSymbolLibraryLinks" )
1338 .Scope( AS_GLOBAL )
1339 .FriendlyName( _( "Bulk Edit Symbol Library Links..." ) )
1340 .Tooltip( _( "Edit a table of links between schematic and library symbols" ) )
1342
1344 .Name( "eeschema.EditorControl.assignFootprints" )
1345 .Scope( AS_GLOBAL )
1346 .FriendlyName( _( "Assign Footprints..." ) )
1347 .Tooltip( _( "Run footprint assignment tool" ) )
1348 .Icon( BITMAPS::icon_cvpcb_24 ) );
1349
1351 .Name( "eeschema.EditorControl.importFPAssignments" )
1352 .Scope( AS_GLOBAL )
1353 .FriendlyName( _( "Import Footprint Assignments..." ) )
1354 .Tooltip( _( "Import symbol footprint assignments from .cmp file created by board editor" ) )
1356
1358 .Name( "eeschema.EditorControl.annotate" )
1359 .Scope( AS_GLOBAL )
1360 .FriendlyName( _( "Annotate Schematic..." ) )
1361 .Tooltip( _( "Fill in schematic symbol reference designators" ) )
1362 .Icon( BITMAPS::annotate ) );
1363
1365 .Name( "eeschema.EditorControl.incrementAnnotations" )
1366 .Scope( AS_GLOBAL )
1367 .FriendlyName( _( "Increment Annotations From..." ) )
1368 .Tooltip( _( "Increment a subset of reference designators starting at a particular symbol" ) )
1370 );
1371
1373 .Name( "eeschema.EditorControl.schematicSetup" )
1374 .Scope( AS_GLOBAL )
1375 .FriendlyName( _( "Schematic Setup..." ) )
1376 .Tooltip( _( "Edit schematic setup including annotation styles and electrical rules" ) )
1377 .Icon( BITMAPS::options_schematic ) );
1378
1380 .Name( "eeschema.EditorControl.editPageNumber" )
1381 .Scope( AS_GLOBAL )
1382 .FriendlyName( _( "Edit Sheet Page Number..." ) )
1383 .Tooltip( _( "Edit the page number of the current or selected sheet" ) ) );
1384
1386 .Name( "eeschema.EditorControl.rescueSymbols" )
1387 .Scope( AS_GLOBAL )
1388 .FriendlyName( _( "Rescue Symbols..." ) )
1389 .Tooltip( _( "Find old symbols in project and rename/rescue them" ) )
1390 .Icon( BITMAPS::rescue ) );
1391
1393 .Name( "eeschema.EditorControl.remapSymbols" )
1394 .Scope( AS_GLOBAL )
1395 .FriendlyName( _( "Remap Legacy Library Symbols..." ) )
1396 .Tooltip( _( "Remap library symbol references in legacy schematics to the symbol library table" ) )
1397 .Icon( BITMAPS::rescue ) );
1398
1400 .Name( "eeschema.EditorControl.nextNetItem" )
1401 .Scope( AS_GLOBAL )
1402 .DefaultHotkey( WXK_TAB )
1403 .FriendlyName( _( "Next Net Item" ) )
1404 .Tooltip( _( "Select next item on the current net" ) ) );
1405
1407 .Name( "eeschema.EditorControl.previousNetItem" )
1408 .Scope( AS_GLOBAL )
1409 .DefaultHotkey( MD_SHIFT + static_cast<int>( WXK_TAB ) )
1410 .FriendlyName( _( "Previous Net Item" ) )
1411 .Tooltip( _( "Select previous item on the current net" ) ) );
1412
1414 .Name( "eeschema.EditorControl.drawSheetOnClipboard" )
1415 .Scope( AS_GLOBAL )
1416 .FriendlyName( _( "Export Drawing to Clipboard" ) )
1417 .Tooltip( _( "Export drawing of current sheet to clipboard" ) )
1418 .Icon( BITMAPS::copy ) );
1419
1421 .Name( "eeschema.EditorControl.importGraphics" )
1422 .Scope( AS_GLOBAL )
1423 .DefaultHotkey( MD_CTRL + MD_SHIFT + 'F' )
1424 .LegacyHotkeyName( "Place DXF" )
1425 .FriendlyName( _( "Import Graphics..." ) )
1426 .Tooltip( _( "Import 2D drawing file" ) )
1427 .Icon( BITMAPS::import_vector )
1428 .Flags( AF_ACTIVATE ) );
1429
1431 .Name( "eeschema.EditorControl.importNonKicadSchematic" )
1432 .Scope( AS_GLOBAL )
1433 .FriendlyName( _( "Import Non-KiCad Schematic..." ) )
1434 .Tooltip( _( "Replace current schematic sheet with one imported from another application" ) )
1435 .Icon( BITMAPS::import_document ) );
1436
1438 .Name( "eeschema.EditorControl.showPcbNew" )
1439 .Scope( AS_GLOBAL )
1440 .FriendlyName( _( "Switch to PCB Editor" ) )
1441 .Tooltip( _( "Open PCB in board editor" ) )
1442 .Icon( BITMAPS::icon_pcbnew_24 ) );
1443
1445 .Name( "eeschema.EditorControl.exportNetlist" )
1446 .Scope( AS_GLOBAL )
1447 .FriendlyName( _( "Export Netlist..." ) )
1448 .Tooltip( _( "Export file containing netlist in one of several formats" ) )
1449 .Icon( BITMAPS::netlist ) );
1450
1452 .Name( "eeschema.EditorControl.generateBOM" )
1453 .Scope( AS_GLOBAL )
1454 .FriendlyName( _( "Generate Bill of Materials..." ) )
1455 .Tooltip( _( "Generate a bill of materials for the current schematic" ) )
1456 .Icon( BITMAPS::post_bom ) );
1457
1459 .Name( "eeschema.EditorControl.generateBOMLegacy" )
1460 .Scope( AS_GLOBAL )
1461 .FriendlyName( _( "Generate Legacy Bill of Materials..." ) )
1462 .Tooltip( _( "Generate a bill of materials for the current schematic (Legacy Generator)" ) )
1463 .Icon( BITMAPS::file_bom )
1464 );
1465
1467 .Name( "eeschema.EditorControl.generateBOMExternal" )
1468 .Scope( AS_GLOBAL )
1469 .FriendlyName( _( "Generate Bill of Materials (External)..." ) )
1470 .Tooltip( _( "Generate a bill of materials for the current schematic using external generator" ) )
1471 );
1472
1474 .Name( "eeschema.EditorControl.exportSymbolsToLibrary" )
1475 .Scope( AS_GLOBAL )
1476 .FriendlyName( _( "Export Symbols..." ) )
1477 .Tooltip( _( "Add symbols from schematic to a new or an existing symbol library\n"
1478 "(does not remove other symbols from this library)" ) )
1479 .Icon( BITMAPS::library_archive ) );
1480
1482 .Name( "eeschema.EditorControl.selectOnPCB" )
1483 .Scope( AS_GLOBAL )
1484 .FriendlyName( _( "Select on PCB" ) )
1485 .Tooltip( _( "Select corresponding items in PCB editor" ) )
1486 .Icon( BITMAPS::select_same_sheet ) );
1487
1489 .Name( "eeschema.EditorControl.showHiddenPins" )
1490 .Scope( AS_GLOBAL )
1491 .FriendlyName( _( "Show Hidden Pins" ) )
1492 .ToolbarState( TOOLBAR_STATE::TOGGLE )
1493 .Icon( BITMAPS::hidden_pin ) );
1494
1496 .Name( "eeschema.EditorControl.showHiddenFields" )
1497 .Scope( AS_GLOBAL )
1498 .FriendlyName( _( "Show Hidden Fields" ) )
1499 .ToolbarState( TOOLBAR_STATE::TOGGLE ) );
1500
1502 .Name( "eeschema.EditorControl.showDirectiveLabels" )
1503 .Scope( AS_GLOBAL )
1504 .FriendlyName( _( "Show Directive Labels" ) )
1505 .ToolbarState( TOOLBAR_STATE::TOGGLE ) );
1506
1508 .Name( "eeschema.EditorControl.showERCWarnings" )
1509 .Scope( AS_GLOBAL )
1510 .FriendlyName( _( "Show ERC Warnings" ) )
1511 .Tooltip( _( "Show markers for electrical rules checker warnings" ) )
1512 .ToolbarState( TOOLBAR_STATE::TOGGLE ) );
1513
1515 .Name( "eeschema.EditorControl.showERCErrors" )
1516 .Scope( AS_GLOBAL )
1517 .FriendlyName( _( "Show ERC Errors" ) )
1518 .Tooltip( _( "Show markers for electrical rules checker errors" ) )
1519 .ToolbarState( TOOLBAR_STATE::TOGGLE ) );
1520
1522 .Name( "eeschema.EditorControl.showERCExclusions" )
1523 .Scope( AS_GLOBAL )
1524 .FriendlyName( _( "Show ERC Exclusions" ) )
1525 .Tooltip( _( "Show markers for excluded electrical rules checker violations" ) )
1526 .ToolbarState( TOOLBAR_STATE::TOGGLE ) );
1527
1529 .Name( "eeschema.EditorControl.markSimExclusions" )
1530 .Scope( AS_GLOBAL )
1531 .FriendlyName( _( "Mark items excluded from simulation" ) )
1532 .Tooltip( _( "Draw 'X's over items which have been excluded from simulation" ) )
1533 .ToolbarState( TOOLBAR_STATE::TOGGLE ) );
1534
1536 .Name( "eeschema.EditorControl.showOperatingPointVoltages" )
1537 .Scope( AS_GLOBAL )
1538 .FriendlyName( _( "Show OP Voltages" ) )
1539 .Tooltip( _( "Show operating point voltage data from simulation" ) )
1540 .ToolbarState( TOOLBAR_STATE::TOGGLE ));
1541
1543 .Name( "eeschema.EditorControl.showOperatingPointCurrents" )
1544 .Scope( AS_GLOBAL )
1545 .FriendlyName( _( "Show OP Currents" ) )
1546 .Tooltip( _( "Show operating point current data from simulation" ) )
1547 .ToolbarState( TOOLBAR_STATE::TOGGLE ) );
1548
1550 .Name( "eeschema.EditorControl.togglePinAltIcons" )
1551 .Scope( AS_GLOBAL )
1552 .FriendlyName( _( "Show Pin Alternate Icons" ) )
1553 .Tooltip( _( "Show indicator icons for pins with alternate modes" ) )
1554 .ToolbarState( TOOLBAR_STATE::TOGGLE ) );
1555
1557 .Name( "eeschema.EditorControl.lineModeFree" )
1558 .Scope( AS_GLOBAL )
1559 .FriendlyName( _( "Line Mode for Wires and Buses" ) )
1560 .Tooltip( _( "Draw and drag at any angle" ) )
1561 .Icon( BITMAPS::lines_any )
1562 .Flags( AF_NONE )
1563 .Parameter( LINE_MODE::LINE_MODE_FREE ) );
1564
1566 .Name( "eeschema.EditorControl.lineModeOrthonal" )
1567 .Scope( AS_GLOBAL )
1568 .FriendlyName( _( "Line Mode for Wires and Buses" ) )
1569 .Tooltip( _( "Constrain drawing and dragging to horizontal or vertical motions" ) )
1570 .Icon( BITMAPS::lines90 )
1571 .Flags( AF_NONE )
1572 .Parameter( LINE_MODE::LINE_MODE_90) );
1573
1575 .Name( "eeschema.EditorControl.lineMode45" )
1576 .Scope( AS_GLOBAL )
1577 .FriendlyName( _( "Line Mode for Wires and Buses" ) )
1578 .Tooltip( _( "Constrain drawing and dragging to horizontal, vertical, or 45-degree angle motions" ) )
1579 .Icon( BITMAPS::hv45mode )
1580 .Flags( AF_NONE )
1581 .Parameter( LINE_MODE::LINE_MODE_45 ) );
1582
1584 .Name( "eeschema.EditorControl.lineModeNext" )
1585 .Scope( AS_GLOBAL )
1586 .DefaultHotkey( MD_SHIFT + static_cast<int>( WXK_SPACE ) )
1587 .FriendlyName( _( "Line Mode for Wires and Buses" ) )
1588 .Tooltip( _( "Switch to next angle snapping mode" ) ) );
1589
1591 .Name( "eeschema.EditorControl.angleSnapModeChanged" )
1592 .Scope( AS_GLOBAL )
1593 .Flags( AF_NOTIFY ) );
1594
1596 .Name( "eeschema.EditorControl.annotateAutomatically" )
1597 .Scope( AS_GLOBAL )
1598 .FriendlyName( _( "Annotate Automatically" ) )
1599 .Tooltip( _( "Toggle automatic annotation of new symbols" ) )
1600 .ToolbarState( TOOLBAR_STATE::TOGGLE )
1601 .Icon( BITMAPS::annotate ) );
1602
1604 .Name( "eeschema.EditorControl.previousUnit" )
1605 .Scope( AS_GLOBAL )
1606 .FriendlyName( _( "Previous Symbol Unit" ) )
1607 .Tooltip( _( "Open the previous unit of the symbol" ) )
1608 .Parameter<int>( -1 ) );
1609
1611 .Name( "eeschema.EditorControl.nextUnit" )
1612 .Scope( AS_GLOBAL )
1613 .FriendlyName( _( "Next Symbol Unit" ) )
1614 .Tooltip( _( "Open the next unit of the symbol" ) )
1615 .Parameter<int>( 1 ) );
1616
1617// SCH_NAVIGATE_TOOL
1618//
1620 .Name( "eeschema.NavigateTool.changeSheet" )
1621 .Scope( AS_CONTEXT )
1622 .FriendlyName( _( "Change Sheet" ) )
1623 .Tooltip( _( "Change to provided sheet's contents in the schematic editor" ) )
1624 .Icon( BITMAPS::enter_sheet ) );
1625
1627 .Name( "eeschema.NavigateTool.enterSheet" )
1628 .Scope( AS_GLOBAL )
1629 .FriendlyName( _( "Enter Sheet" ) )
1630 .Tooltip( _( "Display the selected sheet's contents in the schematic editor" ) )
1631 .Icon( BITMAPS::enter_sheet ) );
1632
1634 .Name( "eeschema.NavigateTool.leaveSheet" )
1635 .Scope( AS_GLOBAL )
1636 .DefaultHotkey( MD_ALT + static_cast<int>( WXK_BACK ) )
1637 .LegacyHotkeyName( "Leave Sheet" )
1638 .FriendlyName( _( "Leave Sheet" ) )
1639 .Tooltip( _( "Display the parent sheet in the schematic editor" ) )
1640 .Icon( BITMAPS::leave_sheet ) );
1641
1643 .Name( "eeschema.NavigateTool.up" )
1644 .Scope( AS_GLOBAL )
1645 .DefaultHotkey( MD_ALT + static_cast<int>( WXK_UP ) )
1646 .FriendlyName( _( "Navigate Up" ) )
1647 .Tooltip( _( "Navigate up one sheet in the hierarchy" ) )
1648 .Icon( BITMAPS::up ) );
1649
1651 .Name( "eeschema.NavigateTool.back" )
1652 .Scope( AS_GLOBAL )
1653 .DefaultHotkey( MD_ALT + static_cast<int>( WXK_LEFT ) )
1654 .FriendlyName( _( "Navigate Back" ) )
1655 .Tooltip( _( "Move backward in sheet navigation history" ) )
1656 .Icon( BITMAPS::left ) );
1657
1659 .Name( "eeschema.NavigateTool.forward" )
1660 .Scope( AS_GLOBAL )
1661 .DefaultHotkey( MD_ALT + static_cast<int>( WXK_RIGHT ) )
1662 .FriendlyName( _( "Navigate Forward" ) )
1663 .Tooltip( _( "Move forward in sheet navigation history" ) )
1664 .Icon( BITMAPS::right ) );
1665
1667 .Name( "eeschema.NavigateTool.previous" )
1668 .Scope( AS_GLOBAL )
1669 .DefaultHotkey( WXK_PAGEUP )
1670 .FriendlyName( _( "Previous Sheet" ) )
1671 .Tooltip( _( "Move to previous sheet by number" ) )
1672 .Icon( BITMAPS::left ) );
1673
1675 .Name( "eeschema.NavigateTool.next" )
1676 .Scope( AS_GLOBAL )
1677 .DefaultHotkey( WXK_PAGEDOWN )
1678 .FriendlyName( _( "Next Sheet" ) )
1679 .Tooltip( _( "Move to next sheet by number" ) )
1680 .Icon( BITMAPS::right ) );
1681
1683 .Name( "eeschema.EditorTool.showHierarchy" )
1684 .Scope( AS_GLOBAL )
1685 .DefaultHotkey( MD_CTRL + 'H' )
1686 .FriendlyName( _( "Hierarchy Navigator" ) )
1687 .Tooltip( _( "Show/hide the schematic sheet hierarchy navigator" ) )
1688 .ToolbarState( TOOLBAR_STATE::TOGGLE )
1689 .Icon( BITMAPS::hierarchy_nav ) );
1690
1691
1692// SCH_LINE_WIRE_BUS_TOOL
1693//
1696 .Name( "eeschema.InteractiveDrawingLineWireBus.drawWires" )
1697 .Scope( AS_GLOBAL )
1698 .DefaultHotkey( 'W' )
1699 .LegacyHotkeyName( "Begin Wire" )
1700 .FriendlyName( _( "Draw Wires" ) )
1701 .ToolbarState( TOOLBAR_STATE::TOGGLE )
1702 .Icon( BITMAPS::add_line )
1703 .Flags( AF_ACTIVATE )
1704 .Parameter( &drawWireActionParam ) );
1705
1708 .Name( "eeschema.InteractiveDrawingLineWireBus.drawBuses" )
1709 .Scope( AS_GLOBAL )
1710 .DefaultHotkey( 'B' )
1711 .LegacyHotkeyName( "Begin Bus" )
1712 .FriendlyName( _( "Draw Buses" ) )
1713 .ToolbarState( TOOLBAR_STATE::TOGGLE )
1714 .Icon( BITMAPS::add_bus )
1715 .Flags( AF_ACTIVATE )
1716 .Parameter( &drawBusActionParam ) );
1717
1719 .Name( "eeschema.InteractiveDrawingLineWireBus.unfoldBus" )
1720 .Scope( AS_GLOBAL )
1721 .DefaultHotkey( 'C' )
1722 .LegacyHotkeyName( "Unfold from Bus" )
1723 .FriendlyName( _( "Unfold from Bus" ) )
1724 .Tooltip( _( "Break a wire out of a bus" ) )
1726 .Flags( AF_ACTIVATE )
1727 .Parameter<wxString*>( nullptr ) );
1728
1731 .Name( "eeschema.InteractiveDrawingLineWireBus.drawLines" )
1732 .Scope( AS_GLOBAL )
1733 .DefaultHotkey( 'I' )
1734 .LegacyHotkeyName( "Add Graphic PolyLine" )
1735 .FriendlyName( _( "Draw Lines" ) )
1736 .ToolbarState( TOOLBAR_STATE::TOGGLE )
1738 .Flags( AF_ACTIVATE )
1739 .Parameter( &drawLinesActionParam ) );
1740
1742 .Name( "eeschema.InteractiveDrawingLineWireBus.undoLastSegment")
1743 .Scope( AS_GLOBAL )
1744 .DefaultHotkey( WXK_BACK )
1745 .FriendlyName( _( "Undo Last Segment" ) )
1746 .Tooltip( _( "Walks the current line back one segment." ) )
1747 .Icon( BITMAPS::undo ) );
1748
1750 .Name( "eeschema.InteractiveDrawingLineWireBus.switchPosture" )
1751 .Scope( AS_GLOBAL )
1752 .DefaultHotkey( '/' )
1753 .FriendlyName( _( "Switch Segment Posture" ) )
1754 .Tooltip( _( "Switches posture of the current segment." ) )
1756 .Flags( AF_NONE ) );
1757
1758// SCH_MOVE_TOOL
1759//
1761 .Name( "eeschema.InteractiveMove.move" )
1762 .Scope( AS_GLOBAL )
1763 .DefaultHotkey( 'M' )
1764 .LegacyHotkeyName( "Move Item" )
1765 .FriendlyName( _( "Move" ) )
1766 .Icon( BITMAPS::move )
1767 .Flags( AF_ACTIVATE ) );
1768
1770 .Name( "eeschema.InteractiveMove.drag" )
1771 .Scope( AS_GLOBAL )
1772 .DefaultHotkey( 'G' )
1773 .LegacyHotkeyName( "Drag Item" )
1774 .FriendlyName( _( "Drag" ) )
1775 .Tooltip( _( "Move items while keeping their connections" ) )
1776 .Icon( BITMAPS::drag )
1777 .Flags( AF_ACTIVATE ) );
1778
1780 .Name( "eeschema.AlignToGrid" )
1781 .Scope( AS_GLOBAL )
1782 .FriendlyName( _( "Align Items to Grid" ) )
1784 .Flags( AF_ACTIVATE ) );
1785
1787 .Name( "eeschema.Align.alignTop" )
1788 .Scope( AS_GLOBAL )
1789 .FriendlyName( _( "Align to Top" ) )
1790 .Tooltip( _( "Aligns selected items to the top edge of the item under the cursor" ) )
1792 .Flags( AF_ACTIVATE ) );
1793
1795 .Name( "eeschema.Align.alignBottom" )
1796 .Scope( AS_GLOBAL )
1797 .FriendlyName( _( "Align to Bottom" ) )
1798 .Tooltip( _( "Aligns selected items to the bottom edge of the item under the cursor" ) )
1800 .Flags( AF_ACTIVATE ) );
1801
1803 .Name( "eeschema.Align.alignLeft" )
1804 .Scope( AS_GLOBAL )
1805 .FriendlyName( _( "Align to Left" ) )
1806 .Tooltip( _( "Aligns selected items to the left edge of the item under the cursor" ) )
1808 .Flags( AF_ACTIVATE ) );
1809
1811 .Name( "eeschema.Align.alignRight" )
1812 .Scope( AS_GLOBAL )
1813 .FriendlyName( _( "Align to Right" ) )
1814 .Tooltip( _( "Aligns selected items to the right edge of the item under the cursor" ) )
1816 .Flags( AF_ACTIVATE ) );
1817
1819 .Name( "eeschema.Align.alignCenterX" )
1820 .Scope( AS_GLOBAL )
1821 .FriendlyName( _( "Align to Horizontal Center" ) )
1822 .Tooltip( _( "Aligns selected items to the horizontal center of the item under the cursor" ) )
1824 .Flags( AF_ACTIVATE ) );
1825
1827 .Name( "eeschema.Align.alignCenterY" )
1828 .Scope( AS_GLOBAL )
1829 .FriendlyName( _( "Align to Vertical Center" ) )
1830 .Tooltip( _( "Aligns selected items to the vertical center of the item under the cursor" ) )
1832 .Flags( AF_ACTIVATE ) );
1833
1834// Schematic editor save copy curr sheet command
1836 .Name( "eeschema.EditorControl.saveCurrSheetCopyAs" )
1837 .Scope( AS_GLOBAL )
1838 .FriendlyName( _( "Save Current Sheet Copy As..." ) )
1839 .Tooltip( _( "Save a copy of the current sheet to another location or name" ) )
1840 .Icon( BITMAPS::save_as ) );
1841
1842// Drag and drop
1844 .Name( "eeschema.EditorControl.ddAppendFile" )
1845 .Scope( AS_GLOBAL ) );
1846
1848 .Name( "eeschema.EditorControl.ddAddImage" )
1849 .Scope( AS_GLOBAL ) );
1850
1852 .Name( "eeschema.EditorControl.ddImportGraphics" )
1853 .Scope( AS_GLOBAL ) );
1854
1855// SIMULATOR
1857 .Name( "eeschema.Simulation.newAnalysisTab" )
1858 .Scope( AS_GLOBAL )
1859 .DefaultHotkey( MD_CTRL + 'N' )
1860 .LegacyHotkeyName( "New" )
1861 .FriendlyName( _( "New Analysis Tab..." ) )
1862 .Tooltip( _( "Create a new tab containing a simulation analysis" ) )
1863 .Icon( BITMAPS::sim_add_plot ) );
1864
1866 .Name( "eeschema.Simulation.openWorkbook" )
1867 .Scope( AS_GLOBAL )
1868 .DefaultHotkey( MD_CTRL + 'O' )
1869 .LegacyHotkeyName( "Open" )
1870 .FriendlyName( _( "Open Workbook..." ) )
1871 .Tooltip( _( "Open a saved set of analysis tabs and settings" ) )
1872 .Icon( BITMAPS::directory_open ) );
1873
1875 .Name( "eeschema.Simulation.saveWorkbook" )
1876 .Scope( AS_GLOBAL )
1877 .DefaultHotkey( MD_CTRL + 'S' )
1878 .LegacyHotkeyName( "Save" )
1879 .FriendlyName( _( "Save Workbook" ) )
1880 .Tooltip( _( "Save the current set of analysis tabs and settings" ) )
1881 .Icon( BITMAPS::save ) );
1882
1884 .Name( "eeschema.Simulation.saveWorkbookAs" )
1885 .Scope( AS_GLOBAL )
1886 .DefaultHotkey( MD_CTRL + MD_SHIFT + 'S' )
1887 .LegacyHotkeyName( "Save As" )
1888 .FriendlyName( _( "Save Workbook As..." ) )
1889 .Tooltip( _( "Save the current set of analysis tabs and settings to another location" ) )
1890 .Icon( BITMAPS::sim_add_signal ) );
1891
1893 .Name( "eeschema.Simulator.exportPNG" )
1894 .Scope( AS_GLOBAL )
1895 .FriendlyName( _( "Export Current Plot as PNG..." ) )
1896 .Icon( BITMAPS::export_png ) );
1897
1899 .Name( "eeschema.Simulator.exportCSV" )
1900 .Scope( AS_GLOBAL )
1901 .FriendlyName( _( "Export Current Plot as CSV..." ) )
1902 .Icon( BITMAPS::export_file ) );
1903
1905 .Name( "eeschema.Simulator.exportToClipboard" )
1906 .Scope( AS_GLOBAL )
1907 .FriendlyName( _( "Export Current Plot to Clipboard" ) )
1908 .Icon( BITMAPS::export_png ) );
1909
1911 .Name( "eeschema.Simulator.exportPlotToSchematic" )
1912 .Scope( AS_GLOBAL )
1913 .FriendlyName( _( "Export Current Plot to Schematic" ) )
1914 .Icon( BITMAPS::export_png ) );
1915
1917 .Name( "eeschema.Simulator.toggleSimSidePanel" )
1918 .Scope( AS_GLOBAL )
1919 .FriendlyName( _( "Show Simulation Side Panel" ) ) );
1920
1922 .Name( "eeschema.Simulator.toggleSimConsole" )
1923 .Scope( AS_GLOBAL )
1924 .FriendlyName( _( "Show Simulation Console Panel" ) ) );
1925
1927 .Name( "eeschema.Simulator.toggleLegend" )
1928 .Scope( AS_GLOBAL )
1929 .FriendlyName( _( "Show Legend" ) )
1930 .Icon( BITMAPS::text ) );
1931
1933 .Name( "eeschema.Simulator.toggleDottedSecondary" )
1934 .Scope( AS_GLOBAL )
1935 .FriendlyName( _( "Dotted Current/Phase" ) )
1936 .Tooltip( _( "Draw secondary signal trace (current or phase) with a dotted line" ) ) );
1937
1939 .Name( "eeschema.Simulator.toggleSmithChart" )
1940 .Scope( AS_GLOBAL )
1941 .FriendlyName( _( "Smith Chart" ) )
1942 .Tooltip( _( "Show S-parameter results on a Smith chart" ) ) );
1943
1945 .Name( "eeschema.Simulator.toggleDarkModePlots" )
1946 .Scope( AS_GLOBAL )
1947 .FriendlyName( _( "Dark Mode Plots" ) )
1948 .Tooltip( _( "Draw plots with a black background" ) ) );
1949
1951 .Name( "eeschema.Simulation.simAnalysisProperties" )
1952 .Scope( AS_GLOBAL )
1953 .FriendlyName( _( "Edit Analysis Tab..." ) )
1954 .Tooltip( _( "Edit the current analysis tab's SPICE command and plot setup" ) )
1955 .Icon( BITMAPS::sim_command ) );
1956
1958 .Name( "eeschema.Simulation.runSimulation" )
1959 .Scope( AS_GLOBAL )
1960 .DefaultHotkey( 'R' )
1961 .FriendlyName( _( "Run Simulation" ) )
1962 .Icon( BITMAPS::sim_run ) );
1963
1965 .Name( "eeschema.Simulation.stopSimulation" )
1966 .Scope( AS_GLOBAL )
1967 .FriendlyName( _( "Stop Simulation" ) )
1968 .Icon( BITMAPS::sim_stop ) );
1969
1971 .Name( "eeschema.Simulation.probe" )
1972 .Scope( AS_GLOBAL )
1973 .DefaultHotkey( MD_SHIFT + 'P' )
1974 .FriendlyName( _( "Probe Schematic..." ) )
1975 .Tooltip( _( "Add a simulator probe" ) )
1976 .Icon( BITMAPS::sim_probe ) );
1977
1979 .Name( "eeschema.Simulation.tune" )
1980 .Scope( AS_GLOBAL )
1981 .DefaultHotkey( MD_SHIFT + 'T' )
1982 .FriendlyName( _( "Add Tuned Value..." ) )
1983 .Tooltip( _( "Select a value to be tuned" ) )
1984 .Icon( BITMAPS::sim_tune ) );
1985
1987 .Name( "eeschema.Simulation.editUserDefinedSignals" )
1988 .Scope( AS_GLOBAL )
1989 .FriendlyName( _( "User-defined Signals..." ) )
1990 .Tooltip( _( "Add, edit or delete user-defined simulation signals" ) )
1991 .Icon( BITMAPS::sim_add_signal ) );
1992
1994 .Name( "eeschema.Simulation.showNetlist" )
1995 .Scope( AS_GLOBAL )
1996 .FriendlyName( _( "Show SPICE Netlist" ) )
1997 .Icon( BITMAPS::netlist ) );
1998
2000 .Name( "eeschema.EditorControl.addVariant" )
2001 .Scope( AS_GLOBAL )
2002 .FriendlyName( _( "Add Design Variant..." ) )
2003 .Tooltip( _( "Add new design variant to the schematic." ) ) );
2004
2006 .Name( "eeschema.EditorControl.removeVariant" )
2007 .Scope( AS_GLOBAL )
2008 .FriendlyName( _( "Remove Design Variant..." ) )
2009 .Tooltip( _( "Remove an existing design variant from the schematic." ) ) );
2010
2012 .Name( "eeschema.EditorControl.editVariantDescription" )
2013 .Scope( AS_GLOBAL )
2014 .FriendlyName( _( "Edit Variant Description..." ) )
2015 .Tooltip( _( "Edit the description of an existing design variant." ) ) );
2016
2018 .Name( "eeschema.EditorControl.renameVariant" )
2019 .Scope( AS_GLOBAL )
2020 .FriendlyName( _( "Rename Design Variant..." ) )
2021 .Tooltip( _( "Rename an existing design variant." ) ) );
2022
2024 .Name( "eeschema.EditorControl.copyVariant" )
2025 .Scope( AS_GLOBAL )
2026 .FriendlyName( _( "Copy Design Variant..." ) )
2027 .Tooltip( _( "Create a copy of an existing design variant." ) ) );
2028
2029// 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
@ edit_cmp_symb_links
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 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:474
@ LAYER_NOTES
Definition layer_ids.h:489
@ LAYER_BUS
Definition layer_ids.h:475
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