syng/typings/qasync.pyi

18 lines
535 B
Python
Raw Permalink Normal View History

from types import TracebackType
from typing import Optional
import PyQt6.QtWidgets
from asyncio import BaseEventLoop
2024-10-10 17:23:14 +02:00
class QApplication(PyQt6.QtWidgets.QApplication):
2024-10-10 17:23:14 +02:00
def __init__(self, argv: list[str]) -> None: ...
class QEventLoop(BaseEventLoop):
def __init__(self, app: QApplication) -> None: ...
def __enter__(self) -> None: ...
def __exit__(
self,
exc_type: Optional[type[BaseException]],
exc_value: Optional[BaseException],
traceback: Optional[TracebackType],
) -> None: ...