Class: QgsSettingsEditorWidgetWrapperTemplateQgsSettingsEntryStringQLineEditQStringBase¶
- class qgis.gui.QgsSettingsEditorWidgetWrapperTemplateQgsSettingsEntryStringQLineEditQStringBase¶
Bases:
QgsSettingsEditorWidgetWrapper
This class is a base factory of editor for settings
Added in version 3.32.
QgsSettingsEditorWidgetWrapperTemplateQgsSettingsEntryStringQLineEditQStringBase(parent: Optional[QObject] = None) Constructor
Methods
- param editor:
To be re-implemented to implemeent type specific configuration (e.g. opacity for colors).
- 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, a0: QChildEvent | None)¶
- configureEditorPrivate(self, editor: QWidget | None, setting: QgsSettingsEntryBase | None) bool ¶
- Parameters:
editor (Optional[QWidget])
setting (Optional[QgsSettingsEntryBase])
- Return type:
bool
- configureEditorPrivateImplementation(self)¶
To be re-implemented to implemeent type specific configuration (e.g. opacity for colors)
- connectNotify(self, signal: QMetaMethod)¶
- createEditorPrivate(self, parent: QWidget | None = None) QWidget | None ¶
- Parameters:
parent (Optional[QWidget] = None)
- Return type:
Optional[QWidget]
- createWrapper(self, parent: QObject | None = None) QgsSettingsEditorWidgetWrapper | None ¶
- Parameters:
parent (Optional[QObject] = None)
- Return type:
Optional[QgsSettingsEditorWidgetWrapper]
- customEvent(self, a0: QEvent | None)¶
- disconnectNotify(self, signal: QMetaMethod)¶
- editor(self) QLineEdit | None ¶
Returns the editor
- Return type:
Optional[QLineEdit]
- id(self) str ¶
- Return type:
str
- isSignalConnected(self, signal: QMetaMethod) bool ¶
- receivers(self, signal: PYQT_SIGNAL) int ¶
- sender(self) QObject | None ¶
- 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: str | None) bool ¶
Sets the widget value
- Parameters:
value (Optional[str])
- Return type:
bool
- setting(self) QgsSettingsEntryString | None ¶
Returns the setting
- Return type:
Optional[QgsSettingsEntryString]
- timerEvent(self, a0: QTimerEvent | None)¶
- valueFromWidget(self) str ¶
Returns the widget value
- Return type:
str
- variantValueFromWidget(self) Any ¶
- Return type:
Any