KiCad PCB EDA Suite
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages Concepts
EVENTS Class Reference

Gather all the events that are shared by tools. More...

#include <actions.h>

Static Public Attributes

static const TOOL_EVENT PointSelectedEvent
 
static const TOOL_EVENT SelectedEvent
 
static const TOOL_EVENT UnselectedEvent
 
static const TOOL_EVENT ClearedEvent
 
static const TOOL_EVENT ConnectivityChangedEvent
 Selected item had a property changed (except movement)
 
static const TOOL_EVENT SelectedItemsModified
 Selected items were moved, this can be very high frequency on the canvas, use with care.
 
static const TOOL_EVENT SelectedItemsMoved
 Used to inform tools that the selection should temporarily be non-editable.
 
static const TOOL_EVENT InhibitSelectionEditing
 
static const TOOL_EVENT UninhibitSelectionEditing
 Used to inform tool that it should display the disambiguation menu.
 
static const TOOL_EVENT DisambiguatePoint
 Used for hotkey feedback.
 
static const TOOL_EVENT GridChangedByKeyEvent
 
static const TOOL_EVENT ContrastModeChangedByKeyEvent
 
static const TOOL_EVENT UndoRedoPreEvent
 
static const TOOL_EVENT UndoRedoPostEvent
 

Detailed Description

Gather all the events that are shared by tools.

Definition at line 332 of file actions.h.

Member Data Documentation

◆ ClearedEvent

◆ ConnectivityChangedEvent

const TOOL_EVENT EVENTS::ConnectivityChangedEvent
static

◆ ContrastModeChangedByKeyEvent

const TOOL_EVENT EVENTS::ContrastModeChangedByKeyEvent
static

Definition at line 357 of file actions.h.

Referenced by PCB_CONTROL::HighContrastModeCycle(), and PCB_CONTROL::setTransitions().

◆ DisambiguatePoint

const TOOL_EVENT EVENTS::DisambiguatePoint
static

◆ GridChangedByKeyEvent

const TOOL_EVENT EVENTS::GridChangedByKeyEvent
static

Definition at line 356 of file actions.h.

Referenced by COMMON_TOOLS::OnGridChanged(), and SCH_EDITOR_CONTROL::setTransitions().

◆ InhibitSelectionEditing

const TOOL_EVENT EVENTS::InhibitSelectionEditing
static

◆ PointSelectedEvent

◆ SelectedEvent

const TOOL_EVENT EVENTS::SelectedEvent
static

Definition at line 336 of file actions.h.

Referenced by SELECTION_TOOL::AddItemsToSel(), SELECTION_TOOL::AddItemToSel(), EDIT_TABLE_TOOL_BASE< T_TABLE, T_TABLECELL, T_COMMIT >::doAddColumnAfter(), EDIT_TABLE_TOOL_BASE< T_TABLE, T_TABLECELL, T_COMMIT >::doAddColumnBefore(), EDIT_TABLE_TOOL_BASE< T_TABLE, T_TABLECELL, T_COMMIT >::doAddRowAbove(), EDIT_TABLE_TOOL_BASE< T_TABLE, T_TABLECELL, T_COMMIT >::doAddRowBelow(), EDIT_TABLE_TOOL_BASE< T_TABLE, T_TABLECELL, T_COMMIT >::doDeleteColumns(), EDIT_TABLE_TOOL_BASE< T_TABLE, T_TABLECELL, T_COMMIT >::doDeleteRows(), EDIT_TABLE_TOOL_BASE< T_TABLE, T_TABLECELL, T_COMMIT >::doMergeCells(), PCB_SELECTION_TOOL::doSyncSelection(), EDIT_TABLE_TOOL_BASE< T_TABLE, T_TABLECELL, T_COMMIT >::doUnmergeCells(), SCH_SELECTION_TOOL::EnterGroup(), PCB_SELECTION_TOOL::EnterGroup(), SCH_SELECTION_TOOL::ExitGroup(), PCB_SELECTION_TOOL::ExitGroup(), PCB_SELECTION_TOOL::expandConnection(), PCB_SELECTION_TOOL::filterSelection(), PCB_SELECTION_TOOL::FindItem(), TOOL_EVENT::IsSelectionEvent(), PL_EDIT_TOOL::Main(), BOARD_EDITOR_CONTROL::modifyLockSelected(), EDIT_TOOL::Move(), PCB_CONTROL::placeBoardItems(), SCH_SELECTION_TOOL::RebuildSelection(), SCH_SELECTION_TOOL::RequestSelection(), SCH_SELECTION_TOOL::SelectAll(), PCB_SELECTION_TOOL::SelectAll(), SCH_SELECTION_TOOL::SelectColumns(), PCB_SELECTION_TOOL::SelectColumns(), SCH_SELECTION_TOOL::SelectConnection(), GERBVIEW_SELECTION_TOOL::SelectItem(), GERBVIEW_SELECTION_TOOL::SelectItems(), SCH_SELECTION_TOOL::selectMultiple(), PL_SELECTION_TOOL::selectMultiple(), PCB_SELECTION_TOOL::selectMultiple(), PCB_SELECTION_TOOL::selectNet(), SCH_SELECTION_TOOL::SelectNext(), GERBVIEW_SELECTION_TOOL::selectPoint(), PCB_TEST_SELECTION_TOOL::selectPoint(), PL_SELECTION_TOOL::SelectPoint(), PCB_SELECTION_TOOL::selectPoint(), SCH_SELECTION_TOOL::selectPoint(), SCH_SELECTION_TOOL::SelectPrevious(), SCH_SELECTION_TOOL::SelectRows(), PCB_SELECTION_TOOL::SelectRows(), PCB_SELECTION_TOOL::selectSameSheet(), PCB_SELECTION_TOOL::selectSheetContents(), SCH_SELECTION_TOOL::SelectTable(), PCB_SELECTION_TOOL::SelectTable(), PCB_SELECTION_TOOL::selectTableCells(), SCH_SELECTION_TOOL::selectTableCells(), SCH_EDITOR_CONTROL::setTransitions(), SCH_FIND_REPLACE_TOOL::setTransitions(), SCH_INSPECTION_TOOL::setTransitions(), SCH_POINT_EDITOR::setTransitions(), GERBVIEW_CONTROL::setTransitions(), PROPERTIES_TOOL::setTransitions(), PL_EDITOR_CONTROL::setTransitions(), PL_POINT_EDITOR::setTransitions(), BOARD_EDITOR_CONTROL::setTransitions(), DRC_TOOL::setTransitions(), PCB_CONTROL::setTransitions(), PCB_POINT_EDITOR::setTransitions(), SCH_SELECTION_TOOL::SyncSelection(), and SCH_FIND_REPLACE_TOOL::UpdateFind().

