You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add connectionSelected and connectionDoubleClicked scene signals #551
ConnectionGraphicsObject emits them. connectionSelected fires when a connection becomes selected. connectionDoubleClicked needs a mouseDoubleClickEvent on the connection object.
Problem to be solved
A scene has nodeSelected and nodeDoubleClicked for nodes. For connections it has only connectionHovered and connectionHoverLeft. An application cannot react to a selected or double-clicked connection, for example to open an editor for it.
Prior art
The idea comes from pull request #399 by mindon, which added both signals (together with other changes that we do not take). We will write it as a small separate change.
Additional context
It is additive and fits a 3.x minor release. A test should check that both signals fire once for one click and one double click.
Checklist
I have verified that this feature request has not been logged before, by searching the issue tracker for similar requests
Activity