123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212 |
- // Copyright (c) 2015 Ultimaker B.V.
- // Cura is released under the terms of the AGPLv3 or higher.
- import QtQuick 2.2
- import QtQuick.Controls 1.1
- import UM 1.0 as UM
- Item {
- property alias open: openAction;
- property alias save: saveAction;
- property alias quit: quitAction;
- property alias undo: undoAction;
- property alias redo: redoAction;
- property alias deleteSelection: deleteSelectionAction;
- property alias deleteObject: deleteObjectAction;
- property alias centerObject: centerObjectAction;
- property alias groupObjects: groupObjectsAction;
- property alias unGroupObjects:unGroupObjectsAction;
- property alias mergeObjects: mergeObjectsAction;
- //property alias unMergeObjects: unMergeObjectsAction;
-
- property alias multiplyObject: multiplyObjectAction;
- property alias splitObject: splitObjectAction;
- property alias deleteAll: deleteAllAction;
- property alias reloadAll: reloadAllAction;
- property alias resetAllTranslation: resetAllTranslationAction;
- property alias resetAll: resetAllAction;
- property alias addMachine: addMachineAction;
- property alias configureMachines: settingsAction;
- property alias preferences: preferencesAction;
- property alias showEngineLog: showEngineLogAction;
- property alias documentation: documentationAction;
- property alias reportBug: reportBugAction;
- property alias about: aboutAction;
- Action {
- id: undoAction;
- //: Undo action
- text: qsTr("&Undo");
- iconName: "edit-undo";
- shortcut: StandardKey.Undo;
- }
- Action {
- id: redoAction;
- //: Redo action
- text: qsTr("&Redo");
- iconName: "edit-redo";
- shortcut: StandardKey.Redo;
- }
- Action {
- id: quitAction;
- //: Quit action
- text: qsTr("&Quit");
- iconName: "application-exit";
- shortcut: StandardKey.Quit;
- }
- Action {
- id: preferencesAction;
- //: Preferences action
- text: qsTr("&Preferences...");
- iconName: "configure";
- }
- Action {
- id: addMachineAction;
- //: Add Printer action
- text: qsTr("&Add Printer...");
- }
- Action {
- id: settingsAction;
- //: Configure Printers action
- text: qsTr("&Configure Printers");
- iconName: "configure";
- }
- Action {
- id: documentationAction;
- //: Show Online Documentation action
- text: qsTr("Show Online &Documentation");
- iconName: "help-contents";
- shortcut: StandardKey.Help;
- }
- Action {
- id: reportBugAction;
- //: Report a Bug Action
- text: qsTr("Report a &Bug");
- iconName: "tools-report-bug";
- }
- Action {
- id: aboutAction;
- //: About action
- text: qsTr("&About...");
- iconName: "help-about";
- }
- Action {
- id: deleteSelectionAction;
- //: Delete selection action
- text: qsTr("Delete Selection");
- iconName: "edit-delete";
- shortcut: StandardKey.Delete;
- }
- Action {
- id: deleteObjectAction;
- //: Delete object action
- text: qsTr("Delete Object");
- iconName: "edit-delete";
- shortcut: StandardKey.Backspace;
- }
- Action {
- id: centerObjectAction;
- //: Center object action
- text: qsTr("Center Object on Platform");
- }
- Action
- {
- id: groupObjectsAction
- text: qsTr("Group objects");
- enabled: UM.Scene.numObjectsSelected > 1 ? true: false
- }
- Action
- {
- id: unGroupObjectsAction
- text: qsTr("Ungroup objects");
- enabled: UM.Scene.isGroupSelected
- }
-
- Action
- {
- id: mergeObjectsAction
- text: qsTr("Merge objects");
- enabled: UM.Scene.numObjectsSelected > 1 ? true: false
- }
-
- Action {
- id: multiplyObjectAction;
- //: Duplicate object action
- text: qsTr("Duplicate Object");
- }
- Action {
- id: splitObjectAction;
- //: Split object action
- text: qsTr("Split Object into Parts");
- enabled: false;
- }
- Action {
- id: deleteAllAction;
- //: Clear build platform action
- text: qsTr("Clear Build Platform");
- iconName: "edit-clear";
- }
- Action {
- id: reloadAllAction;
- //: Reload all objects action
- text: qsTr("Reload All Objects");
- }
- Action {
- id: resetAllTranslationAction;
- //: Reset all positions action
- text: qsTr("Reset All Object Positions");
- }
- Action {
- id: resetAllAction;
- //: Reset all positions action
- text: qsTr("Reset All Object Transformations");
- }
- Action {
- id: openAction;
- //: Open file action
- text: qsTr("&Open...");
- iconName: "document-open";
- shortcut: StandardKey.Open;
- }
- Action {
- id: saveAction;
- //: Save file action
- text: qsTr("&Save...");
- iconName: "document-save";
- shortcut: StandardKey.Save;
- }
- Action {
- id: showEngineLogAction;
- //: Show engine log action
- text: qsTr("Show engine &log...");
- iconName: "view-list-text";
- }
- }
|