nodes: implemented short name

Nodes can provide "short" names for use in the node graph, distinct from their
full names shown everywhere else.
This commit is contained in:
itsmattkc
2020-04-29 14:33:57 +10:00
parent ff1a470aa0
commit 999e841bc7
11 changed files with 45 additions and 1 deletions
+2
View File
@@ -35,6 +35,7 @@ public:
NodeMetaReader(const QString& xml_meta_filename);
QString Name() const;
QString ShortName() const;
const QString& id() const;
QString Category() const;
QString Description() const;
@@ -67,6 +68,7 @@ private:
QString xml_filename_;
LanguageMap names_;
LanguageMap short_names_;
LanguageMap descriptions_;
LanguageMap categories_;
QMap<QString, LanguageMap > param_names_;