Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ui]: Introduction of multiple ways to remove Node Edges #2644

Draft
wants to merge 12 commits into
base: develop
Choose a base branch
from
Draft
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
[ui] GraphEditor: Added shortcut to invoke disconnectSelectedNodes fu…
…nctionality for the graph
waaake committed Jan 12, 2025
commit 2ff3596c5917ca7b127b802f6370deb68db43d98
11 changes: 8 additions & 3 deletions meshroom/ui/qml/GraphEditor/GraphEditor.qml
Original file line number Diff line number Diff line change
@@ -120,9 +120,14 @@ Item {
}
} else if (event.key === Qt.Key_D) {
duplicateNode(event.modifiers === Qt.AltModifier)
} else if (event.key === Qt.Key_X && event.modifiers === Qt.ControlModifier) {
copyNodes()
uigraph.removeSelectedNodes()
} else if (event.key === Qt.Key_X) {
if (event.modifiers === Qt.ControlModifier) {
copyNodes()
uigraph.removeSelectedNodes()
}
else {
uigraph.disconnectSelectedNodes()
}
} else if (event.key === Qt.Key_C) {
if (event.modifiers === Qt.ControlModifier) {
copyNodes()