MCPcopy Create free account
hub / github.com/FreeCAD/FreeCAD / getQuantityString

Method getQuantityString

src/Gui/InputField.cpp:507–510  ·  view source on GitHub ↗

get stored, valid quantity as a string

Source from the content-addressed store, hash-verified

505
506/// get stored, valid quantity as a string
507QString InputField::getQuantityString() const
508{
509 return QString::fromStdString(actQuantity.getUserString());
510}
511
512/// set, validate and display quantity from a string. Must match existing units.
513void InputField::setQuantityString(const QString& text)

Callers

nothing calls this directly

Calls 1

getUserStringMethod · 0.45

Tested by

no test coverage detected