Add getPresentationValue function prototype

This commit is contained in:
Bob
2018-07-23 12:41:14 -03:00
committed by Yorik van Havre
parent 3f1216a58d
commit da41c0071b
+3
View File
@@ -95,6 +95,9 @@ public:
virtual void Restore(Base::XMLReader &/*reader*/);
virtual PyObject *getPyObject(void);
// Return presentation string. Will include units if HideUnits option is NOT selected. May still return units if rendered units are not the base units (i.e. a small dimension returned in mm instead of m). Only length untis may be hidden.
QString getPresentationString() const;
Base::Quantity getPresentationValue() const;
inline void setValue(double newValue) {