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
+16
View File
@@ -110,3 +110,19 @@ void QtCodeFileList::updateFiles()
file->update();
}
}
void QtCodeFileList::focusToken(Id tokenId)
{
for (std::shared_ptr<QtCodeFile> file: m_files)
{
file->focusToken(tokenId);
}
}
void QtCodeFileList::defocusToken()
{
for (std::shared_ptr<QtCodeFile> file: m_files)
{
file->defocusToken();
}
}