From 77f6929de4eb41a5088b6c2ed54827967452b642 Mon Sep 17 00:00:00 2001 From: Arjen Hiemstra Date: Fri, 3 Apr 2015 18:03:00 +0200 Subject: [PATCH] Add the Cura logo to the top left of the cura window --- qml/Printer.qml | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/qml/Printer.qml b/qml/Printer.qml index a443f350bd..a81a261c64 100644 --- a/qml/Printer.qml +++ b/qml/Printer.qml @@ -132,6 +132,7 @@ UM.MainWindow { addMachineAction: actions.addMachine; configureMachinesAction: actions.configureMachines; + saveAction: actions.save; } UM.MessageStack { @@ -161,6 +162,21 @@ UM.MainWindow { action: actions.open; } + Image { + anchors { + verticalCenter: openFileButton.verticalCenter; + left: openFileButton.right; + leftMargin: UM.Theme.sizes.window_margin.width; + } + + source: UM.Theme.images.logo; + width: UM.Theme.sizes.logo.width; + height: UM.Theme.sizes.logo.height; + + sourceSize.width: width; + sourceSize.height: height; + } + PrinterButton { anchors { top: parent.top; @@ -312,7 +328,6 @@ UM.MainWindow { onAccepted: { UM.MeshFileHandler.readLocalFile(fileUrl) - files.setDirectory(fileUrl) } }