Class: QgsCheckBoxFieldFormatter

class qgis.core.QgsCheckBoxFieldFormatter

Bases: QgsFieldFormatter

Constructor for QgsCheckBoxFieldFormatter.

QgsCheckBoxFieldFormatter(QgsCheckBoxFieldFormatter)

Field formatter for a checkbox field.

Methods

id

rtype

str

representValue

param layer

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