Yann Lanthony
d0c0a28d5d
[common] introduce ListModel
...
*qt: for now, use QObjectListModel for both Dict and List models
2017-10-23 19:55:32 +02:00
Yann Lanthony
2a213b70cf
[common] add 'parent' field to CoreObject
...
useful to match QObject's API
2017-10-23 19:55:32 +02:00
Yann Lanthony
1e306f8408
rename Model to DictModel + augment API
...
* add "update" and "reset" methods
* core: no more default keyAttrName
* qt: if keyAttrName is empty, don't register items in internal dictionnary
2017-10-23 19:54:55 +02:00
Yann Lanthony
9c7d0c1b1c
[desc] Attribute inherits BaseObject and expose members as properties
...
* also expose graph.Attribute's desc as a property
* introduce Variant in data structure backend API
2017-10-23 15:07:09 +02:00
Fabien Castan
540fe3d47f
[common] CoreModel: raise an error in getter if the parameter does not exist
2017-10-16 12:24:00 +02:00
Yann Lanthony
78c4b7f4f2
[common] add 'connect' method to CoreSignal
...
For now, callbacks are not triggered when 'emit' is called, since we might not need this level of update when using the non-UI version of meshroom.
TODO: Make sure of this
2017-10-02 15:53:59 +02:00
Fabien Castan
2fcdc586a6
[bin] fix statistics
2017-10-02 14:56:36 +02:00
Yann Lanthony
547e6c93b6
rename "types" to "common" to avoid name conflict
...
types is already a standard python package
2017-09-25 20:04:41 +02:00