ImageIOHandler
Base classes
| Name | Children | Inherits |
|---|---|---|
| QImageIOHandler PySide6.QtGui QImageIOHandler(self, /) -> None |
⋔ Inheritance diagram
graph TD
198191053["gui.ImageIOHandler"]
3989014069["QtGui.QImageIOHandler"]
37984305["Shiboken.Object"]
2751680898["builtins.object"]
3989014069 --> 198191053
37984305 --> 3989014069
2751680898 --> 37984305
🛈 DocStrings
Bases: mod
Defines the common image I/O interface for all image formats in Qt.
Source code in prettyqt/gui/imageiohandler.py
get_option(option: ImageOptionStr | mod.ImageOption) -> datatypes.Variant
Return the value assigned to option.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
option
|
ImageOptionStr | ImageOption
|
option to get |
required |
Source code in prettyqt/gui/imageiohandler.py
set_option(option: ImageOptionStr | mod.ImageOption, value: datatypes.Variant)
Set option to given value.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
option
|
ImageOptionStr | ImageOption
|
option to use |
required |
value
|
Variant
|
value to set |
required |
Source code in prettyqt/gui/imageiohandler.py
supports_option(option: ImageOptionStr | mod.ImageOption) -> bool
Return whether the image handler supports given option.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
option
|
ImageOptionStr | ImageOption
|
option to check |
required |