Class: QgsSettingsEditorWidgetWrapperTemplateQgsSettingsEntryDoubleQDoubleSpinBoxdoubleBase

class qgis.gui.QgsSettingsEditorWidgetWrapperTemplateQgsSettingsEntryDoubleQDoubleSpinBoxdoubleBase

Bases: QgsSettingsEditorWidgetWrapper

This class is a base factory of editor for settings

New in version 3.32.

QgsSettingsEditorWidgetWrapperTemplateQgsSettingsEntryDoubleQDoubleSpinBoxdoubleBase(parent: QObject = None) Constructor

Methods

childEvent

configureEditorPrivate

param editor:

configureEditorPrivateImplementation

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

connectNotify

createEditorPrivate

param parent:

createWrapper

param parent:

customEvent

disconnectNotify

editor

Returns the editor

id

rtype:

str

isSignalConnected

receivers

sender

senderSignalIndex

setSettingFromWidget

rtype:

bool

setWidgetFromSetting

rtype:

bool

setWidgetFromVariant

param value:

setWidgetValue

Sets the widget value

setting

Returns the setting

timerEvent

valueFromWidget

Returns the widget value

variantValueFromWidget

rtype:

Any

childEvent(self, QChildEvent)
configureEditorPrivate(self, editor: QWidget, setting: QgsSettingsEntryBase) bool
Parameters:
Return type:

bool

configureEditorPrivateImplementation(self)

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

connectNotify(self, QMetaMethod)
createEditorPrivate(self, parent: QWidget = None) QWidget
Parameters:

parent (QWidget = None) –

Return type:

QWidget

createWrapper(self, parent: QObject = None) QgsSettingsEditorWidgetWrapper
Parameters:

parent (QObject = None) –

Return type:

QgsSettingsEditorWidgetWrapper

customEvent(self, QEvent)
disconnectNotify(self, QMetaMethod)
editor(self) QDoubleSpinBox

Returns the editor

Return type:

QDoubleSpinBox

id(self) str
Return type:

str

isSignalConnected(self, QMetaMethod) bool
receivers(self, PYQT_SIGNAL) int
sender(self) QObject
senderSignalIndex(self) int
setSettingFromWidget(self) bool
Return type:

bool

setWidgetFromSetting(self) bool
Return type:

bool

setWidgetFromVariant(self, value: Any)
Parameters:

value (Any) –

setWidgetValue(self, value: float) bool

Sets the widget value

Parameters:

value (float) –

Return type:

bool

setting(self) QgsSettingsEntryDouble

Returns the setting

Return type:

QgsSettingsEntryDouble

timerEvent(self, QTimerEvent)
valueFromWidget(self) float

Returns the widget value

Return type:

float

variantValueFromWidget(self) Any
Return type:

Any