Subgroup: other

2.53.83. Class: QgsWidgetWrapper

class qgis.gui.QgsWidgetWrapper(QgsVectorLayer, editor: QWidget = None, parent: QWidget = None)

Bases: PyQt5.QtCore.QObject

class Property

Bases: int

RootPath = 0
config(self, str, defaultVal: Any = None) → Any

config(self) -> Dict[str, Any]

context(self) → QgsAttributeEditorContext
createWidget(self, QWidget) → QWidget
dataDefinedProperties(self) → QgsPropertyCollection
fromWidget(QWidget) → QgsWidgetWrapper
initWidget(self, QWidget)
layer(self) → QgsVectorLayer
propertyDefinitions() → object
setConfig(self, Dict[str, Any])
setContext(self, QgsAttributeEditorContext)
setDataDefinedProperties(self, QgsPropertyCollection)
setEnabled(self, bool)
setFeature(self, QgsFeature)
valid(self) → bool
widget(self) → QWidget