PlaceSearchResultMixin
Subclasses
⋔ Inheritance diagram
graph TD
1473573478544["location.PlaceSearchResultMixin"]
140713234304496["builtins.object"]
140713234304496 --> 1473573478544
🛈 DocStrings
Source code in prettyqt\location\placesearchresult.py
| class PlaceSearchResultMixin:
def get_icon(self) -> location.PlaceIcon | None:
icon = self.icon()
return None if icon.isEmpty() else location.PlaceIcon(icon)
def get_type(self) -> TypeStr:
"""Return result type.
Returns:
Result type
"""
return TYPE.inverse[self.type()]
|
get_type() -> TypeStr
Return result type.
Source code in prettyqt\location\placesearchresult.py
| def get_type(self) -> TypeStr:
"""Return result type.
Returns:
Result type
"""
return TYPE.inverse[self.type()]
|