Class: QgsCheckBoxFieldFormatter¶
- class qgis.core.QgsCheckBoxFieldFormatter¶
Bases:
QgsFieldFormatter
Constructor for QgsCheckBoxFieldFormatter.
QgsCheckBoxFieldFormatter(
QgsCheckBoxFieldFormatter
)Field formatter for a checkbox field.
New in version 3.10:
Methods
- rtype
str
- param layer
Attributes
- 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