data: added Node type NODE_ENUM_CONSTANT

This commit is contained in:
Eberhard Graether
2015-02-10 14:28:53 +01:00
parent 0b9a2bf4a1
commit b8f6b4be4e
15 changed files with 49 additions and 37 deletions
@@ -41,6 +41,7 @@ QFont QtGraphNode::getFontForNodeType(Node::NodeType type)
case Node::NODE_UNDEFINED_VARIABLE:
case Node::NODE_GLOBAL_VARIABLE:
case Node::NODE_FIELD:
case Node::NODE_ENUM_CONSTANT:
font.setPixelSize(11);
break;
}
@@ -339,6 +340,7 @@ void QtGraphNode::setStyle()
useUndefinedColor = true;
case Node::NODE_GLOBAL_VARIABLE:
case Node::NODE_FIELD:
case Node::NODE_ENUM_CONSTANT:
if (m_isActive || m_isHovering)
{
color = "#62b29d";