◆ SelectedItemsModified

const TOOL_EVENT EVENTS::SelectedItemsModified
static

Selected items were moved, this can be very high frequency on the canvas, use with care.

Definition at line 343 of file actions.h.

Referenced by PCB_CONTROL::AppendBoard(), BOARD_EDITOR_CONTROL::AssignNetclass(), EDIT_TOOL::ChangeTrackWidth(), PCB_TOOL_BASE::doInteractiveItemPlacement(), EDIT_TOOL::doMoveSelection(), SCH_EDIT_FRAME::EditSheetProperties(), PCB_TUNING_PATTERN::EditStart(), EDIT_TOOL::Flip(), SCH_GROUP_TOOL::Group(), PCB_GROUP_TOOL::Group(), EDIT_TOOL::JustifyText(), EDIT_TOOL::Mirror(), EDIT_TOOL::MoveExact(), PAD_TOOL::pastePadProperties(), EDIT_TOOL::Properties(), BOARD_COMMIT::Push(), SCH_COMMIT::pushLibEdit(), PAD_TOOL::pushPadSettings(), SCH_COMMIT::pushSchEdit(), POSITION_RELATIVE_TOOL::RelativeItemSelectionMove(), GROUP_TOOL::RemoveFromGroup(), PCB_BASE_EDIT_FRAME::RestoreCopyFromRedoList(), PCB_BASE_EDIT_FRAME::RestoreCopyFromUndoList(), BOARD_COMMIT::Revert(), EDIT_TOOL::Rotate(), SCH_EDITOR_CONTROL::setTransitions(), SCH_FIND_REPLACE_TOOL::setTransitions(), SCH_INSPECTION_TOOL::setTransitions(), SCH_POINT_EDITOR::setTransitions(), SCH_SELECTION_TOOL::setTransitions(), PROPERTIES_TOOL::setTransitions(), PL_EDITOR_CONTROL::setTransitions(), PL_POINT_EDITOR::setTransitions(), PCB_CONTROL::setTransitions(), PCB_POINT_EDITOR::setTransitions(), PCB_SELECTION_TOOL::setTransitions(), PCB_BASE_EDIT_FRAME::ShowReferenceImagePropertiesDialog(), EDIT_TOOL::Swap(), GROUP_TOOL::Ungroup(), PCB_BASE_EDIT_FRAME::unitsChangeRefresh(), and SCH_FIND_REPLACE_TOOL::UpdateFind().

◆ SelectedItemsMoved

◆ UndoRedoPostEvent

const TOOL_EVENT EVENTS::UndoRedoPostEvent
static

◆ UndoRedoPreEvent

const TOOL_EVENT EVENTS::UndoRedoPreEvent
static

Definition at line 359 of file actions.h.

Referenced by PCB_BASE_EDIT_FRAME::RestoreCopyFromRedoList().

◆ UninhibitSelectionEditing

const TOOL_EVENT EVENTS::UninhibitSelectionEditing
static

Used to inform tool that it should display the disambiguation menu.

Definition at line 350 of file actions.h.

Referenced by PCB_SELECTION_TOOL::selectMultiple(), and PCB_POINT_EDITOR::setTransitions().

◆ UnselectedEvent


The documentation for this class was generated from the following files: