Class: QgsSettingsEditorWidgetWrapperTemplateQgsSettingsEntryDoubleQDoubleSpinBoxdoubleBase¶
This class is a base factory of editor for settings
Added in version 3.32.
Class Hierarchy¶
Base classes¶
Base class for settings editor wrappers |
|
Subclasses¶
This class is a factory of editor for double settings with a double spin |
Methods
To be re-implemented to implemeent type specific configuration (e.g. opacity for colors). |
|
Returns the editor |
|
Sets the widget value |
|
Returns the setting |
|
Returns the widget value |
- class qgis.gui.QgsSettingsEditorWidgetWrapperTemplateQgsSettingsEntryDoubleQDoubleSpinBoxdoubleBase¶
Bases:
QgsSettingsEditorWidgetWrapper
- __init__(parent: QObject | None = None)
Constructor
- Parameters:
parent (Optional[QObject] = None)
- configureEditorPrivateImplementation(self)¶
To be re-implemented to implemeent type specific configuration (e.g. opacity for colors)
- editor(self) QDoubleSpinBox | None ¶
Returns the editor
- Return type:
Optional[QDoubleSpinBox]
- setWidgetValue(self, value: float) bool ¶
Sets the widget value
- Parameters:
value (float)
- Return type:
bool
- setting(self) QgsSettingsEntryDouble | None ¶
Returns the setting
- Return type:
Optional[QgsSettingsEntryDouble]
- valueFromWidget(self) float ¶
Returns the widget value
- Return type:
float