mirror of
https://github.com/slint-ui/slint.git
synced 2025-08-30 15:17:25 +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 slint
|
||||||
import typing
|
import typing
|
||||||
|
import enum
|
||||||
import os
|
import os
|
||||||
|
|
||||||
class ButtonColors:
|
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: ...
|
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:
|
class PrinterQueue:
|
||||||
cancel_job: typing.Callable[[float], None]
|
cancel_job: typing.Callable[[float], None]
|
||||||
pause_job: typing.Callable[[float], None]
|
pause_job: typing.Callable[[float], None]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue