mafw.steering_gui.views.group_editor

Group editor widget for managing processor groups.

Author:

Bulgheroni Antonio (antonio.bulgheroni@ec.europa.eu)

Description:

Provide a table-based editor to rename groups, set descriptions, and reorder processors or nested groups without direct controller access.

Classes

GroupEditor([parent])

Widget used to edit group metadata and the processor list.

class mafw.steering_gui.views.group_editor.GroupEditor(parent: QWidget | None = None)[source]

Bases: QWidget

Widget used to edit group metadata and the processor list.

refresh() None[source]

Refresh the table root index after model updates.

set_group_item(item: PipelineItem) None[source]

Display the provided group item and its processors.

set_model(model: SteeringTreeModel) None[source]

Attach the steering tree model to the group editor.

class mafw.steering_gui.views.group_editor._GroupTableView[source]

Bases: QTableView

Internal table view that exposes delete key handling.

mafw.steering_gui.views.group_editor._DEFAULT_DESCRIPTION = ''

Fallback description used when none is configured.

mafw.steering_gui.views.group_editor._DEFAULT_GROUP_NAME = 'Group'

Base name used when presenting an unnamed group.