KiCad PCB EDA Suite
|
#include <array_creator.h>
Public Member Functions | |
ARRAY_CREATOR (PCB_BASE_FRAME &aParent, bool aIsFootprintEditor, const PCB_SELECTION &aSelection, TOOL_MANAGER *aToolManager) | |
virtual | ~ARRAY_CREATOR () |
void | Invoke () |
Private Attributes | |
PCB_BASE_FRAME & | m_parent |
bool | m_isFootprintEditor |
const PCB_SELECTION | m_selection |
TOOL_MANAGER * | m_toolMgr |
Class that performs array creation by producing a dialog to gather parameters and then creating and laying out the items.
Definition at line 41 of file array_creator.h.
|
inline |
Definition at line 44 of file array_creator.h.
|
inlinevirtual |
Definition at line 52 of file array_creator.h.
void ARRAY_CREATOR::Invoke | ( | ) |
Open the dialog, gather parameters and create the array
Definition at line 52 of file array_creator.cpp.
References _, SELECTION::Add(), COMMIT::Add(), EDA_ITEM::ClearSelected(), BOARD_ITEM::Duplicate(), FOOTPRINT::DuplicateItem(), PCB_BASE_FRAME::GetBoard(), SELECTION::GetCenter(), BOARD::GetFirstFootprint(), ARRAY_PAD_NUMBER_PROVIDER::GetNextPadNumber(), BOARD_ITEM::GetParentFootprint(), TOOL_MANAGER::GetTool(), m_isFootprintEditor, m_parent, m_selection, m_toolMgr, COMMIT::Modify(), pad, PCB_ARC_T, PCB_DIM_ALIGNED_T, PCB_DIM_CENTER_T, PCB_DIM_LEADER_T, PCB_DIM_ORTHOGONAL_T, PCB_DIM_RADIAL_T, PCB_FOOTPRINT_T, PCB_GENERATOR_T, PCB_GROUP_T, PCB_PAD_T, PCB_REFERENCE_IMAGE_T, PCB_SHAPE_T, PCB_TARGET_T, PCB_TEXT_T, PCB_TEXTBOX_T, PCB_TRACE_T, PCB_VIA_T, PCB_ZONE_T, BOARD_COMMIT::Push(), TOOL_MANAGER::RunAction(), BOARD_ITEM::RunOnDescendants(), PCB_ACTIONS::selectionClear, PCB_ACTIONS::selectItems, SELECTION::Size(), TransformItem(), and EDA_ITEM::Type().
Referenced by EDIT_TOOL::CreateArray().
|
private |
Definition at line 61 of file array_creator.h.
Referenced by Invoke().
|
private |
Definition at line 60 of file array_creator.h.
Referenced by Invoke().
|
private |
Definition at line 62 of file array_creator.h.
Referenced by Invoke().
|
private |
Definition at line 63 of file array_creator.h.
Referenced by Invoke().