Commit graph

17 commits

Author SHA1 Message Date
Candice Bentéjac
2908aa94a3 [Controls] Clean-up: Harmonize syntax across all files 2023-11-06 16:28:22 +01:00
Candice Bentéjac
9b5dd40b02 [qml] Qt5.15: Upgrade all QtQuick modules 2023-07-03 12:11:29 +02:00
Loïc Vital
24f31213cd [ui] use grey-green-yellow-red for duration color scale 2022-10-11 11:46:32 +02:00
Loïc Vital
6250190519 [ui] default value for undefined log-line to remove qml warnings 2022-10-04 11:06:04 +02:00
Loïc Vital
3e2478bd24 [ui] show tooltip when hovering over line number or color bar 2022-10-04 10:54:00 +02:00
Loïc Vital
f4b8cb080d [ui] interpolated color scale from grey to red 2022-10-03 17:55:28 +02:00
Loïc Vital
5b973cb349 [ui] using coherent format for elapsed time 2022-10-03 16:26:57 +02:00
Loïc Vital
c2f8c0f97a [ui] color bar fills line heigt 2022-10-03 16:11:08 +02:00
Loïc Vital
d4bdbeef12 [ui] some comments 2022-09-30 12:24:02 +02:00
Loïc Vital
627664e167 [ui] add tooltip on lineNumber Labels to show elapsed time 2022-09-30 11:59:40 +02:00
Loïc Vital
e7c84b9483 [ui] use ListModel for storing log-line and duration to avoid evaluation order issues 2022-09-30 11:06:41 +02:00
Loïc Vital
7b286ff901 [ui] parse log lines to find duration when possible and color line number accordingly 2022-09-27 18:21:18 +02:00
Yann Lanthony
b9999c01eb
[ui] Update MaterialToolButton style
* flatten the button 
* color its icon when checked
2019-09-11 10:49:09 +02:00
Yann Lanthony
52361d0b86
[ui] TextFileViewer: wait for request completion before sending a new one
On auto-realod mode, only trigger a new request when the last one has been completed. Avoids requests loops on slow filesystems that can lead to UI freezes.
2019-07-08 20:04:22 +02:00
Yann Lanthony
55c9e3063d
[ui] TextFileViewer: simplify position restoring when source changes
Remove 'keepPosition' parameter: always try to reset position as close as possible to the previous state.
2019-05-15 20:17:09 +02:00
Yann Lanthony
17556427fd
[ui] NodeLog: PySide2 5.11 compatibility fixes
* downgrade imports to work with versions prior to 5.12
* remove ES7 syntax
2019-05-09 18:18:48 +02:00
Yann Lanthony
55dba55d19
[ui] New TextFileViewer for displaying log files
Introduce a new TextFileViewer component with auto-reload feature based on a ListView instead of a TextArea for performance reasons. Uses the text content split on line breaks as ListView's model.
Features: 
 * auto-scroll to bottom
 * display line numbers
 * customizable line delegates (e.g.: display a real progress bar)
 * color lines according to log level
2019-05-07 11:47:09 +02:00