Class: QgsGeographicCoordinateNumericFormatDialog

A dialog which allows control over the properties of a QgsGeographicCoordinateNumericFormat.

Added in version 3.26.

QgsGeographicCoordinateNumericFormatDialog

QgsGeographicCoordinateNumericFormatDialog

Class Hierarchy

Inheritance diagram of qgis.gui.QgsGeographicCoordinateNumericFormatDialog

Base classes

QDialog

QWidget

QObject

QPaintDevice

Methods

format

Returns the format defined by the current settings in the dialog.

class qgis.gui.QgsGeographicCoordinateNumericFormatDialog[source]

Bases: QDialog

__init__(format: QgsNumericFormat | None, hidePrecisionControl: bool = False, parent: QWidget | None = None)

Constructor for QgsGeographicCoordinateNumericFormatDialog, initially showing the specified format.

Parameters:
  • format (Optional[QgsNumericFormat])

  • hidePrecisionControl (bool = False)

  • parent (Optional[QWidget] = None)

format(self) QgsGeographicCoordinateNumericFormat | None[source]

Returns the format defined by the current settings in the dialog.

Ownership of the returned object is transferred to the caller

Return type:

Optional[QgsGeographicCoordinateNumericFormat]