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:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user