Class: QgsBabelFormatRegistry¶
A registry for QgsAbstractBabelFormat
GPSBabel formats.
QgsBabelFormatRegistry
is not usually directly created, but
rather accessed through
QgsApplication.gpsBabelFormatRegistry()
.
Added in version 3.22.
Methods
Returns a registered device format by name. |
|
Returns a list of the names of all registered devices. |
|
Returns a map of device name to device format. |
|
Returns a file filter string representing all registered import formats. |
|
Returns a registered import format by name. |
|
Returns a registered import format by description. |
|
Returns a list of the names of all registered import formats. |
|
Reloads the registry's members from the currently stored configuration. |
- class qgis.core.QgsBabelFormatRegistry[source]¶
Bases:
object
- __init__()
Constructor for QgsBabelFormatRegistry.
The registry will automatically be populated with standard formats, and with devices previously configured and stored in QSettings.
- deviceFormat(self, name: str | None) QgsBabelGpsDeviceFormat | None [source]¶
Returns a registered device format by
name
.See also
- Parameters:
name (Optional[str])
- Return type:
Optional[QgsBabelGpsDeviceFormat]
- deviceNames(self) List[str] [source]¶
Returns a list of the names of all registered devices.
- Return type:
List[str]
- devices(self) Any ¶
Returns a map of device name to device format.
See also
See also
- Return type:
Any
- importFileFilter(self) str [source]¶
Returns a file filter string representing all registered import formats.
- Return type:
str
- importFormat(self, name: str | None) QgsBabelSimpleImportFormat | None [source]¶
Returns a registered import format by
name
.See also
See also
- Parameters:
name (Optional[str])
- Return type:
Optional[QgsBabelSimpleImportFormat]
- importFormatByDescription(self, description: str | None) QgsBabelSimpleImportFormat | None [source]¶
Returns a registered import format by
description
.See also
- Parameters:
description (Optional[str])
- Return type:
Optional[QgsBabelSimpleImportFormat]