mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 22:08:59 +08:00
Merge branch 'master' of github.com:Ultimaker/Cura into CURA-7090
This commit is contained in:
commit
c8bfb24b92
@ -1,4 +1,4 @@
|
|||||||
// Copyright (c) 2019 Ultimaker B.V.
|
// Copyright (c) 2020 Ultimaker B.V.
|
||||||
// Cura is released under the terms of the LGPLv3 or higher.
|
// Cura is released under the terms of the LGPLv3 or higher.
|
||||||
|
|
||||||
import QtQuick 2.7
|
import QtQuick 2.7
|
||||||
@ -21,7 +21,16 @@ UM.MainWindow
|
|||||||
id: base
|
id: base
|
||||||
|
|
||||||
// Cura application window title
|
// Cura application window title
|
||||||
title: PrintInformation.jobName + " - " + catalog.i18nc("@title:window", CuraApplication.applicationDisplayName)
|
title:
|
||||||
|
{
|
||||||
|
let result = "";
|
||||||
|
if(PrintInformation.jobName != "")
|
||||||
|
{
|
||||||
|
result += PrintInformation.jobName + " - ";
|
||||||
|
}
|
||||||
|
result += CuraApplication.applicationDisplayName;
|
||||||
|
return result;
|
||||||
|
}
|
||||||
|
|
||||||
backgroundColor: UM.Theme.getColor("viewport_background")
|
backgroundColor: UM.Theme.getColor("viewport_background")
|
||||||
|
|
||||||
@ -244,23 +253,6 @@ UM.MainWindow
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Toolbar
|
|
||||||
{
|
|
||||||
// The toolbar is the left bar that is populated by all the tools (which are dynamicly populated by
|
|
||||||
// plugins)
|
|
||||||
id: toolbar
|
|
||||||
|
|
||||||
property int mouseX: base.mouseX
|
|
||||||
property int mouseY: base.mouseY
|
|
||||||
|
|
||||||
anchors
|
|
||||||
{
|
|
||||||
verticalCenter: parent.verticalCenter
|
|
||||||
left: parent.left
|
|
||||||
}
|
|
||||||
visible: CuraApplication.platformActivity && !PrintInformation.preSliced
|
|
||||||
}
|
|
||||||
|
|
||||||
ObjectSelector
|
ObjectSelector
|
||||||
{
|
{
|
||||||
id: objectSelector
|
id: objectSelector
|
||||||
@ -302,6 +294,23 @@ UM.MainWindow
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Toolbar
|
||||||
|
{
|
||||||
|
// The toolbar is the left bar that is populated by all the tools (which are dynamicly populated by
|
||||||
|
// plugins)
|
||||||
|
id: toolbar
|
||||||
|
|
||||||
|
property int mouseX: base.mouseX
|
||||||
|
property int mouseY: base.mouseY
|
||||||
|
|
||||||
|
anchors
|
||||||
|
{
|
||||||
|
verticalCenter: parent.verticalCenter
|
||||||
|
left: parent.left
|
||||||
|
}
|
||||||
|
visible: CuraApplication.platformActivity && !PrintInformation.preSliced
|
||||||
|
}
|
||||||
|
|
||||||
// A hint for the loaded content view. Overlay items / controls can safely be placed in this area
|
// A hint for the loaded content view. Overlay items / controls can safely be placed in this area
|
||||||
Item {
|
Item {
|
||||||
id: mainSafeArea
|
id: mainSafeArea
|
||||||
|
5
test-in-docker.sh
Executable file
5
test-in-docker.sh
Executable file
@ -0,0 +1,5 @@
|
|||||||
|
sudo rm -rf ./build ./Uranium
|
||||||
|
sudo docker run -it --rm \
|
||||||
|
-v "$(pwd):/srv/cura" ultimaker/cura-build-environment \
|
||||||
|
/srv/cura/docker/build.sh
|
||||||
|
sudo rm -rf ./build ./Uranium
|
Loading…
x
Reference in New Issue
Block a user