Class: QgsLegendPatchShapeDialog¶
A dialog for configuring a custom legend patch shape.
Added in version 3.14.
Class Hierarchy¶
Base classes¶
Methods
Returns a reference to the dialog's button box. |
|
Returns the legend patch shape defined by the dialog. |
- class qgis.gui.QgsLegendPatchShapeDialog[source]¶
Bases:
QDialog
- __init__(shape: QgsLegendPatchShape, parent: QWidget | None = None)
Constructor for QgsLegendPatchShapeDialog, initially showing the specified
shape
.- Parameters:
shape (QgsLegendPatchShape)
parent (Optional[QWidget] = None)
- buttonBox(self) QDialogButtonBox | None [source]¶
Returns a reference to the dialog’s button box.
- Return type:
Optional[QDialogButtonBox]
- shape(self) QgsLegendPatchShape [source]¶
Returns the legend patch shape defined by the dialog.
- Return type: