Commit graph

118 commits

Author SHA1 Message Date
Yann Lanthony
4d3509847a [ui] move label inside AttributeItemDelegate
* avoid duplication of code for displaying labels of GroupAttribute's children
* display input/output aligned to the left/right
* add a background to improve readability
2018-02-05 15:05:34 +01:00
Yann Lanthony
0354c3dc9b [ui] convert text value to Number before setting Int/FloatParams 2018-02-02 15:18:20 +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
e71a95de7a [ui] GraphEditor: invert TexField and Slider on Float/IntAttribute 2018-01-15 21:08:19 +01:00
Yann Lanthony
254b945728 [ui] GraphEditor: expose nodes depth strategy for auto-layout
add a ComboBox to chose between node's min/max depth for graph auto-layout
2018-01-15 15:27:21 +01:00
Yann Lanthony
b8f61bf033 [ui] display output 3D files when double clicking on a node
* iterate over output attributes to find an "obj" file
* make default material brighter
2018-01-05 12:14:32 +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
Yann Lanthony
728ddeeca3 [ui] move NodeChunks color "logic" in a javascript file
centralize status-based color in a file accessible from outside NodeChunk component
2017-12-28 21:15:13 +01:00
Yann Lanthony
a9bffb6c74 [ui] Node: elide attribute names + extend at mouse hover 2017-12-19 16:17:44 +01:00
Yann Lanthony
474e18ef4c [ui] GraphEditor: add filtering on node creation menu
* add TextField to filter node types by text
* node can be created by pressing enter/return when highlighted
* give active focus to selected node
* node can be deleted when selected by pressing Delete key
2017-12-19 11:54:09 +01:00
Yann Lanthony
69c2db4312 [ui] GraphEditor: use nodeTypesModel property in node creation menu
* was wrongly using global property _nodeTypes
2017-12-19 11:50:55 +01:00
Yann Lanthony
a26a3f9af5 [ui] GraphEditor: add node creation menu
* expose node types model as context property
* right clicking on an empty space inside the Graph Editor opens Node Creation menu with all available node types
2017-12-18 19:46:45 +01:00
Yann Lanthony
886ded7f19 [ui] create GraphEditor module 2017-12-12 17:47:27 +01:00