Commit graph

13 commits

Author SHA1 Message Date
Yann Lanthony
143b519dbd [ui] NodeLog: cross-platform monospace display
Specify multiple fixed size font families:
- Linux: "Monospace" 
- Windows: "Consolas" 
- OSX: "Monaco"
2018-09-06 15:56:52 +02:00
Yann Lanthony
2f2390e465 [ui] fix Palette propagation
* bugfix: in latest PySide2 versions, application palette is not properly applied to all QtQuick Controls 2 components. Force this by exposing QApplication palette and bind it to the root ApplicationWindow.
* rename all "palette" ids to "activePalette" to avoid clashes with "palette" property on QtQuick Controls 2
* use parent component palette when it makes sense to propagate active/disabled style (instead of always using Active SystemPalette)
2018-05-28 15:30:09 +02:00
Yann Lanthony
0249706018 [ui] add missing string paths to url conversions 2018-03-21 17:24:19 +01:00
Yann Lanthony
f1b42acc14 [ui] add FilepathHelper Python class to manipulate paths and QUrls
* avoid non-cross platform hacks to convert string path to urls
* use standard python API
2018-03-06 15:32:33 +01:00
Yann Lanthony
b9a1e57b79 [ui][log] reload file when auto-reload timer stops
useful to reload the file when status goes from RUNNING to ERROR/SUCCESS
2018-02-26 17:00:20 +01:00
Yann Lanthony
2cdc83f06f [ui] add string <--> file representation convertors
* convenient methods to conform strings to Qt file reprensentation using the "file:/" protocol prefix
* use those methodes when manipulating files
2018-02-26 16:59:25 +01:00
Yann Lanthony
b08a6d65bf [ui] logs: use Monospace font 2018-01-29 16:17:27 +01:00
Yann Lanthony
96d648d76d [ui] logs: reset text if file could not be opened 2018-01-29 16:16:04 +01:00
Yann Lanthony
817e286d8f [ui] logs: add button to control auto-refresh when chunk is running 2018-01-26 12:23:32 +01:00
Yann Lanthony
796551dc38 [ui] logs: don't reload unchanged file + improve position restoring
* in case the textArea changes, restore the scrollbar position to where it was (not only the cursor position)
2018-01-25 21:46:43 +01:00
Yann Lanthony
0bf2ffc4af [ui] logs: load first chunk's log by default 2018-01-25 21:36:44 +01:00
Yann Lanthony
5f72a8a4eb [ui] NodeLog: add initial log file read when chunk status changes 2018-01-03 16:00:27 +01:00
Yann Lanthony
36d2411d06 [ui] introduce NodeLog Component to monitor NodeChunks
* give access to Node's chunks log files (log, statistics, status) with auto-reload when current NodeChunk is being computed
* add tabs system in the AttributeEditor to switch between attributes edition and Node log
2017-12-28 21:37:26 +01:00