Added first arrange function and smart placement after loading. CURA-3239

This commit is contained in:
Jack Ha 2017-03-28 14:27:22 +02:00
parent d8c20b9d6c
commit bf08d30e7d
3 changed files with 133 additions and 30 deletions

8
resources/qml/Actions.qml Normal file → Executable file
View file

@ -31,6 +31,7 @@ Item
property alias selectAll: selectAllAction;
property alias deleteAll: deleteAllAction;
property alias reloadAll: reloadAllAction;
property alias arrange: arrangeAction;
property alias resetAllTranslation: resetAllTranslationAction;
property alias resetAll: resetAllAction;
@ -266,6 +267,13 @@ Item
onTriggered: Printer.reloadAll();
}
Action
{
id: arrangeAction;
text: catalog.i18nc("@action:inmenu menubar:edit","Arrange");
onTriggered: Printer.arrange();
}
Action
{
id: resetAllTranslationAction;