KiCad PCB EDA Suite
|
#include <undo_redo_container.h>
Public Member Functions | |
ITEM_PICKER () | |
ITEM_PICKER (BASE_SCREEN *aScreen, EDA_ITEM *aItem, UNDO_REDO aStatus=UNDO_REDO::UNSPECIFIED) | |
EDA_ITEM * | GetItem () const |
void | SetItem (EDA_ITEM *aItem) |
KICAD_T | GetItemType () const |
void | SetStatus (UNDO_REDO aStatus) |
UNDO_REDO | GetStatus () const |
void | SetFlags (EDA_ITEM_FLAGS aFlags) |
EDA_ITEM_FLAGS | GetFlags () const |
void | SetLink (EDA_ITEM *aItem) |
EDA_ITEM * | GetLink () const |
KIID | GetGroupId () const |
void | SetGroupId (KIID aId) |
BASE_SCREEN * | GetScreen () const |
Private Attributes | |
EDA_ITEM_FLAGS | m_pickerFlags |
UNDO_REDO | m_undoRedoStatus |
EDA_ITEM * | m_pickedItem |
KICAD_T | m_pickedItemType |
EDA_ITEM * | m_link |
KIID | m_groupId |
BASE_SCREEN * | m_screen |
Definition at line 78 of file undo_redo_container.h.
ITEM_PICKER::ITEM_PICKER | ( | ) |
Definition at line 30 of file undo_redo_container.cpp.
References m_link, m_pickerFlags, m_screen, m_undoRedoStatus, and SetItem().
ITEM_PICKER::ITEM_PICKER | ( | BASE_SCREEN * | aScreen, |
EDA_ITEM * | aItem, | ||
UNDO_REDO | aStatus = UNDO_REDO::UNSPECIFIED |
||
) |
Definition at line 40 of file undo_redo_container.cpp.
References m_link, m_pickerFlags, m_screen, m_undoRedoStatus, and SetItem().
|
inline |
Definition at line 98 of file undo_redo_container.h.
References m_pickerFlags.
Referenced by PICKED_ITEMS_LIST::ClearListAndDeleteItems().
|
inline |
Definition at line 104 of file undo_redo_container.h.
References m_groupId.
Referenced by SYMBOL_EDIT_FRAME::GetSymbolFromRedoList(), and SYMBOL_EDIT_FRAME::GetSymbolFromUndoList().
|
inline |
Definition at line 86 of file undo_redo_container.h.
References m_pickedItem.
Referenced by PICKED_ITEMS_LIST::ClearListAndDeleteItems(), PL_EDITOR_FRAME::GetLayoutFromRedoList(), PL_EDITOR_FRAME::GetLayoutFromUndoList(), SYMBOL_EDIT_FRAME::GetSymbolFromRedoList(), SYMBOL_EDIT_FRAME::GetSymbolFromUndoList(), and PL_EDITOR_FRAME::RollbackFromUndo().
|
inline |
Definition at line 90 of file undo_redo_container.h.
References m_pickedItemType.
|
inline |
Definition at line 102 of file undo_redo_container.h.
References m_link.
Referenced by PICKED_ITEMS_LIST::ClearListAndDeleteItems().
|
inline |
Definition at line 108 of file undo_redo_container.h.
References m_screen.
|
inline |
Definition at line 94 of file undo_redo_container.h.
References m_undoRedoStatus.
Referenced by PICKED_ITEMS_LIST::ClearListAndDeleteItems(), SYMBOL_EDIT_FRAME::GetSymbolFromRedoList(), and SYMBOL_EDIT_FRAME::GetSymbolFromUndoList().
|
inline |
Definition at line 96 of file undo_redo_container.h.
References m_pickerFlags.
Referenced by SCH_EDIT_FRAME::SaveCopyInUndoList().
|
inline |
Definition at line 106 of file undo_redo_container.h.
References m_groupId.
Referenced by SYMBOL_EDIT_FRAME::GetSymbolFromRedoList(), SYMBOL_EDIT_FRAME::GetSymbolFromUndoList(), BOARD_COMMIT::Push(), and SYMBOL_EDIT_FRAME::PushSymbolToUndoList().
void ITEM_PICKER::SetItem | ( | EDA_ITEM * | aItem | ) |
Definition at line 50 of file undo_redo_container.cpp.
References m_pickedItem, m_pickedItemType, EDA_ITEM::Type(), and TYPE_NOT_INIT.
Referenced by ITEM_PICKER().
|
inline |
Definition at line 100 of file undo_redo_container.h.
References m_link.
Referenced by PCB_BASE_FRAME::PlaceFootprint(), DIALOG_GLOBAL_EDIT_TRACKS_AND_VIAS::processItem(), BOARD_COMMIT::Push(), SCH_COMMIT::pushSchEdit(), SCH_EDIT_FRAME::SaveCopyInUndoList(), SaveCopyOfZones(), and PCB_EDIT_FRAME::SetTrackSegmentWidth().
|
inline |
Definition at line 92 of file undo_redo_container.h.
References m_undoRedoStatus.
|
private |
Definition at line 125 of file undo_redo_container.h.
Referenced by GetGroupId(), and SetGroupId().
|
private |
Definition at line 119 of file undo_redo_container.h.
Referenced by GetLink(), ITEM_PICKER(), and SetLink().
|
private |
Definition at line 114 of file undo_redo_container.h.
|
private |
Definition at line 117 of file undo_redo_container.h.
Referenced by GetItemType(), and SetItem().
|
private |
Definition at line 111 of file undo_redo_container.h.
Referenced by GetFlags(), ITEM_PICKER(), and SetFlags().
|
private |
Definition at line 127 of file undo_redo_container.h.
Referenced by GetScreen(), and ITEM_PICKER().
|
private |
Definition at line 113 of file undo_redo_container.h.
Referenced by GetStatus(), ITEM_PICKER(), and SetStatus().