ui: bidirectional hovering

hovering for graphview and codeview via messaging, hovering in one view will "hover" the equivalent in the other view
This commit is contained in:
Andreas Stallinger
2015-05-12 13:55:23 +02:00
parent 97345cc72f
commit a41c0e1b85
25 changed files with 302 additions and 10 deletions
@@ -51,6 +51,18 @@ void GraphController::handleMessage(MessageFinishedParsing* message)
getView()->clear();
}
#include <iostream>
void GraphController::handleMessage(MessageFocusIn* message)
{
getView()->focusToken(message->tokenId);
}
void GraphController::handleMessage(MessageFocusOut *message)
{
getView()->defocusToken(message->tokenId);
}
void GraphController::handleMessage(MessageGraphNodeExpand* message)
{
DummyNode* node = findDummyNodeRecursive(m_dummyNodes, message->tokenId);