mirror of
https://github.com/slint-ui/slint.git
synced 2025-08-28 22:34:08 +00:00
enum in generated file
This commit is contained in:
parent
fc50bd6806
commit
c6f47e0bed
1 changed files with 9 additions and 0 deletions
|
@ -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]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue