Class: QgsSettingsEditorWidgetWrapperTemplateQgsSettingsEntryBoolQCheckBoxboolBase

class qgis.gui.QgsSettingsEditorWidgetWrapperTemplateQgsSettingsEntryBoolQCheckBoxboolBase

Bases: QgsSettingsEditorWidgetWrapper

This class is a base factory of editor for settings

New in version 3.32.

QgsSettingsEditorWidgetWrapperTemplateQgsSettingsEntryBoolQCheckBoxboolBase(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) QCheckBox

Returns the editor

Return type:

QCheckBox

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: bool) bool

Sets the widget value

Parameters:

value (bool) –

Return type:

bool

setting(self) QgsSettingsEntryBool

Returns the setting

Return type:

QgsSettingsEntryBool

timerEvent(self, QTimerEvent)
valueFromWidget(self) bool

Returns the widget value

Return type:

bool

variantValueFromWidget(self) Any
Return type:

Any