PySide6.QtPositioning.QGeoPositionInfoSourceFactory

class QGeoPositionInfoSourceFactory

The QGeoPositionInfoSourceFactory class is a factory class used as the plugin interface for external providers of positioning data. More

Synopsis

Virtual methods

Note

This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE

Detailed Description

Each factory method takes a parameters argument, which allows to configure the created source.

abstract areaMonitor(parent, parameters)
Parameters:
  • parentQObject

  • parameters – Dictionary with keys of type .QString and values of type QVariant.

Return type:

QGeoAreaMonitorSource

Returns a new QGeoAreaMonitorSource associated with this plugin with parent parent, and using parameters as configuration parameters. Can also return 0, in which case the plugin loader will use the factory with the next highest priority.

abstract positionInfoSource(parent, parameters)
Parameters:
  • parentQObject

  • parameters – Dictionary with keys of type .QString and values of type QVariant.

Return type:

QGeoPositionInfoSource

Returns a new QGeoPositionInfoSource associated with this plugin with parent parent, and using parameters as configuration parameters. Can also return 0, in which case the plugin loader will use the factory with the next highest priority.

abstract satelliteInfoSource(parent, parameters)
Parameters:
  • parentQObject

  • parameters – Dictionary with keys of type .QString and values of type QVariant.

Return type:

QGeoSatelliteInfoSource

Returns a new QGeoSatelliteInfoSource associated with this plugin with parent parent, and using parameters as configuration parameters. Can also return 0, in which case the plugin loader will use the factory with the next highest priority.