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>
28#include <tool/tool_action.h>
29
30class DESIGN_BLOCK;
31
32// Actions, being statically-defined, require specialized I18N handling. We continue to
33// use the _() macro so that string harvesting by the I18N framework doesn't have to be
34// specialized, but we don't translate on initialization and instead do it in the getters.
35
36#undef _
37#define _(s) s
38
39// clang-format off
40
41// SCH_INSPECTION_TOOL
42//
44 .Name( "eeschema.InspectionTool.runERC" )
45 .Scope( AS_GLOBAL )
46 .FriendlyName( _( "Electrical Rules Checker" ) )
47 .Tooltip( _( "Show the electrical rules checker window" ) )
48 .Icon( BITMAPS::erc ) );
49
51 .Name( "eeschema.InspectionTool.checkSymbol" )
52 .Scope( AS_GLOBAL )
53 .FriendlyName( _( "Symbol Checker" ) )
54 .Tooltip( _( "Show the symbol checker window" ) )
55 .Icon( BITMAPS::erc ) );
56
58 .Name( "eeschema.InspectionTool.diffSymbol" )
59 .Scope( AS_GLOBAL )
60 .FriendlyName( _( "Compare Symbol with Library" ) )
61 .Tooltip( _( "Show differences between schematic symbol and its library equivalent" ) )
62 .Icon( BITMAPS::library ) );
63
65 .Name( "eeschema.InspectionTool.CompareSchematicWithFile" )
66 .Scope( AS_GLOBAL )
67 .FriendlyName( _( "Compare Schematic with File..." ) )
68 .Tooltip( _( "Diff the current schematic against another .kicad_sch file" ) )
69 .Icon( BITMAPS::library ) );
70
72 .Name( "eeschema.InspectionTool.CompareSchematicWithHistory" )
73 .Scope( AS_GLOBAL )
74 .FriendlyName( _( "Compare Schematic with Local History..." ) )
75 .Tooltip( _( "Diff the current schematic against the most recent local-history snapshot" ) )
76 .Icon( BITMAPS::library ) );
77
79 .Name( "eeschema.InspectionTool.showBusSyntaxHelp" )
80 .Scope( AS_GLOBAL )
81 .FriendlyName( _( "Show Bus Syntax Help" ) )
83
85 .Name( "eeschema.EditorControl.showSimulator" )
86 .Scope( AS_GLOBAL )
87 .FriendlyName( _( "Simulator" ) )
88 .Tooltip( _( "Show simulation window for running SPICE or IBIS simulations." ) )
89 .Icon( BITMAPS::simulator ) );
90
91
92// SCH_POINT_EDITOR
93//
95 .Name( "eeschema.PointEditor.addCorner" )
96 .Scope( AS_GLOBAL )
97 .FriendlyName( _( "Create Corner" ) )
98 .Icon( BITMAPS::add_corner ) );
99
101 .Name( "eeschema.PointEditor.removeCorner" )
102 .Scope( AS_GLOBAL )
103 .FriendlyName( _( "Remove Corner" ) )
104 .Icon( BITMAPS::delete_cursor ) );
105
106// SCH_SELECTION_TOOL
107//
109 .Name( "eeschema.InteractiveSelection.SelectNode" )
110 .Scope( AS_GLOBAL )
111 .DefaultHotkey( MD_ALT + '3' )
112 .LegacyHotkeyName( "Select Node" )
113 .FriendlyName( _( "Select Node" ) )
114 .Tooltip( _( "Select a connection item under the cursor" ) ) );
115
117 .Name( "eeschema.InteractiveSelection.SelectConnection" )
118 .Scope( AS_GLOBAL )
119 .DefaultHotkey( MD_CTRL + '4' )
120 .LegacyHotkeyName( "Select Connection" )
121 .FriendlyName( _( "Select/Expand Connection" ) )
122 .Tooltip( _( "Selects a connection or expands an existing selection to pins, symbols, or entire connections" ) )
124
126 .Name( "eeschema.InteractiveSelection.SyncSelection" )
127 .Scope( AS_GLOBAL ) );
128
129// SCH_DESIGN_BLOCK_CONTROL
131 .Name( "eeschema.SchDesignBlockControl.showDesignBlockPanel" )
132 .Scope( AS_GLOBAL )
133 .FriendlyName( _( "Design Blocks" ) )
134 .Tooltip( _( "Show/hide design blocks library" ) )
135 .Icon( BITMAPS::search_tree ) );
136
138 .Name( "eeschema.RemoteSymbols.showPanel" )
139 .Scope( AS_GLOBAL )
140 .FriendlyName( _( "Remote Symbols" ) )
141 .Tooltip( _( "Show/hide the remote symbol panel" ) )
142 .Icon( BITMAPS::library_browser ) );
143
145 .Name( "eeschema.SchDesignBlockControl.saveSheetAsDesignBlock" )
146 .Scope( AS_GLOBAL )
147 .FriendlyName( _( "Save Current Sheet as Design Block..." ) )
148 .Tooltip( _( "Create a new design block from the current sheet" ) )
149 .Icon( BITMAPS::new_component ) );
150
152 .Name( "eeschema.SchDesignBlockControl.saveSelectionAsDesignBlock" )
153 .Scope( AS_GLOBAL )
154 .FriendlyName( _( "Save Selection as Design Block..." ) )
155 .Tooltip( _( "Create a new design block from the current selection" ) )
156 .Icon( BITMAPS::new_component ) );
157
159 .Name( "eeschema.SchDesignBlockControl.updateDesignBlockFromSheet" )
160 .Scope( AS_GLOBAL )
161 .FriendlyName( _( "Update Design Block from Current Sheet" ) )
162 .Tooltip( _( "Set design block schematic to current sheet" ) )
163 .Icon( BITMAPS::save ) );
164
166 .Name( "eeschema.SchDesignBlockControl.updateDesignBlockFromSelection" )
167 .Scope( AS_GLOBAL )
168 .FriendlyName( _( "Update Design Block from Selection" ) )
169 .Tooltip( _( "Set design block schematic to current selection" ) )
170 .Icon( BITMAPS::save ) );
171
173 .Name( "eeschema.SchDesignBlockControl.deleteDesignBlock" )
174 .Scope( AS_GLOBAL )
175 .FriendlyName( _( "Delete Design Block" ) )
176 .Tooltip( _( "Remove the selected design block from its library" ) )
177 .Icon( BITMAPS::trash ) );
178
180 .Name( "eeschema.SchDesignBlockControl.editDesignBlockProperties" )
181 .Scope( AS_GLOBAL )
182 .FriendlyName( _( "Properties..." ) )
183 .Tooltip( _( "Edit properties of design block" ) )
184 .Icon( BITMAPS::edit ) );
185
186// SYMBOL_EDITOR_CONTROL
187//
189 .Name( "eeschema.SymbolLibraryControl.saveLibraryAs" )
190 .Scope( AS_GLOBAL )
191 .DefaultHotkey( MD_CTRL + MD_SHIFT + 'S' )
192 .LegacyHotkeyName( "Save As" )
193 .FriendlyName( _( "Save Library As..." ) )
194 .Tooltip( _( "Save the current library to a new file" ) ) );
195
197 .Name( "eeschema.SymbolLibraryControl.CompareLibraryWithFile" )
198 .Scope( AS_GLOBAL )
199 .FriendlyName( _( "Compare Library with File..." ) )
200 .Tooltip( _( "Diff the current symbol library against another .kicad_sym file" ) )
201 .Icon( BITMAPS::library ) );
202
204 .Name( "eeschema.SymbolLibraryControl.newSymbol" )
205 .Scope( AS_GLOBAL )
206 .DefaultHotkey( MD_CTRL + 'N' )
207 .FriendlyName( _( "New Symbol..." ) )
208 .Tooltip( _( "Create a new symbol in an existing library" ) )
209 .Icon( BITMAPS::new_component ) );
210
212 .Name( "eeschema.SymbolLibraryControl.deriveFromExistingSymbol" )
213 .Scope( AS_GLOBAL )
214 .FriendlyName( _( "Derive from Existing Symbol..." ) )
215 .Tooltip( _( "Create a new symbol, derived from an existing symbol" ) )
216 .Icon( BITMAPS::new_component ) );
217
219 .Name( "eeschema.SymbolLibraryControl.editSymbol" )
220 .Scope( AS_GLOBAL )
221 .FriendlyName( _( "Edit Symbol" ) )
222 .Tooltip( _( "Show selected symbol on editor canvas" ) )
223 .Icon( BITMAPS::edit ) );
224
226 .Name( "eeschema.SymbolLibraryControl.duplicateSymbol" )
227 .Scope( AS_GLOBAL )
228 .FriendlyName( _( "Duplicate Symbol" ) )
229 .Icon( BITMAPS::duplicate ) );
230
232 .Name( "eeschema.SymbolLibraryControl.renameFootprint" )
233 .Scope( AS_GLOBAL )
234 .FriendlyName( _( "Rename Symbol..." ) )
235 .Icon( BITMAPS::edit ) );
236
238 .Name( "eeschema.SymbolLibraryControl.saveSymbolAs" )
239 .Scope( AS_GLOBAL )
240 .FriendlyName( _( "Save As..." ) )
241 .Tooltip( _( "Save the current symbol to a different library or name" ) )
242 .Icon( BITMAPS::save_as ) );
243
245 .Name( "eeschema.SymbolLibraryControl.saveSymbolCopyAs" )
246 .Scope( AS_GLOBAL )
247 .FriendlyName( _( "Save Copy As..." ) )
248 .Tooltip( _( "Save a copy of the current symbol to a different library or name" ) )
249 .Icon( BITMAPS::save_as ) );
250
252 .Name( "eeschema.SymbolLibraryControl.deleteSymbol" )
253 .Scope( AS_GLOBAL )
254 .FriendlyName( _( "Delete Symbol" ) )
255 .Tooltip( _( "Remove the selected symbol from its library" ) )
256 .Icon( BITMAPS::trash ) );
257
259 .Name( "eeschema.SymbolLibraryControl.cutSymbol" )
260 .Scope( AS_GLOBAL )
261 .FriendlyName( _( "Cut" ) )
262 .Icon( BITMAPS::cut ) );
263
265 .Name( "eeschema.SymbolLibraryControl.copySymbol" )
266 .Scope( AS_GLOBAL )
267 .FriendlyName( _( "Copy" ) )
268 .Icon( BITMAPS::copy ) );
269
271 .Name( "eeschema.SymbolLibraryControl.pasteSymbol" )
272 .Scope( AS_GLOBAL )
273 .FriendlyName( _( "Paste Symbol" ) )
274 .Icon( BITMAPS::paste ) );
275
277 .Name("eeschema.SymbolLibraryControl.importSymbol" )
278 .Scope( AS_GLOBAL )
279 .FriendlyName( _( "Import Symbol..." ) )
280 .Tooltip( _( "Import a symbol to the current library" ) )
281 .Icon( BITMAPS::import_part ) );
282
284 .Name( "eeschema.SymbolLibraryControl.exportSymbol" )
285 .Scope( AS_GLOBAL )
286 .FriendlyName( _( "Export..." ) )
287 .Tooltip( _( "Export a symbol to a new library file" ) )
288 .Icon( BITMAPS::export_part ) );
289
291 .Name( "eeschema.SymbolLibraryControl.updateSymbolFields" )
292 .Scope( AS_GLOBAL )
293 .FriendlyName( _( "Update Symbol Fields..." ) )
294 .Tooltip( _( "Update symbol to match changes made in parent symbol" ) )
295 .Icon( BITMAPS::refresh ) );
296
298 .Name( "eeschema.SymbolLibraryControl.flattenSymbol" )
299 .Scope( AS_GLOBAL )
300 .FriendlyName( _( "Flatten Symbol" ) )
301 .Tooltip( _( "Remove inheritance from symbol" ) ) );
302
303// Not DefaultHotkeys because GTK refuses WXK_TAB as a menu accelerator. Ctrl+Tab uses the char hook.
305 .Name( "eeschema.SymbolLibraryControl.nextSymbolTab" )
306 .Scope( AS_GLOBAL )
307 .FriendlyName( _( "Next Symbol Tab" ) )
308 .Tooltip( _( "Switch to the next open symbol tab" ) ) );
309
311 .Name( "eeschema.SymbolLibraryControl.prevSymbolTab" )
312 .Scope( AS_GLOBAL )
313 .FriendlyName( _( "Previous Symbol Tab" ) )
314 .Tooltip( _( "Switch to the previous open symbol tab" ) ) );
315
317 .Name( "eeschema.SymbolLibraryControl.closeSymbolTab" )
318 .Scope( AS_GLOBAL )
319 .FriendlyName( _( "Close Symbol Tab" ) )
320 .Tooltip( _( "Close the active symbol tab" ) ) );
321
323 .Name( "eeschema.SymbolLibraryControl.showLibraryFieldsTable" )
324 .Scope( AS_GLOBAL )
325 .FriendlyName( _( "Bulk Edit Symbol Fields..." ) )
326 .Tooltip( _( "Edit a table of fields from all symbols in the library" ) )
327 .Icon( BITMAPS::table ) );
328
330 .Name( "eeschema.SymbolLibraryControl.showRelatedLibraryFieldsTable" )
331 .Scope( AS_GLOBAL )
332 .FriendlyName( _( "Bulk Edit Related Symbol Fields..." ) )
333 .Tooltip( _( "Edit a table of fields from all symbols related to the selected symbol" ) )
334 .Icon( BITMAPS::table ) );
335
337 .Name( "eeschema.SymbolLibraryControl.addSymbolToSchematic" )
338 .Scope( AS_GLOBAL )
339 .FriendlyName( _( "Add Symbol to Schematic" ) )
340 .Tooltip( _( "Add the current symbol to the schematic" ) )
342
344 .Name( "eeschema.SymbolLibraryControl.showElectricalTypes" )
345 .Scope( AS_GLOBAL )
346 .FriendlyName( _( "Show Pin Electrical Types" ) )
347 .Tooltip( _( "Annotate pins with their electrical types" ) )
348 .ToolbarState( TOOLBAR_STATE::TOGGLE )
349 .Icon( BITMAPS::pin_show_etype ) );
350
352 .Name( "eeschema.SymbolLibraryControl.showPinNumbers" )
353 .Scope( AS_GLOBAL )
354 .FriendlyName( _( "Show Pin Numbers" ) )
355 .Tooltip( _( "Annotate pins with their numbers" ) )
356 .ToolbarState( TOOLBAR_STATE::TOGGLE )
357 .Icon( BITMAPS::pin ) );
358
360 .Name( "eeschema.SymbolLibraryControl.exportSymbolView" )
361 .Scope( AS_GLOBAL )
362 .FriendlyName( _( "Export View as PNG..." ) )
363 .Tooltip( _( "Create PNG file from the current view" ) )
364 .Icon( BITMAPS::export_png ) );
365
367 .Name( "eeschema.SymbolLibraryControl.exportSymbolAsSVG" )
368 .Scope( AS_GLOBAL )
369 .FriendlyName( _( "Export Symbol as SVG..." ) )
370 .Tooltip( _( "Create SVG file from the current symbol" ) )
371 .Icon( BITMAPS::export_svg ) );
372
374 .Name( "eeschema.SymbolLibraryControl.toggleSyncedPinsMode" )
375 .Scope( AS_GLOBAL )
376 .FriendlyName( _( "Synchronized Pins Mode" ) )
377 .Tooltip( _( "Synchronized Pins Mode\n"
378 "When enabled propagates all changes (except pin numbers) to other units.\n"
379 "Enabled by default for multiunit parts with interchangeable units." ) )
380 .ToolbarState( TOOLBAR_STATE::TOGGLE )
381 .Icon( BITMAPS::pin2pin ) );
382
384 .Name( "eeschema.SymbolLibraryControl.showHiddenPins" )
385 .Scope( AS_GLOBAL )
386 .FriendlyName( _( "Show Hidden Pins" ) )
387 .ToolbarState( TOOLBAR_STATE::TOGGLE )
388 .Icon( BITMAPS::hidden_pin ) );
389
391 .Name( "eeschema.SymbolLibraryControl.showHiddenFields" )
392 .Scope( AS_GLOBAL )
393 .FriendlyName( _( "Show Hidden Fields" ) )
394 .ToolbarState( TOOLBAR_STATE::TOGGLE )
395 .Icon( BITMAPS::text_sketch ) );
396
398 .Name( "eeschema.SymbolLibraryControl.previousSymbol" )
399 .Scope( AS_GLOBAL )
400 .FriendlyName( _( "Display previous symbol" ) )
401 .Icon( BITMAPS::lib_previous ) );
402
404 .Name( "eeschema.SymbolLibraryControl.nextSymbol" )
405 .Scope( AS_GLOBAL )
406 .FriendlyName( _( "Display next symbol" ) )
407 .Icon( BITMAPS::lib_next ) );
408
409
410// SYMBOL_EDITOR_DRAWING_TOOLS
411//
413 .Name( "eeschema.SymbolDrawing.placeSymbolPin" )
414 .Scope( AS_GLOBAL )
415 .DefaultHotkey( 'P' )
416 .LegacyHotkeyName( "Create Pin" )
417 .FriendlyName( _( "Draw Pins" ) )
418 .ToolbarState( TOOLBAR_STATE::TOGGLE )
419 .Icon( BITMAPS::pin )
420 .Flags( AF_ACTIVATE )
421 .Parameter( SCH_PIN_T ) );
422
424 .Name( "eeschema.SymbolDrawing.placeSymbolText" )
425 .Scope( AS_GLOBAL )
426 .FriendlyName( _( "Draw Text" ) )
427 .ToolbarState( TOOLBAR_STATE::TOGGLE )
428 .Icon( BITMAPS::text )
429 .Flags( AF_ACTIVATE )
430 .Parameter( SCH_TEXT_T ) );
431
433 .Name( "eeschema.SymbolDrawing.drawSymbolTextBox" )
434 .Scope( AS_GLOBAL )
435 .FriendlyName( _( "Draw Text Boxes" ) )
436 .ToolbarState( TOOLBAR_STATE::TOGGLE )
437 .Icon( BITMAPS::add_textbox )
438 .Flags( AF_ACTIVATE ) );
439
441 .Name( "eeschema.SymbolDrawing.drawSymbolLines" )
442 .Scope( AS_GLOBAL )
443 .FriendlyName( _( "Draw Lines" ) )
444 .Tooltip( _( "Draw connected graphic lines" ) )
445 .ToolbarState( TOOLBAR_STATE::TOGGLE )
447 .Flags( AF_ACTIVATE )
448 .Parameter( SHAPE_T::POLY ) );
449
451 .Name( "eeschema.SymbolDrawing.drawSymbolPolygon" )
452 .Scope( AS_GLOBAL )
453 .FriendlyName( _( "Draw Polygons" ) )
454 .ToolbarState( TOOLBAR_STATE::TOGGLE )
456 .Flags( AF_ACTIVATE )
457 .Parameter( SHAPE_T::POLY ) );
458
460 .Name( "eeschema.SymbolDrawing.placeSymbolAnchor" )
461 .Scope( AS_GLOBAL )
462 .FriendlyName( _( "Move Symbol Anchor" ) )
463 .ToolbarState( TOOLBAR_STATE::TOGGLE )
464 .Icon( BITMAPS::anchor )
465 .Flags( AF_ACTIVATE ) );
466
467// SYMBOL_EDITOR_PIN_TOOL
468//
470 .Name( "eeschema.PinEditing.pushPinLength" )
471 .Scope( AS_GLOBAL )
472 .FriendlyName( _( "Push Pin Length" ) )
473 .Tooltip( _( "Copy pin length to other pins in symbol" ) )
474 .Icon( BITMAPS::pin_size_to ) );
475
477 .Name( "eeschema.PinEditing.pushPinNameSize" )
478 .Scope( AS_GLOBAL )
479 .FriendlyName( _( "Push Pin Name Size" ) )
480 .Tooltip( _( "Copy pin name size to other pins in symbol" ) )
481 .Icon( BITMAPS::pin_size_to ) );
482
484 .Name( "eeschema.PinEditing.pushPinNumSize" )
485 .Scope( AS_GLOBAL )
486 .FriendlyName( _( "Push Pin Number Size" ) )
487 .Tooltip( _( "Copy pin number size to other pins in symbol" ) )
488 .Icon( BITMAPS::pin_size_to ) );
489
490
491// SCH_DRAWING_TOOLS
492//
494 .Name( "eeschema.InteractiveDrawing.placeSymbol" )
495 .Scope( AS_GLOBAL )
496 .DefaultHotkey( 'A' )
497 .LegacyHotkeyName( "Add Symbol" )
498 .FriendlyName( _( "Place Symbols" ) )
499 .ToolbarState( TOOLBAR_STATE::TOGGLE )
501 .Flags( AF_ACTIVATE )
502 .Parameter<SCH_ACTIONS::PLACE_SYMBOL_PARAMS>( {} ) );
503
505 .Name( "eeschema.InteractiveDrawing.placeNextSymbolUnit" )
506 .Scope( AS_GLOBAL )
507 .FriendlyName( _( "Place Next Symbol Unit" ) )
508 .Tooltip( _( "Place the next unit of the current symbol that is missing from the schematic" ) )
509 .Flags( AF_ACTIVATE )
510 // The symbol to use as a reference for the next unit and optionally the unit number
511 .Parameter<SCH_ACTIONS::PLACE_SYMBOL_UNIT_PARAMS>( {} ) );
512
514 .Name( "eeschema.InteractiveDrawing.placePowerSymbol" )
515 .Scope( AS_GLOBAL )
516 .DefaultHotkey( 'P' )
517 .LegacyHotkeyName( "Add Power" )
518 .FriendlyName( _( "Place Power Symbols" ) )
519 .ToolbarState( TOOLBAR_STATE::TOGGLE )
520 .Icon( BITMAPS::add_power )
521 .Flags( AF_ACTIVATE )
522 .Parameter<SCH_ACTIONS::PLACE_SYMBOL_PARAMS>( {} ) );
523
525 .Name( "eeschema.InteractiveDrawing.placeDesignBlock" )
526 .Scope( AS_GLOBAL )
527 .DefaultHotkey( MD_SHIFT + 'B' )
528 .FriendlyName( _( "Place Design Block" ) )
529 .Tooltip( _( "Add selected design block to current sheet" ) )
531 .Flags( AF_ACTIVATE )
532 .Parameter<DESIGN_BLOCK*>( nullptr ) );
533
535 .Name( "eeschema.InteractiveDrawing.placeLinkedDesignBlock" )
536 .Scope( AS_GLOBAL )
537 .FriendlyName( _( "Place Linked Design Block" ) )
538 .Tooltip( _( "Place design block linked to selected group" ) )
540 .Flags( AF_ACTIVATE ) );
541
543 .Name( "eeschema.InteractiveDrawing.saveToLinkedDesignBlock" )
544 .Scope( AS_GLOBAL )
545 .FriendlyName( _( "Save to Linked Design Block" ) )
546 .Tooltip( _( "Save selected group to linked design block" ) )
548 .Flags( AF_ACTIVATE ) );
549
550
552 .Name( "eeschema.InteractiveDrawing.placeNoConnect" )
553 .Scope( AS_GLOBAL )
554 .DefaultHotkey( 'Q' )
555 .LegacyHotkeyName( "Add No Connect Flag" )
556 .FriendlyName( _( "Place/Remove No Connect Flags" ) )
557 .ToolbarState( TOOLBAR_STATE::TOGGLE )
558 .Icon( BITMAPS::noconn )
559 .Flags( AF_ACTIVATE )
560 .Parameter( SCH_NO_CONNECT_T ) );
561
563 .Name( "eeschema.InteractiveDrawing.placeJunction" )
564 .Scope( AS_GLOBAL )
565 .DefaultHotkey( 'J' )
566 .LegacyHotkeyName( "Add Junction" )
567 .FriendlyName( _( "Place Junctions" ) )
568 .ToolbarState( TOOLBAR_STATE::TOGGLE )
569 .Icon( BITMAPS::add_junction )
570 .Flags( AF_ACTIVATE )
571 .Parameter( SCH_JUNCTION_T ) );
572
574 .Name( "eeschema.InteractiveDrawing.placeBusWireEntry" )
575 .Scope( AS_GLOBAL )
576 .DefaultHotkey( 'Z' )
577 .LegacyHotkeyName( "Add Wire Entry" )
578 .FriendlyName( _( "Place Wire to Bus Entries" ) )
579 .ToolbarState( TOOLBAR_STATE::TOGGLE )
580 .Icon( BITMAPS::add_line2bus )
581 .Flags( AF_ACTIVATE )
582 .Parameter( SCH_BUS_WIRE_ENTRY_T ) );
583
585 .Name( "eeschema.InteractiveDrawing.placeLabel" )
586 .Scope( AS_GLOBAL )
587 .DefaultHotkey( 'L' )
588 .LegacyHotkeyName( "Add Label" )
589 .FriendlyName( _( "Place Net Labels" ) )
590 .ToolbarState( TOOLBAR_STATE::TOGGLE )
591 .Icon( BITMAPS::add_label )
592 .Flags( AF_ACTIVATE ) );
593
595 .Name( "eeschema.InteractiveDrawing.placeClassLabel" )
596 .Scope( AS_GLOBAL )
597 .FriendlyName( _( "Place Directive Labels" ) )
598 .ToolbarState( TOOLBAR_STATE::TOGGLE )
600 .Flags( AF_ACTIVATE ) );
601
603 .Name( "eeschema.InteractiveDrawing.placeHierarchicalLabel" )
604 .Scope( AS_GLOBAL )
605 .DefaultHotkey( 'H' )
606 .LegacyHotkeyName( "Add Hierarchical Label" )
607 .FriendlyName( _( "Place Hierarchical Labels" ) )
608 .ToolbarState( TOOLBAR_STATE::TOGGLE )
610 .Flags( AF_ACTIVATE ) );
611
613 .Name( "eeschema.InteractiveDrawing.drawSheet" )
614 .Scope( AS_GLOBAL )
615 .DefaultHotkey( 'S' )
616 .LegacyHotkeyName( "Add Sheet" )
617 .FriendlyName( _( "Draw Hierarchical Sheets" ) )
618 .ToolbarState( TOOLBAR_STATE::TOGGLE )
620 .Flags( AF_ACTIVATE )
621 .Parameter( SCH_SHEET_T ) );
622
624 .Name( "eeschema.InteractiveDrawing.drawSheetFromFile" )
625 .Scope( AS_GLOBAL )
626 .FriendlyName( _( "Draw Sheet from File" ) )
627 .Tooltip( _( "Copy sheet into project and draw on current sheet" ) )
629 .Flags( AF_ACTIVATE )
630 .Parameter<wxString*> ( nullptr ) );
631
633 .Name( "eeschema.InteractiveDrawing.drawSheetFromDesignBlock" )
634 .Scope( AS_GLOBAL )
635 .FriendlyName( _( "Draw Sheet from Design Block" ) )
636 .Tooltip( _( "Copy design block into project as a sheet on current sheet" ) )
638 .Flags( AF_ACTIVATE )
639 .Parameter<DESIGN_BLOCK*> ( nullptr ) );
640
642 .Name( "eeschema.InteractiveDrawing.placeSheetPin" )
643 .Scope( AS_GLOBAL )
644 .FriendlyName( _( "Place Pins from Sheet" ) )
645 .Tooltip( _( "Add sheet pins from existing hierarchical labels found on that sheet" ) )
646 .ToolbarState( TOOLBAR_STATE::TOGGLE )
648 .Flags( AF_ACTIVATE ) );
649
651 .Name( "eeschema.InteractiveDrawing.autoplaceAllSheetPins" )
652 .Scope( AS_GLOBAL )
653 .FriendlyName( _( "Autoplace All Sheet Pins" ) )
654 .Tooltip( _( "Imports and auto places all sheet pins" ) ) );
655
657 .Name( "eeschema.InteractiveDrawing.syncSheetPins" )
658 .Scope( AS_GLOBAL )
659 .FriendlyName( _( "Sync Selected Sheet Pins..." ) )
660 .Tooltip( _( "Synchronize selected sheet pins and hierarchical labels" ) )
662 .Flags( AF_ACTIVATE ) );
663
665 .Name( "eeschema.InteractiveDrawing.syncAllSheetsPins" )
666 .Scope( AS_GLOBAL )
667 .FriendlyName( _( "Sync All Sheet Pins..." ) )
668 .Tooltip( _( "Synchronize all sheet pins and hierarchical labels" ) )
670 .Flags( AF_ACTIVATE ) );
671
673 .Name( "eeschema.InteractiveDrawing.importSheet" )
674 .Scope( AS_GLOBAL )
675 .FriendlyName( _( "Import Sheet..." ) )
676 .Tooltip( _( "Import sheet into project" ) )
678 .Flags( AF_ACTIVATE )
679 .Parameter<wxString*> ( nullptr ) );
680
682 .Name( "eeschema.InteractiveDrawing.placeGlobalLabel" )
683 .Scope( AS_GLOBAL )
684 .DefaultHotkey( MD_CTRL + 'L' )
685 .LegacyHotkeyName( "Add Global Label" )
686 .FriendlyName( _( "Place Global Labels" ) )
687 .ToolbarState( TOOLBAR_STATE::TOGGLE )
688 .Icon( BITMAPS::add_glabel )
689 .Flags( AF_ACTIVATE ) );
690
692 .Name( "eeschema.InteractiveDrawing.placeSchematicText" )
693 .Scope( AS_GLOBAL )
694 .DefaultHotkey( 'T' )
695 .LegacyHotkeyName( "Add Graphic Text" )
696 .FriendlyName( _( "Draw Text" ) )
697 .ToolbarState( TOOLBAR_STATE::TOGGLE )
698 .Icon( BITMAPS::text )
699 .Flags( AF_ACTIVATE ) );
700
702 .Name( "eeschema.InteractiveDrawing.drawTextBox" )
703 .Scope( AS_GLOBAL )
704 .FriendlyName( _( "Draw Text Boxes" ) )
705 .ToolbarState( TOOLBAR_STATE::TOGGLE )
706 .Icon( BITMAPS::add_textbox )
707 .Flags( AF_ACTIVATE )
708 .Parameter( SHAPE_T::RECTANGLE ) );
709
711 .Name( "eeschema.InteractiveDrawing.drawTable" )
712 .Scope( AS_GLOBAL )
713 .FriendlyName( _( "Draw Tables" ) )
714 .ToolbarState( TOOLBAR_STATE::TOGGLE )
715 .Icon( BITMAPS::table )
716 .Flags( AF_ACTIVATE ) );
717
719 .Name( "eeschema.InteractiveDrawing.drawRectangle" )
720 .Scope( AS_GLOBAL )
721 .FriendlyName( _( "Draw Rectangles" ) )
722 .ToolbarState( TOOLBAR_STATE::TOGGLE )
724 .Flags( AF_ACTIVATE )
725 .Parameter( SHAPE_T::RECTANGLE ) );
726
728 .Name( "eeschema.InteractiveDrawing.drawCircle" )
729 .Scope( AS_GLOBAL )
730 .FriendlyName( _( "Draw Circles" ) )
731 .ToolbarState( TOOLBAR_STATE::TOGGLE )
732 .Icon( BITMAPS::add_circle )
733 .Flags( AF_ACTIVATE )
734 .Parameter( SHAPE_T::CIRCLE ) );
735
737 .Name( "eeschema.InteractiveDrawing.drawEllipse" )
738 .Scope( AS_GLOBAL )
739 .FriendlyName( _( "Draw Ellipses" ) )
740 .ToolbarState( TOOLBAR_STATE::TOGGLE )
741 .Icon( BITMAPS::add_ellipse )
742 .Flags( AF_ACTIVATE )
743 .Parameter( SHAPE_T::ELLIPSE ) );
744
746 .Name( "eeschema.InteractiveDrawing.drawEllipseArc" )
747 .Scope( AS_GLOBAL )
748 .FriendlyName( _( "Draw Elliptical Arcs" ) )
749 .ToolbarState( TOOLBAR_STATE::TOGGLE )
751 .Flags( AF_ACTIVATE )
752 .Parameter( SHAPE_T::ELLIPSE_ARC ) );
753
755 .Name( "eeschema.InteractiveDrawing.drawArc" )
756 .Scope( AS_GLOBAL )
757 .FriendlyName( _( "Draw Arcs" ) )
758 .ToolbarState( TOOLBAR_STATE::TOGGLE )
759 .Icon( BITMAPS::add_arc )
760 .Flags( AF_ACTIVATE )
761 .Parameter( SHAPE_T::ARC ) );
762
764 .Name( "eeschema.InteractiveDrawing.drawBezier" )
765 .Scope( AS_GLOBAL )
766 .FriendlyName( _( "Draw Bezier Curve" ) )
767 .ToolbarState( TOOLBAR_STATE::TOGGLE )
768 .Icon( BITMAPS::add_bezier )
769 .Flags( AF_ACTIVATE )
770 .Parameter( SHAPE_T::BEZIER ) );
771
773 .Name( "eeschema.InteractiveDrawing.placeImage" )
774 .Scope( AS_GLOBAL )
775 .FriendlyName( _( "Place Images" ) )
776 .ToolbarState( TOOLBAR_STATE::TOGGLE )
777 .Icon( BITMAPS::image )
778 .Flags( AF_ACTIVATE )
779 .Parameter<SCH_BITMAP*>( nullptr ) );
780
782 .Name( "eeschema.InteractiveDrawing.drawRuleArea" )
783 .Scope( AS_GLOBAL )
784 .FriendlyName( _( "Draw Rule Areas" ) )
785 .ToolbarState( TOOLBAR_STATE::TOGGLE )
787 .Flags( AF_ACTIVATE )
788 .Parameter( SHAPE_T::RECTANGLE ) );
789
791 .Name( "eeschema.InteractiveDrawing.deleteLastPoint" )
792 .Scope( AS_CONTEXT )
793 .FriendlyName( _( "Delete Last Point" ) )
794 .Tooltip( _( "Delete the last point added to the current item" ) )
795 .Icon( BITMAPS::undo ) );
796
798 .Name( "eeschema.InteractiveDrawing.closeOutline" )
799 .Scope( AS_CONTEXT )
800 .FriendlyName( _( "Close Outline" ) )
801 .Tooltip( _( "Close the in-progress outline" ) )
802 .Icon( BITMAPS::checked_ok ) );
803
804
805// SCH_EDIT_TOOL
806//
808 .Name( "eeschema.InteractiveEdit.repeatDrawItem" )
809 .Scope( AS_GLOBAL )
810#ifdef __WXMAC__
811 .DefaultHotkey( WXK_F1 )
812#else
813 .DefaultHotkey( WXK_INSERT )
814#endif
815 .LegacyHotkeyName( "Repeat Last Item" )
816 .FriendlyName( _( "Repeat Last Item" ) )
817 .Tooltip( _( "Duplicates the last drawn item" ) ) );
818
820 .Name( "eeschema.InteractiveEdit.rotateCW" )
821 .Scope( AS_GLOBAL )
822 .DefaultHotkey( MD_SHIFT + 'R' )
823 .FriendlyName( _( "Rotate Clockwise" ) )
824 .Icon( BITMAPS::rotate_cw ) );
825
827 .Name( "eeschema.InteractiveEdit.rotateCCW" )
828 .Scope( AS_GLOBAL )
829 .DefaultHotkey( 'R' )
830 .LegacyHotkeyName( "Rotate Item" )
831 .FriendlyName( _( "Rotate Counterclockwise" ) )
832 .Icon( BITMAPS::rotate_ccw ) );
833
835 .Name( "eeschema.InteractiveEdit.mirrorV" )
836 .Scope( AS_GLOBAL )
837 .DefaultHotkey( 'Y' )
838 .LegacyHotkeyName( "Mirror X" ) // Yes, these were backwards prior to 6.0....
839 .FriendlyName( _( "Mirror Vertically" ) )
840 .Tooltip( _( "Flips selected item(s) from top to bottom" ) )
841 .Icon( BITMAPS::mirror_v ) );
842
844 .Name( "eeschema.InteractiveEdit.mirrorH" )
845 .Scope( AS_GLOBAL )
846 .DefaultHotkey( 'X' )
847 .LegacyHotkeyName( "Mirror Y" ) // Yes, these were backwards prior to 6.0....
848 .FriendlyName( _( "Mirror Horizontally" ) )
849 .Tooltip( _( "Flips selected item(s) from left to right" ) )
850 .Icon( BITMAPS::mirror_h ) );
851
853 .Name( "eeschema.InteractiveEdit.swap" )
854 .Scope( AS_GLOBAL )
855 .DefaultHotkey( MD_ALT + 'S' )
856 .FriendlyName( _( "Swap" ) )
857 .Tooltip( _( "Swap positions of selected items" ) )
858 .Icon( BITMAPS::swap ) );
859
860// Separate action so "real" pin swaps are not conflated with the generic position swap.
862 .Name( "eeschema.InteractiveEdit.swapPins" )
863 .Scope( AS_GLOBAL )
864 .FriendlyName( _( "Swap Pins" ) )
865 .Tooltip( _( "Swap the selected symbol pins' positions" ) )
866 .Icon( BITMAPS::swap ) );
867
869 .Name( "eeschema.InteractiveEdit.swapPinLabels" )
870 .Scope( AS_GLOBAL )
871 .FriendlyName( _( "Swap Pin Labels" ) )
872 .Tooltip( _( "Swap the labels attached to selected pins" ) )
873 .Icon( BITMAPS::swap ) );
874
876 .Name( "eeschema.InteractiveEdit.swapUnitLabels" )
877 .Scope( AS_GLOBAL )
878 .FriendlyName( _( "Swap Unit Labels" ) )
879 .Tooltip( _( "Swap labels between selected units" ) )
880 .Icon( BITMAPS::swap ) );
881
883 .Name( "eeschema.InteractiveEdit.toggleLock" )
884 .Scope( AS_GLOBAL )
885 .FriendlyName( _( "Toggle Lock" ) )
886 .Tooltip( _( "Lock or unlock selected items" ) )
887 .Icon( BITMAPS::lock_unlock ) );
888
890 .Name( "eeschema.InteractiveEdit.lock" )
891 .Scope( AS_GLOBAL )
892 .FriendlyName( _( "Lock" ) )
893 .Tooltip( _( "Prevent items from being moved and/or resized on the canvas" ) )
894 .Icon( BITMAPS::locked ) );
895
897 .Name( "eeschema.InteractiveEdit.unlock" )
898 .Scope( AS_GLOBAL )
899 .FriendlyName( _( "Unlock" ) )
900 .Tooltip( _( "Allow items to be moved and/or resized on the canvas" ) )
901 .Icon( BITMAPS::unlocked ) );
902
904 .Name( "eeschema.InteractiveEdit.properties" )
905 .Scope( AS_GLOBAL )
906 .DefaultHotkey( 'E' )
907 .LegacyHotkeyName( "Edit Item" )
908 .FriendlyName( _( "Properties..." ) )
909 .Icon( BITMAPS::edit ) );
910
912 .Name( "eeschema.InteractiveEdit.editReference" )
913 .Scope( AS_GLOBAL )
914 .DefaultHotkey( 'U' )
915 .LegacyHotkeyName( "Edit Symbol Reference" )
916 .FriendlyName( _( "Edit Reference Designator..." ) )
917 .Icon( BITMAPS::edit_comp_ref ) );
918
920 .Name( "eeschema.InteractiveEdit.editValue" )
921 .Scope( AS_GLOBAL )
922 .DefaultHotkey( 'V' )
923 .LegacyHotkeyName( "Edit Symbol Value" )
924 .FriendlyName( _( "Edit Value..." ) )
925 .Icon( BITMAPS::edit_comp_value ) );
926
928 .Name( "eeschema.InteractiveEdit.editFootprint" )
929 .Scope( AS_GLOBAL )
930 .DefaultHotkey( 'F' )
931 .LegacyHotkeyName( "Edit Symbol Footprint" )
932 .FriendlyName( _( "Edit Footprint..." ) )
934
936 .Name( "eeschema.InteractiveEdit.autoplaceFields" )
937 .Scope( AS_GLOBAL )
938 .DefaultHotkey( 'O' )
939 .LegacyHotkeyName( "Autoplace Fields" )
940 .FriendlyName( _( "Autoplace Fields" ) )
941 .Tooltip( _( "Runs the automatic placement algorithm on the symbol's (or sheet's) fields" ) )
942 .Icon( BITMAPS::autoplace_fields ) );
943
945 .Name( "eeschema.InteractiveEdit.changeSymbols" )
946 .Scope( AS_GLOBAL )
947 .FriendlyName( _( "Change Symbols..." ) )
948 .Tooltip( _( "Assign different symbols from the library" ) )
949 .Icon( BITMAPS::exchange ) );
950
952 .Name( "eeschema.InteractiveEdit.updateSymbols" )
953 .Scope( AS_GLOBAL )
954 .FriendlyName( _( "Update Symbols from Library..." ) )
955 .Tooltip( _( "Update symbols to include any changes from the library" ) )
956 .Icon( BITMAPS::refresh ) );
957
959 .Name( "eeschema.InteractiveEdit.changeSymbol" )
960 .Scope( AS_GLOBAL )
961 .FriendlyName( _( "Change Symbol..." ) )
962 .Tooltip( _( "Assign a different symbol from the library" ) )
963 .Icon( BITMAPS::exchange ) );
964
966 .Name( "eeschema.InteractiveEdit.updateSymbol" )
967 .Scope( AS_GLOBAL )
968 .FriendlyName( _( "Update Symbol..." ) )
969 .Tooltip( _( "Update symbol to include any changes from the library" ) )
970 .Icon( BITMAPS::refresh ) );
971
973 .Name( "eeschema.InteractiveEdit.assignNetclass" )
974 .Scope( AS_GLOBAL )
975 .FriendlyName( _( "Assign Netclass..." ) )
976 .Tooltip( _( "Assign a netclass to nets matching a pattern" ) )
977 .Icon( BITMAPS::netlist ) );
978
980 .Name( "eeschema.InteractiveEdit.findNetInInspector" )
981 .Scope( AS_GLOBAL )
982 .FriendlyName( _( "Find in Net Navigator" ) )
983 .Tooltip( _( "Locate the selected net in the net navigator" ) ) );
984
986 .Name( "eeschema.InteractiveEdit.toggleDeMorgan" )
987 .Scope( AS_GLOBAL )
988 .FriendlyName( _( "Cycle Body Style" ) )
989 .Tooltip( _( "Switch between De Morgan (or other) representations" ) )
990 .Icon( BITMAPS::morgan2 ) );
991
993 .Name( "eeschema.InteractiveEdit.toLabel" )
994 .Scope( AS_GLOBAL )
995 .FriendlyName( _( "Change to Label" ) )
996 .Tooltip( _( "Change existing item to a label" ) )
998 .Flags( AF_NONE )
999 .Parameter( SCH_LABEL_T ) );
1000
1002 .Name( "eeschema.InteractiveEdit.toCLabel" ) // Old name based on netClass label.
1003 // There's no sense losing hotkey assignments, so we
1004 // leave it as-is)
1005 .Scope( AS_GLOBAL )
1006 .FriendlyName( _( "Change to Directive Label" ) )
1007 .Tooltip( _( "Change existing item to a directive label" ) )
1009 .Flags( AF_NONE )
1010 .Parameter( SCH_DIRECTIVE_LABEL_T ) );
1011
1013 .Name( "eeschema.InteractiveEdit.toHLabel" )
1014 .Scope( AS_GLOBAL )
1015 .FriendlyName( _( "Change to Hierarchical Label" ) )
1016 .Tooltip( _( "Change existing item to a hierarchical label" ) )
1018 .Flags( AF_NONE )
1019 .Parameter( SCH_HIER_LABEL_T ) );
1020
1022 .Name( "eeschema.InteractiveEdit.toGLabel" )
1023 .Scope( AS_GLOBAL )
1024 .FriendlyName( _( "Change to Global Label" ) )
1025 .Tooltip( _( "Change existing item to a global label" ) )
1026 .Icon( BITMAPS::add_glabel )
1027 .Flags( AF_NONE )
1028 .Parameter( SCH_GLOBAL_LABEL_T ) );
1029
1031 .Name( "eeschema.InteractiveEdit.toText" )
1032 .Scope( AS_GLOBAL )
1033 .FriendlyName( _( "Change to Text" ) )
1034 .Tooltip( _( "Change existing item to a text comment" ) )
1035 .Icon( BITMAPS::text )
1036 .Flags( AF_NONE )
1037 .Parameter( SCH_TEXT_T ) );
1038
1040 .Name( "eeschema.InteractiveEdit.toTextBox" )
1041 .Scope( AS_GLOBAL )
1042 .FriendlyName( _( "Change to Text Box" ) )
1043 .Tooltip( _( "Change existing item to a text box" ) )
1044 .Icon( BITMAPS::add_textbox )
1045 .Flags( AF_NONE )
1046 .Parameter( SCH_TEXTBOX_T ) );
1047
1049 .Name( "eeschema.InteractiveEdit.cleanupSheetPins" )
1050 .Scope( AS_GLOBAL )
1051 .FriendlyName( _( "Cleanup Sheet Pins" ) )
1052 .Tooltip( _( "Delete unreferenced sheet pins" ) ) );
1053
1055 .Name( "eeschema.InteractiveEdit.editTextAndGraphics" )
1056 .Scope( AS_GLOBAL )
1057 .FriendlyName( _( "Edit Text & Graphics Properties..." ) )
1058 .Tooltip( _( "Edit text and graphics properties globally across schematic" ) )
1059 .Icon( BITMAPS::text ) );
1060
1062 .Name( "eeschema.InteractiveEdit.symbolProperties" )
1063 .Scope( AS_GLOBAL )
1064 .FriendlyName( _( "Symbol Properties..." ) )
1065 .Icon( BITMAPS::part_properties ) );
1066
1068 .Name( "eeschema.InteractiveEdit.pinTable" )
1069 .Scope( AS_GLOBAL )
1070 .FriendlyName( _( "Pin Table..." ) )
1071 .Tooltip( _( "Displays pin table for bulk editing of pins" ) )
1072 .Icon( BITMAPS::pin_table ) );
1073
1075 .Name( "eeschema.InteractiveEdit.convertStackedPins" )
1076 .Scope( AS_GLOBAL )
1077 .FriendlyName( _( "Convert Stacked Pins" ) )
1078 .Tooltip( _( "Convert multiple pins at the same location to a single pin with stacked notation" ) )
1079 .Icon( BITMAPS::pin ) );
1080
1082 .Name( "eeschema.InteractiveEdit.explodeStackedPin" )
1083 .Scope( AS_GLOBAL )
1084 .FriendlyName( _( "Explode Stacked Pin" ) )
1085 .Tooltip( _( "Convert a pin with stacked notation to multiple individual pins" ) )
1086 .Icon( BITMAPS::pin ) );
1087
1089 .Name( "eeschema.InteractiveEdit.breakWire" )
1090 .Scope( AS_GLOBAL )
1091 .FriendlyName( _( "Break" ) )
1092 .Tooltip( _( "Divide into connected segments" ) )
1093 .Icon( BITMAPS::break_line ) );
1094
1096 .Name( "eeschema.InteractiveEdit.slice" )
1097 .Scope( AS_GLOBAL )
1098 .FriendlyName( _( "Slice" ) )
1099 .Tooltip( _( "Divide into unconnected segments" ) )
1100 .Icon( BITMAPS::slice_line ) );
1101
1102// SCH_EDITOR_CONTROL
1103//
1105 .Name( "eeschema.EditorControl.restartMove" )
1106 .Scope( AS_GLOBAL ) );
1107
1109 .Name( "eeschema.EditorControl.highlightNet" )
1110 .Scope( AS_GLOBAL )
1111 .DefaultHotkey( '`' )
1112 .FriendlyName( _( "Highlight Net" ) )
1113 .Tooltip( _( "Highlight net under cursor" ) )
1115
1117 .Name( "eeschema.EditorControl.clearHighlight" )
1118 .Scope( AS_GLOBAL )
1119 .DefaultHotkey( '~' )
1120 .FriendlyName( _( "Clear Net Highlighting" ) )
1121 .Tooltip( _( "Clear any existing net highlighting" ) ) );
1122
1124 .Name( "eeschema.EditorControl.updateNetHighlighting" )
1125 .Scope( AS_GLOBAL ) );
1126
1128 .Name( "eeschema.EditorControl.highlightNetTool" )
1129 .Scope( AS_GLOBAL )
1130 .FriendlyName( _( "Highlight Nets" ) )
1131 .Tooltip( _( "Highlight wires and pins of a net" ) )
1132 .ToolbarState( TOOLBAR_STATE::TOGGLE )
1134 .Flags( AF_ACTIVATE ) );
1135
1137 .Name( "eeschema.EditorControl.highlightNetChain" )
1138 .Scope( AS_GLOBAL )
1139 .FriendlyName( _( "Highlight Net Chain" ) )
1140 .Tooltip( _( "Highlight the net chain under the cursor" ) )
1142
1144 .Name( "eeschema.EditorControl.removeFromNetChain" )
1145 .Scope( AS_GLOBAL )
1146 .FriendlyName( _( "Remove from Net Chain" ) )
1147 .Tooltip( _( "Remove the selected net from its net chain by disabling propagation on the bridging component(s)" ) ) );
1148
1150 .Name( "eeschema.EditorControl.replaceTerminalPin" )
1151 .Scope( AS_GLOBAL )
1152 .FriendlyName( _( "Replace Terminal Pin" ) ) );
1153
1155 .Name( "eeschema.EditorControl.nameNetChain" )
1156 .Scope( AS_GLOBAL )
1157 .FriendlyName( _( "Name Net Chain" ) )
1158 .Tooltip( _( "Assign a name to the net chain" ) ) );
1159
1161 .Name( "eeschema.EditorControl.createNetChainBetweenPins" )
1162 .Scope( AS_GLOBAL )
1163 .FriendlyName( _( "Create Net Chain Between Pins" ) )
1164 .Tooltip( _( "Create a new net chain connecting the two selected pins" ) ) );
1165
1167 .Name( "eeschema.EditorControl.createNetChain" )
1168 .Scope( AS_GLOBAL )
1169 .FriendlyName( _( "Create Net Chain..." ) )
1170 .Tooltip( _( "Detect net chain paths through passives and create a named net chain" ) ) );
1171
1173 .Name( "eeschema.EditorControl.showNetNavigator" )
1174 .Scope( AS_GLOBAL )
1175 .FriendlyName( _( "Net Navigator" ) )
1176 .Tooltip( _( "Show/hide the net navigator" ) ) );
1177
1179 .Name( "eeschema.EditorControl.editWithSymbolEditor" )
1180 .Scope( AS_GLOBAL )
1181 .DefaultHotkey( MD_CTRL + 'E' )
1182 .LegacyHotkeyName( "Edit with Symbol Editor" )
1183 .FriendlyName( _( "Edit with Symbol Editor" ) )
1184 .Tooltip( _( "Open the selected symbol in the Symbol Editor" ) )
1185 .Icon( BITMAPS::libedit ) );
1186
1188 .Name( "eeschema.EditorControl.setExcludeFromBOM" )
1189 .Scope( AS_GLOBAL )
1190 .FriendlyName( _( "Exclude from Bill of Materials" ) )
1191 .Tooltip( _( "Set the exclude from bill of materials attribute" ) ) );
1192
1194 .Name( "eeschema.EditorControl.setExcludeFromSimulation" )
1195 .Scope( AS_GLOBAL )
1196 .FriendlyName( _( "Exclude from Simulation" ) )
1197 .Tooltip( _( "Set the exclude from simulation attribute" ) ) );
1198
1200 .Name( "eeschema.EditorControl.setExcludeFromBoard" )
1201 .Scope( AS_GLOBAL )
1202 .FriendlyName( _( "Exclude from Board" ) )
1203 .Tooltip( _( "Set the exclude from board attribute" ) ) );
1204
1206 .Name( "eeschema.EditorControl.setExcludeFromPosFiles" )
1207 .Scope( AS_GLOBAL )
1208 .FriendlyName( _( "Exclude from Position Files" ) )
1209 .Tooltip( _( "Set the exclude from position files attribute" ) ) );
1210
1212 .Name( "eeschema.EditorControl.setDNP" )
1213 .Scope( AS_GLOBAL )
1214 .FriendlyName( _( "Do not Populate" ) )
1215 .Tooltip( _( "Set the do not populate attribute" ) ) );
1216
1218 .Name( "eeschema.EditorControl.editLibSymbolWithSymbolEditor" )
1219 .Scope( AS_GLOBAL )
1220 .DefaultHotkey( MD_CTRL + MD_SHIFT + 'E' )
1221 .FriendlyName( _( "Edit Library Symbol..." ) )
1222 .Tooltip( _( "Open the library symbol in the Symbol Editor" ) )
1223 .Icon( BITMAPS::libedit ) );
1224
1226 .Name( "eeschema.EditorControl.editSymbolFields" )
1227 .Scope( AS_GLOBAL )
1228 .FriendlyName( _( "Bulk Edit Symbol Fields..." ) )
1229 .Tooltip( _( "Edit a table of fields from all symbols in the schematic" ) )
1230 .Icon( BITMAPS::spreadsheet ) );
1231
1233 .Name( "eeschema.EditorControl.editSymbolLibraryLinks" )
1234 .Scope( AS_GLOBAL )
1235 .FriendlyName( _( "Bulk Edit Symbol Library Links..." ) )
1236 .Tooltip( _( "Edit a table of links between schematic and library symbols" ) )
1238
1240 .Name( "eeschema.EditorControl.assignFootprints" )
1241 .Scope( AS_GLOBAL )
1242 .FriendlyName( _( "Assign Footprints..." ) )
1243 .Tooltip( _( "Run footprint assignment tool" ) )
1244 .Icon( BITMAPS::icon_cvpcb_24 ) );
1245
1247 .Name( "eeschema.EditorControl.importFPAssignments" )
1248 .Scope( AS_GLOBAL )
1249 .FriendlyName( _( "Import Footprint Assignments..." ) )
1250 .Tooltip( _( "Import symbol footprint assignments from .cmp file created by board editor" ) )
1252
1254 .Name( "eeschema.EditorControl.annotate" )
1255 .Scope( AS_GLOBAL )
1256 .FriendlyName( _( "Annotate Schematic..." ) )
1257 .Tooltip( _( "Fill in schematic symbol reference designators" ) )
1258 .Icon( BITMAPS::annotate ) );
1259
1261 .Name( "eeschema.EditorControl.incrementAnnotations" )
1262 .Scope( AS_GLOBAL )
1263 .FriendlyName( _( "Increment Annotations From..." ) )
1264 .Tooltip( _( "Increment a subset of reference designators starting at a particular symbol" ) )
1266 );
1267
1269 .Name( "eeschema.EditorControl.schematicSetup" )
1270 .Scope( AS_GLOBAL )
1271 .FriendlyName( _( "Schematic Setup..." ) )
1272 .Tooltip( _( "Edit schematic setup including annotation styles and electrical rules" ) )
1273 .Icon( BITMAPS::options_schematic ) );
1274
1276 .Name( "eeschema.EditorControl.editPageNumber" )
1277 .Scope( AS_GLOBAL )
1278 .FriendlyName( _( "Edit Sheet Page Number..." ) )
1279 .Tooltip( _( "Edit the page number of the current or selected sheet" ) ) );
1280
1282 .Name( "eeschema.EditorControl.rescueSymbols" )
1283 .Scope( AS_GLOBAL )
1284 .FriendlyName( _( "Rescue Symbols..." ) )
1285 .Tooltip( _( "Find old symbols in project and rename/rescue them" ) )
1286 .Icon( BITMAPS::rescue ) );
1287
1289 .Name( "eeschema.EditorControl.remapSymbols" )
1290 .Scope( AS_GLOBAL )
1291 .FriendlyName( _( "Remap Legacy Library Symbols..." ) )
1292 .Tooltip( _( "Remap library symbol references in legacy schematics to the symbol library table" ) )
1293 .Icon( BITMAPS::rescue ) );
1294
1296 .Name( "eeschema.EditorControl.nextNetItem" )
1297 .Scope( AS_GLOBAL )
1298 .DefaultHotkey( WXK_TAB )
1299 .FriendlyName( _( "Next Net Item" ) )
1300 .Tooltip( _( "Select next item on the current net" ) ) );
1301
1303 .Name( "eeschema.EditorControl.previousNetItem" )
1304 .Scope( AS_GLOBAL )
1305 .DefaultHotkey( MD_SHIFT + static_cast<int>( WXK_TAB ) )
1306 .FriendlyName( _( "Previous Net Item" ) )
1307 .Tooltip( _( "Select previous item on the current net" ) ) );
1308
1310 .Name( "eeschema.EditorControl.drawSheetOnClipboard" )
1311 .Scope( AS_GLOBAL )
1312 .FriendlyName( _( "Export Drawing to Clipboard" ) )
1313 .Tooltip( _( "Export drawing of current sheet to clipboard" ) )
1314 .Icon( BITMAPS::copy ) );
1315
1317 .Name( "eeschema.EditorControl.importGraphics" )
1318 .Scope( AS_GLOBAL )
1319 .DefaultHotkey( MD_CTRL + MD_SHIFT + 'F' )
1320 .LegacyHotkeyName( "Place DXF" )
1321 .FriendlyName( _( "Import Graphics..." ) )
1322 .Tooltip( _( "Import 2D drawing file" ) )
1323 .Icon( BITMAPS::import_vector )
1324 .Flags( AF_ACTIVATE ) );
1325
1327 .Name( "eeschema.EditorControl.importNonKicadSchematic" )
1328 .Scope( AS_GLOBAL )
1329 .FriendlyName( _( "Import Non-KiCad Schematic..." ) )
1330 .Tooltip( _( "Replace current schematic sheet with one imported from another application" ) )
1331 .Icon( BITMAPS::import_document ) );
1332
1334 .Name( "eeschema.EditorControl.showPcbNew" )
1335 .Scope( AS_GLOBAL )
1336 .FriendlyName( _( "Switch to PCB Editor" ) )
1337 .Tooltip( _( "Open PCB in board editor" ) )
1338 .Icon( BITMAPS::icon_pcbnew_24 ) );
1339
1341 .Name( "eeschema.EditorControl.exportNetlist" )
1342 .Scope( AS_GLOBAL )
1343 .FriendlyName( _( "Export Netlist..." ) )
1344 .Tooltip( _( "Export file containing netlist in one of several formats" ) )
1345 .Icon( BITMAPS::netlist ) );
1346
1348 .Name( "eeschema.EditorControl.generateBOM" )
1349 .Scope( AS_GLOBAL )
1350 .FriendlyName( _( "Generate Bill of Materials..." ) )
1351 .Tooltip( _( "Generate a bill of materials for the current schematic" ) )
1352 .Icon( BITMAPS::post_bom ) );
1353
1355 .Name( "eeschema.EditorControl.generateBOMLegacy" )
1356 .Scope( AS_GLOBAL )
1357 .FriendlyName( _( "Generate Legacy Bill of Materials..." ) )
1358 .Tooltip( _( "Generate a bill of materials for the current schematic (Legacy Generator)" ) )
1359 .Icon( BITMAPS::file_bom )
1360 );
1361
1363 .Name( "eeschema.EditorControl.generateBOMExternal" )
1364 .Scope( AS_GLOBAL )
1365 .FriendlyName( _( "Generate Bill of Materials (External)..." ) )
1366 .Tooltip( _( "Generate a bill of materials for the current schematic using external generator" ) )
1367 );
1368
1370 .Name( "eeschema.EditorControl.exportSymbolsToLibrary" )
1371 .Scope( AS_GLOBAL )
1372 .FriendlyName( _( "Export Symbols..." ) )
1373 .Tooltip( _( "Add symbols from schematic to a new or an existing symbol library\n"
1374 "(does not remove other symbols from this library)" ) )
1375 .Icon( BITMAPS::library_archive ) );
1376
1378 .Name( "eeschema.EditorControl.selectOnPCB" )
1379 .Scope( AS_GLOBAL )
1380 .FriendlyName( _( "Select on PCB" ) )
1381 .Tooltip( _( "Select corresponding items in PCB editor" ) )
1382 .Icon( BITMAPS::select_same_sheet ) );
1383
1385 .Name( "eeschema.EditorControl.showHiddenPins" )
1386 .Scope( AS_GLOBAL )
1387 .FriendlyName( _( "Show Hidden Pins" ) )
1388 .ToolbarState( TOOLBAR_STATE::TOGGLE )
1389 .Icon( BITMAPS::hidden_pin ) );
1390
1392 .Name( "eeschema.EditorControl.showHiddenFields" )
1393 .Scope( AS_GLOBAL )
1394 .FriendlyName( _( "Show Hidden Fields" ) )
1395 .ToolbarState( TOOLBAR_STATE::TOGGLE ) );
1396
1398 .Name( "eeschema.EditorControl.showDirectiveLabels" )
1399 .Scope( AS_GLOBAL )
1400 .FriendlyName( _( "Show Directive Labels" ) )
1401 .ToolbarState( TOOLBAR_STATE::TOGGLE ) );
1402
1404 .Name( "eeschema.EditorControl.showERCWarnings" )
1405 .Scope( AS_GLOBAL )
1406 .FriendlyName( _( "Show ERC Warnings" ) )
1407 .Tooltip( _( "Show markers for electrical rules checker warnings" ) )
1408 .ToolbarState( TOOLBAR_STATE::TOGGLE ) );
1409
1411 .Name( "eeschema.EditorControl.showERCErrors" )
1412 .Scope( AS_GLOBAL )
1413 .FriendlyName( _( "Show ERC Errors" ) )
1414 .Tooltip( _( "Show markers for electrical rules checker errors" ) )
1415 .ToolbarState( TOOLBAR_STATE::TOGGLE ) );
1416
1418 .Name( "eeschema.EditorControl.showERCExclusions" )
1419 .Scope( AS_GLOBAL )
1420 .FriendlyName( _( "Show ERC Exclusions" ) )
1421 .Tooltip( _( "Show markers for excluded electrical rules checker violations" ) )
1422 .ToolbarState( TOOLBAR_STATE::TOGGLE ) );
1423
1425 .Name( "eeschema.EditorControl.markSimExclusions" )
1426 .Scope( AS_GLOBAL )
1427 .FriendlyName( _( "Mark items excluded from simulation" ) )
1428 .Tooltip( _( "Draw 'X's over items which have been excluded from simulation" ) )
1429 .ToolbarState( TOOLBAR_STATE::TOGGLE ) );
1430
1432 .Name( "eeschema.EditorControl.showOperatingPointVoltages" )
1433 .Scope( AS_GLOBAL )
1434 .FriendlyName( _( "Show OP Voltages" ) )
1435 .Tooltip( _( "Show operating point voltage data from simulation" ) )
1436 .ToolbarState( TOOLBAR_STATE::TOGGLE ));
1437
1439 .Name( "eeschema.EditorControl.showOperatingPointCurrents" )
1440 .Scope( AS_GLOBAL )
1441 .FriendlyName( _( "Show OP Currents" ) )
1442 .Tooltip( _( "Show operating point current data from simulation" ) )
1443 .ToolbarState( TOOLBAR_STATE::TOGGLE ) );
1444
1446 .Name( "eeschema.EditorControl.togglePinAltIcons" )
1447 .Scope( AS_GLOBAL )
1448 .FriendlyName( _( "Show Pin Alternate Icons" ) )
1449 .Tooltip( _( "Show indicator icons for pins with alternate modes" ) )
1450 .ToolbarState( TOOLBAR_STATE::TOGGLE ) );
1451
1453 .Name( "eeschema.EditorControl.lineModeFree" )
1454 .Scope( AS_GLOBAL )
1455 .FriendlyName( _( "Line Mode for Wires and Buses" ) )
1456 .Tooltip( _( "Draw and drag at any angle" ) )
1457 .Icon( BITMAPS::lines_any )
1458 .Flags( AF_NONE )
1459 .Parameter( LINE_MODE::LINE_MODE_FREE ) );
1460
1462 .Name( "eeschema.EditorControl.lineModeOrthonal" )
1463 .Scope( AS_GLOBAL )
1464 .FriendlyName( _( "Line Mode for Wires and Buses" ) )
1465 .Tooltip( _( "Constrain drawing and dragging to horizontal or vertical motions" ) )
1466 .Icon( BITMAPS::lines90 )
1467 .Flags( AF_NONE )
1468 .Parameter( LINE_MODE::LINE_MODE_90) );
1469
1471 .Name( "eeschema.EditorControl.lineMode45" )
1472 .Scope( AS_GLOBAL )
1473 .FriendlyName( _( "Line Mode for Wires and Buses" ) )
1474 .Tooltip( _( "Constrain drawing and dragging to horizontal, vertical, or 45-degree angle motions" ) )
1475 .Icon( BITMAPS::hv45mode )
1476 .Flags( AF_NONE )
1477 .Parameter( LINE_MODE::LINE_MODE_45 ) );
1478
1480 .Name( "eeschema.EditorControl.lineModeNext" )
1481 .Scope( AS_GLOBAL )
1482 .DefaultHotkey( MD_SHIFT + static_cast<int>( WXK_SPACE ) )
1483 .FriendlyName( _( "Line Mode for Wires and Buses" ) )
1484 .Tooltip( _( "Switch to next angle snapping mode" ) ) );
1485
1487 .Name( "eeschema.EditorControl.angleSnapModeChanged" )
1488 .Scope( AS_GLOBAL )
1489 .Flags( AF_NOTIFY ) );
1490
1492 .Name( "eeschema.EditorControl.annotateAutomatically" )
1493 .Scope( AS_GLOBAL )
1494 .FriendlyName( _( "Annotate Automatically" ) )
1495 .Tooltip( _( "Toggle automatic annotation of new symbols" ) )
1496 .ToolbarState( TOOLBAR_STATE::TOGGLE )
1497 .Icon( BITMAPS::annotate ) );
1498
1500 .Name( "eeschema.EditorControl.previousUnit" )
1501 .Scope( AS_GLOBAL )
1502 .FriendlyName( _( "Previous Symbol Unit" ) )
1503 .Tooltip( _( "Open the previous unit of the symbol" ) )
1504 .Parameter<int>( -1 ) );
1505
1507 .Name( "eeschema.EditorControl.nextUnit" )
1508 .Scope( AS_GLOBAL )
1509 .FriendlyName( _( "Next Symbol Unit" ) )
1510 .Tooltip( _( "Open the next unit of the symbol" ) )
1511 .Parameter<int>( 1 ) );
1512
1513// SCH_NAVIGATE_TOOL
1514//
1516 .Name( "eeschema.NavigateTool.changeSheet" )
1517 .Scope( AS_CONTEXT )
1518 .FriendlyName( _( "Change Sheet" ) )
1519 .Tooltip( _( "Change to provided sheet's contents in the schematic editor" ) )
1520 .Icon( BITMAPS::enter_sheet ) );
1521
1523 .Name( "eeschema.NavigateTool.enterSheet" )
1524 .Scope( AS_GLOBAL )
1525 .FriendlyName( _( "Enter Sheet" ) )
1526 .Tooltip( _( "Display the selected sheet's contents in the schematic editor" ) )
1527 .Icon( BITMAPS::enter_sheet ) );
1528
1530 .Name( "eeschema.NavigateTool.leaveSheet" )
1531 .Scope( AS_GLOBAL )
1532 .DefaultHotkey( MD_ALT + static_cast<int>( WXK_BACK ) )
1533 .LegacyHotkeyName( "Leave Sheet" )
1534 .FriendlyName( _( "Leave Sheet" ) )
1535 .Tooltip( _( "Display the parent sheet in the schematic editor" ) )
1536 .Icon( BITMAPS::leave_sheet ) );
1537
1539 .Name( "eeschema.NavigateTool.up" )
1540 .Scope( AS_GLOBAL )
1541 .DefaultHotkey( MD_ALT + static_cast<int>( WXK_UP ) )
1542 .FriendlyName( _( "Navigate Up" ) )
1543 .Tooltip( _( "Navigate up one sheet in the hierarchy" ) )
1544 .Icon( BITMAPS::up ) );
1545
1547 .Name( "eeschema.NavigateTool.back" )
1548 .Scope( AS_GLOBAL )
1549 .DefaultHotkey( MD_ALT + static_cast<int>( WXK_LEFT ) )
1550 .FriendlyName( _( "Navigate Back" ) )
1551 .Tooltip( _( "Move backward in sheet navigation history" ) )
1552 .Icon( BITMAPS::left ) );
1553
1555 .Name( "eeschema.NavigateTool.forward" )
1556 .Scope( AS_GLOBAL )
1557 .DefaultHotkey( MD_ALT + static_cast<int>( WXK_RIGHT ) )
1558 .FriendlyName( _( "Navigate Forward" ) )
1559 .Tooltip( _( "Move forward in sheet navigation history" ) )
1560 .Icon( BITMAPS::right ) );
1561
1563 .Name( "eeschema.NavigateTool.previous" )
1564 .Scope( AS_GLOBAL )
1565 .DefaultHotkey( WXK_PAGEUP )
1566 .FriendlyName( _( "Previous Sheet" ) )
1567 .Tooltip( _( "Move to previous sheet by number" ) )
1568 .Icon( BITMAPS::left ) );
1569
1571 .Name( "eeschema.NavigateTool.next" )
1572 .Scope( AS_GLOBAL )
1573 .DefaultHotkey( WXK_PAGEDOWN )
1574 .FriendlyName( _( "Next Sheet" ) )
1575 .Tooltip( _( "Move to next sheet by number" ) )
1576 .Icon( BITMAPS::right ) );
1577
1579 .Name( "eeschema.EditorTool.showHierarchy" )
1580 .Scope( AS_GLOBAL )
1581 .DefaultHotkey( MD_CTRL + 'H' )
1582 .FriendlyName( _( "Hierarchy Navigator" ) )
1583 .Tooltip( _( "Show/hide the schematic sheet hierarchy navigator" ) )
1584 .ToolbarState( TOOLBAR_STATE::TOGGLE )
1585 .Icon( BITMAPS::hierarchy_nav ) );
1586
1587
1588// SCH_LINE_WIRE_BUS_TOOL
1589//
1592 .Name( "eeschema.InteractiveDrawingLineWireBus.drawWires" )
1593 .Scope( AS_GLOBAL )
1594 .DefaultHotkey( 'W' )
1595 .LegacyHotkeyName( "Begin Wire" )
1596 .FriendlyName( _( "Draw Wires" ) )
1597 .ToolbarState( TOOLBAR_STATE::TOGGLE )
1598 .Icon( BITMAPS::add_line )
1599 .Flags( AF_ACTIVATE )
1600 .Parameter( &drawWireActionParam ) );
1601
1604 .Name( "eeschema.InteractiveDrawingLineWireBus.drawBuses" )
1605 .Scope( AS_GLOBAL )
1606 .DefaultHotkey( 'B' )
1607 .LegacyHotkeyName( "Begin Bus" )
1608 .FriendlyName( _( "Draw Buses" ) )
1609 .ToolbarState( TOOLBAR_STATE::TOGGLE )
1610 .Icon( BITMAPS::add_bus )
1611 .Flags( AF_ACTIVATE )
1612 .Parameter( &drawBusActionParam ) );
1613
1615 .Name( "eeschema.InteractiveDrawingLineWireBus.unfoldBus" )
1616 .Scope( AS_GLOBAL )
1617 .DefaultHotkey( 'C' )
1618 .LegacyHotkeyName( "Unfold from Bus" )
1619 .FriendlyName( _( "Unfold from Bus" ) )
1620 .Tooltip( _( "Break a wire out of a bus" ) )
1622 .Flags( AF_ACTIVATE )
1623 .Parameter<wxString*>( nullptr ) );
1624
1627 .Name( "eeschema.InteractiveDrawingLineWireBus.drawLines" )
1628 .Scope( AS_GLOBAL )
1629 .DefaultHotkey( 'I' )
1630 .LegacyHotkeyName( "Add Graphic PolyLine" )
1631 .FriendlyName( _( "Draw Lines" ) )
1632 .ToolbarState( TOOLBAR_STATE::TOGGLE )
1634 .Flags( AF_ACTIVATE )
1635 .Parameter( &drawLinesActionParam ) );
1636
1638 .Name( "eeschema.InteractiveDrawingLineWireBus.undoLastSegment")
1639 .Scope( AS_GLOBAL )
1640 .DefaultHotkey( WXK_BACK )
1641 .FriendlyName( _( "Undo Last Segment" ) )
1642 .Tooltip( _( "Walks the current line back one segment." ) )
1643 .Icon( BITMAPS::undo ) );
1644
1646 .Name( "eeschema.InteractiveDrawingLineWireBus.switchPosture" )
1647 .Scope( AS_GLOBAL )
1648 .DefaultHotkey( '/' )
1649 .FriendlyName( _( "Switch Segment Posture" ) )
1650 .Tooltip( _( "Switches posture of the current segment." ) )
1652 .Flags( AF_NONE ) );
1653
1654// SCH_MOVE_TOOL
1655//
1657 .Name( "eeschema.InteractiveMove.move" )
1658 .Scope( AS_GLOBAL )
1659 .DefaultHotkey( 'M' )
1660 .LegacyHotkeyName( "Move Item" )
1661 .FriendlyName( _( "Move" ) )
1662 .Icon( BITMAPS::move )
1663 .Flags( AF_ACTIVATE ) );
1664
1666 .Name( "eeschema.InteractiveMove.drag" )
1667 .Scope( AS_GLOBAL )
1668 .DefaultHotkey( 'G' )
1669 .LegacyHotkeyName( "Drag Item" )
1670 .FriendlyName( _( "Drag" ) )
1671 .Tooltip( _( "Move items while keeping their connections" ) )
1672 .Icon( BITMAPS::drag )
1673 .Flags( AF_ACTIVATE ) );
1674
1676 .Name( "eeschema.AlignToGrid" )
1677 .Scope( AS_GLOBAL )
1678 .FriendlyName( _( "Align Items to Grid" ) )
1680 .Flags( AF_ACTIVATE ) );
1681
1683 .Name( "eeschema.Align.alignTop" )
1684 .Scope( AS_GLOBAL )
1685 .FriendlyName( _( "Align to Top" ) )
1686 .Tooltip( _( "Aligns selected items to the top edge of the item under the cursor" ) )
1688 .Flags( AF_ACTIVATE ) );
1689
1691 .Name( "eeschema.Align.alignBottom" )
1692 .Scope( AS_GLOBAL )
1693 .FriendlyName( _( "Align to Bottom" ) )
1694 .Tooltip( _( "Aligns selected items to the bottom edge of the item under the cursor" ) )
1696 .Flags( AF_ACTIVATE ) );
1697
1699 .Name( "eeschema.Align.alignLeft" )
1700 .Scope( AS_GLOBAL )
1701 .FriendlyName( _( "Align to Left" ) )
1702 .Tooltip( _( "Aligns selected items to the left edge of the item under the cursor" ) )
1704 .Flags( AF_ACTIVATE ) );
1705
1707 .Name( "eeschema.Align.alignRight" )
1708 .Scope( AS_GLOBAL )
1709 .FriendlyName( _( "Align to Right" ) )
1710 .Tooltip( _( "Aligns selected items to the right edge of the item under the cursor" ) )
1712 .Flags( AF_ACTIVATE ) );
1713
1715 .Name( "eeschema.Align.alignCenterX" )
1716 .Scope( AS_GLOBAL )
1717 .FriendlyName( _( "Align to Horizontal Center" ) )
1718 .Tooltip( _( "Aligns selected items to the horizontal center of the item under the cursor" ) )
1720 .Flags( AF_ACTIVATE ) );
1721
1723 .Name( "eeschema.Align.alignCenterY" )
1724 .Scope( AS_GLOBAL )
1725 .FriendlyName( _( "Align to Vertical Center" ) )
1726 .Tooltip( _( "Aligns selected items to the vertical center of the item under the cursor" ) )
1728 .Flags( AF_ACTIVATE ) );
1729
1730// Schematic editor save copy curr sheet command
1732 .Name( "eeschema.EditorControl.saveCurrSheetCopyAs" )
1733 .Scope( AS_GLOBAL )
1734 .FriendlyName( _( "Save Current Sheet Copy As..." ) )
1735 .Tooltip( _( "Save a copy of the current sheet to another location or name" ) )
1736 .Icon( BITMAPS::save_as ) );
1737
1738// Drag and drop
1740 .Name( "eeschema.EditorControl.ddAppendFile" )
1741 .Scope( AS_GLOBAL ) );
1742
1744 .Name( "eeschema.EditorControl.ddAddImage" )
1745 .Scope( AS_GLOBAL ) );
1746
1748 .Name( "eeschema.EditorControl.ddImportGraphics" )
1749 .Scope( AS_GLOBAL ) );
1750
1751// SIMULATOR
1753 .Name( "eeschema.Simulation.newAnalysisTab" )
1754 .Scope( AS_GLOBAL )
1755 .DefaultHotkey( MD_CTRL + 'N' )
1756 .LegacyHotkeyName( "New" )
1757 .FriendlyName( _( "New Analysis Tab..." ) )
1758 .Tooltip( _( "Create a new tab containing a simulation analysis" ) )
1759 .Icon( BITMAPS::sim_add_plot ) );
1760
1762 .Name( "eeschema.Simulation.openWorkbook" )
1763 .Scope( AS_GLOBAL )
1764 .DefaultHotkey( MD_CTRL + 'O' )
1765 .LegacyHotkeyName( "Open" )
1766 .FriendlyName( _( "Open Workbook..." ) )
1767 .Tooltip( _( "Open a saved set of analysis tabs and settings" ) )
1768 .Icon( BITMAPS::directory_open ) );
1769
1771 .Name( "eeschema.Simulation.saveWorkbook" )
1772 .Scope( AS_GLOBAL )
1773 .DefaultHotkey( MD_CTRL + 'S' )
1774 .LegacyHotkeyName( "Save" )
1775 .FriendlyName( _( "Save Workbook" ) )
1776 .Tooltip( _( "Save the current set of analysis tabs and settings" ) )
1777 .Icon( BITMAPS::save ) );
1778
1780 .Name( "eeschema.Simulation.saveWorkbookAs" )
1781 .Scope( AS_GLOBAL )
1782 .DefaultHotkey( MD_CTRL + MD_SHIFT + 'S' )
1783 .LegacyHotkeyName( "Save As" )
1784 .FriendlyName( _( "Save Workbook As..." ) )
1785 .Tooltip( _( "Save the current set of analysis tabs and settings to another location" ) )
1786 .Icon( BITMAPS::sim_add_signal ) );
1787
1789 .Name( "eeschema.Simulator.exportPNG" )
1790 .Scope( AS_GLOBAL )
1791 .FriendlyName( _( "Export Current Plot as PNG..." ) )
1792 .Icon( BITMAPS::export_png ) );
1793
1795 .Name( "eeschema.Simulator.exportCSV" )
1796 .Scope( AS_GLOBAL )
1797 .FriendlyName( _( "Export Current Plot as CSV..." ) )
1798 .Icon( BITMAPS::export_file ) );
1799
1801 .Name( "eeschema.Simulator.exportToClipboard" )
1802 .Scope( AS_GLOBAL )
1803 .FriendlyName( _( "Export Current Plot to Clipboard" ) )
1804 .Icon( BITMAPS::export_png ) );
1805
1807 .Name( "eeschema.Simulator.exportPlotToSchematic" )
1808 .Scope( AS_GLOBAL )
1809 .FriendlyName( _( "Export Current Plot to Schematic" ) )
1810 .Icon( BITMAPS::export_png ) );
1811
1813 .Name( "eeschema.Simulator.toggleSimSidePanel" )
1814 .Scope( AS_GLOBAL )
1815 .FriendlyName( _( "Show Simulation Side Panel" ) ) );
1816
1818 .Name( "eeschema.Simulator.toggleSimConsole" )
1819 .Scope( AS_GLOBAL )
1820 .FriendlyName( _( "Show Simulation Console Panel" ) ) );
1821
1823 .Name( "eeschema.Simulator.toggleLegend" )
1824 .Scope( AS_GLOBAL )
1825 .FriendlyName( _( "Show Legend" ) )
1826 .Icon( BITMAPS::text ) );
1827
1829 .Name( "eeschema.Simulator.toggleDottedSecondary" )
1830 .Scope( AS_GLOBAL )
1831 .FriendlyName( _( "Dotted Current/Phase" ) )
1832 .Tooltip( _( "Draw secondary signal trace (current or phase) with a dotted line" ) ) );
1833
1835 .Name( "eeschema.Simulator.toggleDarkModePlots" )
1836 .Scope( AS_GLOBAL )
1837 .FriendlyName( _( "Dark Mode Plots" ) )
1838 .Tooltip( _( "Draw plots with a black background" ) ) );
1839
1841 .Name( "eeschema.Simulation.simAnalysisProperties" )
1842 .Scope( AS_GLOBAL )
1843 .FriendlyName( _( "Edit Analysis Tab..." ) )
1844 .Tooltip( _( "Edit the current analysis tab's SPICE command and plot setup" ) )
1845 .Icon( BITMAPS::sim_command ) );
1846
1848 .Name( "eeschema.Simulation.runSimulation" )
1849 .Scope( AS_GLOBAL )
1850 .DefaultHotkey( 'R' )
1851 .FriendlyName( _( "Run Simulation" ) )
1852 .Icon( BITMAPS::sim_run ) );
1853
1855 .Name( "eeschema.Simulation.stopSimulation" )
1856 .Scope( AS_GLOBAL )
1857 .FriendlyName( _( "Stop Simulation" ) )
1858 .Icon( BITMAPS::sim_stop ) );
1859
1861 .Name( "eeschema.Simulation.probe" )
1862 .Scope( AS_GLOBAL )
1863 .DefaultHotkey( MD_SHIFT + 'P' )
1864 .FriendlyName( _( "Probe Schematic..." ) )
1865 .Tooltip( _( "Add a simulator probe" ) )
1866 .Icon( BITMAPS::sim_probe ) );
1867
1869 .Name( "eeschema.Simulation.tune" )
1870 .Scope( AS_GLOBAL )
1871 .DefaultHotkey( MD_SHIFT + 'T' )
1872 .FriendlyName( _( "Add Tuned Value..." ) )
1873 .Tooltip( _( "Select a value to be tuned" ) )
1874 .Icon( BITMAPS::sim_tune ) );
1875
1877 .Name( "eeschema.Simulation.editUserDefinedSignals" )
1878 .Scope( AS_GLOBAL )
1879 .FriendlyName( _( "User-defined Signals..." ) )
1880 .Tooltip( _( "Add, edit or delete user-defined simulation signals" ) )
1881 .Icon( BITMAPS::sim_add_signal ) );
1882
1884 .Name( "eeschema.Simulation.showNetlist" )
1885 .Scope( AS_GLOBAL )
1886 .FriendlyName( _( "Show SPICE Netlist" ) )
1887 .Icon( BITMAPS::netlist ) );
1888
1890 .Name( "eeschema.EditorControl.addVariant" )
1891 .Scope( AS_GLOBAL )
1892 .FriendlyName( _( "Add Design Variant..." ) )
1893 .Tooltip( _( "Add new design variant to the schematic." ) ) );
1894
1896 .Name( "eeschema.EditorControl.removeVariant" )
1897 .Scope( AS_GLOBAL )
1898 .FriendlyName( _( "Remove Design Variant..." ) )
1899 .Tooltip( _( "Remove an existing design variant from the schematic." ) ) );
1900
1902 .Name( "eeschema.EditorControl.editVariantDescription" )
1903 .Scope( AS_GLOBAL )
1904 .FriendlyName( _( "Edit Variant Description..." ) )
1905 .Tooltip( _( "Edit the description of an existing design variant." ) ) );
1906
1907// clang-format on
@ import_document
@ align_items_bottom
@ add_symbol_to_schematic
@ align_items_left
@ add_hierarchical_subsheet
@ 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
@ library_browser
@ INVALID_BITMAP
@ part_properties
@ add_component
@ add_keepout_area
@ import_hierarchical_label
@ align_elements_to_grid
@ align_items_center
@ annotate_increment
@ options_schematic
@ bus_definition_tool
@ 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:75
static TOOL_ACTION placeSheetPin
Definition sch_actions.h:81
static TOOL_ACTION createNetChain
static TOOL_ACTION updateDesignBlockFromSheet
static TOOL_ACTION importSymbol
static TOOL_ACTION syncSelection
Selection synchronization (PCB -> SCH)
Definition sch_actions.h:53
static TOOL_ACTION newSymbol
static TOOL_ACTION placeNextSymbolUnit
Definition sch_actions.h:63
static TOOL_ACTION compareSchematicWithHistory
static TOOL_ACTION swapPins
static TOOL_ACTION editValue
static TOOL_ACTION saveLibraryAs
static TOOL_ACTION setExcludeFromBOM
static TOOL_ACTION assignFootprints
static TOOL_ACTION saveSheetAsDesignBlock
static TOOL_ACTION mirrorV
static TOOL_ACTION lineModeNext
static TOOL_ACTION toggleSimConsole
static TOOL_ACTION drawSheetFromFile
Definition sch_actions.h:79
static TOOL_ACTION exportPlotToClipboard
static TOOL_ACTION toggleOPCurrents
static TOOL_ACTION saveToLinkedDesignBlock
Definition sch_actions.h:67
static TOOL_ACTION clearHighlight
static TOOL_ACTION swap
static TOOL_ACTION saveSelectionAsDesignBlock
static TOOL_ACTION showBusSyntaxHelp
static TOOL_ACTION placeGlobalLabel
Definition sch_actions.h:76
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
Definition sch_actions.h:94
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:89
static TOOL_ACTION toggleAnnotateAuto
static TOOL_ACTION updateSymbol
static TOOL_ACTION autoplaceFields
static TOOL_ACTION changeSymbol
static TOOL_ACTION syncAllSheetsPins
Definition sch_actions.h:87
static TOOL_ACTION showRelatedLibFieldsTable
static TOOL_ACTION ddAddImage
static TOOL_ACTION editLibSymbolWithLibEdit
static TOOL_ACTION closeOutline
static TOOL_ACTION exportPlotAsCSV
static TOOL_ACTION drawArc
Definition sch_actions.h:95
static TOOL_ACTION drawSheet
Definition sch_actions.h:78
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 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:82
static TOOL_ACTION drawRectangle
Definition sch_actions.h:91
static TOOL_ACTION drawLines
Definition sch_actions.h:97
static TOOL_ACTION saveCurrSheetCopyAs
Definition sch_actions.h:39
static TOOL_ACTION placeHierLabel
Definition sch_actions.h:77
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:47
static TOOL_ACTION drawEllipse
Definition sch_actions.h:93
static TOOL_ACTION toggleDottedSecondary
static TOOL_ACTION placeLabel
Definition sch_actions.h:74
static TOOL_ACTION drawCircle
Definition sch_actions.h:92
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:73
static TOOL_ACTION closeSymbolTab
static TOOL_ACTION toHLabel
static TOOL_ACTION showRemoteSymbolPanel
static TOOL_ACTION cutSymbol
static TOOL_ACTION nextNetItem
static TOOL_ACTION drawBezier
Definition sch_actions.h:96
static TOOL_ACTION drawWire
Definition sch_actions.h:68
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:83
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:72
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:62
static TOOL_ACTION placeImage
Definition sch_actions.h:98
static TOOL_ACTION alignToGrid
static TOOL_ACTION deleteLastPoint
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 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 placeLinkedDesignBlock
Definition sch_actions.h:66
static TOOL_ACTION exportSymbolView
static TOOL_ACTION selectNode
Select the junction, wire or bus segment under the cursor.
Definition sch_actions.h:43
static TOOL_ACTION drawSheetFromDesignBlock
Definition sch_actions.h:80
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:70
static TOOL_ACTION pointEditorRemoveCorner
static TOOL_ACTION placeDesignBlock
Definition sch_actions.h:65
static TOOL_ACTION toggleOPVoltages
static TOOL_ACTION drawBus
Definition sch_actions.h:69
static TOOL_ACTION simProbe
static TOOL_ACTION runERC
Inspection and Editing.
static TOOL_ACTION symbolProperties
static TOOL_ACTION placeSymbolText
static TOOL_ACTION drawTable
Definition sch_actions.h:90
static TOOL_ACTION lineMode90
static TOOL_ACTION ddAppendFile
static TOOL_ACTION slice
static TOOL_ACTION placeSchematicText
Definition sch_actions.h:88
static TOOL_ACTION toggleSyncedPinsMode
static TOOL_ACTION toTextBox
static TOOL_ACTION lineModeFree
static TOOL_ACTION unlock
Definition sch_actions.h:58
static TOOL_ACTION changeSheet
static TOOL_ACTION highlightNet
static TOOL_ACTION deleteSymbol
static TOOL_ACTION lock
Definition sch_actions.h:57
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
Definition sch_actions.h:99
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 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:71
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:85
static TOOL_ACTION toggleLegend
static TOOL_ACTION diffSymbol
static TOOL_ACTION placePower
Definition sch_actions.h:64
static TOOL_ACTION navigateUp
static TOOL_ACTION previousUnit
static TOOL_ACTION toggleLock
Definition sch_actions.h:56
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:52
@ RECTANGLE
Use RECTANGLE instead of RECT to avoid collision in a Windows header.
Definition eda_shape.h:47
@ ELLIPSE_ARC
Definition eda_shape.h:53
@ LINE_MODE_90
@ LINE_MODE_45
@ LINE_MODE_FREE
@ LAYER_WIRE
Definition layer_ids.h:450
@ LAYER_NOTES
Definition layer_ids.h:465
@ LAYER_BUS
Definition layer_ids.h:451
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:157
@ SCH_DIRECTIVE_LABEL_T
Definition typeinfo.h:168
@ SCH_LABEL_T
Definition typeinfo.h:164
@ SCH_SHEET_T
Definition typeinfo.h:172
@ SCH_HIER_LABEL_T
Definition typeinfo.h:166
@ SCH_TEXT_T
Definition typeinfo.h:148
@ SCH_BUS_WIRE_ENTRY_T
Definition typeinfo.h:158
@ SCH_TEXTBOX_T
Definition typeinfo.h:149
@ SCH_GLOBAL_LABEL_T
Definition typeinfo.h:165
@ SCH_JUNCTION_T
Definition typeinfo.h:156
@ SCH_PIN_T
Definition typeinfo.h:150