ui: Added custom tooltipping to code and graph (issue #195)

* Tooltips show node type with access specifier, reference count and fully qualified name
* Fields and global variables include the type name
* Methods and functinos show whole signature. Gets broken into multiple lines if too long.

Included changes:

* Upgraded to C++14
* fixed clang warnings
* Pass location of .srctrlprj file to build.sh script to load on launch
* Split off QtCodeField for showing highlighted and annotated code fom QtCodeArea
* removed TokenComponentSignature
* added TaskDecoratorDelay

bug id = 195
This commit is contained in:
Eberhard Graether
2017-07-31 12:45:22 +02:00
parent 01b1e0d6f1
commit 01864b4d0c
79 changed files with 2340 additions and 1009 deletions
-2
View File
@@ -172,8 +172,6 @@
#code_area {
background-color: transparent;
color: <color:code/snippet/syntax/normal>;
font-family: "<setting:font_name>";
font-size: <setting:font_size>px;
selection-color: <color:code/snippet/selection/text>;
selection-background-color: <color:code/snippet/selection/background>;
}
+26
View File
@@ -0,0 +1,26 @@
#tooltip {
background-color: <color:code/file/background>;
border: 1px solid <color:code/file/background>;
}
#tooltip_title {
color: <color:code/file/title/text>;
padding: 3px;
font-size: <setting:font_size>px;
font-weight: bold;
}
#tooltip_references {
background-color: <color:code/file/ref_count/background>;
color: <color:code/file/ref_count/text>;
margin: 4px;
padding: 3px 5px;
border-radius: 8px;
font-size: <setting:font_size-2>px;
}
#tooltip_widget {
background-color: <color:code/snippet/background>;
padding: 3px;
color: <color:code/snippet/syntax/normal>;
}