Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

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 ?

    Thanks
    mts


Log in to reply