mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 18:29:04 +08:00
Layer view now has an awesome slider!
This commit is contained in:
parent
6d0e31aa8d
commit
34f92f38c8
@ -167,6 +167,25 @@ UM.MainWindow {
|
|||||||
width: parent.width * 0.333;
|
width: parent.width * 0.333;
|
||||||
height: 250;
|
height: 250;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loader
|
||||||
|
{
|
||||||
|
id: view_panel
|
||||||
|
|
||||||
|
//anchors.left: parent.left;
|
||||||
|
//anchors.right: parent.right;
|
||||||
|
//anchors.bottom: parent.bottom
|
||||||
|
anchors.top: viewModeButton.bottom
|
||||||
|
anchors.topMargin: UM.Theme.sizes.default_margin.height;
|
||||||
|
anchors.right: sidebar.left;
|
||||||
|
anchors.rightMargin: UM.Theme.sizes.window_margin.width;
|
||||||
|
//anchors.bottom: buttons.top;
|
||||||
|
//anchors.bottomMargin: UM.Theme.sizes.default_margin.height;
|
||||||
|
|
||||||
|
height: childrenRect.height;
|
||||||
|
|
||||||
|
source: UM.ActiveView.valid ? UM.ActiveView.activeViewPanel : "";
|
||||||
|
}
|
||||||
|
|
||||||
DescriptionPane {
|
DescriptionPane {
|
||||||
id: descriptionPane;
|
id: descriptionPane;
|
||||||
@ -210,7 +229,7 @@ UM.MainWindow {
|
|||||||
right: sidebar.left;
|
right: sidebar.left;
|
||||||
rightMargin: UM.Theme.sizes.window_margin.width;
|
rightMargin: UM.Theme.sizes.window_margin.width;
|
||||||
}
|
}
|
||||||
|
id: viewModeButton
|
||||||
//: View Mode toolbar button
|
//: View Mode toolbar button
|
||||||
text: qsTr("View Mode");
|
text: qsTr("View Mode");
|
||||||
iconSource: UM.Theme.icons.viewmode;
|
iconSource: UM.Theme.icons.viewmode;
|
||||||
@ -373,6 +392,8 @@ UM.MainWindow {
|
|||||||
UM.MeshFileHandler.writeLocalFile(fileUrl);
|
UM.MeshFileHandler.writeLocalFile(fileUrl);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
EngineLog {
|
EngineLog {
|
||||||
id: engineLog;
|
id: engineLog;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user