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 177 of file selection.h.

Enumerator
SELECTION_DELETABLE 
SELECTION_EDITABLE 
SELECTION_SANITIZE_PADS 
SELECTION_HOVER 
SELECTION_DEFAULT 

Definition at line 185 of file selection.h.

186 {
187  // Items that can be deleted (but not necessarily modified, eg. DRC markers)
189  // Items that can be edited (moved, rotated, properties)
190  SELECTION_EDITABLE = 2,
191  // Remove pads without a host module
193  // Request a hover-only selection
194  SELECTION_HOVER = 8,
195  SELECTION_DEFAULT = 0x7
196 };