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, you may find one here:
19 * http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
20 * or you may search the http://www.gnu.org website for the version 2 license,
21 * or you may write to the Free Software Foundation, Inc.,
22 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
23 */
24
25#include "tools/sch_actions.h"
26
27#include <bitmaps.h>
28#include <core/typeinfo.h>
29#include <layer_ids.h>
30#include <sch_bitmap.h>
32#include <tool/tool_action.h>
33
34// Actions, being statically-defined, require specialized I18N handling. We continue to
35// use the _() macro so that string harvesting by the I18N framework doesn't have to be
36// specialized, but we don't translate on initialization and instead do it in the getters.
37
38#undef _
39#define _(s) s
40
41
42// SCH_INSPECTION_TOOL
43//
45 .Name( "eeschema.InspectionTool.runERC" )
46 .Scope( AS_GLOBAL )
47 .FriendlyName( _( "Electrical Rules Checker" ) )
48 .Tooltip( _( "Show the electrical rules checker window" ) )
49 .Icon( BITMAPS::erc ) );
50
52 .Name( "eeschema.InspectionTool.checkSymbol" )
53 .Scope( AS_GLOBAL )
54 .FriendlyName( _( "Symbol Checker" ) )
55 .Tooltip( _( "Show the symbol checker window" ) )
56 .Icon( BITMAPS::erc ) );
57
59 .Name( "eeschema.InspectionTool.diffSymbol" )
60 .Scope( AS_GLOBAL )
61 .FriendlyName( _( "Compare Symbol with Library" ) )
62 .Tooltip( _( "Show differences between schematic symbol and its library equivalent" ) )
63 .Icon( BITMAPS::library ) );
64
66 .Name( "eeschema.InspectionTool.showBusSyntaxHelp" )
67 .Scope( AS_GLOBAL )
68 .FriendlyName( _( "Show Bus Syntax Help" ) )
70
72 .Name( "eeschema.EditorControl.showSimulator" )
73 .Scope( AS_GLOBAL )
74 .FriendlyName( _( "Simulator" ) )
75 .Tooltip( _( "Show simulation window for running SPICE or IBIS simulations." ) )
76 .Icon( BITMAPS::simulator ) );
77
78
79// SCH_POINT_EDITOR
80//
82 .Name( "eeschema.PointEditor.addCorner" )
83 .Scope( AS_GLOBAL )
84 .FriendlyName( _( "Create Corner" ) )
85 .Icon( BITMAPS::add_corner ) );
86
88 .Name( "eeschema.PointEditor.removeCorner" )
89 .Scope( AS_GLOBAL )
90 .FriendlyName( _( "Remove Corner" ) )
91 .Icon( BITMAPS::delete_cursor ) );
92
93// SCH_SELECTION_TOOL
94//
96 .Name( "eeschema.InteractiveSelection" )
97 .Scope( AS_GLOBAL )
98 .Flags( AF_ACTIVATE ) );
99
101 .Name( "eeschema.InteractiveSelection.SelectNode" )
102 .Scope( AS_GLOBAL )
103 .DefaultHotkey( MD_ALT + '3' )
104 .LegacyHotkeyName( "Select Node" )
105 .FriendlyName( _( "Select Node" ) )
106 .Tooltip( _( "Select a connection item under the cursor" ) ) );
107
109 .Name( "eeschema.InteractiveSelection.SelectConnection" )
110 .Scope( AS_GLOBAL )
111 .DefaultHotkey( MD_CTRL + '4' )
112 .LegacyHotkeyName( "Select Connection" )
113 .FriendlyName( _( "Select Connection" ) )
114 .Tooltip( _( "Select a complete connection" ) )
116
118 .Name( "eeschema.InteractiveSelection.SelectionMenu" )
119 .Scope( AS_GLOBAL ) );
120
122 .Name( "eeschema.InteractiveSelection.AddItemToSel" )
123 .Scope( AS_GLOBAL ) );
124
126 .Name( "eeschema.InteractiveSelection.AddItemsToSel" )
127 .Scope( AS_GLOBAL ) );
128
130 .Name( "eeschema.InteractiveSelection.RemoveItemFromSel" )
131 .Scope( AS_GLOBAL ) );
132
134 .Name( "eeschema.InteractiveSelection.RemoveItemsFromSel" )
135 .Scope( AS_GLOBAL ) );
136
138 .Name( "eeschema.InteractiveSelection.ClearSelection" )
139 .Scope( AS_GLOBAL ) );
140
142 .Name( "eeschema.InteractiveSelection.SyncSelection" )
143 .Scope( AS_GLOBAL ) );
144
145// SCH_DESIGN_BLOCK_CONTROL
147 .Name( "eeschema.SchDesignBlockControl.showDesignBlockPanel" )
148 .Scope( AS_GLOBAL )
149 .FriendlyName( _( "Design Blocks" ) )
150 .Tooltip( _( "Show/hide design blocks library" ) )
151 .Icon( BITMAPS::search_tree ) );
152
154 .Name( "eeschema.SchDesignBlockControl.saveSheetAsDesignBlock" )
155 .Scope( AS_GLOBAL )
156 .FriendlyName( _( "Save Current Sheet as Design Block..." ) )
157 .Tooltip( _( "Create a new design block from the current sheet" ) )
158 .Icon( BITMAPS::new_component ) );
159
161 .Name( "eeschema.SchDesignBlockControl.saveSelectionAsDesignBlock" )
162 .Scope( AS_GLOBAL )
163 .FriendlyName( _( "Save Selection as Design Block..." ) )
164 .Tooltip( _( "Create a new design block from the current selection" ) )
165 .Icon( BITMAPS::new_component ) );
166
168 .Name( "eeschema.SchDesignBlockControl.saveDeleteDesignBlock" )
169 .Scope( AS_GLOBAL )
170 .FriendlyName( _( "Delete Design Block" ) )
171 .Tooltip( _( "Remove the selected design block from its library" ) )
172 .Icon( BITMAPS::trash ) );
173
175 .Name( "eeschema.SchDesignBlockControl.editDesignBlockProperties" )
176 .Scope( AS_GLOBAL )
177 .FriendlyName( _( "Properties..." ) )
178 .Tooltip( _( "Edit properies of design block" ) )
179 .Icon( BITMAPS::edit ) );
180
181// SYMBOL_EDITOR_CONTROL
182//
184 .Name( "eeschema.SymbolLibraryControl.saveLibraryAs" )
185 .Scope( AS_GLOBAL )
186 .DefaultHotkey( MD_CTRL + MD_SHIFT + 'S' )
187 .LegacyHotkeyName( "Save As" )
188 .FriendlyName( _( "Save Library As..." ) )
189 .Tooltip( _( "Save the current library to a new file" ) ) );
190
192 .Name( "eeschema.SymbolLibraryControl.newSymbol" )
193 .Scope( AS_GLOBAL )
194 .DefaultHotkey( MD_CTRL + 'N' )
195 .FriendlyName( _( "New Symbol..." ) )
196 .Tooltip( _( "Create a new symbol in an existing library" ) )
197 .Icon( BITMAPS::new_component ) );
198
200 .Name( "eeschema.SymbolLibraryControl.deriveFromExistingSymbol" )
201 .Scope( AS_GLOBAL )
202 .FriendlyName( _( "Derive from Existing Symbol..." ) )
203 .Tooltip( _( "Create a new symbol, derived from an existing symbol" ) )
204 .Icon( BITMAPS::new_component ) );
205
207 .Name( "eeschema.SymbolLibraryControl.editSymbol" )
208 .Scope( AS_GLOBAL )
209 .FriendlyName( _( "Edit Symbol" ) )
210 .Tooltip( _( "Show selected symbol on editor canvas" ) )
211 .Icon( BITMAPS::edit ) );
212
214 .Name( "eeschema.SymbolLibraryControl.duplicateSymbol" )
215 .Scope( AS_GLOBAL )
216 .FriendlyName( _( "Duplicate Symbol" ) )
217 .Icon( BITMAPS::duplicate ) );
218
220 .Name( "eeschema.SymbolLibraryControl.renameFootprint" )
221 .Scope( AS_GLOBAL )
222 .FriendlyName( _( "Rename Symbol..." ) )
223 .Icon( BITMAPS::edit ) );
224
226 .Name( "eeschema.SymbolLibraryControl.saveSymbolAs" )
227 .Scope( AS_GLOBAL )
228 .FriendlyName( _( "Save As..." ) )
229 .Tooltip( _( "Save the current symbol to a different library or name" ) )
230 .Icon( BITMAPS::save_as ) );
231
233 .Name( "eeschema.SymbolLibraryControl.saveSymbolCopyAs" )
234 .Scope( AS_GLOBAL )
235 .FriendlyName( _( "Save Copy As..." ) )
236 .Tooltip( _( "Save a copy of the current symbol to a different library or name" ) )
237 .Icon( BITMAPS::save_as ) );
238
240 .Name( "eeschema.SymbolLibraryControl.deleteSymbol" )
241 .Scope( AS_GLOBAL )
242 .FriendlyName( _( "Delete Symbol" ) )
243 .Tooltip( _( "Remove the selected symbol from its library" ) )
244 .Icon( BITMAPS::trash ) );
245
247 .Name( "eeschema.SymbolLibraryControl.cutSymbol" )
248 .Scope( AS_GLOBAL )
249 .FriendlyName( _( "Cut" ) )
250 .Icon( BITMAPS::cut ) );
251
253 .Name( "eeschema.SymbolLibraryControl.copySymbol" )
254 .Scope( AS_GLOBAL )
255 .FriendlyName( _( "Copy" ) )
256 .Icon( BITMAPS::copy ) );
257
259 .Name( "eeschema.SymbolLibraryControl.pasteSymbol" )
260 .Scope( AS_GLOBAL )
261 .FriendlyName( _( "Paste Symbol" ) )
262 .Icon( BITMAPS::paste ) );
263
265 .Name("eeschema.SymbolLibraryControl.importSymbol" )
266 .Scope( AS_GLOBAL )
267 .FriendlyName( _( "Import Symbol..." ) )
268 .Tooltip( _( "Import a symbol to the current library" ) )
269 .Icon( BITMAPS::import_part ) );
270
272 .Name( "eeschema.SymbolLibraryControl.exportSymbol" )
273 .Scope( AS_GLOBAL )
274 .FriendlyName( _( "Export..." ) )
275 .Tooltip( _( "Export a symbol to a new library file" ) )
276 .Icon( BITMAPS::export_part ) );
277
279 .Name( "eeschema.SymbolLibraryControl.updateSymbolFields" )
280 .Scope( AS_GLOBAL )
281 .FriendlyName( _( "Update Symbol Fields..." ) )
282 .Tooltip( _( "Update symbol to match changes made in parent symbol" ) )
283 .Icon( BITMAPS::refresh ) );
284
286 .Name( "eeschema.SymbolLibraryControl.setUnitDisplayName" )
287 .Scope( AS_GLOBAL )
288 .FriendlyName( _( "Set Unit Display Name..." ) )
289 .Tooltip( _( "Set the display name for a particular unit in a multi-unit symbol" ) ) );
290
292 .Name( "eeschema.SymbolLibraryControl.addSymbolToSchematic" )
293 .Scope( AS_GLOBAL )
294 .FriendlyName( _( "Add Symbol to Schematic" ) )
295 .Tooltip( _( "Add the current symbol to the schematic" ) )
297
299 .Name( "eeschema.SymbolLibraryControl.showElectricalTypes" )
300 .Scope( AS_GLOBAL )
301 .FriendlyName( _( "Show Pin Electrical Types" ) )
302 .Tooltip( _( "Annotate pins with their electrical types" ) )
303 .ToolbarState( TOOLBAR_STATE::TOGGLE )
304 .Icon( BITMAPS::pin_show_etype ) );
305
307 .Name( "eeschema.SymbolLibraryControl.showPinNumbers" )
308 .Scope( AS_GLOBAL )
309 .FriendlyName( _( "Show Pin Numbers" ) )
310 .Tooltip( _( "Annotate pins with their numbers" ) )
311 .ToolbarState( TOOLBAR_STATE::TOGGLE )
312 .Icon( BITMAPS::pin ) );
313
315 .Name( "eeschema.SymbolLibraryControl.exportSymbolView" )
316 .Scope( AS_GLOBAL )
317 .FriendlyName( _( "Export View as PNG..." ) )
318 .Tooltip( _( "Create PNG file from the current view" ) )
319 .Icon( BITMAPS::export_png ) );
320
322 .Name( "eeschema.SymbolLibraryControl.exportSymbolAsSVG" )
323 .Scope( AS_GLOBAL )
324 .FriendlyName( _( "Export Symbol as SVG..." ) )
325 .Tooltip( _( "Create SVG file from the current symbol" ) )
326 .Icon( BITMAPS::export_svg ) );
327
329 .Name( "eeschema.SymbolLibraryControl.toggleSyncedPinsMode" )
330 .Scope( AS_GLOBAL )
331 .FriendlyName( _( "Synchronized Pins Mode" ) )
332 .Tooltip( _( "Synchronized Pins Mode\n"
333 "When enabled propagates all changes (except pin numbers) to other units.\n"
334 "Enabled by default for multiunit parts with interchangeable units." ) )
335 .ToolbarState( TOOLBAR_STATE::TOGGLE )
336 .Icon( BITMAPS::pin2pin ) );
337
339 .Name( "eeschema.SymbolLibraryControl.showHiddenPins" )
340 .Scope( AS_GLOBAL )
341 .FriendlyName( _( "Show Hidden Pins" ) )
342 .ToolbarState( TOOLBAR_STATE::TOGGLE )
343 .Icon( BITMAPS::hidden_pin ) );
344
346 .Name( "eeschema.SymbolLibraryControl.showHiddenFields" )
347 .Scope( AS_GLOBAL )
348 .FriendlyName( _( "Show Hidden Fields" ) )
349 .ToolbarState( TOOLBAR_STATE::TOGGLE )
350 .Icon( BITMAPS::text_sketch ) );
351
352
353// SYMBOL_EDITOR_DRAWING_TOOLS
354//
356 .Name( "eeschema.SymbolDrawing.placeSymbolPin" )
357 .Scope( AS_GLOBAL )
358 .DefaultHotkey( 'P' )
359 .LegacyHotkeyName( "Create Pin" )
360 .FriendlyName( _( "Draw Pins" ) )
361 .ToolbarState( TOOLBAR_STATE::TOGGLE )
362 .Icon( BITMAPS::pin )
363 .Flags( AF_ACTIVATE )
364 .Parameter( SCH_PIN_T ) );
365
367 .Name( "eeschema.SymbolDrawing.placeSymbolText" )
368 .Scope( AS_GLOBAL )
369 .FriendlyName( _( "Draw Text" ) )
370 .ToolbarState( TOOLBAR_STATE::TOGGLE )
371 .Icon( BITMAPS::text )
372 .Flags( AF_ACTIVATE )
373 .Parameter( SCH_TEXT_T ) );
374
376 .Name( "eeschema.SymbolDrawing.drawSymbolTextBox" )
377 .Scope( AS_GLOBAL )
378 .FriendlyName( _( "Draw Text Boxes" ) )
379 .ToolbarState( TOOLBAR_STATE::TOGGLE )
380 .Icon( BITMAPS::add_textbox )
381 .Flags( AF_ACTIVATE ) );
382
384 .Name( "eeschema.SymbolDrawing.drawSymbolLines" )
385 .Scope( AS_GLOBAL )
386 .FriendlyName( _( "Draw Lines" ) )
387 .Tooltip( _( "Draw connected graphic lines" ) )
388 .ToolbarState( TOOLBAR_STATE::TOGGLE )
390 .Flags( AF_ACTIVATE )
391 .Parameter( SHAPE_T::POLY ) );
392
394 .Name( "eeschema.SymbolDrawing.drawSymbolPolygon" )
395 .Scope( AS_GLOBAL )
396 .FriendlyName( _( "Draw Polygons" ) )
397 .ToolbarState( TOOLBAR_STATE::TOGGLE )
399 .Flags( AF_ACTIVATE )
400 .Parameter( SHAPE_T::POLY ) );
401
403 .Name( "eeschema.SymbolDrawing.placeSymbolAnchor" )
404 .Scope( AS_GLOBAL )
405 .FriendlyName( _( "Move Symbol Anchor" ) )
406 .ToolbarState( TOOLBAR_STATE::TOGGLE )
407 .Icon( BITMAPS::anchor )
408 .Flags( AF_ACTIVATE ) );
409
410// SYMBOL_EDITOR_PIN_TOOL
411//
413 .Name( "eeschema.PinEditing.pushPinLength" )
414 .Scope( AS_GLOBAL )
415 .FriendlyName( _( "Push Pin Length" ) )
416 .Tooltip( _( "Copy pin length to other pins in symbol" ) )
417 .Icon( BITMAPS::pin_size_to ) );
418
420 .Name( "eeschema.PinEditing.pushPinNameSize" )
421 .Scope( AS_GLOBAL )
422 .FriendlyName( _( "Push Pin Name Size" ) )
423 .Tooltip( _( "Copy pin name size to other pins in symbol" ) )
424 .Icon( BITMAPS::pin_size_to ) );
425
427 .Name( "eeschema.PinEditing.pushPinNumSize" )
428 .Scope( AS_GLOBAL )
429 .FriendlyName( _( "Push Pin Number Size" ) )
430 .Tooltip( _( "Copy pin number size to other pins in symbol" ) )
431 .Icon( BITMAPS::pin_size_to ) );
432
433
434// SCH_DRAWING_TOOLS
435//
437 .Name( "eeschema.InteractiveDrawing.placeSymbol" )
438 .Scope( AS_GLOBAL )
439 .DefaultHotkey( 'A' )
440 .LegacyHotkeyName( "Add Symbol" )
441 .FriendlyName( _( "Place Symbols" ) )
442 .ToolbarState( TOOLBAR_STATE::TOGGLE )
444 .Flags( AF_ACTIVATE )
445 .Parameter<SCH_ACTIONS::PLACE_SYMBOL_PARAMS>( {} ) );
446
448 .Name( "eeschema.InteractiveDrawing.placeNextSymbolUnit" )
449 .Scope( AS_GLOBAL )
450 .FriendlyName( _( "Place Next Symbol Unit" ) )
451 .Tooltip( _( "Place the next unit of the current symbol that is missing from the schematic" ) )
452 .Flags( AF_ACTIVATE )
453 // The symbol to use as a reference for the next unit
454 .Parameter<SCH_SYMBOL*>( nullptr ) );
455
457 .Name( "eeschema.InteractiveDrawing.placePowerSymbol" )
458 .Scope( AS_GLOBAL )
459 .DefaultHotkey( 'P' )
460 .LegacyHotkeyName( "Add Power" )
461 .FriendlyName( _( "Place Power Symbols" ) )
462 .ToolbarState( TOOLBAR_STATE::TOGGLE )
463 .Icon( BITMAPS::add_power )
464 .Flags( AF_ACTIVATE )
465 .Parameter<SCH_ACTIONS::PLACE_SYMBOL_PARAMS>( {} ) );
466
468 .Name( "eeschema.InteractiveDrawing.placeDesignBlock" )
469 .Scope( AS_GLOBAL )
470 .DefaultHotkey( MD_SHIFT + 'B' )
471 .FriendlyName( _( "Place Design Block" ) )
472 .Tooltip( _( "Add selected design block to current sheet" ) )
474 .Flags( AF_ACTIVATE )
475 .Parameter<DESIGN_BLOCK*>( nullptr ) );
476
477
479 .Name( "eeschema.InteractiveDrawing.placeNoConnect" )
480 .Scope( AS_GLOBAL )
481 .DefaultHotkey( 'Q' )
482 .LegacyHotkeyName( "Add No Connect Flag" )
483 .FriendlyName( _( "Place No Connect Flags" ) )
484 .ToolbarState( TOOLBAR_STATE::TOGGLE )
485 .Icon( BITMAPS::noconn )
486 .Flags( AF_ACTIVATE )
487 .Parameter( SCH_NO_CONNECT_T ) );
488
490 .Name( "eeschema.InteractiveDrawing.placeJunction" )
491 .Scope( AS_GLOBAL )
492 .DefaultHotkey( 'J' )
493 .LegacyHotkeyName( "Add Junction" )
494 .FriendlyName( _( "Place Junctions" ) )
495 .ToolbarState( TOOLBAR_STATE::TOGGLE )
496 .Icon( BITMAPS::add_junction )
497 .Flags( AF_ACTIVATE )
498 .Parameter( SCH_JUNCTION_T ) );
499
501 .Name( "eeschema.InteractiveDrawing.placeBusWireEntry" )
502 .Scope( AS_GLOBAL )
503 .DefaultHotkey( 'Z' )
504 .LegacyHotkeyName( "Add Wire Entry" )
505 .FriendlyName( _( "Place Wire to Bus Entries" ) )
506 .ToolbarState( TOOLBAR_STATE::TOGGLE )
507 .Icon( BITMAPS::add_line2bus )
508 .Flags( AF_ACTIVATE )
509 .Parameter( SCH_BUS_WIRE_ENTRY_T ) );
510
512 .Name( "eeschema.InteractiveDrawing.placeLabel" )
513 .Scope( AS_GLOBAL )
514 .DefaultHotkey( 'L' )
515 .LegacyHotkeyName( "Add Label" )
516 .FriendlyName( _( "Place Net Labels" ) )
517 .ToolbarState( TOOLBAR_STATE::TOGGLE )
518 .Icon( BITMAPS::add_label )
519 .Flags( AF_ACTIVATE ) );
520
522 .Name( "eeschema.InteractiveDrawing.placeClassLabel" )
523 .Scope( AS_GLOBAL )
524 .FriendlyName( _( "Place Directive Labels" ) )
525 .ToolbarState( TOOLBAR_STATE::TOGGLE )
527 .Flags( AF_ACTIVATE ) );
528
530 .Name( "eeschema.InteractiveDrawing.placeHierarchicalLabel" )
531 .Scope( AS_GLOBAL )
532 .DefaultHotkey( 'H' )
533 .LegacyHotkeyName( "Add Hierarchical Label" )
534 .FriendlyName( _( "Place Hierarchical Labels" ) )
535 .ToolbarState( TOOLBAR_STATE::TOGGLE )
537 .Flags( AF_ACTIVATE ) );
538
540 .Name( "eeschema.InteractiveDrawing.drawSheet" )
541 .Scope( AS_GLOBAL )
542 .DefaultHotkey( 'S' )
543 .LegacyHotkeyName( "Add Sheet" )
544 .FriendlyName( _( "Draw Hierarchical Sheets" ) )
545 .ToolbarState( TOOLBAR_STATE::TOGGLE )
547 .Flags( AF_ACTIVATE )
548 .Parameter( SCH_SHEET_T ) );
549
551 .Name( "eeschema.InteractiveDrawing.drawSheetFromFile" )
552 .Scope( AS_GLOBAL )
553 .FriendlyName( _( "Draw Sheet from File" ) )
554 .Tooltip( _( "Copy sheet into project and draw on current sheet" ) )
556 .Flags( AF_ACTIVATE )
557 .Parameter<wxString*> ( nullptr ) );
558
560 .Name( "eeschema.InteractiveDrawing.drawSheetFromDesignBlock" )
561 .Scope( AS_GLOBAL )
562 .FriendlyName( _( "Draw Sheet from Design Block" ) )
563 .Tooltip( _( "Copy design block into project as a sheet on current sheet" ) )
565 .Flags( AF_ACTIVATE )
566 .Parameter<DESIGN_BLOCK*> ( nullptr ) );
567
569 .Name( "eeschema.InteractiveDrawing.placeSheetPin" )
570 .Scope( AS_GLOBAL )
571 .FriendlyName( _( "Place Sheet Pins" ) )
572 .ToolbarState( TOOLBAR_STATE::TOGGLE )
574 .Flags( AF_ACTIVATE ) );
575
577 .Name( "eeschema.InteractiveDrawing.autoplaceAllSheetPins" )
578 .Scope( AS_GLOBAL )
579 .FriendlyName( _( "Autoplace All Sheet Pins" ) )
580 .Tooltip( _( "Imports and auto places all sheet pins" ) ) );
581
583 .Name( "eeschema.InteractiveDrawing.syncSheetPins" )
584 .Scope( AS_GLOBAL )
585 .FriendlyName( _( "Sync Sheet Pins..." ) )
586 .Tooltip( _( "Synchronize sheet pins and hierarchical labels" ) )
588 .Flags( AF_ACTIVATE ) );
589
591 .Name( "eeschema.InteractiveDrawing.syncAllSheetsPins" )
592 .Scope( AS_GLOBAL )
593 .FriendlyName( _( "Sync Sheet Pins..." ) )
594 .Tooltip( _( "Synchronize sheet pins and hierarchical labels" ) )
596 .Flags( AF_ACTIVATE ) );
597
599 .Name( "eeschema.InteractiveDrawing.importSheet" )
600 .Scope( AS_GLOBAL )
601 .FriendlyName( _( "Import Sheet..." ) )
602 .Tooltip( _( "Import sheet into project" ) )
604 .Flags( AF_ACTIVATE )
605 .Parameter<wxString*> ( nullptr ) );
606
608 .Name( "eeschema.InteractiveDrawing.placeGlobalLabel" )
609 .Scope( AS_GLOBAL )
610 .DefaultHotkey( MD_CTRL + 'L' )
611 .LegacyHotkeyName( "Add Global Label" )
612 .FriendlyName( _( "Place Global Labels" ) )
613 .ToolbarState( TOOLBAR_STATE::TOGGLE )
614 .Icon( BITMAPS::add_glabel )
615 .Flags( AF_ACTIVATE ) );
616
618 .Name( "eeschema.InteractiveDrawing.placeSchematicText" )
619 .Scope( AS_GLOBAL )
620 .DefaultHotkey( 'T' )
621 .LegacyHotkeyName( "Add Graphic Text" )
622 .FriendlyName( _( "Draw Text" ) )
623 .ToolbarState( TOOLBAR_STATE::TOGGLE )
624 .Icon( BITMAPS::text )
625 .Flags( AF_ACTIVATE ) );
626
628 .Name( "eeschema.InteractiveDrawing.drawTextBox" )
629 .Scope( AS_GLOBAL )
630 .FriendlyName( _( "Draw Text Boxes" ) )
631 .ToolbarState( TOOLBAR_STATE::TOGGLE )
632 .Icon( BITMAPS::add_textbox )
633 .Flags( AF_ACTIVATE )
634 .Parameter( SHAPE_T::RECTANGLE ) );
635
637 .Name( "eeschema.InteractiveDrawing.drawTable" )
638 .Scope( AS_GLOBAL )
639 .FriendlyName( _( "Draw Tables" ) )
640 .ToolbarState( TOOLBAR_STATE::TOGGLE )
641 .Icon( BITMAPS::table )
642 .Flags( AF_ACTIVATE ) );
643
645 .Name( "eeschema.InteractiveDrawing.drawRectangle" )
646 .Scope( AS_GLOBAL )
647 .FriendlyName( _( "Draw Rectangles" ) )
648 .ToolbarState( TOOLBAR_STATE::TOGGLE )
650 .Flags( AF_ACTIVATE )
651 .Parameter( SHAPE_T::RECTANGLE ) );
652
654 .Name( "eeschema.InteractiveDrawing.drawCircle" )
655 .Scope( AS_GLOBAL )
656 .FriendlyName( _( "Draw Circles" ) )
657 .ToolbarState( TOOLBAR_STATE::TOGGLE )
658 .Icon( BITMAPS::add_circle )
659 .Flags( AF_ACTIVATE )
660 .Parameter( SHAPE_T::CIRCLE ) );
661
663 .Name( "eeschema.InteractiveDrawing.drawArc" )
664 .Scope( AS_GLOBAL )
665 .FriendlyName( _( "Draw Arcs" ) )
666 .ToolbarState( TOOLBAR_STATE::TOGGLE )
667 .Icon( BITMAPS::add_arc )
668 .Flags( AF_ACTIVATE )
669 .Parameter( SHAPE_T::ARC ) );
670
672 .Name( "eeschema.InteractiveDrawing.drawBezier" )
673 .Scope( AS_GLOBAL )
674 .FriendlyName( _( "Draw Bezier Curve" ) )
675 .ToolbarState( TOOLBAR_STATE::TOGGLE )
676 .Icon( BITMAPS::add_bezier )
677 .Flags( AF_ACTIVATE )
678 .Parameter( SHAPE_T::BEZIER ) );
679
681 .Name( "eeschema.InteractiveDrawing.placeImage" )
682 .Scope( AS_GLOBAL )
683 .FriendlyName( _( "Place Images" ) )
684 .ToolbarState( TOOLBAR_STATE::TOGGLE )
685 .Icon( BITMAPS::image )
686 .Flags( AF_ACTIVATE )
687 .Parameter<SCH_BITMAP*>( nullptr ) );
688
690 .Name( "eeschema.InteractiveDrawing.drawRuleArea" )
691 .Scope( AS_GLOBAL )
692 .FriendlyName( _( "Draw Rule Areas" ) )
693 .ToolbarState( TOOLBAR_STATE::TOGGLE )
695 .Flags( AF_ACTIVATE )
696 .Parameter( SHAPE_T::RECTANGLE ) );
697
699 .Name( "eeschema.InteractiveDrawing.deleteLastPoint" )
700 .Scope( AS_CONTEXT )
701 .FriendlyName( _( "Delete Last Point" ) )
702 .Tooltip( _( "Delete the last point added to the current item" ) )
703 .Icon( BITMAPS::undo ) );
704
706 .Name( "eeschema.InteractiveDrawing.closeOutline" )
707 .Scope( AS_CONTEXT )
708 .FriendlyName( _( "Close Outline" ) )
709 .Tooltip( _( "Close the in-progress outline" ) )
710 .Icon( BITMAPS::checked_ok ) );
711
712
713// SCH_EDIT_TOOL
714//
716 .Name( "eeschema.InteractiveEdit.repeatDrawItem" )
717 .Scope( AS_GLOBAL )
718#ifdef __WXMAC__
719 .DefaultHotkey( WXK_F1 )
720#else
721 .DefaultHotkey( WXK_INSERT )
722#endif
723 .LegacyHotkeyName( "Repeat Last Item" )
724 .FriendlyName( _( "Repeat Last Item" ) )
725 .Tooltip( _( "Duplicates the last drawn item" ) ) );
726
728 .Name( "eeschema.InteractiveEdit.rotateCW" )
729 .Scope( AS_GLOBAL )
730 .FriendlyName( _( "Rotate Clockwise" ) )
731 .Icon( BITMAPS::rotate_cw ) );
732
734 .Name( "eeschema.InteractiveEdit.rotateCCW" )
735 .Scope( AS_GLOBAL )
736 .DefaultHotkey( 'R' )
737 .LegacyHotkeyName( "Rotate Item" )
738 .FriendlyName( _( "Rotate Counterclockwise" ) )
739 .Icon( BITMAPS::rotate_ccw ) );
740
742 .Name( "eeschema.InteractiveEdit.mirrorV" )
743 .Scope( AS_GLOBAL )
744 .DefaultHotkey( 'Y' )
745 .LegacyHotkeyName( "Mirror X" ) // Yes, these were backwards prior to 6.0....
746 .FriendlyName( _( "Mirror Vertically" ) )
747 .Tooltip( _( "Flips selected item(s) from top to bottom" ) )
748 .Icon( BITMAPS::mirror_v ) );
749
751 .Name( "eeschema.InteractiveEdit.mirrorH" )
752 .Scope( AS_GLOBAL )
753 .DefaultHotkey( 'X' )
754 .LegacyHotkeyName( "Mirror Y" ) // Yes, these were backwards prior to 6.0....
755 .FriendlyName( _( "Mirror Horizontally" ) )
756 .Tooltip( _( "Flips selected item(s) from left to right" ) )
757 .Icon( BITMAPS::mirror_h ) );
758
760 .Name( "eeschema.InteractiveEdit.swap" )
761 .Scope( AS_GLOBAL )
762 .DefaultHotkey( MD_ALT + 'S' )
763 .FriendlyName( _( "Swap" ) )
764 .Tooltip( _( "Swap positions of selected items" ) )
765 .Icon( BITMAPS::swap ) );
766
768 .Name( "eeschema.InteractiveEdit.properties" )
769 .Scope( AS_GLOBAL )
770 .DefaultHotkey( 'E' )
771 .LegacyHotkeyName( "Edit Item" )
772 .FriendlyName( _( "Properties..." ) )
773 .Icon( BITMAPS::edit ) );
774
776 .Name( "eeschema.InteractiveEdit.editReference" )
777 .Scope( AS_GLOBAL )
778 .DefaultHotkey( 'U' )
779 .LegacyHotkeyName( "Edit Symbol Reference" )
780 .FriendlyName( _( "Edit Reference Designator..." ) )
781 .Icon( BITMAPS::edit_comp_ref ) );
782
784 .Name( "eeschema.InteractiveEdit.editValue" )
785 .Scope( AS_GLOBAL )
786 .DefaultHotkey( 'V' )
787 .LegacyHotkeyName( "Edit Symbol Value" )
788 .FriendlyName( _( "Edit Value..." ) )
789 .Icon( BITMAPS::edit_comp_value ) );
790
792 .Name( "eeschema.InteractiveEdit.editFootprint" )
793 .Scope( AS_GLOBAL )
794 .DefaultHotkey( 'F' )
795 .LegacyHotkeyName( "Edit Symbol Footprint" )
796 .FriendlyName( _( "Edit Footprint..." ) )
798
800 .Name( "eeschema.InteractiveEdit.autoplaceFields" )
801 .Scope( AS_GLOBAL )
802 .DefaultHotkey( 'O' )
803 .LegacyHotkeyName( "Autoplace Fields" )
804 .FriendlyName( _( "Autoplace Fields" ) )
805 .Tooltip( _( "Runs the automatic placement algorithm on the symbol's (or sheet's) fields" ) )
806 .Icon( BITMAPS::autoplace_fields ) );
807
809 .Name( "eeschema.InteractiveEdit.changeSymbols" )
810 .Scope( AS_GLOBAL )
811 .FriendlyName( _( "Change Symbols..." ) )
812 .Tooltip( _( "Assign different symbols from the library" ) )
813 .Icon( BITMAPS::exchange ) );
814
816 .Name( "eeschema.InteractiveEdit.updateSymbols" )
817 .Scope( AS_GLOBAL )
818 .FriendlyName( _( "Update Symbols from Library..." ) )
819 .Tooltip( _( "Update symbols to include any changes from the library" ) )
820 .Icon( BITMAPS::refresh ) );
821
823 .Name( "eeschema.InteractiveEdit.changeSymbol" )
824 .Scope( AS_GLOBAL )
825 .FriendlyName( _( "Change Symbol..." ) )
826 .Tooltip( _( "Assign a different symbol from the library" ) )
827 .Icon( BITMAPS::exchange ) );
828
830 .Name( "eeschema.InteractiveEdit.updateSymbol" )
831 .Scope( AS_GLOBAL )
832 .FriendlyName( _( "Update Symbol..." ) )
833 .Tooltip( _( "Update symbol to include any changes from the library" ) )
834 .Icon( BITMAPS::refresh ) );
835
837 .Name( "eeschema.InteractiveEdit.assignNetclass" )
838 .Scope( AS_GLOBAL )
839 .FriendlyName( _( "Assign Netclass..." ) )
840 .Tooltip( _( "Assign a netclass to nets matching a pattern" ) )
841 .Icon( BITMAPS::netlist ) );
842
844 .Name( "eeschema.InteractiveEdit.toggleDeMorgan" )
845 .Scope( AS_GLOBAL )
846 .FriendlyName( _( "De Morgan Conversion" ) )
847 .Tooltip( _( "Switch between De Morgan representations" ) )
848 .Icon( BITMAPS::morgan2 ) );
849
851 .Name( "eeschema.InteractiveEdit.showDeMorganStandard" )
852 .Scope( AS_GLOBAL )
853 .FriendlyName( _( "De Morgan Standard" ) )
854 .Tooltip( _( "Switch to standard De Morgan representation" ) )
855 .ToolbarState( TOOLBAR_STATE::TOGGLE )
856 .Icon( BITMAPS::morgan1 ) );
857
859 .Name( "eeschema.InteractiveEdit.showDeMorganAlternate" )
860 .Scope( AS_GLOBAL )
861 .FriendlyName( _( "De Morgan Alternate" ) )
862 .Tooltip( _( "Switch to alternate De Morgan representation" ) )
863 .ToolbarState( TOOLBAR_STATE::TOGGLE )
864 .Icon( BITMAPS::morgan2 ) );
865
867 .Name( "eeschema.InteractiveEdit.toLabel" )
868 .Scope( AS_GLOBAL )
869 .FriendlyName( _( "Change to Label" ) )
870 .Tooltip( _( "Change existing item to a label" ) )
872 .Flags( AF_NONE )
873 .Parameter( SCH_LABEL_T ) );
874
876 .Name( "eeschema.InteractiveEdit.toCLabel" )
877 .Scope( AS_GLOBAL )
878 .FriendlyName( _( "Change to Directive Label" ) )
879 .Tooltip( _( "Change existing item to a directive label" ) )
881 .Flags( AF_NONE )
882 .Parameter( SCH_DIRECTIVE_LABEL_T ) );
883
885 .Name( "eeschema.InteractiveEdit.toHLabel" )
886 .Scope( AS_GLOBAL )
887 .FriendlyName( _( "Change to Hierarchical Label" ) )
888 .Tooltip( _( "Change existing item to a hierarchical label" ) )
890 .Flags( AF_NONE )
891 .Parameter( SCH_HIER_LABEL_T ) );
892
894 .Name( "eeschema.InteractiveEdit.toGLabel" )
895 .Scope( AS_GLOBAL )
896 .FriendlyName( _( "Change to Global Label" ) )
897 .Tooltip( _( "Change existing item to a global label" ) )
898 .Icon( BITMAPS::add_glabel )
899 .Flags( AF_NONE )
900 .Parameter( SCH_GLOBAL_LABEL_T ) );
901
903 .Name( "eeschema.InteractiveEdit.toText" )
904 .Scope( AS_GLOBAL )
905 .FriendlyName( _( "Change to Text" ) )
906 .Tooltip( _( "Change existing item to a text comment" ) )
907 .Icon( BITMAPS::text )
908 .Flags( AF_NONE )
909 .Parameter( SCH_TEXT_T ) );
910
912 .Name( "eeschema.InteractiveEdit.toTextBox" )
913 .Scope( AS_GLOBAL )
914 .FriendlyName( _( "Change to Text Box" ) )
915 .Tooltip( _( "Change existing item to a text box" ) )
916 .Icon( BITMAPS::add_textbox )
917 .Flags( AF_NONE )
918 .Parameter( SCH_TEXTBOX_T ) );
919
921 .Name( "eeschema.InteractiveEdit.cleanupSheetPins" )
922 .Scope( AS_GLOBAL )
923 .FriendlyName( _( "Cleanup Sheet Pins" ) )
924 .Tooltip( _( "Delete unreferenced sheet pins" ) ) );
925
927 .Name( "eeschema.InteractiveEdit.editTextAndGraphics" )
928 .Scope( AS_GLOBAL )
929 .FriendlyName( _( "Edit Text & Graphics Properties..." ) )
930 .Tooltip( _( "Edit text and graphics properties globally across schematic" ) )
931 .Icon( BITMAPS::text ) );
932
934 .Name( "eeschema.InteractiveEdit.symbolProperties" )
935 .Scope( AS_GLOBAL )
936 .FriendlyName( _( "Symbol Properties..." ) )
937 .Icon( BITMAPS::part_properties ) );
938
940 .Name( "eeschema.InteractiveEdit.pinTable" )
941 .Scope( AS_GLOBAL )
942 .FriendlyName( _( "Pin Table..." ) )
943 .Tooltip( _( "Displays pin table for bulk editing of pins" ) )
944 .Icon( BITMAPS::pin_table ) );
945
947 .Name( "eeschema.InteractiveEdit.breakWire" )
948 .Scope( AS_GLOBAL )
949 .FriendlyName( _( "Break" ) )
950 .Tooltip( _( "Divide into connected segments" ) )
951 .Icon( BITMAPS::break_line ) );
952
954 .Name( "eeschema.InteractiveEdit.slice" )
955 .Scope( AS_GLOBAL )
956 .FriendlyName( _( "Slice" ) )
957 .Tooltip( _( "Divide into unconnected segments" ) )
958 .Icon( BITMAPS::slice_line ) );
959
960// SCH_EDITOR_CONTROL
961//
963 .Name( "eeschema.EditorControl.restartMove" )
964 .Scope( AS_GLOBAL ) );
965
967 .Name( "eeschema.EditorControl.highlightNet" )
968 .Scope( AS_GLOBAL )
969 .DefaultHotkey( '`' )
970 .FriendlyName( _( "Highlight Net" ) )
971 .Tooltip( _( "Highlight net under cursor" ) )
973
975 .Name( "eeschema.EditorControl.clearHighlight" )
976 .Scope( AS_GLOBAL )
977 .DefaultHotkey( '~' )
978 .FriendlyName( _( "Clear Net Highlighting" ) )
979 .Tooltip( _( "Clear any existing net highlighting" ) ) );
980
982 .Name( "eeschema.EditorControl.updateNetHighlighting" )
983 .Scope( AS_GLOBAL ) );
984
986 .Name( "eeschema.EditorControl.highlightNetTool" )
987 .Scope( AS_GLOBAL )
988 .FriendlyName( _( "Highlight Nets" ) )
989 .Tooltip( _( "Highlight wires and pins of a net" ) )
990 .ToolbarState( TOOLBAR_STATE::TOGGLE )
992 .Flags( AF_ACTIVATE ) );
993
995 .Name( "eeschema.EditorControl.showNetNavigator" )
996 .Scope( AS_GLOBAL )
997 .FriendlyName( _( "Net Navigator" ) )
998 .Tooltip( _( "Show/hide the net navigator" ) ) );
999
1001 .Name( "eeschema.EditorControl.editWithSymbolEditor" )
1002 .Scope( AS_GLOBAL )
1003 .DefaultHotkey( MD_CTRL + 'E' )
1004 .LegacyHotkeyName( "Edit with Symbol Editor" )
1005 .FriendlyName( _( "Edit with Symbol Editor" ) )
1006 .Tooltip( _( "Open the selected symbol in the Symbol Editor" ) )
1007 .Icon( BITMAPS::libedit ) );
1008
1010 .Name( "eeschema.EditorControl.setExcludeFromBOM" )
1011 .Scope( AS_GLOBAL )
1012 .FriendlyName( _( "Exclude from Bill of Materials" ) )
1013 .Tooltip( _( "Set the exclude from bill of materials attribute" ) ) );
1014
1016 .Name( "eeschema.EditorControl.setExcludeFromSimulation" )
1017 .Scope( AS_GLOBAL )
1018 .FriendlyName( _( "Exclude from Simulation" ) )
1019 .Tooltip( _( "Set the exclude from simulation attribute" ) ) );
1020
1022 .Name( "eeschema.EditorControl.setExcludeFromBoard" )
1023 .Scope( AS_GLOBAL )
1024 .FriendlyName( _( "Exclude from Board" ) )
1025 .Tooltip( _( "Set the exclude from board attribute" ) ) );
1026
1028 .Name( "eeschema.EditorControl.setDNP" )
1029 .Scope( AS_GLOBAL )
1030 .FriendlyName( _( "Do not Populate" ) )
1031 .Tooltip( _( "Set the do not populate attribute" ) ) );
1032
1034 .Name( "eeschema.EditorControl.editLibSymbolWithSymbolEditor" )
1035 .Scope( AS_GLOBAL )
1036 .DefaultHotkey( MD_CTRL + MD_SHIFT + 'E' )
1037 .FriendlyName( _( "Edit Library Symbol..." ) )
1038 .Tooltip( _( "Open the library symbol in the Symbol Editor" ) )
1039 .Icon( BITMAPS::libedit ) );
1040
1042 .Name( "eeschema.EditorControl.editSymbolFields" )
1043 .Scope( AS_GLOBAL )
1044 .FriendlyName( _( "Edit Symbol Fields..." ) )
1045 .Tooltip( _( "Bulk-edit fields of all symbols in schematic" ) )
1046 .Icon( BITMAPS::spreadsheet ) );
1047
1049 .Name( "eeschema.EditorControl.editSymbolLibraryLinks" )
1050 .Scope( AS_GLOBAL )
1051 .FriendlyName( _( "Edit Symbol Library Links..." ) )
1052 .Tooltip( _( "Edit links between schematic and library symbols" ) )
1054
1056 .Name( "eeschema.EditorControl.assignFootprints" )
1057 .Scope( AS_GLOBAL )
1058 .FriendlyName( _( "Assign Footprints..." ) )
1059 .Tooltip( _( "Run footprint assignment tool" ) )
1060 .Icon( BITMAPS::icon_cvpcb_24 ) );
1061
1063 .Name( "eeschema.EditorControl.importFPAssignments" )
1064 .Scope( AS_GLOBAL )
1065 .FriendlyName( _( "Import Footprint Assignments..." ) )
1066 .Tooltip( _( "Import symbol footprint assignments from .cmp file created by board editor" ) )
1068
1070 .Name( "eeschema.EditorControl.annotate" )
1071 .Scope( AS_GLOBAL )
1072 .FriendlyName( _( "Annotate Schematic..." ) )
1073 .Tooltip( _( "Fill in schematic symbol reference designators" ) )
1074 .Icon( BITMAPS::annotate ) );
1075
1077 .Name( "eeschema.EditorControl.incrementAnnotations" )
1078 .Scope( AS_GLOBAL )
1079 .FriendlyName( _( "Increment Annotations From..." ) )
1080 .Tooltip( _( "Increment a subset of reference designators starting at a particular symbol" ) )
1082 );
1083
1085 .Name( "eeschema.EditorControl.schematicSetup" )
1086 .Scope( AS_GLOBAL )
1087 .FriendlyName( _( "Schematic Setup..." ) )
1088 .Tooltip( _( "Edit schematic setup including annotation styles and electrical rules" ) )
1089 .Icon( BITMAPS::options_schematic ) );
1090
1092 .Name( "eeschema.EditorControl.editPageNumber" )
1093 .Scope( AS_GLOBAL )
1094 .FriendlyName( _( "Edit Sheet Page Number..." ) )
1095 .Tooltip( _( "Edit the page number of the current or selected sheet" ) ) );
1096
1098 .Name( "eeschema.EditorControl.rescueSymbols" )
1099 .Scope( AS_GLOBAL )
1100 .FriendlyName( _( "Rescue Symbols..." ) )
1101 .Tooltip( _( "Find old symbols in project and rename/rescue them" ) )
1102 .Icon( BITMAPS::rescue ) );
1103
1105 .Name( "eeschema.EditorControl.remapSymbols" )
1106 .Scope( AS_GLOBAL )
1107 .FriendlyName( _( "Remap Legacy Library Symbols..." ) )
1108 .Tooltip( _( "Remap library symbol references in legacy schematics to the symbol library table" ) )
1109 .Icon( BITMAPS::rescue ) );
1110
1112 .Name( "eeschema.EditorControl.nextNetItem" )
1113 .Scope( AS_GLOBAL )
1114 .DefaultHotkey( WXK_TAB )
1115 .FriendlyName( _( "Next Net Item" ) )
1116 .Tooltip( _( "Select next item on the current net" ) ) );
1117
1119 .Name( "eeschema.EditorControl.previousNetItem" )
1120 .Scope( AS_GLOBAL )
1121 .DefaultHotkey( MD_SHIFT + static_cast<int>( WXK_TAB ) )
1122 .FriendlyName( _( "Previous Net Item" ) )
1123 .Tooltip( _( "Select previous item on the current net" ) ) );
1124
1126 .Name( "eeschema.EditorControl.drawSheetOnClipboard" )
1127 .Scope( AS_GLOBAL )
1128 .FriendlyName( _( "Export Drawing to Clipboard" ) )
1129 .Tooltip( _( "Export drawing of current sheet to clipboard" ) )
1130 .Icon( BITMAPS::copy ) );
1131
1133 .Name( "eeschema.EditorControl.importGraphics" )
1134 .Scope( AS_GLOBAL )
1135 .DefaultHotkey( MD_CTRL + MD_SHIFT + 'F' )
1136 .LegacyHotkeyName( "Place DXF" )
1137 .FriendlyName( _( "Import Graphics..." ) )
1138 .Tooltip( _( "Import 2D drawing file" ) )
1139 .Icon( BITMAPS::import_vector )
1140 .Flags( AF_ACTIVATE ) );
1141
1143 .Name( "eeschema.EditorControl.showPcbNew" )
1144 .Scope( AS_GLOBAL )
1145 .FriendlyName( _( "Switch to PCB Editor" ) )
1146 .Tooltip( _( "Open PCB in board editor" ) )
1147 .Icon( BITMAPS::icon_pcbnew_24 ) );
1148
1150 .Name( "eeschema.EditorControl.exportNetlist" )
1151 .Scope( AS_GLOBAL )
1152 .FriendlyName( _( "Export Netlist..." ) )
1153 .Tooltip( _( "Export file containing netlist in one of several formats" ) )
1154 .Icon( BITMAPS::netlist ) );
1155
1157 .Name( "eeschema.EditorControl.generateBOM" )
1158 .Scope( AS_GLOBAL )
1159 .FriendlyName( _( "Generate Bill of Materials..." ) )
1160 .Tooltip( _( "Generate a bill of materials for the current schematic" ) )
1161 .Icon( BITMAPS::post_bom ) );
1162
1164 .Name( "eeschema.EditorControl.generateBOMLegacy" )
1165 .Scope( AS_GLOBAL )
1166 .FriendlyName( _( "Generate Legacy Bill of Materials..." ) )
1167 .Tooltip( _( "Generate a bill of materials for the current schematic (Legacy Generator)" ) )
1168 .Icon( BITMAPS::file_bom )
1169 );
1170
1172 .Name( "eeschema.EditorControl.generateBOMExternal" )
1173 .Scope( AS_GLOBAL )
1174 .FriendlyName( _( "Generate Bill of Materials (External)..." ) )
1175 .Tooltip( _( "Generate a bill of materials for the current schematic using external generator" ) )
1176 );
1177
1179 .Name( "eeschema.EditorControl.exportSymbolsToLibrary" )
1180 .Scope( AS_GLOBAL )
1181 .FriendlyName( _( "Export Symbols to Library..." ) )
1182 .Tooltip( _( "Add symbols used in schematic to an existing symbol library\n"
1183 "(does not remove other symbols from this library)" ) )
1184 .Icon( BITMAPS::library_archive ) );
1185
1187 .Name( "eeschema.EditorControl.exportSymbolsToNewLibrary" )
1188 .Scope( AS_GLOBAL )
1189 .FriendlyName( _( "Export Symbols to New Library..." ) )
1190 .Tooltip( _( "Create a new symbol library using the symbols used in the schematic\n"
1191 "(if the library already exists it will be replaced)" ) )
1192 .Icon( BITMAPS::library_archive_as ) );
1193
1195 .Name( "eeschema.EditorControl.selectOnPCB" )
1196 .Scope( AS_GLOBAL )
1197 .FriendlyName( _( "Select on PCB" ) )
1198 .Tooltip( _( "Select corresponding items in PCB editor" ) )
1199 .Icon( BITMAPS::select_same_sheet ) );
1200
1202 .Name( "eeschema.EditorControl.showHiddenPins" )
1203 .Scope( AS_GLOBAL )
1204 .FriendlyName( _( "Show Hidden Pins" ) )
1205 .ToolbarState( TOOLBAR_STATE::TOGGLE )
1206 .Icon( BITMAPS::hidden_pin ) );
1207
1209 .Name( "eeschema.EditorControl.showHiddenFields" )
1210 .Scope( AS_GLOBAL )
1211 .FriendlyName( _( "Show Hidden Fields" ) )
1212 .ToolbarState( TOOLBAR_STATE::TOGGLE ) );
1213
1215 .Name( "eeschema.EditorControl.showDirectiveLabels" )
1216 .Scope( AS_GLOBAL )
1217 .FriendlyName( _( "Show Directive Labels" ) )
1218 .ToolbarState( TOOLBAR_STATE::TOGGLE ) );
1219
1221 .Name( "eeschema.EditorControl.showERCWarnings" )
1222 .Scope( AS_GLOBAL )
1223 .FriendlyName( _( "Show ERC Warnings" ) )
1224 .Tooltip( _( "Show markers for electrical rules checker warnings" ) )
1225 .ToolbarState( TOOLBAR_STATE::TOGGLE ) );
1226
1228 .Name( "eeschema.EditorControl.showERCErrors" )
1229 .Scope( AS_GLOBAL )
1230 .FriendlyName( _( "Show ERC Errors" ) )
1231 .Tooltip( _( "Show markers for electrical rules checker errors" ) )
1232 .ToolbarState( TOOLBAR_STATE::TOGGLE ) );
1233
1235 .Name( "eeschema.EditorControl.showERCExclusions" )
1236 .Scope( AS_GLOBAL )
1237 .FriendlyName( _( "Show ERC Exclusions" ) )
1238 .Tooltip( _( "Show markers for excluded electrical rules checker violations" ) )
1239 .ToolbarState( TOOLBAR_STATE::TOGGLE ) );
1240
1242 .Name( "eeschema.EditorControl.markSimExclusions" )
1243 .Scope( AS_GLOBAL )
1244 .FriendlyName( _( "Mark items excluded from simulation" ) )
1245 .Tooltip( _( "Draw 'X's over items which have been excluded from simulation" ) )
1246 .ToolbarState( TOOLBAR_STATE::TOGGLE ) );
1247
1249 .Name( "eeschema.EditorControl.showOperatingPointVoltages" )
1250 .Scope( AS_GLOBAL )
1251 .FriendlyName( _( "Show OP Voltages" ) )
1252 .Tooltip( _( "Show operating point voltage data from simulation" ) )
1253 .ToolbarState( TOOLBAR_STATE::TOGGLE ));
1254
1256 .Name( "eeschema.EditorControl.showOperatingPointCurrents" )
1257 .Scope( AS_GLOBAL )
1258 .FriendlyName( _( "Show OP Currents" ) )
1259 .Tooltip( _( "Show operating point current data from simulation" ) )
1260 .ToolbarState( TOOLBAR_STATE::TOGGLE ) );
1261
1263 .Name( "eeschema.EditorControl.togglePinAltIcons" )
1264 .Scope( AS_GLOBAL )
1265 .FriendlyName( _( "Show Pin Alternate Icons" ) )
1266 .Tooltip( _( "Show indicator icons for pins with alternate modes" ) )
1267 .ToolbarState( TOOLBAR_STATE::TOGGLE ) );
1268
1270 .Name( "eeschema.EditorControl.lineModeFree" )
1271 .Scope( AS_GLOBAL )
1272 .FriendlyName( _( "Line Mode for Wires and Buses" ) )
1273 .Tooltip( _( "Draw and drag at any angle" ) )
1274 .ToolbarState( TOOLBAR_STATE::TOGGLE )
1275 .Icon( BITMAPS::lines_any )
1276 .Flags( AF_NONE )
1277 .Parameter( LINE_MODE::LINE_MODE_FREE ) );
1278
1280 .Name( "eeschema.EditorControl.lineModeOrthonal" )
1281 .Scope( AS_GLOBAL )
1282 .FriendlyName( _( "Line Mode for Wires and Buses" ) )
1283 .Tooltip( _( "Constrain drawing and dragging to horizontal or vertical motions" ) )
1284 .ToolbarState( TOOLBAR_STATE::TOGGLE )
1285 .Icon( BITMAPS::lines90 )
1286 .Flags( AF_NONE )
1287 .Parameter( LINE_MODE::LINE_MODE_90) );
1288
1290 .Name( "eeschema.EditorControl.lineMode45" )
1291 .Scope( AS_GLOBAL )
1292 .FriendlyName( _( "Line Mode for Wires and Buses" ) )
1293 .Tooltip( _( "Constrain drawing and dragging to horizontal, vertical, or 45-degree angle motions" ) )
1294 .ToolbarState( TOOLBAR_STATE::TOGGLE )
1295 .Icon( BITMAPS::hv45mode )
1296 .Flags( AF_NONE )
1297 .Parameter( LINE_MODE::LINE_MODE_45 ) );
1298
1300 .Name( "eeschema.EditorControl.lineModeNext" )
1301 .Scope( AS_GLOBAL )
1302 .DefaultHotkey( MD_SHIFT + static_cast<int>( WXK_SPACE ) )
1303 .FriendlyName( _( "Line Mode for Wires and Buses" ) )
1304 .Tooltip( _( "Switch to next line mode" ) ) );
1305
1307 .Name( "eeschema.EditorControl.annotateAutomatically" )
1308 .Scope( AS_GLOBAL )
1309 .FriendlyName( _( "Annotate Automatically" ) )
1310 .Tooltip( _( "Toggle automatic annotation of new symbols" ) )
1311 .ToolbarState( TOOLBAR_STATE::TOGGLE )
1312 .Icon( BITMAPS::annotate ) );
1313
1315 .Name( "eeschema.EditorControl.repairSchematic" )
1316 .Scope( AS_GLOBAL )
1317 .FriendlyName( _( "Repair Schematic" ) )
1318 .Tooltip( _( "Run various diagnostics and attempt to repair schematic" ) )
1319 .Icon( BITMAPS::rescue ) );
1320
1322 .Name( "eeschema.EditorControl.previousUnit" )
1323 .Scope( AS_GLOBAL )
1324 .FriendlyName( _( "Previous Symbol Unit" ) )
1325 .Tooltip( _( "Open the previous unit of the symbol" ) )
1326 .Parameter<int>( -1 ) );
1327
1329 .Name( "eeschema.EditorControl.nextUnit" )
1330 .Scope( AS_GLOBAL )
1331 .FriendlyName( _( "Next Symbol Unit" ) )
1332 .Tooltip( _( "Open the next unit of the symbol" ) )
1333 .Parameter<int>( 1 ) );
1334
1335// SCH_NAVIGATE_TOOL
1336//
1338 .Name( "eeschema.NavigateTool.changeSheet" )
1339 .Scope( AS_CONTEXT )
1340 .FriendlyName( _( "Change Sheet" ) )
1341 .Tooltip( _( "Change to provided sheet's contents in the schematic editor" ) )
1342 .Icon( BITMAPS::enter_sheet ) );
1343
1345 .Name( "eeschema.NavigateTool.enterSheet" )
1346 .Scope( AS_GLOBAL )
1347 .FriendlyName( _( "Enter Sheet" ) )
1348 .Tooltip( _( "Display the selected sheet's contents in the schematic editor" ) )
1349 .Icon( BITMAPS::enter_sheet ) );
1350
1352 .Name( "eeschema.NavigateTool.leaveSheet" )
1353 .Scope( AS_GLOBAL )
1354 .DefaultHotkey( MD_ALT + static_cast<int>( WXK_BACK ) )
1355 .LegacyHotkeyName( "Leave Sheet" )
1356 .FriendlyName( _( "Leave Sheet" ) )
1357 .Tooltip( _( "Display the parent sheet in the schematic editor" ) )
1358 .Icon( BITMAPS::leave_sheet ) );
1359
1361 .Name( "eeschema.NavigateTool.up" )
1362 .Scope( AS_GLOBAL )
1363 .DefaultHotkey( MD_ALT + static_cast<int>( WXK_UP ) )
1364 .FriendlyName( _( "Navigate Up" ) )
1365 .Tooltip( _( "Navigate up one sheet in the hierarchy" ) )
1366 .Icon( BITMAPS::up ) );
1367
1369 .Name( "eeschema.NavigateTool.back" )
1370 .Scope( AS_GLOBAL )
1371 .DefaultHotkey( MD_ALT + static_cast<int>( WXK_LEFT ) )
1372 .FriendlyName( _( "Navigate Back" ) )
1373 .Tooltip( _( "Move backward in sheet navigation history" ) )
1374 .Icon( BITMAPS::left ) );
1375
1377 .Name( "eeschema.NavigateTool.forward" )
1378 .Scope( AS_GLOBAL )
1379 .DefaultHotkey( MD_ALT + static_cast<int>( WXK_RIGHT ) )
1380 .FriendlyName( _( "Navigate Forward" ) )
1381 .Tooltip( _( "Move forward in sheet navigation history" ) )
1382 .Icon( BITMAPS::right ) );
1383
1385 .Name( "eeschema.NavigateTool.previous" )
1386 .Scope( AS_GLOBAL )
1387 .DefaultHotkey( WXK_PAGEUP )
1388 .FriendlyName( _( "Previous Sheet" ) )
1389 .Tooltip( _( "Move to previous sheet by number" ) )
1390 .Icon( BITMAPS::left ) );
1391
1393 .Name( "eeschema.NavigateTool.next" )
1394 .Scope( AS_GLOBAL )
1395 .DefaultHotkey( WXK_PAGEDOWN )
1396 .FriendlyName( _( "Next Sheet" ) )
1397 .Tooltip( _( "Move to next sheet by number" ) )
1398 .Icon( BITMAPS::right ) );
1399
1401 .Name( "eeschema.EditorTool.showHierarchy" )
1402 .Scope( AS_GLOBAL )
1403 .DefaultHotkey( MD_CTRL + 'H' )
1404 .FriendlyName( _( "Hierarchy Navigator" ) )
1405 .Tooltip( _( "Show/hide the schematic sheet hierarchy navigator" ) )
1406 .ToolbarState( TOOLBAR_STATE::TOGGLE )
1407 .Icon( BITMAPS::hierarchy_nav ) );
1408
1409
1410// SCH_LINE_WIRE_BUS_TOOL
1411//
1414 .Name( "eeschema.InteractiveDrawingLineWireBus.drawWires" )
1415 .Scope( AS_GLOBAL )
1416 .DefaultHotkey( 'W' )
1417 .LegacyHotkeyName( "Begin Wire" )
1418 .FriendlyName( _( "Draw Wires" ) )
1419 .ToolbarState( TOOLBAR_STATE::TOGGLE )
1420 .Icon( BITMAPS::add_line )
1421 .Flags( AF_ACTIVATE )
1422 .Parameter( &drawWireActionParam ) );
1423
1426 .Name( "eeschema.InteractiveDrawingLineWireBus.drawBuses" )
1427 .Scope( AS_GLOBAL )
1428 .DefaultHotkey( 'B' )
1429 .LegacyHotkeyName( "Begin Bus" )
1430 .FriendlyName( _( "Draw Buses" ) )
1431 .ToolbarState( TOOLBAR_STATE::TOGGLE )
1432 .Icon( BITMAPS::add_bus )
1433 .Flags( AF_ACTIVATE )
1434 .Parameter( &drawBusActionParam ) );
1435
1437 .Name( "eeschema.InteractiveDrawingLineWireBus.unfoldBus" )
1438 .Scope( AS_GLOBAL )
1439 .DefaultHotkey( 'C' )
1440 .LegacyHotkeyName( "Unfold from Bus" )
1441 .FriendlyName( _( "Unfold from Bus" ) )
1442 .Tooltip( _( "Break a wire out of a bus" ) )
1444 .Flags( AF_ACTIVATE )
1445 .Parameter<wxString*>( nullptr ) );
1446
1449 .Name( "eeschema.InteractiveDrawingLineWireBus.drawLines" )
1450 .Scope( AS_GLOBAL )
1451 .DefaultHotkey( 'I' )
1452 .LegacyHotkeyName( "Add Graphic PolyLine" )
1453 .FriendlyName( _( "Draw Lines" ) )
1454 .ToolbarState( TOOLBAR_STATE::TOGGLE )
1456 .Flags( AF_ACTIVATE )
1457 .Parameter( &drawLinesActionParam ) );
1458
1460 .Name( "eeschema.InteractiveDrawingLineWireBus.undoLastSegment")
1461 .Scope( AS_GLOBAL )
1462 .DefaultHotkey( WXK_BACK )
1463 .FriendlyName( _( "Undo Last Segment" ) )
1464 .Tooltip( _( "Walks the current line back one segment." ) )
1465 .Icon( BITMAPS::undo ) );
1466
1468 .Name( "eeschema.InteractiveDrawingLineWireBus.switchPosture" )
1469 .Scope( AS_GLOBAL )
1470 .DefaultHotkey( '/' )
1471 .FriendlyName( _( "Switch Segment Posture" ) )
1472 .Tooltip( _( "Switches posture of the current segment." ) )
1474 .Flags( AF_NONE ) );
1475
1476// SCH_MOVE_TOOL
1477//
1479 .Name( "eeschema.InteractiveMove.move" )
1480 .Scope( AS_GLOBAL )
1481 .DefaultHotkey( 'M' )
1482 .LegacyHotkeyName( "Move Item" )
1483 .FriendlyName( _( "Move" ) )
1484 .Icon( BITMAPS::move )
1485 .Flags( AF_ACTIVATE ) );
1486
1488 .Name( "eeschema.InteractiveMove.drag" )
1489 .Scope( AS_GLOBAL )
1490 .DefaultHotkey( 'G' )
1491 .LegacyHotkeyName( "Drag Item" )
1492 .FriendlyName( _( "Drag" ) )
1493 .Tooltip( _( "Move items while keeping their connections" ) )
1494 .Icon( BITMAPS::drag )
1495 .Flags( AF_ACTIVATE ) );
1496
1498 .Name( "eeschema.AlignToGrid" )
1499 .Scope( AS_GLOBAL )
1500 .FriendlyName( _( "Align Items to Grid" ) )
1502 .Flags( AF_ACTIVATE ) );
1503
1504// Schematic editor save copy curr sheet command
1506 .Name( "eeschema.EditorControl.saveCurrSheetCopyAs" )
1507 .Scope( AS_GLOBAL )
1508 .FriendlyName( _( "Save Current Sheet Copy As..." ) )
1509 .Tooltip( _( "Save a copy of the current sheet to another location or name" ) )
1510 .Icon( BITMAPS::save_as ) );
1511
1512// Drag and drop
1514 .Name( "eeschema.EditorControl.ddAppendFile" )
1515 .Scope( AS_GLOBAL ) );
1516
1517// SIMULATOR
1519 .Name( "eeschema.Simulation.newAnalysisTab" )
1520 .Scope( AS_GLOBAL )
1521 .DefaultHotkey( MD_CTRL + 'N' )
1522 .LegacyHotkeyName( "New" )
1523 .FriendlyName( _( "New Analysis Tab..." ) )
1524 .Tooltip( _( "Create a new tab containing a simulation analysis" ) )
1525 .Icon( BITMAPS::sim_add_plot ) );
1526
1528 .Name( "eeschema.Simulation.openWorkbook" )
1529 .Scope( AS_GLOBAL )
1530 .DefaultHotkey( MD_CTRL + 'O' )
1531 .LegacyHotkeyName( "Open" )
1532 .FriendlyName( _( "Open Workbook..." ) )
1533 .Tooltip( _( "Open a saved set of analysis tabs and settings" ) )
1534 .Icon( BITMAPS::directory_open ) );
1535
1537 .Name( "eeschema.Simulation.saveWorkbook" )
1538 .Scope( AS_GLOBAL )
1539 .DefaultHotkey( MD_CTRL + 'S' )
1540 .LegacyHotkeyName( "Save" )
1541 .FriendlyName( _( "Save Workbook" ) )
1542 .Tooltip( _( "Save the current set of analysis tabs and settings" ) )
1543 .Icon( BITMAPS::save ) );
1544
1546 .Name( "eeschema.Simulation.saveWorkbookAs" )
1547 .Scope( AS_GLOBAL )
1548 .DefaultHotkey( MD_CTRL + MD_SHIFT + 'S' )
1549 .LegacyHotkeyName( "Save As" )
1550 .FriendlyName( _( "Save Workbook As..." ) )
1551 .Tooltip( _( "Save the current set of analysis tabs and settings to another location" ) )
1552 .Icon( BITMAPS::sim_add_signal ) );
1553
1555 .Name( "eeschema.Simulator.exportPNG" )
1556 .Scope( AS_GLOBAL )
1557 .FriendlyName( _( "Export Current Plot as PNG..." ) )
1558 .Icon( BITMAPS::export_png ) );
1559
1561 .Name( "eeschema.Simulator.exportCSV" )
1562 .Scope( AS_GLOBAL )
1563 .FriendlyName( _( "Export Current Plot as CSV..." ) )
1564 .Icon( BITMAPS::export_file ) );
1565
1567 .Name( "eeschema.Simulator.exportToClipboard" )
1568 .Scope( AS_GLOBAL )
1569 .FriendlyName( _( "Export Current Plot to Clipboard" ) )
1570 .Icon( BITMAPS::export_png ) );
1571
1573 .Name( "eeschema.Simulator.exportPlotToSchematic" )
1574 .Scope( AS_GLOBAL )
1575 .FriendlyName( _( "Export Current Plot to Schematic" ) )
1576 .Icon( BITMAPS::export_png ) );
1577
1579 .Name( "eeschema.Simulator.toggleLegend" )
1580 .Scope( AS_GLOBAL )
1581 .FriendlyName( _( "Show Legend" ) )
1582 .Icon( BITMAPS::text ) );
1583
1585 .Name( "eeschema.Simulator.toggleDottedSecondary" )
1586 .Scope( AS_GLOBAL )
1587 .FriendlyName( _( "Dotted Current/Phase" ) )
1588 .Tooltip( _( "Draw secondary signal trace (current or phase) with a dotted line" ) ) );
1589
1591 .Name( "eeschema.Simulator.toggleDarkModePlots" )
1592 .Scope( AS_GLOBAL )
1593 .FriendlyName( _( "Dark Mode Plots" ) )
1594 .Tooltip( _( "Draw plots with a black background" ) ) );
1595
1597 .Name( "eeschema.Simulation.simAnalysisProperties" )
1598 .Scope( AS_GLOBAL )
1599 .FriendlyName( _( "Edit Analysis Tab..." ) )
1600 .Tooltip( _( "Edit the current analysis tab's SPICE command and plot setup" ) )
1601 .Icon( BITMAPS::sim_command ) );
1602
1604 .Name( "eeschema.Simulation.runSimulation" )
1605 .Scope( AS_GLOBAL )
1606 .DefaultHotkey( 'R' )
1607 .FriendlyName( _( "Run Simulation" ) )
1608 .Icon( BITMAPS::sim_run ) );
1609
1611 .Name( "eeschema.Simulation.stopSimulation" )
1612 .Scope( AS_GLOBAL )
1613 .FriendlyName( _( "Stop Simulation" ) )
1614 .Icon( BITMAPS::sim_stop ) );
1615
1617 .Name( "eeschema.Simulation.probe" )
1618 .Scope( AS_GLOBAL )
1619 .DefaultHotkey( MD_SHIFT + 'P' )
1620 .FriendlyName( _( "Probe Schematic..." ) )
1621 .Tooltip( _( "Add a simulator probe" ) )
1622 .Icon( BITMAPS::sim_probe ) );
1623
1625 .Name( "eeschema.Simulation.tune" )
1626 .Scope( AS_GLOBAL )
1627 .DefaultHotkey( MD_SHIFT + 'T' )
1628 .FriendlyName( _( "Add Tuned Value..." ) )
1629 .Tooltip( _( "Select a value to be tuned" ) )
1630 .Icon( BITMAPS::sim_tune ) );
1631
1633 .Name( "eeschema.Simulation.editUserDefinedSignals" )
1634 .Scope( AS_GLOBAL )
1635 .FriendlyName( _( "User-defined Signals..." ) )
1636 .Tooltip( _( "Add, edit or delete user-defined simulation signals" ) )
1637 .Icon( BITMAPS::sim_add_signal ) );
1638
1640 .Name( "eeschema.Simulation.showNetlist" )
1641 .Scope( AS_GLOBAL )
1642 .FriendlyName( _( "Show SPICE Netlist" ) )
1643 .Icon( BITMAPS::netlist ) );
@ add_symbol_to_schematic
@ hierarchy_nav
@ delete_cursor
@ add_hierarchical_subsheet
@ net_highlight_schematic
@ add_graphical_polygon
@ add_line2bus
@ add_line_label
@ pin_show_etype
@ edit_comp_value
@ edit_comp_footprint
@ add_rectangle
@ add_class_flag
@ icon_pcbnew_24
@ add_hierarchical_label
@ edit_comp_ref
@ autoplace_fields
@ change_entry_orient
@ library_archive_as
@ add_graphical_segments
@ sim_add_plot
@ INVALID_BITMAP
@ part_properties
@ add_component
@ add_keepout_area
@ import_hierarchical_label
@ directory_open
@ align_elements_to_grid
@ add_junction
@ annotate_increment
@ options_schematic
@ bus_definition_tool
@ sim_add_signal
@ add_hierar_pin
@ new_component
@ icon_cvpcb_24
@ select_same_sheet
@ library_archive
@ import_footprint_names
@ import_vector
@ edit_cmp_symb_links
static TOOL_ACTION showPcbNew
Definition: sch_actions.h:185
static TOOL_ACTION editSymbol
Definition: sch_actions.h:214
static TOOL_ACTION rotateCCW
Definition: sch_actions.h:132
static TOOL_ACTION placeClassLabel
Definition: sch_actions.h:90
static TOOL_ACTION placeSheetPin
Definition: sch_actions.h:96
static TOOL_ACTION importSymbol
Definition: sch_actions.h:221
static TOOL_ACTION syncSelection
Selection synchronization (PCB -> SCH)
Definition: sch_actions.h:70
static TOOL_ACTION newSymbol
Definition: sch_actions.h:212
static TOOL_ACTION placeNextSymbolUnit
Definition: sch_actions.h:80
static TOOL_ACTION editValue
Definition: sch_actions.h:138
static TOOL_ACTION saveLibraryAs
Definition: sch_actions.h:209
static TOOL_ACTION setExcludeFromBOM
Definition: sch_actions.h:196
static TOOL_ACTION assignFootprints
Definition: sch_actions.h:168
static TOOL_ACTION saveSheetAsDesignBlock
Definition: sch_actions.h:203
static TOOL_ACTION mirrorV
Definition: sch_actions.h:133
static TOOL_ACTION lineModeNext
Definition: sch_actions.h:277
static TOOL_ACTION drawSheetFromFile
Definition: sch_actions.h:94
static TOOL_ACTION exportPlotToClipboard
Definition: sch_actions.h:289
static TOOL_ACTION toggleOPCurrents
Definition: sch_actions.h:253
static TOOL_ACTION clearHighlight
Definition: sch_actions.h:305
static TOOL_ACTION swap
Definition: sch_actions.h:135
static TOOL_ACTION clearSelection
Clears the current selection.
Definition: sch_actions.h:56
static TOOL_ACTION saveSelectionAsDesignBlock
Definition: sch_actions.h:204
static TOOL_ACTION showBusSyntaxHelp
Definition: sch_actions.h:174
static TOOL_ACTION placeGlobalLabel
Definition: sch_actions.h:91
static TOOL_ACTION saveWorkbookAs
Definition: sch_actions.h:286
static TOOL_ACTION deleteDesignBlock
Definition: sch_actions.h:205
static TOOL_ACTION editSymbolFields
Definition: sch_actions.h:160
static TOOL_ACTION pushPinLength
Definition: sch_actions.h:258
static TOOL_ACTION checkSymbol
Definition: sch_actions.h:172
static TOOL_ACTION importFPAssignments
Definition: sch_actions.h:186
static TOOL_ACTION changeSymbols
Definition: sch_actions.h:164
static TOOL_ACTION drawTextBox
Definition: sch_actions.h:104
static TOOL_ACTION toggleAnnotateAuto
Definition: sch_actions.h:280
static TOOL_ACTION updateSymbol
Definition: sch_actions.h:167
static TOOL_ACTION autoplaceFields
Definition: sch_actions.h:140
static TOOL_ACTION changeSymbol
Definition: sch_actions.h:166
static TOOL_ACTION syncAllSheetsPins
Definition: sch_actions.h:102
static TOOL_ACTION editLibSymbolWithLibEdit
Definition: sch_actions.h:184
static TOOL_ACTION closeOutline
Definition: sch_actions.h:116
static TOOL_ACTION exportPlotAsCSV
Definition: sch_actions.h:288
static TOOL_ACTION showDeMorganAlternate
Definition: sch_actions.h:143
static TOOL_ACTION drawArc
Definition: sch_actions.h:108
static TOOL_ACTION drawSheet
Definition: sch_actions.h:93
static TOOL_ACTION toggleERCWarnings
Definition: sch_actions.h:248
static TOOL_ACTION pinTable
Definition: sch_actions.h:163
static TOOL_ACTION drawSymbolLines
Definition: sch_actions.h:122
static TOOL_ACTION placeSymbolPin
Definition: sch_actions.h:119
static TOOL_ACTION navigateBack
Definition: sch_actions.h:232
static TOOL_ACTION schematicSetup
Definition: sch_actions.h:170
static TOOL_ACTION toggleDirectiveLabels
Definition: sch_actions.h:247
static TOOL_ACTION pasteSymbol
Definition: sch_actions.h:220
static TOOL_ACTION drawSymbolTextBox
Definition: sch_actions.h:121
static TOOL_ACTION pushPinNameSize
Definition: sch_actions.h:259
static TOOL_ACTION highlightNetTool
Definition: sch_actions.h:307
static TOOL_ACTION toCLabel
Definition: sch_actions.h:146
static TOOL_ACTION properties
Definition: sch_actions.h:136
static TOOL_ACTION editReference
Definition: sch_actions.h:137
static TOOL_ACTION leaveSheet
Definition: sch_actions.h:229
static TOOL_ACTION exportSymbolAsSVG
Definition: sch_actions.h:267
static TOOL_ACTION breakWire
Definition: sch_actions.h:151
static TOOL_ACTION toggleDeMorgan
Definition: sch_actions.h:141
static TOOL_ACTION renameSymbol
Definition: sch_actions.h:216
static TOOL_ACTION toggleHiddenFields
Definition: sch_actions.h:244
static TOOL_ACTION autoplaceAllSheetPins
Definition: sch_actions.h:97
static TOOL_ACTION drawRectangle
Definition: sch_actions.h:106
static TOOL_ACTION drawLines
Definition: sch_actions.h:110
static TOOL_ACTION saveCurrSheetCopyAs
Definition: sch_actions.h:42
static TOOL_ACTION placeHierLabel
Definition: sch_actions.h:92
static TOOL_ACTION simAnalysisProperties
Definition: sch_actions.h:297
static TOOL_ACTION selectConnection
If current selection is a wire or bus, expand to entire connection.
Definition: sch_actions.h:53
static TOOL_ACTION toggleDottedSecondary
Definition: sch_actions.h:295
static TOOL_ACTION placeLabel
Definition: sch_actions.h:89
static TOOL_ACTION drawCircle
Definition: sch_actions.h:107
static TOOL_ACTION navigateNext
Definition: sch_actions.h:234
static TOOL_ACTION exportSymbolsToNewLibrary
Definition: sch_actions.h:193
static TOOL_ACTION duplicateSymbol
Definition: sch_actions.h:215
static TOOL_ACTION importGraphics
Definition: sch_actions.h:265
static TOOL_ACTION toText
Definition: sch_actions.h:149
static TOOL_ACTION restartMove
Definition: sch_actions.h:256
static TOOL_ACTION placeBusWireEntry
Definition: sch_actions.h:88
static TOOL_ACTION toHLabel
Definition: sch_actions.h:147
static TOOL_ACTION repairSchematic
Definition: sch_actions.h:269
static TOOL_ACTION cutSymbol
Definition: sch_actions.h:218
static TOOL_ACTION nextNetItem
Definition: sch_actions.h:179
static TOOL_ACTION drawBezier
Definition: sch_actions.h:109
static TOOL_ACTION drawWire
Definition: sch_actions.h:83
static TOOL_ACTION remapSymbols
Definition: sch_actions.h:177
static TOOL_ACTION lineMode45
Definition: sch_actions.h:276
static TOOL_ACTION saveSymbolCopyAs
Definition: sch_actions.h:211
static TOOL_ACTION nextUnit
Definition: sch_actions.h:271
static TOOL_ACTION editSymbolLibraryLinks
Definition: sch_actions.h:161
static TOOL_ACTION simTune
Definition: sch_actions.h:293
static TOOL_ACTION rotateCW
Definition: sch_actions.h:131
static TOOL_ACTION importSheet
Definition: sch_actions.h:98
static TOOL_ACTION showElectricalTypes
Definition: sch_actions.h:261
static TOOL_ACTION toggleDarkModePlots
Definition: sch_actions.h:296
static TOOL_ACTION drag
Definition: sch_actions.h:129
static TOOL_ACTION exportPlotAsPNG
Definition: sch_actions.h:287
static TOOL_ACTION pointEditorAddCorner
Definition: sch_actions.h:153
static TOOL_ACTION generateBOM
Definition: sch_actions.h:188
static TOOL_ACTION showHierarchy
Definition: sch_actions.h:235
static TOOL_ACTION exportPlotToSchematic
Definition: sch_actions.h:290
static TOOL_ACTION toLabel
Definition: sch_actions.h:145
static TOOL_ACTION showNetNavigator
Definition: sch_actions.h:308
static TOOL_ACTION placeJunction
Definition: sch_actions.h:87
static TOOL_ACTION setDNP
Definition: sch_actions.h:199
static TOOL_ACTION markSimExclusions
Definition: sch_actions.h:251
static TOOL_ACTION previousNetItem
Definition: sch_actions.h:180
static TOOL_ACTION drawSymbolPolygon
Definition: sch_actions.h:123
static TOOL_ACTION drawRuleArea
Definition: sch_actions.h:114
static TOOL_ACTION placeSymbol
Definition: sch_actions.h:79
static TOOL_ACTION placeImage
Definition: sch_actions.h:111
static TOOL_ACTION alignToGrid
Definition: sch_actions.h:127
static TOOL_ACTION deleteLastPoint
Definition: sch_actions.h:115
static TOOL_ACTION showHiddenFields
Definition: sch_actions.h:246
static TOOL_ACTION editDesignBlockProperties
Definition: sch_actions.h:206
static TOOL_ACTION editWithLibEdit
Definition: sch_actions.h:183
static TOOL_ACTION cleanupSheetPins
Definition: sch_actions.h:239
static TOOL_ACTION runSimulation
Definition: sch_actions.h:298
static TOOL_ACTION navigateForward
Definition: sch_actions.h:231
static TOOL_ACTION generateBOMExternal
Definition: sch_actions.h:190
static TOOL_ACTION toggleERCErrors
Definition: sch_actions.h:249
static TOOL_ACTION incrementAnnotations
Definition: sch_actions.h:159
static TOOL_ACTION placeSymbolAnchor
Definition: sch_actions.h:124
static TOOL_ACTION navigatePrevious
Definition: sch_actions.h:233
static TOOL_ACTION rescueSymbols
Definition: sch_actions.h:176
static TOOL_ACTION showHiddenPins
Definition: sch_actions.h:245
static TOOL_ACTION editUserDefinedSignals
Definition: sch_actions.h:300
static TOOL_ACTION showPinNumbers
Definition: sch_actions.h:262
static TOOL_ACTION removeItemFromSel
Definition: sch_actions.h:60
static TOOL_ACTION setUnitDisplayName
Definition: sch_actions.h:224
static TOOL_ACTION exportSymbolView
Definition: sch_actions.h:266
static TOOL_ACTION selectNode
Select the junction, wire or bus segment under the cursor.
Definition: sch_actions.h:49
static TOOL_ACTION drawSheetFromDesignBlock
Definition: sch_actions.h:95
static TOOL_ACTION newAnalysisTab
Definition: sch_actions.h:283
static TOOL_ACTION generateBOMLegacy
Definition: sch_actions.h:189
static TOOL_ACTION mirrorH
Definition: sch_actions.h:134
static TOOL_ACTION showSimulator
Definition: sch_actions.h:291
static TOOL_ACTION copySymbol
Definition: sch_actions.h:219
static TOOL_ACTION unfoldBus
Definition: sch_actions.h:85
static TOOL_ACTION pointEditorRemoveCorner
Definition: sch_actions.h:154
static TOOL_ACTION placeDesignBlock
Definition: sch_actions.h:82
static TOOL_ACTION toggleOPVoltages
Definition: sch_actions.h:252
static TOOL_ACTION drawBus
Definition: sch_actions.h:84
static TOOL_ACTION simProbe
Definition: sch_actions.h:292
static TOOL_ACTION setExcludeFromSimulation
Definition: sch_actions.h:197
static TOOL_ACTION runERC
Inspection and Editing.
Definition: sch_actions.h:157
static TOOL_ACTION removeItemsFromSel
Definition: sch_actions.h:64
static TOOL_ACTION symbolProperties
Definition: sch_actions.h:162
static TOOL_ACTION placeSymbolText
Definition: sch_actions.h:120
static TOOL_ACTION drawTable
Definition: sch_actions.h:105
static TOOL_ACTION lineMode90
Definition: sch_actions.h:275
static TOOL_ACTION ddAppendFile
Definition: sch_actions.h:311
static TOOL_ACTION slice
Definition: sch_actions.h:152
static TOOL_ACTION placeSchematicText
Definition: sch_actions.h:103
static TOOL_ACTION toggleSyncedPinsMode
Definition: sch_actions.h:255
static TOOL_ACTION toTextBox
Definition: sch_actions.h:150
static TOOL_ACTION lineModeFree
Definition: sch_actions.h:274
static TOOL_ACTION changeSheet
Definition: sch_actions.h:227
static TOOL_ACTION highlightNet
Definition: sch_actions.h:304
static TOOL_ACTION deleteSymbol
Definition: sch_actions.h:217
static TOOL_ACTION assignNetclass
Definition: sch_actions.h:169
static TOOL_ACTION annotate
Definition: sch_actions.h:158
static TOOL_ACTION showDesignBlockPanel
Definition: sch_actions.h:202
static TOOL_ACTION updateSymbols
Definition: sch_actions.h:165
static TOOL_ACTION enterSheet
Definition: sch_actions.h:228
static TOOL_ACTION pushPinNumSize
Definition: sch_actions.h:260
static TOOL_ACTION undoLastSegment
Definition: sch_actions.h:112
static TOOL_ACTION showNetlist
Definition: sch_actions.h:301
static TOOL_ACTION editFootprint
Definition: sch_actions.h:139
static TOOL_ACTION selectionMenu
Runs a selection menu to select from a list of items.
Definition: sch_actions.h:67
static TOOL_ACTION togglePinAltIcons
Definition: sch_actions.h:254
static TOOL_ACTION openWorkbook
Definition: sch_actions.h:284
static TOOL_ACTION addItemToSel
Selects an item (specified as the event parameter).
Definition: sch_actions.h:59
static TOOL_ACTION toggleERCExclusions
Definition: sch_actions.h:250
static TOOL_ACTION updateNetHighlighting
Definition: sch_actions.h:306
static TOOL_ACTION repeatDrawItem
Definition: sch_actions.h:130
static TOOL_ACTION editTextAndGraphics
Definition: sch_actions.h:240
static TOOL_ACTION exportNetlist
Definition: sch_actions.h:187
static TOOL_ACTION addItemsToSel
Selects a list of items (specified as the event parameter)
Definition: sch_actions.h:63
static TOOL_ACTION saveWorkbook
Definition: sch_actions.h:285
static TOOL_ACTION placeNoConnect
Definition: sch_actions.h:86
static TOOL_ACTION editPageNumber
Definition: sch_actions.h:171
static TOOL_ACTION drawSheetOnClipboard
Definition: sch_actions.h:264
static TOOL_ACTION exportSymbolsToLibrary
Definition: sch_actions.h:192
static TOOL_ACTION switchSegmentPosture
Definition: sch_actions.h:113
static TOOL_ACTION showDeMorganStandard
Definition: sch_actions.h:142
static TOOL_ACTION updateSymbolFields
Definition: sch_actions.h:223
static TOOL_ACTION toGLabel
Definition: sch_actions.h:148
static TOOL_ACTION toggleHiddenPins
Definition: sch_actions.h:243
static TOOL_ACTION setExcludeFromBoard
Definition: sch_actions.h:198
static TOOL_ACTION exportSymbol
Definition: sch_actions.h:222
static TOOL_ACTION selectOnPCB
Definition: sch_actions.h:257
static TOOL_ACTION move
Definition: sch_actions.h:128
static TOOL_ACTION syncSheetPins
Definition: sch_actions.h:100
static TOOL_ACTION toggleLegend
Definition: sch_actions.h:294
static TOOL_ACTION diffSymbol
Definition: sch_actions.h:173
static TOOL_ACTION placePower
Definition: sch_actions.h:81
static TOOL_ACTION navigateUp
Definition: sch_actions.h:230
static TOOL_ACTION previousUnit
Definition: sch_actions.h:270
static TOOL_ACTION deriveFromExistingSymbol
Definition: sch_actions.h:213
static TOOL_ACTION stopSimulation
Definition: sch_actions.h:299
static TOOL_ACTION selectionActivate
Activation of the selection tool.
Definition: sch_actions.h:46
static TOOL_ACTION addSymbolToSchematic
Definition: sch_actions.h:191
static TOOL_ACTION saveSymbolAs
Definition: sch_actions.h:210
Build up the properties of a TOOL_ACTION in an incremental manner that is static-construction safe.
Definition: tool_action.h:118
Represent a single user action.
Definition: tool_action.h:304
@ RECTANGLE
Use RECTANGLE instead of RECT to avoid collision in a Windows header.
@ LINE_MODE_90
@ LINE_MODE_45
@ LINE_MODE_FREE
@ LAYER_WIRE
Definition: layer_ids.h:441
@ LAYER_NOTES
Definition: layer_ids.h:456
@ LAYER_BUS
Definition: layer_ids.h:442
const DRAW_SEGMENT_EVENT_PARAMS drawLinesActionParam
const DRAW_SEGMENT_EVENT_PARAMS drawWireActionParam
const DRAW_SEGMENT_EVENT_PARAMS drawBusActionParam
#define _(s)
Definition: sch_actions.cpp:39
@ TOGGLE
Action is a toggle button on the toolbar.
@ AS_GLOBAL
Global action (toolbar/main menu event, global shortcut)
Definition: tool_action.h:49
@ AS_CONTEXT
Action belongs to a particular tool (i.e. a part of a pop-up menu)
Definition: tool_action.h:47
@ AF_ACTIVATE
Action activates a tool.
Definition: tool_action.h:56
@ AF_NONE
Definition: tool_action.h:55
@ MD_ALT
Definition: tool_event.h:145
@ MD_CTRL
Definition: tool_event.h:144
@ MD_SHIFT
Definition: tool_event.h:143
@ SCH_NO_CONNECT_T
Definition: typeinfo.h:160
@ SCH_DIRECTIVE_LABEL_T
Definition: typeinfo.h:171
@ SCH_LABEL_T
Definition: typeinfo.h:167
@ SCH_SHEET_T
Definition: typeinfo.h:174
@ SCH_HIER_LABEL_T
Definition: typeinfo.h:169
@ SCH_TEXT_T
Definition: typeinfo.h:151
@ SCH_BUS_WIRE_ENTRY_T
Definition: typeinfo.h:161
@ SCH_TEXTBOX_T
Definition: typeinfo.h:152
@ SCH_GLOBAL_LABEL_T
Definition: typeinfo.h:168
@ SCH_JUNCTION_T
Definition: typeinfo.h:159
@ SCH_PIN_T
Definition: typeinfo.h:153