MCPcopy Create free account
hub / github.com/OpenOrienteering/mapper / DoubleValidator

Method DoubleValidator

src/gui/util_gui.cpp:61–66  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

59namespace OpenOrienteering {
60
61DoubleValidator::DoubleValidator(double bottom, double top, QObject* parent, int decimals)
62: QDoubleValidator(bottom, top, decimals, parent)
63{
64 // Don't cause confusion, accept only English formatting
65 setLocale(QLocale(QLocale::English));
66}
67
68
69DoubleValidator::~DoubleValidator() = default;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected