Add unti support to Sketcher
This commit is contained in:
@@ -26,6 +26,7 @@
|
||||
|
||||
#ifdef _MSC_VER
|
||||
# include <boost/cstdint.hpp>
|
||||
# include <QString>
|
||||
#else
|
||||
# include <stdint.h>
|
||||
#endif
|
||||
@@ -74,9 +75,9 @@ public:
|
||||
const UnitSignature & getSignature(void)const {return Sig;}
|
||||
bool isEmpty(void)const;
|
||||
|
||||
std::string getString(void) const;
|
||||
QString getString(void) const;
|
||||
/// get the type as an string such as "Area", "Length" or "Pressure".
|
||||
std::string getTypeString(void) const;
|
||||
QString getTypeString(void) const;
|
||||
|
||||
/** Predefined Unit types. */
|
||||
//@{
|
||||
|
||||
Reference in New Issue
Block a user