ui: preparations for user study
* added sample code * bigger and closed arrow for inheritance edge * fixed code hover * lightened scope colors * fixed interrupted scope ranges to show all lines * fixed edge creation to correctly show recursion * prevent aggregation edge number from floating around * scroll to top when changing codesnippets
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
#include "qt/element/QtCodeFileList.h"
|
||||
|
||||
#include <QScrollBar>
|
||||
#include <QVBoxLayout>
|
||||
|
||||
#include "data/location/TokenLocationFile.h"
|
||||
@@ -65,6 +66,7 @@ void QtCodeFileList::addCodeSnippet(
|
||||
void QtCodeFileList::clearCodeSnippets()
|
||||
{
|
||||
m_files.clear();
|
||||
this->verticalScrollBar()->setValue(0);
|
||||
}
|
||||
|
||||
const std::vector<Id>& QtCodeFileList::getActiveTokenIds() const
|
||||
|
||||
Reference in New Issue
Block a user