KiCad PCB EDA Suite
selection.h File Reference
#include <set>
#include <base_struct.h>
#include <view/view_group.h>

Go to the source code of this file.

Classes

class  SELECTION
 

Enumerations

enum  SELECTION_LOCK_FLAGS { SELECTION_UNLOCKED = 0, SELECTION_LOCK_OVERRIDE = 1, SELECTION_LOCKED = 2 }
 
enum  SELECTION_TYPE_FLAGS {
  SELECTION_DELETABLE = 1, SELECTION_EDITABLE = 2, SELECTION_SANITIZE_PADS = 4, SELECTION_HOVER = 8,
  SELECTION_DEFAULT = 0x7
}
 

Enumeration Type Documentation

Enumerator
SELECTION_UNLOCKED 
SELECTION_LOCK_OVERRIDE 
SELECTION_LOCKED 

Definition at line 184 of file selection.h.

Enumerator
SELECTION_DELETABLE 
SELECTION_EDITABLE 
SELECTION_SANITIZE_PADS 
SELECTION_HOVER 
SELECTION_DEFAULT 

Definition at line 192 of file selection.h.

193 {
194  // Items that can be deleted (but not necessarily modified, eg. DRC markers)
196  // Items that can be edited (moved, rotated, properties)
197  SELECTION_EDITABLE = 2,
198  // Remove pads without a host module
200  // Request a hover-only selection
201  SELECTION_HOVER = 8,
202  SELECTION_DEFAULT = 0x7
203 };