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_FORCE_UNLOCK = 16, SELECTION_DEFAULT = 0x7
}
 

Enumeration Type Documentation

Enumerator
SELECTION_UNLOCKED 
SELECTION_LOCK_OVERRIDE 
SELECTION_LOCKED 

Definition at line 227 of file selection.h.

Enumerator
SELECTION_DELETABLE 
SELECTION_EDITABLE 
SELECTION_SANITIZE_PADS 
SELECTION_HOVER 
SELECTION_FORCE_UNLOCK 
SELECTION_DEFAULT 

Definition at line 235 of file selection.h.

236 {
237  // Items that can be deleted (but not necessarily modified, eg. DRC markers)
239  // Items that can be edited (moved, rotated, properties)
240  SELECTION_EDITABLE = 2,
241  // Remove pads without a host module
243  // Request a hover-only selection
244  SELECTION_HOVER = 8,
245  // Select locked parts without asking the user
247 
248  SELECTION_DEFAULT = 0x7
249 };