Class: QgsNumericFormatConfigurationWidgetFactory

Interface base class for factories for numeric format configuration widgets.

Added in version 3.12.

Note

This is an abstract class, with methods which must be implemented by a subclass.

The following methods must be implemented: create()

Abstract Methods

create

Create a new configuration widget for a format.

class qgis.gui.QgsNumericFormatConfigurationWidgetFactory[source]

Bases: object

abstract create(self, format: QgsNumericFormat | None) QgsNumericFormatWidget | None[source]

Create a new configuration widget for a format.

Parameters:

format (Optional[QgsNumericFormat])

Return type:

Optional[QgsNumericFormatWidget]