Class: QgsPixmapLabel¶
Shows a pixmap and adjusts its size to the space given to the widget by the layout and keeping its aspect ratio.
List of all members, including inherited members
Class Hierarchy¶
Base classes¶
Methods
Clears any label contents. |
Virtual Methods
In PyQGIS, only methods marked as virtual can be safely overridden in a Python subclass of QgsPixmapLabel. See the FAQ for more details.
Calculates the height for the given width. |
|
An optimal size for the widget. |
- class qgis.gui.QgsPixmapLabel[source]¶
Bases:
QLabel- __init__(parent: QWidget | None = None)
Constructor for QgsPixmapLabel
- Parameters:
parent (Optional[QWidget] = None)