Skip to content

GeoLocation

Qt Base Class: QGeoLocation

Signature: QGeoLocation(self) -> None QGeoLocation(self, other: PySide6.QtPositioning.QGeoLocation) -> None

Base classes

Name Children Inherits
QGeoLocation
PySide6.QtPositioning
QGeoLocation(self) -> None

⋔ Inheritance diagram

graph TD
  1473573458048["positioning.GeoLocation"]
  1473573333120["QtPositioning.QGeoLocation"]
  1473291690208["Shiboken.Object"]
  140713234304496["builtins.object"]
  1473573333120 --> 1473573458048
  1473291690208 --> 1473573333120
  140713234304496 --> 1473291690208

🛈 DocStrings

Bases: QGeoLocation

Source code in prettyqt\positioning\geolocation.py
class GeoLocation(QtPositioning.QGeoLocation):
    def get_address(self) -> positioning.GeoAddress:
        return positioning.GeoAddress(self.address())

    def get_coordinate(self) -> positioning.GeoCoordinate:
        return positioning.GeoCoordinate(self.coordinate())

    def get_bounding_shape(self) -> positioning.GeoShape:
        return positioning.GeoShape(self.boundingShape())