`DoubleValidator` is identical to QDoubleValidator except that it is always using 'en_US' locale.
| 424 | |
| 425 | |
| 426 | class DoubleValidator(QDoubleValidator): |
| 427 | """ |
| 428 | `DoubleValidator` is identical to QDoubleValidator except that it |
| 429 | is always using 'en_US' locale. |
| 430 | """ |
| 431 | |
| 432 | def __init__(self, *args, **kwargs): |
| 433 | super().__init__(*args, **kwargs) |
| 434 | self.setLocale(QLocale("en_US")) |
| 435 | |
| 436 | |
| 437 | class DoubleValidatorStrict(DoubleValidator): |
no outgoing calls