Python: Expose the Model and ListModel in slint

This commit is contained in:
Simon Hausmann 2024-03-06 16:21:23 +01:00
parent 3e66b98121
commit 14b371beff

View file

@ -4,6 +4,7 @@
from . import slint as native
import types
import logging
from . import models
class CompileError(Exception):
@ -151,3 +152,5 @@ Image = native.PyImage
Color = native.PyColor
Brush = native.PyBrush
Model = native.PyModelBase
ListModel = models.ListModel
Model = models.Model