Class: QgsPixmapLabel¶
Shows a pixmap and adjusts its size to the space given to the widget by the layout and keeping its aspect ratio.
Class Hierarchy¶
Base classes¶
- class qgis.gui.QgsPixmapLabel[source]¶
Bases:
QLabel- __init__(parent: QWidget | None = None)
Constructor for QgsPixmapLabel
- Parameters:
parent (Optional[QWidget] = None)