KiCad PCB EDA Suite
|
#include <symbol_editor_move_tool.h>
Public Types | |
enum | RESET_REASON |
Determine the reason of reset for a tool. More... | |
Public Member Functions | |
SYMBOL_EDITOR_MOVE_TOOL () | |
~SYMBOL_EDITOR_MOVE_TOOL () override | |
bool | Init () override |
Init() is called once upon a registration of the tool. | |
void | Reset (RESET_REASON aReason) override |
Bring the tool to a known, initial state. | |
int | Main (const TOOL_EVENT &aEvent) |
Run an interactive move of the selected items, or the item under the cursor. | |
int | AlignElements (const TOOL_EVENT &aEvent) |
Align selected elements to the grid. | |
bool | IsSymbolEditor () const |
Returns true if the tool is running in the symbol editor. | |
int | Increment (const TOOL_EVENT &aEvent) |
int | InteractiveDelete (const TOOL_EVENT &aEvent) |
void | Activate () |
Run the tool. | |
TOOL_MENU & | GetToolMenu () |
void | SetContextMenu (ACTION_MENU *aMenu, CONTEXT_MENU_TRIGGER aTrigger=CMENU_BUTTON) |
Assign a context menu and tells when it should be activated. | |
void | RunMainStack (std::function< void()> aFunc) |
Call a function using the main stack. | |
void | Go (int(SYMBOL_EDIT_FRAME::*aStateFunc)(const TOOL_EVENT &), const TOOL_EVENT_LIST &aConditions=TOOL_EVENT(TC_ANY, TA_ANY)) |
Define which state (aStateFunc) to go when a certain event arrives (aConditions). | |
TOOL_EVENT * | Wait (const TOOL_EVENT_LIST &aEventList=TOOL_EVENT(TC_ANY, TA_ANY)) |
Suspend execution of the tool until an event specified in aEventList arrives. | |
TOOL_TYPE | GetType () const |
Return the type of the tool. | |
TOOL_ID | GetId () const |
Return the unique identifier of the tool. | |
const std::string & | GetName () const |
Return the name of the tool. | |
TOOL_MANAGER * | GetManager () const |
Return the instance of TOOL_MANAGER that takes care of the tool. | |
bool | IsToolActive () const |
Protected Member Functions | |
void | updateItem (EDA_ITEM *aItem, bool aUpdateRTree) const |
Similar to getView()->Update(), but also updates the SCH_SCREEN's RTree. | |
void | saveCopyInUndoList (EDA_ITEM *aItem, UNDO_REDO aType, bool aAppend=false, bool aDirtyConnectivity=true) |
void | attachManager (TOOL_MANAGER *aManager) |
Set the TOOL_MANAGER the tool will belong to. | |
KIGFX::VIEW * | getView () const |
Returns the instance of #VIEW object used in the application. | |
KIGFX::VIEW_CONTROLS * | getViewControls () const |
Return the instance of VIEW_CONTROLS object used in the application. | |
SYMBOL_EDIT_FRAME * | getEditFrame () const |
Return the application window object, casted to requested user type. | |
SYMBOL_EDIT_FRAME * | getModel () const |
Return the model object if it matches the requested type. | |
Protected Attributes | |
SYMBOL_EDIT_FRAME * | m_frame |
KIGFX::SCH_VIEW * | m_view |
SCH_SELECTION_TOOL * | m_selectionTool |
bool | m_isSymbolEditor |
EDA_ITEM * | m_pickerItem |
std::unique_ptr< TOOL_MENU > | m_menu |
The functions below are not yet implemented - their interface may change. | |
TOOL_TYPE | m_type |
TOOL_ID | m_toolId |
Unique id, assigned by a TOOL_MANAGER instance. | |
std::string | m_toolName |
Names are expected to obey the format application.ToolName (eg. | |
TOOL_MANAGER * | m_toolMgr |
Private Member Functions | |
bool | doMoveSelection (const TOOL_EVENT &aEvent, SCH_COMMIT *aCommit) |
void | moveItem (EDA_ITEM *aItem, const VECTOR2I &aDelta) |
Set up handlers for various events. | |
void | setTransitions () override |
This method is meant to be overridden in order to specify handlers for events. | |
void | resetTransitions () |
Clear the current transition map and restores the default one created by setTransitions(). | |
void | goInternal (TOOL_STATE_FUNC &aState, const TOOL_EVENT_LIST &aConditions) |
EDA_ITEM * | getModelInternal () const |
TOOLS_HOLDER * | getToolHolderInternal () const |
Private Attributes | |
bool | m_moveInProgress |
Last cursor position (needed for getModificationPoint() to avoid changes of edit reference point). | |
VECTOR2I | m_cursor |
VECTOR2I | m_anchorPos |
Definition at line 35 of file symbol_editor_move_tool.h.
|
inherited |
Determine the reason of reset for a tool.
Definition at line 77 of file tool_base.h.
SYMBOL_EDITOR_MOVE_TOOL::SYMBOL_EDITOR_MOVE_TOOL | ( | ) |
Definition at line 40 of file symbol_editor_move_tool.cpp.
References m_moveInProgress, and SCH_TOOL_BASE< SYMBOL_EDIT_FRAME >::SCH_TOOL_BASE().
|
inlineoverride |
Definition at line 39 of file symbol_editor_move_tool.h.
|
inherited |
Run the tool.
After activation, the tool starts receiving events until it is finished.
Definition at line 75 of file tool_interactive.cpp.
Referenced by SYMBOL_EDITOR_DRAWING_TOOLS::doDrawShape(), SYMBOL_EDITOR_MOVE_TOOL::doMoveSelection(), SYMBOL_EDITOR_DRAWING_TOOLS::ImportGraphics(), SYMBOL_EDITOR_DRAWING_TOOLS::PlaceAnchor(), and SYMBOL_EDITOR_DRAWING_TOOLS::TwoClickPlace().
int SYMBOL_EDITOR_MOVE_TOOL::AlignElements | ( | const TOOL_EVENT & | aEvent | ) |
Align selected elements to the grid.
aEvent | current event that activated the tool |
Definition at line 393 of file symbol_editor_move_tool.cpp.
References _, delta, grid, KiROUND(), SCH_TOOL_BASE< SYMBOL_EDIT_FRAME >::m_frame, SCH_TOOL_BASE< SYMBOL_EDIT_FRAME >::m_selectionTool, SCH_TOOL_BASE< SYMBOL_EDIT_FRAME >::m_toolMgr, COMMIT::Modify(), pin, PIN_LEFT, PIN_RIGHT, SCH_COMMIT::Push(), RECURSE, EVENTS::SelectedItemsMoved, and SCH_TOOL_BASE< SYMBOL_EDIT_FRAME >::updateItem().
Referenced by setTransitions().
|
protectedinherited |
Set the TOOL_MANAGER the tool will belong to.
Called by TOOL_MANAGER::RegisterTool()
Definition at line 163 of file tool_base.cpp.
|
private |
Definition at line 119 of file symbol_editor_move_tool.cpp.
References TOOL_EVENT::Action(), SCH_TOOL_BASE< SYMBOL_EDIT_FRAME >::Activate(), BUT_LEFT, BUT_RIGHT, copy, ACTIONS::cursorClick, delta, TOOL_EVENT::DisableGridSnapping(), ACTIONS::doDelete, ACTIONS::duplicate, SELECTION::Empty(), KIGFX::VIEW_CONTROLS::ForceCursorPosition(), SELECTION::Front(), SCH_ITEM::GetBodyStyle(), KIGFX::VIEW_CONTROLS::GetCursorPosition(), EDA_ITEM::GetEditFlags(), SCH_PIN::GetName(), SCH_PIN::GetOrientation(), LIB_SYMBOL::GetPins(), SCH_PIN::GetPosition(), SELECTION::GetSize(), SCH_PIN::GetType(), SCH_ITEM::GetUnit(), LIB_SYMBOL::GetUnitCount(), SCH_TOOL_BASE< SYMBOL_EDIT_FRAME >::getView(), SCH_TOOL_BASE< SYMBOL_EDIT_FRAME >::getViewControls(), grid, IS_PASTED, TOOL_EVENT::IsAction(), TOOL_EVENT::IsActivate(), TOOL_EVENT::IsCancelInteractive(), TOOL_EVENT::IsClick(), TOOL_EVENT::IsDblClick(), TOOL_EVENT::IsDrag(), SCH_ITEM::IsGroupableType(), SELECTION::IsHover(), TOOL_EVENT::IsMotion(), TOOL_EVENT::IsMouseUp(), EDA_ITEM::IsNew(), m_anchorPos, m_cursor, SCH_TOOL_BASE< SYMBOL_EDIT_FRAME >::m_frame, SCH_TOOL_BASE< SYMBOL_EDIT_FRAME >::m_menu, m_moveInProgress, SCH_TOOL_BASE< SYMBOL_EDIT_FRAME >::m_selectionTool, SCH_TOOL_BASE< SYMBOL_EDIT_FRAME >::m_toolMgr, MD_SHIFT, TOOL_EVENT::Modifier(), COMMIT::Modify(), SCH_ACTIONS::move, moveItem(), MOVING, NO_RECURSE, pin, SYMBOL_EDITOR_PIN_TOOL::PlacePin(), ACTIONS::refreshPreview, SCH_FIELD_T, SCH_PIN_T, EVENTS::SelectedItemsMoved, ACTIONS::selectionClear, KIGFX::VIEW_CONTROLS::SetAutoPan(), KIGFX::VIEW_CONTROLS::SetCursorPosition(), TOOL_EVENT::SetPassEvent(), KIGFX::VIEW_CONTROLS::ShowCursor(), TA_UNDO_REDO_PRE, EDA_ITEM::Type(), SCH_TOOL_BASE< SYMBOL_EDIT_FRAME >::updateItem(), and SCH_TOOL_BASE< SYMBOL_EDIT_FRAME >::Wait().
Referenced by Main().
|
inlineprotectedinherited |
Return the application window object, casted to requested user type.
Definition at line 186 of file tool_base.h.
|
inlineinherited |
Return the unique identifier of the tool.
The identifier is set by an instance of TOOL_MANAGER.
Definition at line 123 of file tool_base.h.
|
inlineinherited |
Return the instance of TOOL_MANAGER that takes care of the tool.
Definition at line 146 of file tool_base.h.
|
inlineprotectedinherited |
Return the model object if it matches the requested type.
Definition at line 198 of file tool_base.h.
|
privateinherited |
Definition at line 210 of file tool_base.cpp.
|
inlineinherited |
Return the name of the tool.
Tool names are expected to obey the format: application.ToolName (eg. pcbnew.InteractiveSelection).
Definition at line 136 of file tool_base.h.
|
privateinherited |
Definition at line 211 of file tool_base.cpp.
|
inherited |
Definition at line 77 of file tool_interactive.cpp.
|
inlineinherited |
Return the type of the tool.
Definition at line 111 of file tool_base.h.
|
protectedinherited |
Returns the instance of #VIEW object used in the application.
It allows tools to draw.
Definition at line 170 of file tool_base.cpp.
Referenced by SYMBOL_EDITOR_DRAWING_TOOLS::doDrawShape(), SYMBOL_EDITOR_MOVE_TOOL::doMoveSelection(), SYMBOL_EDITOR_DRAWING_TOOLS::ImportGraphics(), SYMBOL_EDITOR_EDIT_TOOL::Paste(), and SYMBOL_EDITOR_DRAWING_TOOLS::TwoClickPlace().
|
protectedinherited |
Return the instance of VIEW_CONTROLS object used in the application.
It allows tools to read & modify user input and its settings (eg. show cursor, enable snapping to grid, etc.).
Definition at line 180 of file tool_base.cpp.
Referenced by SYMBOL_EDITOR_DRAWING_TOOLS::doDrawShape(), SYMBOL_EDITOR_MOVE_TOOL::doMoveSelection(), SYMBOL_EDITOR_DRAWING_TOOLS::ImportGraphics(), SYMBOL_EDITOR_EDIT_TOOL::Paste(), SYMBOL_EDITOR_DRAWING_TOOLS::PlaceAnchor(), and SYMBOL_EDITOR_DRAWING_TOOLS::TwoClickPlace().
|
inherited |
Define which state (aStateFunc) to go when a certain event arrives (aConditions).
No conditions means any event.
Definition at line 100 of file tool_interactive.h.
Referenced by SYMBOL_EDITOR_DRAWING_TOOLS::setTransitions(), SYMBOL_EDITOR_EDIT_TOOL::setTransitions(), SYMBOL_EDITOR_MOVE_TOOL::setTransitions(), and SYMBOL_EDITOR_PIN_TOOL::setTransitions().
|
privateinherited |
Definition at line 140 of file tool_interactive.cpp.
|
inlineinherited |
Definition at line 110 of file sch_tool_base.h.
Referenced by SYMBOL_EDITOR_EDIT_TOOL::setTransitions().
|
overridevirtual |
Init() is called once upon a registration of the tool.
Reimplemented from SCH_TOOL_BASE< SYMBOL_EDIT_FRAME >.
Definition at line 47 of file symbol_editor_move_tool.cpp.
References CONDITIONAL_MENU::AddItem(), SCH_ACTIONS::alignToGrid, editor, SELECTION_CONDITIONS::IdleSelection(), SCH_TOOL_BASE< T >::Init(), SCH_TOOL_BASE< SYMBOL_EDIT_FRAME >::m_frame, SCH_TOOL_BASE< SYMBOL_EDIT_FRAME >::m_selectionTool, SCH_ACTIONS::move, and SCH_FIELD_T.
|
inlineinherited |
Definition at line 247 of file sch_tool_base.h.
Referenced by SYMBOL_EDITOR_EDIT_TOOL::setTransitions().
|
inlineinherited |
Returns true if the tool is running in the symbol editor.
Definition at line 105 of file sch_tool_base.h.
|
inherited |
Definition at line 153 of file tool_base.cpp.
int SYMBOL_EDITOR_MOVE_TOOL::Main | ( | const TOOL_EVENT & | aEvent | ) |
Run an interactive move of the selected items, or the item under the cursor.
Definition at line 93 of file symbol_editor_move_tool.cpp.
References _, TOOL_EVENT::Commit(), doMoveSelection(), SCH_TOOL_BASE< SYMBOL_EDIT_FRAME >::m_toolMgr, SCH_COMMIT::Push(), SCH_COMMIT::Revert(), STS_CANCELLED, STS_FINISHED, STS_RUNNING, and TOOL_EVENT::SynchronousState().
Referenced by setTransitions().
Set up handlers for various events.
Definition at line 440 of file symbol_editor_move_tool.cpp.
References IS_MOVING, and EDA_ITEM::SetFlags().
Referenced by doMoveSelection().
|
overridevirtual |
Bring the tool to a known, initial state.
If the tool claimed anything from the model or the view, it must release it when its reset.
aReason | contains information about the reason of tool reset. |
Reimplemented from SCH_TOOL_BASE< SYMBOL_EDIT_FRAME >.
Definition at line 84 of file symbol_editor_move_tool.cpp.
References m_moveInProgress, SCH_TOOL_BASE< SYMBOL_EDIT_FRAME >::MODEL_RELOAD, and SCH_TOOL_BASE< T >::Reset().
|
privateinherited |
Clear the current transition map and restores the default one created by setTransitions().
Definition at line 138 of file tool_interactive.cpp.
|
inherited |
Call a function using the main stack.
aFunc | is the function to be calls. |
Definition at line 92 of file tool_interactive.cpp.
|
inlineprotectedinherited |
Definition at line 333 of file sch_tool_base.h.
Referenced by SYMBOL_EDITOR_EDIT_TOOL::Mirror(), SYMBOL_EDITOR_EDIT_TOOL::Properties(), SYMBOL_EDITOR_PIN_TOOL::PushPinProperties(), and SYMBOL_EDITOR_EDIT_TOOL::Swap().
|
inherited |
Assign a context menu and tells when it should be activated.
aMenu | is the menu to be assigned. |
aTrigger | determines conditions upon which the context menu is activated. |
Definition at line 85 of file tool_interactive.cpp.
|
overrideprivatevirtual |
This method is meant to be overridden in order to specify handlers for events.
It is called every time tool is reset or finished.
Implements TOOL_INTERACTIVE.
Definition at line 447 of file symbol_editor_move_tool.cpp.
References AlignElements(), SCH_ACTIONS::alignToGrid, SCH_TOOL_BASE< SYMBOL_EDIT_FRAME >::Go(), Main(), and SCH_ACTIONS::move.
|
inlineprotectedinherited |
Similar to getView()->Update(), but also updates the SCH_SCREEN's RTree.
Similar to m_frame->SaveCopyInUndoList(), but also handles connectivity.
Definition at line 327 of file sch_tool_base.h.
Referenced by SYMBOL_EDITOR_MOVE_TOOL::AlignElements(), SYMBOL_EDITOR_MOVE_TOOL::doMoveSelection(), SYMBOL_EDITOR_EDIT_TOOL::editShapeProperties(), SYMBOL_EDITOR_EDIT_TOOL::editTextBoxProperties(), SYMBOL_EDITOR_EDIT_TOOL::editTextProperties(), and SYMBOL_EDITOR_EDIT_TOOL::Swap().
|
inherited |
Suspend execution of the tool until an event specified in aEventList arrives.
No parameters means waiting for any event.
Definition at line 108 of file tool_interactive.cpp.
Referenced by SYMBOL_EDITOR_DRAWING_TOOLS::doDrawShape(), SYMBOL_EDITOR_MOVE_TOOL::doMoveSelection(), SYMBOL_EDITOR_DRAWING_TOOLS::ImportGraphics(), SYMBOL_EDITOR_DRAWING_TOOLS::PlaceAnchor(), and SYMBOL_EDITOR_DRAWING_TOOLS::TwoClickPlace().
|
private |
Definition at line 74 of file symbol_editor_move_tool.h.
Referenced by doMoveSelection().
|
private |
Definition at line 73 of file symbol_editor_move_tool.h.
Referenced by doMoveSelection().
|
protectedinherited |
Definition at line 373 of file sch_tool_base.h.
Referenced by SYMBOL_EDITOR_MOVE_TOOL::AlignElements(), SYMBOL_EDITOR_EDIT_TOOL::ConvertStackedPins(), SYMBOL_EDITOR_EDIT_TOOL::Copy(), SYMBOL_EDITOR_PIN_TOOL::CreateImagePins(), SYMBOL_EDITOR_PIN_TOOL::CreatePin(), SYMBOL_EDITOR_EDIT_TOOL::DoDelete(), SYMBOL_EDITOR_DRAWING_TOOLS::doDrawShape(), SYMBOL_EDITOR_MOVE_TOOL::doMoveSelection(), SYMBOL_EDITOR_EDIT_TOOL::Duplicate(), SYMBOL_EDITOR_EDIT_TOOL::editFieldProperties(), SYMBOL_EDITOR_PIN_TOOL::EditPinProperties(), SYMBOL_EDITOR_EDIT_TOOL::editShapeProperties(), SYMBOL_EDITOR_EDIT_TOOL::editSymbolProperties(), SYMBOL_EDITOR_EDIT_TOOL::editTextBoxProperties(), SYMBOL_EDITOR_EDIT_TOOL::editTextProperties(), SYMBOL_EDITOR_EDIT_TOOL::ExplodeStackedPin(), SYMBOL_EDITOR_DRAWING_TOOLS::ImportGraphics(), SYMBOL_EDITOR_EDIT_TOOL::Init(), SYMBOL_EDITOR_MOVE_TOOL::Init(), SYMBOL_EDITOR_PIN_TOOL::Init(), SYMBOL_EDITOR_EDIT_TOOL::Mirror(), SYMBOL_EDITOR_EDIT_TOOL::Paste(), SYMBOL_EDITOR_EDIT_TOOL::PinTable(), SYMBOL_EDITOR_DRAWING_TOOLS::PlaceAnchor(), SYMBOL_EDITOR_PIN_TOOL::PlacePin(), SYMBOL_EDITOR_EDIT_TOOL::Properties(), SYMBOL_EDITOR_PIN_TOOL::PushPinProperties(), SYMBOL_EDITOR_EDIT_TOOL::Redo(), SYMBOL_EDITOR_DRAWING_TOOLS::RepeatDrawItem(), SYMBOL_EDITOR_PIN_TOOL::RepeatPin(), SYMBOL_EDITOR_EDIT_TOOL::Rotate(), SYMBOL_EDITOR_EDIT_TOOL::Swap(), SYMBOL_EDITOR_DRAWING_TOOLS::TwoClickPlace(), SYMBOL_EDITOR_EDIT_TOOL::Undo(), and SYMBOL_EDITOR_EDIT_TOOL::UpdateSymbolFields().
|
protectedinherited |
Definition at line 376 of file sch_tool_base.h.
Referenced by SYMBOL_EDITOR_EDIT_TOOL::Init().
|
protectedinherited |
The functions below are not yet implemented - their interface may change.
Definition at line 125 of file tool_interactive.h.
Referenced by SYMBOL_EDITOR_DRAWING_TOOLS::doDrawShape(), SYMBOL_EDITOR_MOVE_TOOL::doMoveSelection(), SYMBOL_EDITOR_DRAWING_TOOLS::ImportGraphics(), SYMBOL_EDITOR_DRAWING_TOOLS::Init(), SYMBOL_EDITOR_DRAWING_TOOLS::PlaceAnchor(), and SYMBOL_EDITOR_DRAWING_TOOLS::TwoClickPlace().
|
private |
Last cursor position (needed for getModificationPoint() to avoid changes of edit reference point).
Definition at line 69 of file symbol_editor_move_tool.h.
Referenced by doMoveSelection(), Reset(), and SYMBOL_EDITOR_MOVE_TOOL().
|
protectedinherited |
Definition at line 377 of file sch_tool_base.h.
|
protectedinherited |
Definition at line 375 of file sch_tool_base.h.
Referenced by SYMBOL_EDITOR_MOVE_TOOL::AlignElements(), SYMBOL_EDITOR_EDIT_TOOL::Copy(), SYMBOL_EDITOR_EDIT_TOOL::DoDelete(), SYMBOL_EDITOR_DRAWING_TOOLS::doDrawShape(), SYMBOL_EDITOR_MOVE_TOOL::doMoveSelection(), SYMBOL_EDITOR_EDIT_TOOL::Duplicate(), SYMBOL_EDITOR_DRAWING_TOOLS::ImportGraphics(), SYMBOL_EDITOR_EDIT_TOOL::Init(), SYMBOL_EDITOR_MOVE_TOOL::Init(), SYMBOL_EDITOR_PIN_TOOL::Init(), SYMBOL_EDITOR_EDIT_TOOL::Mirror(), SYMBOL_EDITOR_EDIT_TOOL::Paste(), SYMBOL_EDITOR_DRAWING_TOOLS::PlaceAnchor(), SYMBOL_EDITOR_EDIT_TOOL::Properties(), SYMBOL_EDITOR_PIN_TOOL::PushPinProperties(), SYMBOL_EDITOR_EDIT_TOOL::Rotate(), SYMBOL_EDITOR_EDIT_TOOL::Swap(), and SYMBOL_EDITOR_DRAWING_TOOLS::TwoClickPlace().
|
protectedinherited |
Unique id, assigned by a TOOL_MANAGER instance.
Definition at line 215 of file tool_base.h.
|
protectedinherited |
Definition at line 220 of file tool_base.h.
Referenced by SYMBOL_EDITOR_MOVE_TOOL::AlignElements(), SYMBOL_EDITOR_EDIT_TOOL::ConvertStackedPins(), SYMBOL_EDITOR_EDIT_TOOL::CopyAsText(), SYMBOL_EDITOR_PIN_TOOL::CreateImagePins(), SYMBOL_EDITOR_EDIT_TOOL::DoDelete(), SYMBOL_EDITOR_DRAWING_TOOLS::doDrawShape(), SYMBOL_EDITOR_MOVE_TOOL::doMoveSelection(), SYMBOL_EDITOR_EDIT_TOOL::Duplicate(), SYMBOL_EDITOR_EDIT_TOOL::editFieldProperties(), SYMBOL_EDITOR_EDIT_TOOL::editShapeProperties(), SYMBOL_EDITOR_EDIT_TOOL::editSymbolProperties(), SYMBOL_EDITOR_EDIT_TOOL::ExplodeStackedPin(), SYMBOL_EDITOR_DRAWING_TOOLS::ImportGraphics(), SYMBOL_EDITOR_EDIT_TOOL::Init(), SYMBOL_EDITOR_MOVE_TOOL::Main(), SYMBOL_EDITOR_EDIT_TOOL::Mirror(), SYMBOL_EDITOR_EDIT_TOOL::Paste(), SYMBOL_EDITOR_EDIT_TOOL::PinTable(), SYMBOL_EDITOR_EDIT_TOOL::Properties(), SYMBOL_EDITOR_EDIT_TOOL::Redo(), SYMBOL_EDITOR_DRAWING_TOOLS::RepeatDrawItem(), SYMBOL_EDITOR_EDIT_TOOL::Rotate(), SYMBOL_EDITOR_EDIT_TOOL::Swap(), SYMBOL_EDITOR_DRAWING_TOOLS::TwoClickPlace(), and SYMBOL_EDITOR_EDIT_TOOL::Undo().
|
protectedinherited |
Names are expected to obey the format application.ToolName (eg.
pcbnew.InteractiveSelection).
Definition at line 219 of file tool_base.h.
|
protectedinherited |
Definition at line 214 of file tool_base.h.
|
protectedinherited |
Definition at line 374 of file sch_tool_base.h.
Referenced by SYMBOL_EDITOR_DRAWING_TOOLS::doDrawShape(), SYMBOL_EDITOR_DRAWING_TOOLS::ImportGraphics(), SYMBOL_EDITOR_DRAWING_TOOLS::PlaceAnchor(), and SYMBOL_EDITOR_DRAWING_TOOLS::TwoClickPlace().