Qt World Summit: Submit your Presentation

How to use DoubleValidator and disable groupSeparator

  • Hey guys,

    I have a problem with the doubleValidator.
    I don't want to allow thousand-separators when I use a TextInput to enter float values.
    When I assign a doubleValidator to my textInput it uses Qt.locale() to format values.
    Most locales have thousand-separators which I don't want.
    How can I disable groupSeparation ?


Log in to reply