mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-25 09:26:16 +03:00
Fully document PIL.ImageQt
This commit is contained in:
parent
6566a73bcf
commit
1a72ba260a
|
@ -86,14 +86,6 @@ can be found here.
|
||||||
:undoc-members:
|
:undoc-members:
|
||||||
:show-inheritance:
|
:show-inheritance:
|
||||||
|
|
||||||
:mod:`ImageQt` Module
|
|
||||||
---------------------
|
|
||||||
|
|
||||||
.. automodule:: PIL.ImageQt
|
|
||||||
:members:
|
|
||||||
:undoc-members:
|
|
||||||
:show-inheritance:
|
|
||||||
|
|
||||||
:mod:`ImageSequence` Module
|
:mod:`ImageSequence` Module
|
||||||
---------------------------
|
---------------------------
|
||||||
|
|
||||||
|
|
20
docs/reference/ImageQt.rst
Normal file
20
docs/reference/ImageQt.rst
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
.. py:module:: PIL.ImageQt
|
||||||
|
.. py:currentmodule:: PIL.ImageQt
|
||||||
|
|
||||||
|
:py:mod:`ImageQt` Module
|
||||||
|
========================
|
||||||
|
|
||||||
|
The :py:mod:`ImageQt` module contains support for creating PyQt4 QImage objects
|
||||||
|
from PIL images.
|
||||||
|
|
||||||
|
.. versionadded:: 1.1.6
|
||||||
|
|
||||||
|
.. py:class:: ImageQt.ImageQt(image)
|
||||||
|
|
||||||
|
Creates an :py:class:`~PIL.ImageQt.ImageQt` object from a PIL
|
||||||
|
:py:class:`~PIL.Image.Image` object. This class is a subclass of
|
||||||
|
QtGui.QImage, which means that you can pass the resulting objects directly
|
||||||
|
to PyQt4 API functions and methods.
|
||||||
|
|
||||||
|
This operation is currently supported for mode 1, L, P, RGB, and RGBA
|
||||||
|
images. To handle other modes, you need to convert the image first.
|
|
@ -17,4 +17,5 @@ Reference
|
||||||
ImageOps
|
ImageOps
|
||||||
ImagePalette
|
ImagePalette
|
||||||
ImagePath
|
ImagePath
|
||||||
|
ImageQt
|
||||||
../PIL
|
../PIL
|
||||||
|
|
Loading…
Reference in New Issue
Block a user