mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-29 05:41:05 -07:00
Add keyboard shortcuts for grouping/ungrouping
Contributes (in a way) to CURA-1054, \sa CURA-1531
This commit is contained in:
parent
9f2e87fdcb
commit
7c154c78bf
2 changed files with 6 additions and 1 deletions
|
|
@ -176,6 +176,7 @@ Item
|
||||||
text: catalog.i18nc("@action:inmenu menubar:edit","&Group Objects");
|
text: catalog.i18nc("@action:inmenu menubar:edit","&Group Objects");
|
||||||
enabled: UM.Scene.numObjectsSelected > 1 ? true: false
|
enabled: UM.Scene.numObjectsSelected > 1 ? true: false
|
||||||
iconName: "object-group"
|
iconName: "object-group"
|
||||||
|
shortcut: "Ctrl+G";
|
||||||
}
|
}
|
||||||
|
|
||||||
Action
|
Action
|
||||||
|
|
@ -184,14 +185,16 @@ Item
|
||||||
text: catalog.i18nc("@action:inmenu menubar:edit","Ungroup Objects");
|
text: catalog.i18nc("@action:inmenu menubar:edit","Ungroup Objects");
|
||||||
enabled: UM.Scene.isGroupSelected
|
enabled: UM.Scene.isGroupSelected
|
||||||
iconName: "object-ungroup"
|
iconName: "object-ungroup"
|
||||||
|
shortcut: "Ctrl+Shift+G";
|
||||||
}
|
}
|
||||||
|
|
||||||
Action
|
Action
|
||||||
{
|
{
|
||||||
id: mergeObjectsAction
|
id: mergeObjectsAction
|
||||||
text: catalog.i18nc("@action:inmenu menubar:edit","&Merge Objects");
|
text: catalog.i18nc("@action:inmenu menubar:edit","&Merge Objects");
|
||||||
enabled: UM.Scene.numObjectsSelected > 1 ? true: false
|
enabled: UM.Scene.numObjectsSelected > 1 ? true: false
|
||||||
iconName: "merge";
|
iconName: "merge";
|
||||||
|
shortcut: "Ctrl+Alt+G";
|
||||||
}
|
}
|
||||||
|
|
||||||
Action
|
Action
|
||||||
|
|
|
||||||
|
|
@ -680,6 +680,7 @@ UM.MainWindow
|
||||||
MenuItem { action: actions.reloadAll; }
|
MenuItem { action: actions.reloadAll; }
|
||||||
MenuItem { action: actions.resetAllTranslation; }
|
MenuItem { action: actions.resetAllTranslation; }
|
||||||
MenuItem { action: actions.resetAll; }
|
MenuItem { action: actions.resetAll; }
|
||||||
|
MenuSeparator { }
|
||||||
MenuItem { action: actions.groupObjects; }
|
MenuItem { action: actions.groupObjects; }
|
||||||
MenuItem { action: actions.mergeObjects; }
|
MenuItem { action: actions.mergeObjects; }
|
||||||
MenuItem { action: actions.unGroupObjects; }
|
MenuItem { action: actions.unGroupObjects; }
|
||||||
|
|
@ -692,6 +693,7 @@ UM.MainWindow
|
||||||
MenuItem { action: actions.reloadAll; }
|
MenuItem { action: actions.reloadAll; }
|
||||||
MenuItem { action: actions.resetAllTranslation; }
|
MenuItem { action: actions.resetAllTranslation; }
|
||||||
MenuItem { action: actions.resetAll; }
|
MenuItem { action: actions.resetAll; }
|
||||||
|
MenuSeparator { }
|
||||||
MenuItem { action: actions.groupObjects; }
|
MenuItem { action: actions.groupObjects; }
|
||||||
MenuItem { action: actions.mergeObjects; }
|
MenuItem { action: actions.mergeObjects; }
|
||||||
MenuItem { action: actions.unGroupObjects; }
|
MenuItem { action: actions.unGroupObjects; }
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue