node_selection

Classes

NodeSelectionList

Updates the current selection (0, 1, or 2) of nodes. Sends a signal on every update.

Module Contents

class node_selection.NodeSelectionList

Bases: PyQt5.QtCore.QObject

Updates the current selection (0, 1, or 2) of nodes. Sends a signal on every update. Stores a list of node ids only.

list_updated
_list = []
add(item, append: bool | None = False)

Append or replace an item to the list, depending on the number of items present and the keyboard modifiers used. Emit update signal

flip()

Change the order of the items in the list

reset()

Empty list and emit update signal

__getitem__(index)
__len__()