|
@@ -17,7 +17,12 @@ Item
|
|
|
property alias undo: undoAction;
|
|
|
property alias redo: redoAction;
|
|
|
|
|
|
- property alias homeCamera: homeCameraAction;
|
|
|
+ property alias view3DCamera: view3DCameraAction;
|
|
|
+ property alias viewFrontCamera: viewFrontCameraAction;
|
|
|
+ property alias viewTopCamera: viewTopCameraAction;
|
|
|
+ property alias viewLeftSideCamera: viewLeftSideCameraAction;
|
|
|
+ property alias viewRightSideCamera: viewRightSideCameraAction;
|
|
|
+
|
|
|
property alias expandSidebar: expandSidebarAction;
|
|
|
|
|
|
property alias deleteSelection: deleteSelectionAction;
|
|
@@ -104,9 +109,37 @@ Item
|
|
|
|
|
|
Action
|
|
|
{
|
|
|
- id: homeCameraAction;
|
|
|
- text: catalog.i18nc("@action:inmenu menubar:view","&Reset camera position");
|
|
|
- onTriggered: CuraActions.homeCamera();
|
|
|
+ id: view3DCameraAction;
|
|
|
+ text: catalog.i18nc("@action:inmenu menubar:view","&3D View");
|
|
|
+ onTriggered: UM.Controller.rotateView("3d", 0);
|
|
|
+ }
|
|
|
+
|
|
|
+ Action
|
|
|
+ {
|
|
|
+ id: viewFrontCameraAction;
|
|
|
+ text: catalog.i18nc("@action:inmenu menubar:view","&Front View");
|
|
|
+ onTriggered: UM.Controller.rotateView("home", 0);
|
|
|
+ }
|
|
|
+
|
|
|
+ Action
|
|
|
+ {
|
|
|
+ id: viewTopCameraAction;
|
|
|
+ text: catalog.i18nc("@action:inmenu menubar:view","&Top View");
|
|
|
+ onTriggered: UM.Controller.rotateView("y", 90);
|
|
|
+ }
|
|
|
+
|
|
|
+ Action
|
|
|
+ {
|
|
|
+ id: viewLeftSideCameraAction;
|
|
|
+ text: catalog.i18nc("@action:inmenu menubar:view","&Left Side View");
|
|
|
+ onTriggered: UM.Controller.rotateView("x", 90);
|
|
|
+ }
|
|
|
+
|
|
|
+ Action
|
|
|
+ {
|
|
|
+ id: viewRightSideCameraAction;
|
|
|
+ text: catalog.i18nc("@action:inmenu menubar:view","&Right Side View");
|
|
|
+ onTriggered: UM.Controller.rotateView("x", -90);
|
|
|
}
|
|
|
|
|
|
Action
|