| 
    KiCad PCB EDA Suite
    
   | 
 
#include <kiway.h>#include <tool/action_manager.h>#include <tool/picker_tool.h>#include <tools/sch_edit_tool.h>#include <tools/sch_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 <connection_graph.h>#include <sch_actions.h>#include <sch_tool_utils.h>#include <increment.h>#include <algorithm>#include <set>#include <string_utils.h>#include <sch_bitmap.h>#include <sch_bus_entry.h>#include <sch_commit.h>#include <sch_group.h>#include <sch_label.h>#include <sch_junction.h>#include <sch_marker.h>#include <sch_rule_area.h>#include <sch_pin.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 <wx/msgdlg.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 | 
Typedefs | |
| using | S_C = SCH_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.   | |
| static SCH_LABEL_BASE * | findSingleNetLabelForPin (SCH_PIN *aPin, CONNECTION_GRAPH *aGraph, const SCH_SHEET_PATH &aSheetPath) | 
| using S_C = SCH_CONDITIONS | 
Definition at line 290 of file sch_edit_tool.cpp.
      
  | 
  static | 
Definition at line 1682 of file sch_edit_tool.cpp.
References CONNECTION_SUBGRAPH::GetItems(), CONNECTION_GRAPH::GetSubgraphForItem(), SCH_CONNECTION::IsNet(), SCH_GLOBAL_LABEL_T, SCH_HIER_LABEL_T, SCH_LABEL_T, SCH_PIN_T, and EDA_ITEM::Type().
Referenced by SCH_EDIT_TOOL::SwapPinLabels(), and SCH_EDIT_TOOL::SwapUnitLabels().
      
  | 
  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 1331 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().