Skip to content

PlaceDetailsReply

Base classes

Name Children Inherits
PlaceReplyMixin
prettyqt.location.placereply
QPlaceDetailsReply
PySide6.QtLocation
QPlaceDetailsReply(self, /, parent: PySide6.QtCore.QObject | None \= None) -> None

⋔ Inheritance diagram

graph TD
  41830573["location.PlaceDetailsReply"]
  3765200330["location.PlaceReplyMixin"]
  3227531497["core.ObjectMixin"]
  2751680898["builtins.object"]
  4268252027["QtLocation.QPlaceDetailsReply"]
  2286347697["QtLocation.QPlaceReply"]
  3984060476["QtCore.QObject"]
  37984305["Shiboken.Object"]
  3765200330 --> 41830573
  3227531497 --> 3765200330
  2751680898 --> 3227531497
  2751680898 --> 3765200330
  4268252027 --> 41830573
  2286347697 --> 4268252027
  3984060476 --> 2286347697
  37984305 --> 3984060476
  2751680898 --> 37984305

🛈 DocStrings

Bases: PlaceReplyMixin, QPlaceDetailsReply

Manages a place details fetch operation started by an instance of QPlaceManager.

Source code in prettyqt/location/placedetailsreply.py
class PlaceDetailsReply(location.PlaceReplyMixin, location.QPlaceDetailsReply):
    """Manages a place details fetch operation started by an instance of QPlaceManager."""

    @classmethod
    def clone_from(cls, obj: location.QPlaceDetailsReply) -> Self:
        reply = cls(obj.parent())
        reply.setPlace(location.Place(obj.place()))
        return reply

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

:fa-brands-github: Show source on GitHub