Skip to content

PlaceResult

Qt Base Class: QPlaceResult

Signature: QPlaceResult(self) -> None QPlaceResult(self, other: PySide6.QtLocation.QPlaceSearchResult) -> None

Base classes

Name Children Inherits
PlaceSearchResultMixin
prettyqt.location.placesearchresult
QPlaceResult
PySide6.QtLocation
QPlaceResult(self) -> None

⋔ Inheritance diagram

graph TD
  1473573481472["location.PlaceResult"]
  1473573478544["location.PlaceSearchResultMixin"]
  140713234304496["builtins.object"]
  1473573382896["QtLocation.QPlaceResult"]
  1473573376064["QtLocation.QPlaceSearchResult"]
  1473291690208["Shiboken.Object"]
  1473573478544 --> 1473573481472
  140713234304496 --> 1473573478544
  1473573382896 --> 1473573481472
  1473573376064 --> 1473573382896
  1473291690208 --> 1473573376064
  140713234304496 --> 1473291690208

🛈 DocStrings

Bases: PlaceSearchResultMixin, QPlaceResult

Represents a search result containing a place.

Source code in prettyqt\location\placeresult.py
class PlaceResult(location.PlaceSearchResultMixin, location.QPlaceResult):
    """Represents a search result containing a place."""

    def get_place(self) -> location.Place:
        return location.Place(self.place())