mirror of
https://github.com/Ultimaker/Cura.git
synced 2026-03-04 09:34:35 -07:00
Add the Cura logo to the top left of the cura window
This commit is contained in:
parent
d46e7daea2
commit
77f6929de4
1 changed files with 16 additions and 1 deletions
|
|
@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue