mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-07-31 07:18:25 +02:00
[common] introduce ListModel
*qt: for now, use QObjectListModel for both Dict and List models
This commit is contained in:
parent
d22c2f7f8e
commit
d0c0a28d5d
3 changed files with 31 additions and 4 deletions
|
@ -1,7 +1,7 @@
|
|||
import meshroom
|
||||
|
||||
Model = None
|
||||
DictModel = None
|
||||
ListModel = None
|
||||
Slot = None
|
||||
Signal = None
|
||||
Property = None
|
||||
|
@ -10,10 +10,10 @@ Variant = None
|
|||
|
||||
if meshroom.backend == meshroom.Backend.PYSIDE:
|
||||
# PySide types
|
||||
from .qt import DictModel, Slot, Signal, Property, BaseObject, Variant
|
||||
from .qt import DictModel, ListModel, Slot, Signal, Property, BaseObject, Variant
|
||||
elif meshroom.backend == meshroom.Backend.STANDALONE:
|
||||
# Core types
|
||||
from .core import DictModel, Slot, Signal, Property, BaseObject, Variant
|
||||
from .core import DictModel, ListModel, Slot, Signal, Property, BaseObject, Variant
|
||||
|
||||
|
||||
class _BaseModel:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue