ContainerListWidget#

ContainerListWidget#

Attributes

Methods

ContainerListWidget.addItem(item)

ContainerListWidget.apply_state(state, ...)

Apply tree structure to existing items.

ContainerListWidget.create_group(name[, ...])

Create a new group at the root level.

ContainerListWidget.group_selected(group_name)

Create a new group with currently selected items.

ContainerListWidget.selected_items()

ContainerListWidget.set_selection(uuids[, ...])

Set selection to specific items.

ContainerListWidget.to_state()

Extract current tree structure as TreeStateData object.

ContainerListWidget.traverse([reverse])

Generator that yields all (item, parent, index) tuples.

ContainerListWidget.ungroup_selected()

Move selected items to root level (removing them from their groups).

ContainerListWidget.update(uuid_to_items)

Update tree incrementally based on provided items.

alias of ContainerTreeWidget