26#ifndef SCH_EDITOR_CONTROL_H 
   27#define SCH_EDITOR_CONTROL_H 
  173                                 const wxString& aSearchText );
 
  190    bool doCopy( 
bool aUseDuplicateClipboard = 
false );
 
  199                             const KIID_PATH& aClipPath, 
bool aForceKeepAnnotations );
 
  202                                      const KIID_PATH& aClipPath, 
bool aForceKeepAnnotations,
 
  204                                      std::map<SCH_SHEET_PATH, SCH_REFERENCE_LIST>& aPastedSymbols );
 
  239                                        bool aVisibilityState );
 
 
A base class for most all the KiCad significant classes used in schematics and boards.
 
int PageSetup(const TOOL_EVENT &aEvent)
 
bool RescueLegacyProject(bool aRunningOnDemand)
 
int ToggleDirectiveLabels(const TOOL_EVENT &aEvent)
 
int SaveAs(const TOOL_EVENT &aEvent)
 
int MarkSimExclusions(const TOOL_EVENT &aEvent)
 
int Annotate(const TOOL_EVENT &aEvent)
 
int ShowSchematicSetup(const TOOL_EVENT &aEvent)
 
int HighlightNet(const TOOL_EVENT &aEvent)
Remove any net highlighting.
 
int ClearHighlight(const TOOL_EVENT &aEvent)
Update net highlighting after an edit.
 
int FindNetInInspector(const TOOL_EVENT &aEvent)
 
int EditSymbolFields(const TOOL_EVENT &aEvent)
 
bool m_duplicateIsHoverSelection
 
int GenerateBOMLegacy(const TOOL_EVENT &aEvent)
 
int HighlightNetCursor(const TOOL_EVENT &aEvent)
 
void AssignFootprints(const std::string &aChangedSetOfReferences)
 
int CopyAsText(const TOOL_EVENT &aEvent)
 
int AddVariant(const TOOL_EVENT &aEvent)
 
int ImportFPAssignments(const TOOL_EVENT &aEvent)
 
int ChangeLineMode(const TOOL_EVENT &aEvent)
 
void doCrossProbeSchToPcb(const TOOL_EVENT &aEvent, bool aForce)
 
int ExportSymbolsToLibrary(const TOOL_EVENT &aEvent)
 
int SaveCurrSheetCopyAs(const TOOL_EVENT &aEvent)
Saves the currently-open schematic sheet to an other name.
 
bool rescueProject(RESCUER &aRescuer, bool aRunningOnDemand)
 
int CrossProbeToPcb(const TOOL_EVENT &aEvent)
Equivalent to the above, but initiated by the user.
 
void SetHighlightBusMembers(bool aHighlightBusMembers)
 
bool GetHighlightBusMembers() const
 
int PlaceLinkedDesignBlock(const TOOL_EVENT &aEvent)
 
int Quit(const TOOL_EVENT &aEvent)
 
int RemapSymbols(const TOOL_EVENT &aEvent)
 
int DrawSheetOnClipboard(const TOOL_EVENT &aEvent)
 
SCH_SHEET_PATH updatePastedSheet(SCH_SHEET *aSheet, const SCH_SHEET_PATH &aPastePath, const KIID_PATH &aClipPath, bool aForceKeepAnnotations, SCH_SHEET_LIST *aPastedSheets, std::map< SCH_SHEET_PATH, SCH_REFERENCE_LIST > &aPastedSymbols)
 
int TogglePinAltIcons(const TOOL_EVENT &aEvent)
 
int RescueSymbols(const TOOL_EVENT &aEvent)
Perform rescue operations to recover old projects from before certain changes were made.
 
int AssignNetclass(const TOOL_EVENT &aEvent)
 
std::string m_duplicateClipboard
 
int ExportNetlist(const TOOL_EVENT &aEvent)
 
int Open(const TOOL_EVENT &aEvent)
 
int Paste(const TOOL_EVENT &aEvent)
 
int ToggleOPVoltages(const TOOL_EVENT &aEvent)
 
int Copy(const TOOL_EVENT &aEvent)
 
int SaveToLinkedDesignBlock(const TOOL_EVENT &aEvent)
 
int ToggleERCWarnings(const TOOL_EVENT &aEvent)
 
int NextLineMode(const TOOL_EVENT &aEvent)
 
SCH_ITEM * FindSymbolAndItem(const wxString *aPath, const wxString *aReference, bool aSearchHierarchy, SCH_SEARCH_T aSearchType, const wxString &aSearchText)
Find a symbol in the schematic and an item in this symbol and select it.
 
