|
KiCad PCB EDA Suite
|
#include "pad_tool.h"#include <algorithm>#include <memory>#include <optional>#include <unordered_map>#include <kiid.h>#include <pcb_painter.h>#include <kiplatform/ui.h>#include <macros.h>#include <class_draw_panel_gal.h>#include <view/view_controls.h>#include <tool/tool_manager.h>#include <board_design_settings.h>#include <board_design_settings_defaults.h>#include <board_item.h>#include <collectors.h>#include <footprint.h>#include <pcb_shape.h>#include <pad.h>#include <pad_utils.h>#include <pcbnew_settings.h>#include <string_utils.h>#include <board_commit.h>#include <dialogs/dialog_push_pad_properties.h>#include <dialogs/dialog_fp_edit_pad_table.h>#include <tools/pcb_actions.h>#include <tools/pcb_grid_helper.h>#include <tools/pcb_selection_tool.h>#include <tools/pcb_selection_conditions.h>#include <tools/edit_tool.h>#include <dialogs/dialog_enum_pads.h>#include <widgets/wx_infobar.h>Go to the source code of this file.
Classes | |
| class | PAD_MASTER_PROVIDER |
Functions | |
| static bool | padSizesMatch (const PAD &aPad1, const PAD &aPad2) |
| Check if the sizes of two pads match on all relevant layers. | |
| static void | doPushPadProperties (BOARD &board, const PAD &aSrcPad, BOARD_COMMIT &commit, bool aSameFootprints, bool aPadShapeFilter, bool aPadSizeFilter, bool aPadOrientFilter, bool aPadLayerFilter, bool aPadTypeFilter) |
| static std::optional< SEQUENTIAL_PAD_ENUMERATION_PARAMS > | GetSequentialPadNumberingParams (wxWindow *aFrame) |
| Prompts the user for parameters for sequential pad numbering. | |
|
static |
Definition at line 562 of file pad_tool.cpp.
References CONN, BOARD::Footprints(), PADSTACK::ForEachUniqueLayer(), PAD::GetAttribute(), FOOTPRINT::GetFPID(), PAD::GetLayerSet(), FOOTPRINT::GetOrientation(), PAD::GetOrientation(), BOARD_ITEM::GetParentFootprint(), PAD::GetShape(), PAD::IsAperturePad(), COMMIT::Modify(), pad, padSizesMatch(), and PAD::Padstack().
Referenced by PAD_TOOL::pushPadSettings().
|
static |
Prompts the user for parameters for sequential pad numbering.
| aFrame | The parent window for the dialog |
Definition at line 677 of file pad_tool.cpp.
References DIALOG_SHIM::ShowModal().
Referenced by PAD_TOOL::EnumeratePads().
Check if the sizes of two pads match on all relevant layers.
Returns true if all sizes match, false otherwise.
Definition at line 548 of file pad_tool.cpp.
References PAD::GetSize(), PAD::Padstack(), and PADSTACK::RelevantShapeLayers().
Referenced by doPushPadProperties().