Skip to content

PlaceIdReply

Qt Base Class: QPlaceIdReply

Signature: QPlaceIdReply(self, operationType: PySide6.QtLocation.QPlaceIdReply.OperationType, parent: Optional[PySide6.QtCore.QObject] = None) -> None

Base classes

Name Children Inherits
PlaceReplyMixin
prettyqt.location.placereply
QPlaceIdReply
PySide6.QtLocation
QPlaceIdReply(self, operationType: PySide6.QtLocation.QPlaceIdReply.OperationType, parent: Optional[PySide6.QtCore.QObject] \= None) -> None

⋔ Inheritance diagram

graph TD
  1473573489280["location.PlaceIdReply"]
  1473573486352["location.PlaceReplyMixin"]
  1473299815024["core.ObjectMixin"]
  140713234304496["builtins.object"]
  1473573410224["QtLocation.QPlaceIdReply"]
  1473573399488["QtLocation.QPlaceReply"]
  1473288842240["QtCore.QObject"]
  1473291690208["Shiboken.Object"]
  1473573486352 --> 1473573489280
  1473299815024 --> 1473573486352
  140713234304496 --> 1473299815024
  1473573410224 --> 1473573489280
  1473573399488 --> 1473573410224
  1473288842240 --> 1473573399488
  1473291690208 --> 1473288842240
  140713234304496 --> 1473291690208

🛈 DocStrings

Bases: PlaceReplyMixin, QPlaceIdReply

Manages saving and removal operations of places and categories.

Source code in prettyqt\location\placeidreply.py
class PlaceIdReply(location.PlaceReplyMixin, location.QPlaceIdReply):
    """Manages saving and removal operations of places and categories."""

    def __repr__(self):
        return get_repr(self, self.operationType())

    @classmethod
    def clone_from(cls, obj: location.QPlaceIdReply) -> Self:
        reply = cls(obj.operationType(), obj.parent())
        reply.setId(obj.id())
        return reply

    def get_operation_type(self) -> OperationTypeStr:
        """Get current operation_type.

        Returns:
            current operation_type
        """
        return OPERATION_TYPES.inverse[self.operationType()]

get_operation_type() -> OperationTypeStr

Get current operation_type.

Source code in prettyqt\location\placeidreply.py
def get_operation_type(self) -> OperationTypeStr:
    """Get current operation_type.

    Returns:
        current operation_type
    """
    return OPERATION_TYPES.inverse[self.operationType()]

⌗ Property table

Qt Property Type Doc
objectName QString