Expand description
Host-side group helpers.
A group is an association of nodes rendered as a backing sheet behind its
members. It is not a node: it has no pins and cannot be linked. Like
selection, groups are model data and the editor holds none of it:
membership is the group_id on each node row (GroupMember), and each
group is a row with authoritative bounds, collapsed and selected
(GroupModel, implemented for the Slint GroupData struct).
GroupLogic holds the operations on those rows as plain functions over
models. One rule decides what a drag moves (GroupLogic::moves) whether
it started on a node or a sheet (Dragged); the editor asks the host the
same rule for its live preview. The movement and collapse contracts are
spelled out once, in docs/component-reference.md under BaseGroup.
Structs§
- Bounds
- A world-space rectangle.
- Group
Logic - Operations on group rows and node membership.
Enums§
- Dragged
- What a drag gesture started on.
Traits§
- Group
Member - A node row that can belong to a group.
- Group
Model - A group row: authoritative bounds, collapse and selection.