ui: Added custom trail dialog (issue #249)

* open custom trail dialg via button in top of trail controls
* search from symbol to symbol or all referenced/referencing of symbol
* define search depth with slider
* define horizontal/vertical layout
* define node and edge types
* renamed depth graph to trail in graph ui
* added custom trail UI tests

fortune cookie message = A happy surprise is waiting for you.
This commit is contained in:
Eberhard Graether
2019-07-29 11:25:34 +02:00
parent 6a2c59f3e5
commit 68c9782e33
54 changed files with 1740 additions and 130 deletions
@@ -0,0 +1,64 @@
* {
color: <color:custom_trail/text>;
}
#panelA {
background: <color:custom_trail/background>;
}
#panelB, #panelB2 {
background: <color:custom_trail/alt_background>;
border-top: 1px solid <color:custom_trail/separator>;
border-bottom: 1px solid <color:custom_trail/separator>;
}
#panelB2 {
border-bottom: none
}
#search_box_container {
border-color: <color:custom_trail/separator>;
border-radius: 8px;
border-width: 1px;
}
#search_box_container:disabled {
background: <color:custom_trail/background_disabled>;
border-color: <color:custom_trail/background_disabled>;
}
#search_box:disabled {
color: <color:custom_trail/text_disabled>;
}
#button, #button_small {
background: <color:custom_trail/button/default/background>;
border: 1px solid <color:custom_trail/button/default/border>;
border-radius: 8px;
color: <color:custom_trail/button/default/text>;
padding: 3px 8px 2px;
font-size: <setting:font_size+1>px;
min-width: 5em;
}
#button_small {
border-radius: 6px;
font-size: <setting:font_size-1>px;
min-width: 4em;
}
#button:hover, #button_small:hover {
background: <color:custom_trail/button/hover/background>;
border-color: <color:custom_trail/button/hover/border>;
color: <color:custom_trail/button/hover/text>;
}
#button:disabled, #button_small:disabled {
background: <color:custom_trail/button/disabled/background>;
border-color: <color:custom_trail/button/disabled/border>;
color: <color:custom_trail/button/disabled/text>;
}
#error {
color: red;
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 532 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

+4 -4
View File
@@ -11,7 +11,7 @@
background-color: transparent;
}
QWidget#search_box_container {
#search_box_container {
background: <color:search/field/background>;
border: 2px solid <color:search/field/border>;
border-bottom-left-radius: 12px;
@@ -20,19 +20,19 @@ QWidget#search_box_container {
margin-right: 2px;
}
QLineEdit#search_box {
#search_box {
background-color: transparent;
border: none;
color: <color:search/field/text>;
selection-background-color: <color:search/field/highlight>;
}
QWidget#search_box_highlight {
#search_box_highlight {
background-color: <color:search/field/highlight>;
border: none;
}
QAbstractItemView#search_box_popup {
#search_box_popup {
background-color: <color:search/popup/background>;
border: 1px solid <color:search/popup/line>;
color: <color:search/popup/text>;