mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 22:47:29 -06:00
Re-enable validators in ImageLoaderPlugin
CURA-8684
This commit is contained in:
parent
b2af6308e5
commit
4cb4e0e38c
1 changed files with 5 additions and 5 deletions
|
@ -45,7 +45,7 @@ UM.Dialog
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
selectByMouse: true
|
selectByMouse: true
|
||||||
objectName: "Peak_Height"
|
objectName: "Peak_Height"
|
||||||
// validator: RegExpValidator { regExp: /^\d{0,3}([\,|\.]\d*)?$/ }
|
validator: RegExpValidator { regExp: /^\d{0,3}([\,|\.]\d*)?$/ }
|
||||||
onTextChanged: manager.onPeakHeightChanged(text)
|
onTextChanged: manager.onPeakHeightChanged(text)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -76,7 +76,7 @@ UM.Dialog
|
||||||
selectByMouse: true
|
selectByMouse: true
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
objectName: "Base_Height"
|
objectName: "Base_Height"
|
||||||
// validator: RegExpValidator { regExp: /^\d{0,3}([\,|\.]\d*)?$/ }
|
validator: RegExpValidator { regExp: /^\d{0,3}([\,|\.]\d*)?$/ }
|
||||||
onTextChanged: manager.onBaseHeightChanged(text)
|
onTextChanged: manager.onBaseHeightChanged(text)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -108,7 +108,7 @@ UM.Dialog
|
||||||
objectName: "Width"
|
objectName: "Width"
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
focus: true
|
focus: true
|
||||||
// validator: RegExpValidator { regExp: /^[1-9]\d{0,2}([\,|\.]\d*)?$/ }
|
validator: RegExpValidator { regExp: /^[1-9]\d{0,2}([\,|\.]\d*)?$/ }
|
||||||
onTextChanged: manager.onWidthChanged(text)
|
onTextChanged: manager.onWidthChanged(text)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -140,7 +140,7 @@ UM.Dialog
|
||||||
selectByMouse: true
|
selectByMouse: true
|
||||||
objectName: "Depth"
|
objectName: "Depth"
|
||||||
focus: true
|
focus: true
|
||||||
// validator: RegExpValidator { regExp: /^[1-9]\d{0,2}([\,|\.]\d*)?$/ }
|
validator: RegExpValidator { regExp: /^[1-9]\d{0,2}([\,|\.]\d*)?$/ }
|
||||||
onTextChanged: manager.onDepthChanged(text)
|
onTextChanged: manager.onDepthChanged(text)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -233,7 +233,7 @@ UM.Dialog
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
selectByMouse: true
|
selectByMouse: true
|
||||||
objectName: "Transmittance"
|
objectName: "Transmittance"
|
||||||
// validator: RegExpValidator { regExp: /^[1-9]\d{0,2}([\,|\.]\d*)?$/ }
|
validator: RegExpValidator { regExp: /^[1-9]\d{0,2}([\,|\.]\d*)?$/ }
|
||||||
onTextChanged: manager.onTransmittanceChanged(text)
|
onTextChanged: manager.onTransmittanceChanged(text)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue