Commit graph

3 commits

Author SHA1 Message Date
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