Replace imagereader controls with styled variants

CURA-8685
This commit is contained in:
Jaime van Kessel 2022-02-15 15:24:30 +01:00
parent 6be75c75f8
commit 77b46868a6

View file

@ -26,7 +26,7 @@ UM.Dialog
rowSpacing: UM.Theme.getSize("thin_margin").height rowSpacing: UM.Theme.getSize("thin_margin").height
columns: 2 columns: 2
Label UM.Label
{ {
Layout.fillWidth: true Layout.fillWidth: true
text: catalog.i18nc("@action:label", "Height (mm)") text: catalog.i18nc("@action:label", "Height (mm)")
@ -39,7 +39,7 @@ UM.Dialog
} }
} }
TextField Cura.TextField
{ {
id: peak_height id: peak_height
Layout.fillWidth: true Layout.fillWidth: true
@ -57,7 +57,7 @@ UM.Dialog
y: peak_height.y + peak_height.height + UM.Theme.getSize("default_margin").height y: peak_height.y + peak_height.height + UM.Theme.getSize("default_margin").height
} }
Label UM.Label
{ {
Layout.fillWidth: true Layout.fillWidth: true
text: catalog.i18nc("@action:label", "Base (mm)") text: catalog.i18nc("@action:label", "Base (mm)")
@ -71,7 +71,7 @@ UM.Dialog
} }
} }
TextField Cura.TextField
{ {
id: base_height id: base_height
selectByMouse: true selectByMouse: true
@ -89,7 +89,7 @@ UM.Dialog
y: base_height.y + base_height.height + UM.Theme.getSize("default_margin").height y: base_height.y + base_height.height + UM.Theme.getSize("default_margin").height
} }
Label UM.Label
{ {
Layout.fillWidth: true Layout.fillWidth: true
text: catalog.i18nc("@action:label", "Width (mm)") text: catalog.i18nc("@action:label", "Width (mm)")
@ -102,7 +102,7 @@ UM.Dialog
} }
} }
TextField Cura.TextField
{ {
id: width id: width
selectByMouse: true selectByMouse: true
@ -121,7 +121,7 @@ UM.Dialog
y: width.y + width.height + UM.Theme.getSize("default_margin").height y: width.y + width.height + UM.Theme.getSize("default_margin").height
} }
Label UM.Label
{ {
Layout.fillWidth: true Layout.fillWidth: true
text: catalog.i18nc("@action:label", "Depth (mm)") text: catalog.i18nc("@action:label", "Depth (mm)")
@ -134,7 +134,7 @@ UM.Dialog
} }
} }
TextField Cura.TextField
{ {
id: depth id: depth
Layout.fillWidth: true Layout.fillWidth: true
@ -153,7 +153,7 @@ UM.Dialog
y: depth.y + depth.height + UM.Theme.getSize("default_margin").height y: depth.y + depth.height + UM.Theme.getSize("default_margin").height
} }
Label UM.Label
{ {
Layout.fillWidth: true Layout.fillWidth: true
text: "" text: ""
@ -166,7 +166,7 @@ UM.Dialog
} }
} }
ComboBox Cura.ComboBox
{ {
id: lighter_is_higher id: lighter_is_higher
Layout.fillWidth: true Layout.fillWidth: true
@ -184,7 +184,7 @@ UM.Dialog
y: lighter_is_higher.y + lighter_is_higher.height + UM.Theme.getSize("default_margin").height y: lighter_is_higher.y + lighter_is_higher.height + UM.Theme.getSize("default_margin").height
} }
Label UM.Label
{ {
Layout.fillWidth: true Layout.fillWidth: true
text: catalog.i18nc("@action:label", "Color Model") text: catalog.i18nc("@action:label", "Color Model")
@ -197,7 +197,7 @@ UM.Dialog
} }
} }
ComboBox Cura.ComboBox
{ {
id: color_model id: color_model
Layout.fillWidth: true Layout.fillWidth: true
@ -215,7 +215,7 @@ UM.Dialog
y: color_model.y + color_model.height + UM.Theme.getSize("default_margin").height y: color_model.y + color_model.height + UM.Theme.getSize("default_margin").height
} }
Label UM.Label
{ {
Layout.fillWidth: true Layout.fillWidth: true
text: catalog.i18nc("@action:label", "1mm Transmittance (%)") text: catalog.i18nc("@action:label", "1mm Transmittance (%)")
@ -228,7 +228,7 @@ UM.Dialog
} }
} }
TextField Cura.TextField
{ {
id: transmittance id: transmittance
Layout.fillWidth: true Layout.fillWidth: true
@ -246,7 +246,7 @@ UM.Dialog
y: transmittance.y + transmittance.height + UM.Theme.getSize("default_margin").height y: transmittance.y + transmittance.height + UM.Theme.getSize("default_margin").height
} }
Label UM.Label
{ {
Layout.fillWidth: true Layout.fillWidth: true
text: catalog.i18nc("@action:label", "Smoothing") text: catalog.i18nc("@action:label", "Smoothing")