Class: QgsSettingsEditorWidgetWrapperTemplateQgsSettingsEntryIntegerQSpinBoxintBase

This class is a base factory of editor for settings

Added in version 3.32.

Class Hierarchy

Inheritance diagram of qgis.gui.QgsSettingsEditorWidgetWrapperTemplateQgsSettingsEntryIntegerQSpinBoxintBase

Base classes

QgsSettingsEditorWidgetWrapper

Base class for settings editor wrappers

QObject

Subclasses

QgsSettingsIntegerSpinBoxWrapper

This class is a factory of editor for integer settings with a spin box

Methods

configureEditorPrivateImplementation

To be re-implemented to implemeent type specific configuration (e.g. opacity for colors).

editor

Returns the editor

setWidgetValue

Sets the widget value

setting

Returns the setting

valueFromWidget

Returns the widget value

class qgis.gui.QgsSettingsEditorWidgetWrapperTemplateQgsSettingsEntryIntegerQSpinBoxintBase

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) QSpinBox | None

Returns the editor

Return type:

Optional[QSpinBox]

setWidgetValue(self, value: int) bool

Sets the widget value

Parameters:

value (int)

Return type:

bool

setting(self) QgsSettingsEntryInteger | None

Returns the setting

Return type:

Optional[QgsSettingsEntryInteger]

valueFromWidget(self) int

Returns the widget value

Return type:

int