int Redo(const TOOL_EVENT &aEvent)
Clipboard support.
 
int UpdatePCB(const TOOL_EVENT &aEvent)
 
int RemoveVariant(const TOOL_EVENT &aEvent)
 
int UpdateFromPCB(const TOOL_EVENT &aEvent)
 
int ToggleAnnotateAuto(const TOOL_EVENT &aEvent)
 
int ToggleHiddenPins(const TOOL_EVENT &aEvent)
 
int Duplicate(const TOOL_EVENT &aEvent)
 
int IncrementAnnotations(const TOOL_EVENT &aEvent)
 
bool searchSupplementaryClipboard(const wxString &aSheetFilename, SCH_SCREEN **aScreen)
 
int GridFeedback(const TOOL_EVENT &aEvent)
 
int ShowSearch(const TOOL_EVENT &aEvent)
 
int EditWithSymbolEditor(const TOOL_EVENT &aEvent)
 
int SimTune(const TOOL_EVENT &aEvent)
Highlight net under the cursor.
 
int EditSymbolLibraryLinks(const TOOL_EVENT &aEvent)
 
int New(const TOOL_EVENT &aEvent)
 
std::map< wxString, SCH_SCREEN * > m_supplementaryClipboard
 
int ExplicitCrossProbeToPcb(const TOOL_EVENT &aEvent)
 
int ToggleOPCurrents(const TOOL_EVENT &aEvent)
 
int ShowPcbNew(const TOOL_EVENT &aEvent)
 
int UpdateNetHighlighting(const TOOL_EVENT &aEvent)
Launch a tool to highlight nets.
 
int ToggleERCErrors(const TOOL_EVENT &aEvent)
 
int TogglePythonConsole(const TOOL_EVENT &aEvent)
 
int ShowHierarchy(const TOOL_EVENT &aEvent)
 
int OnAngleSnapModeChanged(const TOOL_EVENT &aEvent)
 
void setTransitions() override
This method is meant to be overridden in order to specify handlers for events.
 
bool m_highlightBusMembers
 
int ShowNetNavigator(const TOOL_EVENT &aEvent)
 
int SimProbe(const TOOL_EVENT &aEvent)
 
void updatePastedSymbol(SCH_SYMBOL *aSymbol, const SCH_SHEET_PATH &aPastePath, const KIID_PATH &aClipPath, bool aForceKeepAnnotations)
 
int ShowCvpcb(const TOOL_EVENT &aEvent)
 
int ToggleLibraryTree(const TOOL_EVENT &aEvent)
 
int RepairSchematic(const TOOL_EVENT &aEvent)
 
std::set< SCH_SYMBOL * > m_pastedSymbols
 
void prunePastedSymbolInstances()
Remove all pasted symbol instances that do not belong to the current project.
 
int Cut(const TOOL_EVENT &aEvent)
 
int ToggleProperties(const TOOL_EVENT &aEvent)
 
std::map< KIID_PATH, SCH_SYMBOL_INSTANCE > m_clipboardSymbolInstances
 
int Save(const TOOL_EVENT &aEvent)
 
bool RescueSymbolLibTableProject(bool aRunningOnDemand)
Notifies pcbnew about the selected item.
 
bool doCopy(bool aUseDuplicateClipboard=false)
< copy selection to clipboard or to m_duplicateClipboard
 
int Undo(const TOOL_EVENT &aEvent)
 
int ToggleERCExclusions(const TOOL_EVENT &aEvent)
 
int Plot(const TOOL_EVENT &aEvent)
 
int Print(const TOOL_EVENT &aEvent)
 
bool processCmpToFootprintLinkFile(const wxString &aFullFilename, bool aForceVisibilityState, bool aVisibilityState)
Read the footprint info from each line in the stuff file by reference designator.
 
int Revert(const TOOL_EVENT &aEvent)
 
int GenerateBOM(const TOOL_EVENT &aEvent)
 
int ReloadPlugins(const TOOL_EVENT &aEvent)
 
void setPastedSymbolInstances(const SCH_SCREEN *aScreen)
 
int ToggleHiddenFields(const TOOL_EVENT &aEvent)
 
Schematic editor (Eeschema) main window.
 
Base class for any item which can be embedded within the SCHEMATIC container class,...
 
A container for handling SCH_SHEET_PATH objects in a flattened hierarchy.
 
Handle access to a stack of flattened SCH_SHEET objects by way of a path for creating a flattened sch...
 
Sheet symbol placed in a schematic, and is the entry point for a sub schematic.
 
SCH_SEARCH_T
Schematic search type used by the socket link with Pcbnew.