Add the [int] setting type for settings that are a list of integers.

The RegExpValidator (more of a restrictor than a validator) requires the
text to start with a '[' and then have a sequence of integers separated by
commas. A trailing ']' is accepted.
This commit is contained in:
Mark Burton 2017-01-27 15:54:19 +00:00
parent d288619ebf
commit db3cf0c0fb
4 changed files with 8 additions and 2 deletions

View file

@ -217,6 +217,8 @@ Item
{
case "int":
return "SettingTextField.qml"
case "[int]":
return "SettingTextField.qml"
case "float":
return "SettingTextField.qml"
case "enum":