Class: QgsAttributeTypeLoadDialog¶
Class Hierarchy¶
Base classes¶
Methods
Overloaded accept method which will write the feature field values, then delegate to QDialog.accept() |
|
Returns |
|
Sets predefined vector layer for selection of data |
|
Returns the value map which is currently active. |
- class qgis.gui.QgsAttributeTypeLoadDialog(vl: QgsVectorLayer | None)[source]¶
Bases:
QDialog
- accept(self)[source]¶
Overloaded accept method which will write the feature field values, then delegate to QDialog.accept()
- insertNull(self) bool [source]¶
Returns
True
if the “Add NULL value” checkbox has been checked.- Return type:
bool
- Returns:
True
if the “Add NULL value” checkbox has been checked.
- setVectorLayer(self, layer: QgsVectorLayer | None)[source]¶
Sets predefined vector layer for selection of data
- Parameters:
layer (Optional[QgsVectorLayer]) – Vector layer which is to be set as predefined one
- valueMap(self) Dict[str, Any] ¶
Returns the value map which is currently active.
- Return type:
Dict[str, Any]
- Returns:
value map of values selected from layer