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:
Eberhard Graether
2015-01-26 06:50:23 +01:00
parent 4775a87104
commit 016d692dda
7 changed files with 215 additions and 111 deletions
+2
View File
@@ -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