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:
@@ -91,6 +91,13 @@ public:
|
||||
*/
|
||||
virtual QString Name() const = 0;
|
||||
|
||||
/**
|
||||
* @brief Returns a shortened name of this node if applicable
|
||||
*
|
||||
* Defaults to returning Name() but can be overridden.
|
||||
*/
|
||||
virtual QString ShortName() const;
|
||||
|
||||
/**
|
||||
* @brief Return the unique identifier of the node
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user