annotate stubs/PIL/ImageQt.pyi @ 2056:be860a233793

ide
author drewp@bigasterisk.com
date Fri, 13 May 2022 01:11:36 -0700
parents 3b2255e3576d
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1947
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
1 # Stubs for PIL.ImageQt (Python 3)
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
2 #
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
3 # NOTE: This dynamically typed stub was automatically generated by stubgen.
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
4
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
5 from PySide.QtGui import QImage
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
6 from typing import Any
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
7
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
8 qt_is_installed: bool
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
9 qt_version: Any
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
10
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
11 def rgb(r: Any, g: Any, b: Any, a: int = ...): ...
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
12 def fromqimage(im: Any): ...
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
13 def fromqpixmap(im: Any): ...
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
14 def align8to32(bytes: Any, width: Any, mode: Any): ...
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
15
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
16 class ImageQt(QImage):
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
17 def __init__(self, im: Any) -> None: ...
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
18
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
19 def toqimage(im: Any): ...
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
20 def toqpixmap(im: Any): ...