enum in generated file

This commit is contained in:
Simon Hausmann 2025-07-08 16:39:12 +02:00
parent fc50bd6806
commit c6f47e0bed

View file

@ -2,6 +2,7 @@
import slint
import typing
import enum
import os
class ButtonColors:
@ -49,6 +50,14 @@ class PrinterQueueItem:
def __init__(self, *, owner: typing.Optional[str] = None, pages: typing.Optional[float] = None, progress: typing.Optional[float] = None, size: typing.Optional[str] = None, status: typing.Optional[str] = None, submission_date: typing.Optional[str] = None, title: typing.Optional[str] = None) -> None: ...
class SubPage(enum.StrEnum):
None_ = "None"
Print = "Print"
Scan = "Scan"
Copy = "Copy"
Usb = "Usb"
class PrinterQueue:
cancel_job: typing.Callable[[float], None]
pause_job: typing.Callable[[float], None]