diff --git a/include/nodes/internal/NodeDataModel.hpp b/include/nodes/internal/NodeDataModel.hpp index e80c0739..ce2beff5 100644 --- a/include/nodes/internal/NodeDataModel.hpp +++ b/include/nodes/internal/NodeDataModel.hpp @@ -47,6 +47,8 @@ class NODE_EDITOR_PUBLIC NodeDataModel virtual QString caption() const = 0; + virtual QString tooltipText() = 0; + //Can add parameter std::string requestedInfo which we can set to be "inlet_temperature", "reactor_type", "volume", etc.. //this way if we need to show more info about the node we can just call this overridden method with what we need virtual QString extraInfo(int reactorType) { return ""; }