Class: QgsCheckBoxFieldFormatter¶
- class qgis.core.QgsCheckBoxFieldFormatter¶
Bases:
QgsFieldFormatter
Field formatter for a checkbox field.
Added in version 3.10.
QgsCheckBoxFieldFormatter() Constructor for QgsCheckBoxFieldFormatter.
QgsCheckBoxFieldFormatter(
QgsCheckBoxFieldFormatter
)- ShowStoredValues = 1¶
- ShowTrueFalse = 0¶
- class TextDisplayMethod¶
Bases:
int
- id(self) str ¶
- Return type:
str
- representValue(self, layer: QgsVectorLayer, fieldIndex: int, config: Dict[str, Any], cache: Any, value: Any) str ¶
- Parameters:
layer (QgsVectorLayer)
fieldIndex (int)
config (Dict[str)
cache (Any)
value (Any)
- Return type:
str