Class: QgsPixmapLabel¶
The QgsPixmapLabel
class 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¶
Methods
Clears any label contents. |
|
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)