mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 14:37:29 -06:00
Made changed from code review and updated MeshReader plugins to support changes made to Uranium branch MeshReaderDialog. This branch now must be paired with that Uranium branch.
This commit is contained in:
parent
f5939df085
commit
447fdc8fbc
5 changed files with 161 additions and 147 deletions
|
@ -31,36 +31,36 @@ UM.Dialog
|
|||
columns: 2
|
||||
|
||||
Text {
|
||||
text: catalog.i18nc("@action:label","Size")
|
||||
text: catalog.i18nc("@action:label","Size (mm)")
|
||||
Layout.fillWidth:true
|
||||
}
|
||||
TextField {
|
||||
id: size
|
||||
focus: true
|
||||
validator: DoubleValidator {notation: DoubleValidator.StandardNotation; bottom: 1; top: 500;}
|
||||
text: qsTr("120")
|
||||
text: "120"
|
||||
onTextChanged: { manager.onSizeChanged(text) }
|
||||
}
|
||||
|
||||
Text {
|
||||
text: catalog.i18nc("@action:label","Base Height")
|
||||
text: catalog.i18nc("@action:label","Base Height (mm)")
|
||||
Layout.fillWidth:true
|
||||
}
|
||||
TextField {
|
||||
id: base_height
|
||||
validator: DoubleValidator {notation: DoubleValidator.StandardNotation; bottom: 0; top: 500;}
|
||||
text: qsTr("2")
|
||||
text: "2"
|
||||
onTextChanged: { manager.onBaseHeightChanged(text) }
|
||||
}
|
||||
|
||||
Text {
|
||||
text: catalog.i18nc("@action:label","Peak Height")
|
||||
text: catalog.i18nc("@action:label","Peak Height (mm)")
|
||||
Layout.fillWidth:true
|
||||
}
|
||||
TextField {
|
||||
id: peak_height
|
||||
validator: DoubleValidator {notation: DoubleValidator.StandardNotation; bottom: 0; top: 500;}
|
||||
text: qsTr("12")
|
||||
text: "12"
|
||||
onTextChanged: { manager.onPeakHeightChanged(text) }
|
||||
}
|
||||
|
||||
|
@ -68,11 +68,19 @@ UM.Dialog
|
|||
text: catalog.i18nc("@action:label","Smoothing")
|
||||
Layout.fillWidth:true
|
||||
}
|
||||
TextField {
|
||||
id: smoothing
|
||||
validator: IntValidator {bottom: 0; top: 100;}
|
||||
text: qsTr("1")
|
||||
onTextChanged: { manager.onSmoothingChanged(text) }
|
||||
Rectangle {
|
||||
width: 100
|
||||
height: 20
|
||||
color: "transparent"
|
||||
|
||||
Slider {
|
||||
id: smoothing
|
||||
maximumValue: 100.0
|
||||
stepSize: 1.0
|
||||
value: 1
|
||||
width: 100
|
||||
onValueChanged: { manager.onSmoothingChanged(value) }
|
||||
}
|
||||
}
|
||||
|
||||
UM.I18nCatalog{id: catalog; name:"ultimaker"}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue