diff options
author | albert-github <albert.tests@gmail.com> | 2018-06-07 17:39:36 (GMT) |
---|---|---|
committer | albert-github <albert.tests@gmail.com> | 2018-06-07 17:39:36 (GMT) |
commit | 56f6398447407a3826285e527cee547588e2e517 (patch) | |
tree | 3aaadc1f8df4c0186e6e9455c43e01d5af06655f /src | |
parent | dbb7838937e7bcbe129dd246438aeabfafc6be32 (diff) | |
download | Doxygen-56f6398447407a3826285e527cee547588e2e517.zip Doxygen-56f6398447407a3826285e527cee547588e2e517.tar.gz Doxygen-56f6398447407a3826285e527cee547588e2e517.tar.bz2 |
Bug 363762 - Tooltips are not shown in dot-generated graphs
Some graphs were still missing a tooltip in the root node (most notably the caller graphs), so were still displaying something like Node0.
Diffstat (limited to 'src')
-rw-r--r-- | src/dot.cpp | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/dot.cpp b/src/dot.cpp index 2db5ca9..5adc2ab 100644 --- a/src/dot.cpp +++ b/src/dot.cpp @@ -3483,9 +3483,10 @@ DotInclDepGraph::DotInclDepGraph(FileDef *fd,bool inverse) m_inclDepFileName = fd->includeDependencyGraphFileName(); m_inclByDepFileName = fd->includedByDependencyGraphFileName(); QCString tmp_url=fd->getReference()+"$"+fd->getOutputFileBase(); + QCString tooltip = fd->briefDescriptionAsTooltip(); m_startNode = new DotNode(m_curNodeNumber++, fd->docName(), - "", + tooltip, tmp_url.data(), TRUE // root node ); @@ -3812,9 +3813,10 @@ DotCallGraph::DotCallGraph(MemberDef *md,bool inverse) { name = md->qualifiedName(); } + QCString tooltip = md->briefDescriptionAsTooltip(); m_startNode = new DotNode(m_curNodeNumber++, linkToText(md->getLanguage(),name,FALSE), - "", + tooltip, uniqueId.data(), TRUE // root node ); @@ -4336,7 +4338,8 @@ DotGroupCollaboration::DotGroupCollaboration(GroupDef* gd) { QCString tmp_url = gd->getReference()+"$"+gd->getOutputFileBase(); m_usedNodes = new QDict<DotNode>(1009); - m_rootNode = new DotNode(m_curNodeNumber++, gd->groupTitle(), "", tmp_url, TRUE ); + QCString tooltip = gd->briefDescriptionAsTooltip(); + m_rootNode = new DotNode(m_curNodeNumber++, gd->groupTitle(), tooltip, tmp_url, TRUE ); m_rootNode->markAsVisible(); m_usedNodes->insert(gd->name(), m_rootNode ); m_edges.setAutoDelete(TRUE); |