ui: show tooltips when hovering nodes and edges

This commit is contained in:
Eberhard Graether
2015-09-24 16:18:23 +02:00
parent b8c95c5a20
commit ae27d8025b
10 changed files with 43 additions and 22 deletions
+3 -3
View File
@@ -185,13 +185,13 @@ std::string Edge::getTypeString(EdgeType type)
case EDGE_MEMBER:
return "child";
case EDGE_TYPE_OF:
return "type_use";
return "type_of";
case EDGE_RETURN_TYPE_OF:
return "return_type";
case EDGE_PARAMETER_TYPE_OF:
return "parameter_type";
case EDGE_TYPE_USAGE:
return "type_usage";
return "type_use";
case EDGE_INHERITANCE:
return "inheritance";
case EDGE_OVERRIDE:
@@ -199,7 +199,7 @@ std::string Edge::getTypeString(EdgeType type)
case EDGE_CALL:
return "call";
case EDGE_USAGE:
return "usage";
return "use";
case EDGE_TYPEDEF_OF:
return "typedef";
case EDGE_TEMPLATE_PARAMETER_OF:
+1 -1
View File
@@ -28,7 +28,7 @@ std::string Node::getTypeString(NodeType type)
case NODE_STRUCT:
return "struct";
case NODE_GLOBAL_VARIABLE:
return "global";
return "global_variable";
case NODE_FIELD:
return "field";
case NODE_FUNCTION: