Important: Please read the Qt Code of Conduct -

Validator & Input Mask

  • Hello, please, could somebody help me to set a validator or input mask to read nummers less than 13 and separated by commas.

    for example [13, 12, 4, 10]

    I know how to do this for a number, but more: - (... is too much for me

    Thanks in advance.

  • Lifetime Qt Champion


    Something's not clear: do you want your users to enter a list of number below 13 ? Or do you want to parse the user input and retrieve the values under 13 ?

Log in to reply