mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-02 20:52:20 -07:00
10 lines
No EOL
251 B
QML
10 lines
No EOL
251 B
QML
// Copyright (c) 2022 UltiMaker B.V.
|
|
// Cura is released under the terms of the LGPLv3 or higher.
|
|
import QtQuick 2.15
|
|
|
|
RegularExpressionValidator
|
|
{
|
|
property int maxNumbers: 12
|
|
|
|
regularExpression: new RegExp("^-?[0-9]{0,%0}$".arg(maxNumbers))
|
|
} |