added function to convert a string to a data type

Used for external node XML parsing.
This commit is contained in:
itsmattkc
2019-12-15 02:36:15 +11:00
parent ce8c77754d
commit 7d910e8a4f
2 changed files with 36 additions and 0 deletions
+5
View File
@@ -342,6 +342,11 @@ public:
*/
static QByteArray ValueToBytes(const DataType &type, const QVariant& value);
/**
* @brief Convert a string to a data type
*/
static DataType StringToDataType(const QString& s);
signals:
/**
* @brief Signal emitted when an edge is added to this parameter