KiCad PCB EDA Suite
Loading...
Searching...
No Matches
sch_selection_tool.cpp File Reference
#include <advanced_config.h>
#include <core/typeinfo.h>
#include <core/kicad_algo.h>
#include <gal/graphics_abstraction_layer.h>
#include <geometry/shape_compound.h>
#include <sch_actions.h>
#include <sch_collectors.h>
#include <sch_selection_tool.h>
#include <eeschema_id.h>
#include <symbol_edit_frame.h>
#include <symbol_viewer_frame.h>
#include <math/util.h>
#include <geometry/shape_rect.h>
#include <sch_painter.h>
#include <preview_items/selection_area.h>
#include <sch_commit.h>
#include <sch_edit_frame.h>
#include <sch_line.h>
#include <sch_bus_entry.h>
#include <sch_group.h>
#include <sch_marker.h>
#include <sch_no_connect.h>
#include <sch_sheet_pin.h>
#include <sch_table.h>
#include <tool/tool_event.h>
#include <tool/tool_manager.h>
#include <tools/ee_grid_helper.h>
#include <tools/sch_point_editor.h>
#include <tools/sch_line_wire_bus_tool.h>
#include <tools/sch_editor_control.h>
#include <trigo.h>
#include <view/view.h>
#include <view/view_controls.h>
#include <wx/log.h>
#include "symb_transforms_utils.h"

Go to the source code of this file.

Macros

#define HITTEST_THRESHOLD_PIXELS   5
 

Variables

static std::vector< KICAD_TconnectedTypes
 
static std::vector< KICAD_TconnectedLineTypes
 
static std::vector< KICAD_TcrossProbingTypes
 
static std::vector< KICAD_TlineTypes = { SCH_LINE_T }
 
static std::vector< KICAD_TsheetTypes = { SCH_SHEET_T }
 
static std::vector< KICAD_TtableCellTypes = { SCH_TABLECELL_T }
 
const TOOL_ACTIONallowedActions []
 

Macro Definition Documentation

◆ HITTEST_THRESHOLD_PIXELS

#define HITTEST_THRESHOLD_PIXELS   5

Definition at line 152 of file sch_selection_tool.cpp.

Variable Documentation

◆ allowedActions

const TOOL_ACTION* allowedActions[]
Initial value:
static TOOL_ACTION cursorLeft
Definition: actions.h:169
static TOOL_ACTION zoomOutCenter
Definition: actions.h:135
static TOOL_ACTION zoomIn
Definition: actions.h:132
static TOOL_ACTION cursorLeftFast
Definition: actions.h:174
static TOOL_ACTION cursorDown
Definition: actions.h:168
static TOOL_ACTION zoomOut
Definition: actions.h:133
static TOOL_ACTION cursorRightFast
Definition: actions.h:175
static TOOL_ACTION zoomCenter
Definition: actions.h:140
static TOOL_ACTION panDown
Definition: actions.h:182
static TOOL_ACTION cursorDownFast
Definition: actions.h:173
static TOOL_ACTION cursorUpFast
Definition: actions.h:172
static TOOL_ACTION panLeft
Definition: actions.h:183
static TOOL_ACTION zoomFitScreen
Definition: actions.h:141
static TOOL_ACTION panUp
Definition: actions.h:181
static TOOL_ACTION zoomFitObjects
Definition: actions.h:142
static TOOL_ACTION zoomInCenter
Definition: actions.h:134
static TOOL_ACTION panRight
Definition: actions.h:184
static TOOL_ACTION cursorUp
Cursor control with keyboard.
Definition: actions.h:167
static TOOL_ACTION cursorRight
Definition: actions.h:170

Definition at line 2094 of file sch_selection_tool.cpp.

Referenced by SCH_SELECTION_TOOL::selectMultiple(), PCB_SELECTION_TOOL::SelectPolyArea(), PCB_SELECTION_TOOL::SelectRectArea(), PCB_SELECTION_TOOL::selectTableCells(), and SCH_SELECTION_TOOL::selectTableCells().

◆ connectedLineTypes

std::vector<KICAD_T> connectedLineTypes
static
Initial value:
=
{
}
@ SCH_ITEM_LOCATE_WIRE_T
Definition: typeinfo.h:187
@ SCH_ITEM_LOCATE_BUS_T
Definition: typeinfo.h:188

Definition at line 194 of file sch_selection_tool.cpp.

Referenced by SCH_SELECTION_TOOL::Init().

◆ connectedTypes

std::vector<KICAD_T> connectedTypes
static

◆ crossProbingTypes

std::vector<KICAD_T> crossProbingTypes
static
Initial value:
=
{
}
@ SCH_SYMBOL_T
Definition: typeinfo.h:173
@ SCH_SHEET_T
Definition: typeinfo.h:176

Definition at line 200 of file sch_selection_tool.cpp.

Referenced by SCH_SELECTION_TOOL::Init().

◆ lineTypes

std::vector<KICAD_T> lineTypes = { SCH_LINE_T }
static

Definition at line 207 of file sch_selection_tool.cpp.

Referenced by SCH_SELECTION_TOOL::Init().

◆ sheetTypes

std::vector<KICAD_T> sheetTypes = { SCH_SHEET_T }
static

Definition at line 208 of file sch_selection_tool.cpp.

Referenced by SCH_SELECTION_TOOL::Init().

◆ tableCellTypes

std::vector<KICAD_T> tableCellTypes = { SCH_TABLECELL_T }
static

Definition at line 209 of file sch_selection_tool.cpp.

Referenced by SCH_SELECTION_TOOL::Init(), and PCB_SELECTION_TOOL::Init().