Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    How to use DoubleValidator and disable groupSeparator

    QML and Qt Quick
    1
    1
    323
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • T
      themts last edited by

      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

      1 Reply Last reply Reply Quote 0
      • First post
        Last post