Class: QgsScaleMethodWidget¶
A widget which lets the user select from scale calculation methods.
Added in version 3.44.
Class Hierarchy¶
Base classes¶
Methods
Returns the selected scale method. |
|
Sets the selected blend mode. |
Signals
Emitted when the selected method is changed. |
- class qgis.gui.QgsScaleMethodWidget[source]¶
Bases:
QWidget
- __init__(parent: QWidget | None = None)
Constructor for QgsScaleMethodWidget, with the specified
parent
widget- Parameters:
parent (Optional[QWidget] = None)
- scaleMethod(self) Qgis.ScaleCalculationMethod [source]¶
Returns the selected scale method.
See also
See also
- Return type:
- setScaleMethod(self, method: Qgis.ScaleCalculationMethod)[source]¶
Sets the selected blend mode.
See also
See also
- Parameters:
method (Qgis.ScaleCalculationMethod)