KiCad PCB EDA Suite
Loading...
Searching...
No Matches
ee_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 <ee_actions.h>
#include <ee_collectors.h>
#include <ee_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_base_frame.h>
#include <sch_commit.h>
#include <sch_symbol.h>
#include <sch_field.h>
#include <sch_edit_frame.h>
#include <sch_item.h>
#include <sch_line.h>
#include <sch_bus_entry.h>
#include <sch_marker.h>
#include <sch_no_connect.h>
#include <sch_render_settings.h>
#include <sch_sheet.h>
#include <sch_sheet_pin.h>
#include <sch_table.h>
#include <sch_tablecell.h>
#include <schematic.h>
#include <tool/tool_event.h>
#include <tool/tool_manager.h>
#include <tools/ee_grid_helper.h>
#include <tools/ee_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
 

Typedefs

using E_C = EE_CONDITIONS
 

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 159 of file ee_selection_tool.cpp.

Typedef Documentation

◆ E_C

using E_C = EE_CONDITIONS

Definition at line 182 of file ee_selection_tool.cpp.

Variable Documentation

◆ allowedActions

const TOOL_ACTION* allowedActions[]
Initial value:
static TOOL_ACTION cursorLeft
Definition: actions.h:151
static TOOL_ACTION zoomOutCenter
Definition: actions.h:120
static TOOL_ACTION zoomIn
Definition: actions.h:117
static TOOL_ACTION cursorLeftFast
Definition: actions.h:156
static TOOL_ACTION cursorDown
Definition: actions.h:150
static TOOL_ACTION zoomOut
Definition: actions.h:118
static TOOL_ACTION cursorRightFast
Definition: actions.h:157
static TOOL_ACTION zoomCenter
Definition: actions.h:125
static TOOL_ACTION panDown
Definition: actions.h:164
static TOOL_ACTION cursorDownFast
Definition: actions.h:155
static TOOL_ACTION cursorUpFast
Definition: actions.h:154
static TOOL_ACTION panLeft
Definition: actions.h:165
static TOOL_ACTION zoomFitScreen
Definition: actions.h:126
static TOOL_ACTION panUp
Definition: actions.h:163
static TOOL_ACTION zoomFitObjects
Definition: actions.h:127
static TOOL_ACTION zoomInCenter
Definition: actions.h:119
static TOOL_ACTION panRight
Definition: actions.h:166
static TOOL_ACTION cursorUp
Cursor control with keyboard.
Definition: actions.h:149
static TOOL_ACTION cursorRight
Definition: actions.h:152

Definition at line 1848 of file ee_selection_tool.cpp.

Referenced by EE_SELECTION_TOOL::selectMultiple(), PCB_SELECTION_TOOL::selectMultiple(), PCB_SELECTION_TOOL::selectTableCells(), and EE_SELECTION_TOOL::selectTableCells().

◆ connectedLineTypes

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

Definition at line 201 of file ee_selection_tool.cpp.

Referenced by EE_SELECTION_TOOL::Init().

◆ connectedTypes

◆ crossProbingTypes

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

Definition at line 207 of file ee_selection_tool.cpp.

Referenced by EE_SELECTION_TOOL::Init().

◆ lineTypes

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

Definition at line 214 of file ee_selection_tool.cpp.

Referenced by EE_SELECTION_TOOL::Init().

◆ sheetTypes

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

Definition at line 215 of file ee_selection_tool.cpp.

Referenced by EE_SELECTION_TOOL::Init(), and SCH_EDIT_TOOL::Init().

◆ tableCellTypes

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

Definition at line 216 of file ee_selection_tool.cpp.

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