From 5866b759a8a6a2180f46ef8ee9fc244f22979810 Mon Sep 17 00:00:00 2001 From: Ghostkeeper Date: Mon, 14 Aug 2017 12:06:03 +0200 Subject: [PATCH] Move material estimate properties to sidebar as well That's where they are used after all. Contributes to issue CURA-4149. --- resources/qml/JobSpecs.qml | 4 ---- resources/qml/Sidebar.qml | 3 +++ 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/resources/qml/JobSpecs.qml b/resources/qml/JobSpecs.qml index 545615aff0..99bbdc73e6 100644 --- a/resources/qml/JobSpecs.qml +++ b/resources/qml/JobSpecs.qml @@ -23,10 +23,6 @@ Item { UM.I18nCatalog { id: catalog; name:"cura"} - property variant printMaterialLengths: PrintInformation.materialLengths - property variant printMaterialWeights: PrintInformation.materialWeights - property variant printMaterialCosts: PrintInformation.materialCosts - height: childrenRect.height Connections diff --git a/resources/qml/Sidebar.qml b/resources/qml/Sidebar.qml index be572bae23..52d24a38e3 100755 --- a/resources/qml/Sidebar.qml +++ b/resources/qml/Sidebar.qml @@ -27,6 +27,9 @@ Rectangle property variant printDuration: PrintInformation.currentPrintTime property variant printDurationPerFeature: PrintInformation.printTimesPerFeature + property variant printMaterialLengths: PrintInformation.materialLengths + property variant printMaterialWeights: PrintInformation.materialWeights + property variant printMaterialCosts: PrintInformation.materialCosts color: UM.Theme.getColor("sidebar") UM.I18nCatalog { id: catalog; name:"cura"}