Commit graph

164 commits

Author SHA1 Message Date
Yann Lanthony
9cc70c8cff [ui] Reconstruction: images import and intrinsics update mechanism
* add methods to add images to the reconstruction (DropEvent or urls)
* explicitly call CameraInit's buildIntrinsics method
* update CameraInit with resulting views and intrinsics
2017-11-14 18:02:26 +01:00
Yann Lanthony
79209c5785 [ui] support connections on ListAttributes
* connection: append and connect to the new element
* disconnection: remove edge and delete element
2017-11-14 16:58:09 +01:00
Yann Lanthony
800314faa9 [ui] Reconstruction: add shortcut to push commands to the undo stack 2017-11-14 16:54:50 +01:00
Yann Lanthony
46463aa007 [ui] Reconstruction: catch errors on graph execution 2017-11-14 16:53:42 +01:00
Yann Lanthony
545952d3a9 [ui] minor fix on new() and clear()
* update graph after setting cacheDir
* clear graph before requesting its deletion on C++ side
2017-11-14 16:49:31 +01:00
Yann Lanthony
f6ae3ae057 [ui] support for appending multiple elements to a ListAttribute at once 2017-11-07 20:34:33 +01:00
Yann Lanthony
00366cda00 [ui] introduce first functional UI with a graph editor
First functional UI that allows to visualize, modify and execute a graph locally.
* use QtQuick Controls 2 + Shapes (Qt >=5.10)
* main menu to save/load a graph
2017-10-31 16:54:16 +01:00
Yann Lanthony
c30b92b695 [commands] add ListAttributeAppend/Remove commands 2017-10-24 19:04:04 +02:00
Yann Lanthony
81fe366365 [ui] add execute / stopExecution slots + 'computing' property
* graph computation is done in a separate Thread
* 'computing' relies on this thread's 'is_alive' status
2017-10-13 16:24:32 +02:00
Yann Lanthony
0a69e9f344 [ui] update core graph and clear undoStack after loading a mg file 2017-10-13 12:22:29 +02:00
Yann Lanthony
d34d6f27ec [ui] expose add/removeEdge as Slots 2017-10-13 12:21:22 +02:00
Yann Lanthony
7ddf86e6bc [ui] homogenize PySide imports 2017-10-13 12:12:00 +02:00
Yann Lanthony
e893a3dfc6 rename package 'processGraph' to 'core' 2017-10-09 12:16:20 +02:00
Yann Lanthony
48941a5782 [ui] first basic debugging UI + elementary commands
* nodes as a ListView (right click to delete a node)
* editable attributes 
* undo/redo for adding/removing nodes and attribute edition
2017-09-25 20:18:27 +02:00