Skip to content

PythonQt.QtGui.QPictureIO

QPictureIO

PythonQtInstanceWrapper object

Native bases: PythonQtInstanceWrapper

Supplemental documentation: Qt 5 reference:

Detailed Description

QPictureIO contains a QIODevice object that is used for picture data I/O. The programmer can install new picture file formats in addition to those that Qt provides.

You don't normally need to use this class; QPicture::load(), QPicture::save().

Source: https://doc.qt.io/archives/qt-5.15/qpictureio.html

Complete member index

Every captured member retains its own identity. Identical captured declaration text is linked once; this does not establish native inheritance or interchangeable objects.

Member Kind Signature Summary
__init__ function (self, *args: Any, **kwargs: Any) -> None Native constructor; consult class documentation for supported overloads. (shared captured text)
className function (self, *args: Any, **kwargs: Any) -> Any Return the classname of the object (shared captured text)
delete function (self, *args: Any, **kwargs: Any) -> Any Deletes the C++ object (at your own risk, my friend!) (shared captured text)
description function (self) -> str X.description() -> str
fileName function (self) -> str X.fileName() -> str
format function (self) -> str X.format() -> int
gamma function (self) -> float X.gamma() -> float
help function (self, *args: Any, **kwargs: Any) -> Any Shows the help of available methods for this class (shared captured text)
inherits function (self, *args: Any, **kwargs: Any) -> Any Returns if the class inherits or is of given type name (shared captured text)
inputFormats function (self) -> Any Returns a sorted list of picture formats that are supported for picture input.
ioDevice function (self) -> Any X.ioDevice() -> PythonQt.QtCore.QIODevice
outputFormats function (self) -> Any Returns a sorted list of picture formats that are supported for picture output.
parameters function (self) -> str X.parameters() -> int
picture function (self) -> Any X.picture() -> PythonQt.QtGui.QPicture
pictureFormat function (self, arg__1: Any) -> Any X.pictureFormat(arg__1) -> PythonQt.QtCore.QByteArray
quality function (self) -> int X.quality() -> int
read function (self) -> bool X.read() -> bool
setDescription function (self, arg__1: str) -> None Sets the picture description string for picture handlers that support picture descriptions to description.
setFileName function (self, arg__1: str) -> None Sets the name of the file to read or write an picture from to fileName.
setFormat function (self, arg__1: str) -> None Sets the picture format to format for the picture to be read or written.
setGamma function (self, arg__1: float) -> None Sets the gamma value at which the picture will be viewed to gamma.
setIODevice function (self, arg__1: Any) -> None Sets the IO device to be used for reading or writing an picture.
setParameters function (self, arg__1: str) -> None Sets the picture's parameter string to parameters.
setPicture function (self, arg__1: Any) -> None Sets the picture to picture.
setQuality function (self, arg__1: int) -> None Sets the quality of the written picture to q, related to the compression ratio.
setStatus function (self, arg__1: int) -> None Sets the picture IO status to status.
status function (self) -> int X.status() -> int
write function (self) -> bool X.write() -> bool