KiCad PCB EDA Suite
|
#include <kiway.h>
#include <tool/picker_tool.h>
#include <tools/sch_edit_tool.h>
#include <tools/ee_inspection_tool.h>
#include <tools/sch_line_wire_bus_tool.h>
#include <tools/sch_move_tool.h>
#include <tools/sch_drawing_tools.h>
#include <confirm.h>
#include <ee_actions.h>
#include <ee_tool_utils.h>
#include <increment.h>
#include <string_utils.h>
#include <sch_bitmap.h>
#include <sch_bus_entry.h>
#include <sch_commit.h>
#include <sch_junction.h>
#include <sch_marker.h>
#include <sch_rule_area.h>
#include <sch_sheet_pin.h>
#include <sch_textbox.h>
#include <sch_table.h>
#include <drawing_sheet/ds_proxy_view_item.h>
#include <eeschema_id.h>
#include <dialogs/dialog_change_symbols.h>
#include <dialogs/dialog_image_properties.h>
#include <dialogs/dialog_line_properties.h>
#include <dialogs/dialog_wire_bus_properties.h>
#include <dialogs/dialog_symbol_properties.h>
#include <dialogs/dialog_sheet_pin_properties.h>
#include <dialogs/dialog_field_properties.h>
#include <dialogs/dialog_junction_props.h>
#include <dialogs/dialog_shape_properties.h>
#include <dialogs/dialog_label_properties.h>
#include <dialogs/dialog_text_properties.h>
#include <dialogs/dialog_tablecell_properties.h>
#include <dialogs/dialog_table_properties.h>
#include <pgm_base.h>
#include <settings/settings_manager.h>
#include <symbol_editor_settings.h>
#include <core/kicad_algo.h>
#include <view/view_controls.h>
#include <wx/textdlg.h>
#include <project/net_settings.h>
Go to the source code of this file.
Classes | |
class | SYMBOL_UNIT_MENU |
class | BODY_STYLE_MENU |
class | ALT_PIN_FUNCTION_MENU |
class | PIN_TRICKS_MENU |
Macros | |
#define | HITTEST_THRESHOLD_PIXELS 5 |
Typedefs | |
using | E_C = EE_CONDITIONS |
Functions | |
static void | swapFieldPositionsWithMatching (std::vector< SCH_FIELD > &aAFields, std::vector< SCH_FIELD > &aBFields, unsigned aFallbackRotationsCCW) |
Swap the positions of the fields in the two lists, aAFields and aBFields, relative to their parent positions. | |
Variables | |
const std::vector< KICAD_T > | swappableItems |
static std::vector< KICAD_T > | deletableItems |
#define HITTEST_THRESHOLD_PIXELS 5 |
Definition at line 1672 of file sch_edit_tool.cpp.
using E_C = EE_CONDITIONS |
Definition at line 265 of file sch_edit_tool.cpp.
|
static |
Swap the positions of the fields in the two lists, aAFields and aBFields, relative to their parent positions.
If a field is in both lists, it will be swapped to the position of the matching field on the counterpart.
If a field is in only one list, it will simply be rotated by aFallbackRotation (CW or CCW depending on which list it is in)
Definition at line 1231 of file sch_edit_tool.cpp.
References SCH_FIELD::GetCanonicalName(), EDA_TEXT::GetHorizJustify(), SCH_FIELD::GetParentPosition(), SCH_FIELD::GetPosition(), EDA_TEXT::GetTextAngle(), EDA_TEXT::GetVertJustify(), name, SCH_FIELD::Rotate(), EDA_TEXT::SetHorizJustify(), SCH_FIELD::SetPosition(), EDA_TEXT::SetTextAngle(), and EDA_TEXT::SetVertJustify().
Referenced by SCH_EDIT_TOOL::Swap().
|
static |
Definition at line 1555 of file sch_edit_tool.cpp.
Referenced by SCH_EDIT_TOOL::DoDelete(), and SCH_EDIT_TOOL::InteractiveDelete().
const std::vector<KICAD_T> swappableItems |
Definition at line 1202 of file sch_edit_tool.cpp.
Referenced by SCH_EDIT_TOOL::Swap(), and SYMBOL_EDITOR_EDIT_TOOL::Swap().