QDoubleValidator passes the commas, does not points



  • QDoubleValidator Allows the use of a comma as a partitioner. The number further calculated from the lineandit is therefore not taken as double♪ How do you replace the comma by the point?



  • An English lonel may be requested for the valet, where the separation point is

    QLocale locale(QLocale::Englishs);
    validator->setLocale(locale);
    



Suggested Topics

  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2