mirror of
https://github.com/slint-ui/slint.git
synced 2025-09-30 22:01:13 +00:00
Python: Expose the Model and ListModel in slint
This commit is contained in:
parent
3e66b98121
commit
14b371beff
1 changed files with 3 additions and 0 deletions
|
@ -4,6 +4,7 @@
|
||||||
from . import slint as native
|
from . import slint as native
|
||||||
import types
|
import types
|
||||||
import logging
|
import logging
|
||||||
|
from . import models
|
||||||
|
|
||||||
|
|
||||||
class CompileError(Exception):
|
class CompileError(Exception):
|
||||||
|
@ -151,3 +152,5 @@ Image = native.PyImage
|
||||||
Color = native.PyColor
|
Color = native.PyColor
|
||||||
Brush = native.PyBrush
|
Brush = native.PyBrush
|
||||||
Model = native.PyModelBase
|
Model = native.PyModelBase
|
||||||
|
ListModel = models.ListModel
|
||||||
|
Model = models.Model
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue