Update RegExpValidator to RegularExpressionValidator

Due to Qt6 API change

CURA-8640
This commit is contained in:
c.lamboo 2022-03-30 15:10:37 +02:00
parent 99a3a8d11d
commit 3c9e2a1b08
13 changed files with 26 additions and 26 deletions

View file

@ -186,7 +186,7 @@ Item
selectByMouse: true
maximumLength: 5
enabled: parent.enabled
validator: RegExpValidator { regExp: /^-?[0-9]{0,9}[.,]?[0-9]{0,10}$/ } //Floating point regex.
validator: RegularExpressionValidator { regularExpression: /^-?[0-9]{0,9}[.,]?[0-9]{0,10}$/ } //Floating point regex.
anchors.left: parent.left
anchors.leftMargin: UM.Theme.getSize("setting_unit_margin").width
anchors.right: unit.left