Class: QgsSettingsEditorWidgetWrapperTemplateQgsSettingsEntryIntegerQSpinBoxintBase¶
- class qgis.gui.QgsSettingsEditorWidgetWrapperTemplateQgsSettingsEntryIntegerQSpinBoxintBase¶
Bases:
QgsSettingsEditorWidgetWrapper
This class is a base factory of editor for settings
New in version 3.32.
QgsSettingsEditorWidgetWrapperTemplateQgsSettingsEntryIntegerQSpinBoxintBase(parent: QObject = None) Constructor
Methods
- param editor:
To be re-implemented to implemeent type specific configuration (e.g.
- param parent:
- param parent:
Returns the editor
- rtype:
str
- rtype:
bool
- rtype:
bool
- param value:
Sets the widget value
Returns the setting
Returns the widget value
- rtype:
Any
- childEvent(self, QChildEvent)¶
- configureEditorPrivate(self, editor: QWidget, setting: QgsSettingsEntryBase) bool ¶
- Parameters:
editor (QWidget) –
setting (QgsSettingsEntryBase) –
- 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:
- customEvent(self, QEvent)¶
- disconnectNotify(self, QMetaMethod)¶
- editor(self) QSpinBox ¶
Returns the editor
- Return type:
QSpinBox
- 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: int) bool ¶
Sets the widget value
- Parameters:
value (int) –
- Return type:
bool
- setting(self) QgsSettingsEntryInteger ¶
Returns the setting
- Return type:
- timerEvent(self, QTimerEvent)¶
- valueFromWidget(self) int ¶
Returns the widget value
- Return type:
int
- variantValueFromWidget(self) Any ¶
- Return type:
Any