QtLocation.pyi 56 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037
  1. # Copyright (C) 2022 The Qt Company Ltd.
  2. # SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
  3. """
  4. This file contains the exact signatures for all functions in module
  5. PySide6.QtLocation, except for defaults which are replaced by "...".
  6. """
  7. # mypy: disable-error-code="override, overload-overlap"
  8. # Module `PySide6.QtLocation`
  9. import PySide6.QtLocation
  10. import PySide6.QtCore
  11. import PySide6.QtPositioning
  12. import os
  13. import enum
  14. import typing
  15. import collections.abc
  16. from PySide6.QtCore import Signal
  17. from shiboken6 import Shiboken
  18. class QGeoCodeReply(PySide6.QtCore.QObject):
  19. aborted : typing.ClassVar[Signal] = ... # aborted()
  20. errorOccurred : typing.ClassVar[Signal] = ... # errorOccurred(QGeoCodeReply::Error,QString); errorOccurred(QGeoCodeReply::Error)
  21. finished : typing.ClassVar[Signal] = ... # finished()
  22. class Error(enum.Enum):
  23. NoError = 0x0
  24. EngineNotSetError = 0x1
  25. CommunicationError = 0x2
  26. ParseError = 0x3
  27. UnsupportedOptionError = 0x4
  28. CombinationError = 0x5
  29. UnknownError = 0x6
  30. @typing.overload
  31. def __init__(self, error: PySide6.QtLocation.QGeoCodeReply.Error, errorString: str, /, parent: PySide6.QtCore.QObject | None = ...) -> None: ...
  32. @typing.overload
  33. def __init__(self, /, parent: PySide6.QtCore.QObject | None = ...) -> None: ...
  34. def abort(self, /) -> None: ...
  35. def addLocation(self, location: PySide6.QtPositioning.QGeoLocation, /) -> None: ...
  36. def error(self, /) -> PySide6.QtLocation.QGeoCodeReply.Error: ...
  37. def errorString(self, /) -> str: ...
  38. def isFinished(self, /) -> bool: ...
  39. def limit(self, /) -> int: ...
  40. def locations(self, /) -> typing.List[PySide6.QtPositioning.QGeoLocation]: ...
  41. def offset(self, /) -> int: ...
  42. def setError(self, error: PySide6.QtLocation.QGeoCodeReply.Error, errorString: str, /) -> None: ...
  43. def setFinished(self, finished: bool, /) -> None: ...
  44. def setLimit(self, limit: int, /) -> None: ...
  45. def setLocations(self, locations: collections.abc.Sequence[PySide6.QtPositioning.QGeoLocation], /) -> None: ...
  46. def setOffset(self, offset: int, /) -> None: ...
  47. def setViewport(self, viewport: PySide6.QtPositioning.QGeoShape, /) -> None: ...
  48. def viewport(self, /) -> PySide6.QtPositioning.QGeoShape: ...
  49. class QGeoCodingManager(PySide6.QtCore.QObject):
  50. errorOccurred : typing.ClassVar[Signal] = ... # errorOccurred(QGeoCodeReply*,QGeoCodeReply::Error,QString); errorOccurred(QGeoCodeReply*,QGeoCodeReply::Error)
  51. finished : typing.ClassVar[Signal] = ... # finished(QGeoCodeReply*)
  52. @typing.overload
  53. def geocode(self, address: PySide6.QtPositioning.QGeoAddress, /, bounds: PySide6.QtPositioning.QGeoShape = ...) -> PySide6.QtLocation.QGeoCodeReply: ...
  54. @typing.overload
  55. def geocode(self, searchString: str, /, limit: int = ..., offset: int | None = ..., bounds: PySide6.QtPositioning.QGeoShape = ...) -> PySide6.QtLocation.QGeoCodeReply: ...
  56. def locale(self, /) -> PySide6.QtCore.QLocale: ...
  57. def managerName(self, /) -> str: ...
  58. def managerVersion(self, /) -> int: ...
  59. def reverseGeocode(self, coordinate: PySide6.QtPositioning.QGeoCoordinate, /, bounds: PySide6.QtPositioning.QGeoShape = ...) -> PySide6.QtLocation.QGeoCodeReply: ...
  60. def setLocale(self, locale: PySide6.QtCore.QLocale | PySide6.QtCore.QLocale.Language, /) -> None: ...
  61. class QGeoCodingManagerEngine(PySide6.QtCore.QObject):
  62. errorOccurred : typing.ClassVar[Signal] = ... # errorOccurred(QGeoCodeReply*,QGeoCodeReply::Error,QString); errorOccurred(QGeoCodeReply*,QGeoCodeReply::Error)
  63. finished : typing.ClassVar[Signal] = ... # finished(QGeoCodeReply*)
  64. def __init__(self, parameters: typing.Dict[str, typing.Any], /, parent: PySide6.QtCore.QObject | None = ...) -> None: ...
  65. @typing.overload
  66. def geocode(self, address: PySide6.QtPositioning.QGeoAddress, bounds: PySide6.QtPositioning.QGeoShape, /) -> PySide6.QtLocation.QGeoCodeReply: ...
  67. @typing.overload
  68. def geocode(self, address: str, limit: int, offset: int, bounds: PySide6.QtPositioning.QGeoShape, /) -> PySide6.QtLocation.QGeoCodeReply: ...
  69. def locale(self, /) -> PySide6.QtCore.QLocale: ...
  70. def managerName(self, /) -> str: ...
  71. def managerVersion(self, /) -> int: ...
  72. def reverseGeocode(self, coordinate: PySide6.QtPositioning.QGeoCoordinate, bounds: PySide6.QtPositioning.QGeoShape, /) -> PySide6.QtLocation.QGeoCodeReply: ...
  73. def setLocale(self, locale: PySide6.QtCore.QLocale | PySide6.QtCore.QLocale.Language, /) -> None: ...
  74. class QGeoManeuver(Shiboken.Object):
  75. class InstructionDirection(enum.Enum):
  76. NoDirection = 0x0
  77. DirectionForward = 0x1
  78. DirectionBearRight = 0x2
  79. DirectionLightRight = 0x3
  80. DirectionRight = 0x4
  81. DirectionHardRight = 0x5
  82. DirectionUTurnRight = 0x6
  83. DirectionUTurnLeft = 0x7
  84. DirectionHardLeft = 0x8
  85. DirectionLeft = 0x9
  86. DirectionLightLeft = 0xa
  87. DirectionBearLeft = 0xb
  88. @typing.overload
  89. def __init__(self, other: PySide6.QtLocation.QGeoManeuver, /, *, valid: bool | None = ..., position: PySide6.QtPositioning.QGeoCoordinate | None = ..., instructionText: str | None = ..., direction: PySide6.QtLocation.QGeoManeuver.InstructionDirection | None = ..., timeToNextInstruction: int | None = ..., distanceToNextInstruction: float | None = ..., waypoint: PySide6.QtPositioning.QGeoCoordinate | None = ..., extendedAttributes: typing.Optional[typing.Dict[str, typing.Any]] = ...) -> None: ...
  90. @typing.overload
  91. def __init__(self, /, *, valid: bool | None = ..., position: PySide6.QtPositioning.QGeoCoordinate | None = ..., instructionText: str | None = ..., direction: PySide6.QtLocation.QGeoManeuver.InstructionDirection | None = ..., timeToNextInstruction: int | None = ..., distanceToNextInstruction: float | None = ..., waypoint: PySide6.QtPositioning.QGeoCoordinate | None = ..., extendedAttributes: typing.Optional[typing.Dict[str, typing.Any]] = ...) -> None: ...
  92. def __copy__(self, /) -> typing.Self: ...
  93. def __eq__(self, rhs: PySide6.QtLocation.QGeoManeuver, /) -> bool: ...
  94. def __ne__(self, rhs: PySide6.QtLocation.QGeoManeuver, /) -> bool: ...
  95. def direction(self, /) -> PySide6.QtLocation.QGeoManeuver.InstructionDirection: ...
  96. def distanceToNextInstruction(self, /) -> float: ...
  97. def extendedAttributes(self, /) -> typing.Dict[str, typing.Any]: ...
  98. def instructionText(self, /) -> str: ...
  99. def isValid(self, /) -> bool: ...
  100. def position(self, /) -> PySide6.QtPositioning.QGeoCoordinate: ...
  101. def setDirection(self, direction: PySide6.QtLocation.QGeoManeuver.InstructionDirection, /) -> None: ...
  102. def setDistanceToNextInstruction(self, distance: float, /) -> None: ...
  103. def setExtendedAttributes(self, extendedAttributes: typing.Dict[str, typing.Any], /) -> None: ...
  104. def setInstructionText(self, instructionText: str, /) -> None: ...
  105. def setPosition(self, position: PySide6.QtPositioning.QGeoCoordinate, /) -> None: ...
  106. def setTimeToNextInstruction(self, secs: int, /) -> None: ...
  107. def setWaypoint(self, coordinate: PySide6.QtPositioning.QGeoCoordinate, /) -> None: ...
  108. def swap(self, other: PySide6.QtLocation.QGeoManeuver, /) -> None: ...
  109. def timeToNextInstruction(self, /) -> int: ...
  110. def waypoint(self, /) -> PySide6.QtPositioning.QGeoCoordinate: ...
  111. class QGeoRoute(Shiboken.Object):
  112. @typing.overload
  113. def __init__(self, other: PySide6.QtLocation.QGeoRoute, /, *, routeId: str | None = ..., bounds: PySide6.QtPositioning.QGeoRectangle | None = ..., travelTime: int | None = ..., distance: float | None = ..., path: collections.abc.Sequence[PySide6.QtPositioning.QGeoCoordinate] | None = ..., routeLegs: collections.abc.Sequence[PySide6.QtLocation.QGeoRoute] | None = ..., extendedAttributes: typing.Optional[typing.Dict[str, typing.Any]] = ..., legIndex: int | None = ..., overallRoute: PySide6.QtLocation.QGeoRoute | None = ..., segmentsCount: int | None = ..., segments: collections.abc.Sequence[PySide6.QtLocation.QGeoRouteSegment] | None = ...) -> None: ...
  114. @typing.overload
  115. def __init__(self, /, *, routeId: str | None = ..., bounds: PySide6.QtPositioning.QGeoRectangle | None = ..., travelTime: int | None = ..., distance: float | None = ..., path: collections.abc.Sequence[PySide6.QtPositioning.QGeoCoordinate] | None = ..., routeLegs: collections.abc.Sequence[PySide6.QtLocation.QGeoRoute] | None = ..., extendedAttributes: typing.Optional[typing.Dict[str, typing.Any]] = ..., legIndex: int | None = ..., overallRoute: PySide6.QtLocation.QGeoRoute | None = ..., segmentsCount: int | None = ..., segments: collections.abc.Sequence[PySide6.QtLocation.QGeoRouteSegment] | None = ...) -> None: ...
  116. def __copy__(self, /) -> typing.Self: ...
  117. def __eq__(self, rhs: PySide6.QtLocation.QGeoRoute, /) -> bool: ...
  118. def __ne__(self, rhs: PySide6.QtLocation.QGeoRoute, /) -> bool: ...
  119. def bounds(self, /) -> PySide6.QtPositioning.QGeoRectangle: ...
  120. def distance(self, /) -> float: ...
  121. def extendedAttributes(self, /) -> typing.Dict[str, typing.Any]: ...
  122. def firstRouteSegment(self, /) -> PySide6.QtLocation.QGeoRouteSegment: ...
  123. def legIndex(self, /) -> int: ...
  124. def overallRoute(self, /) -> PySide6.QtLocation.QGeoRoute: ...
  125. def path(self, /) -> typing.List[PySide6.QtPositioning.QGeoCoordinate]: ...
  126. def request(self, /) -> PySide6.QtLocation.QGeoRouteRequest: ...
  127. def routeId(self, /) -> str: ...
  128. def routeLegs(self, /) -> typing.List[PySide6.QtLocation.QGeoRoute]: ...
  129. def segments(self, /) -> typing.List[PySide6.QtLocation.QGeoRouteSegment]: ...
  130. def segmentsCount(self, /) -> int: ...
  131. def setBounds(self, bounds: PySide6.QtPositioning.QGeoRectangle | PySide6.QtPositioning.QGeoShape | collections.abc.Sequence[PySide6.QtPositioning.QGeoCoordinate], /) -> None: ...
  132. def setDistance(self, distance: float, /) -> None: ...
  133. def setExtendedAttributes(self, extendedAttributes: typing.Dict[str, typing.Any], /) -> None: ...
  134. def setFirstRouteSegment(self, routeSegment: PySide6.QtLocation.QGeoRouteSegment, /) -> None: ...
  135. def setLegIndex(self, idx: int, /) -> None: ...
  136. def setOverallRoute(self, route: PySide6.QtLocation.QGeoRoute, /) -> None: ...
  137. def setPath(self, path: collections.abc.Sequence[PySide6.QtPositioning.QGeoCoordinate], /) -> None: ...
  138. def setRequest(self, request: PySide6.QtLocation.QGeoRouteRequest, /) -> None: ...
  139. def setRouteId(self, id: str, /) -> None: ...
  140. def setRouteLegs(self, legs: collections.abc.Sequence[PySide6.QtLocation.QGeoRoute], /) -> None: ...
  141. def setTravelMode(self, mode: PySide6.QtLocation.QGeoRouteRequest.TravelMode, /) -> None: ...
  142. def setTravelTime(self, secs: int, /) -> None: ...
  143. def swap(self, other: PySide6.QtLocation.QGeoRoute, /) -> None: ...
  144. def travelMode(self, /) -> PySide6.QtLocation.QGeoRouteRequest.TravelMode: ...
  145. def travelTime(self, /) -> int: ...
  146. class QGeoRouteReply(PySide6.QtCore.QObject):
  147. aborted : typing.ClassVar[Signal] = ... # aborted()
  148. errorOccurred : typing.ClassVar[Signal] = ... # errorOccurred(QGeoRouteReply::Error,QString); errorOccurred(QGeoRouteReply::Error)
  149. finished : typing.ClassVar[Signal] = ... # finished()
  150. class Error(enum.Enum):
  151. NoError = 0x0
  152. EngineNotSetError = 0x1
  153. CommunicationError = 0x2
  154. ParseError = 0x3
  155. UnsupportedOptionError = 0x4
  156. UnknownError = 0x5
  157. @typing.overload
  158. def __init__(self, error: PySide6.QtLocation.QGeoRouteReply.Error, errorString: str, /, parent: PySide6.QtCore.QObject | None = ...) -> None: ...
  159. @typing.overload
  160. def __init__(self, request: PySide6.QtLocation.QGeoRouteRequest, /, parent: PySide6.QtCore.QObject | None = ...) -> None: ...
  161. def abort(self, /) -> None: ...
  162. def addRoutes(self, routes: collections.abc.Sequence[PySide6.QtLocation.QGeoRoute], /) -> None: ...
  163. def error(self, /) -> PySide6.QtLocation.QGeoRouteReply.Error: ...
  164. def errorString(self, /) -> str: ...
  165. def isFinished(self, /) -> bool: ...
  166. def request(self, /) -> PySide6.QtLocation.QGeoRouteRequest: ...
  167. def routes(self, /) -> typing.List[PySide6.QtLocation.QGeoRoute]: ...
  168. def setError(self, error: PySide6.QtLocation.QGeoRouteReply.Error, errorString: str, /) -> None: ...
  169. def setFinished(self, finished: bool, /) -> None: ...
  170. def setRoutes(self, routes: collections.abc.Sequence[PySide6.QtLocation.QGeoRoute], /) -> None: ...
  171. class QGeoRouteRequest(Shiboken.Object):
  172. class FeatureType(enum.Flag):
  173. NoFeature = 0x0
  174. TollFeature = 0x1
  175. HighwayFeature = 0x2
  176. PublicTransitFeature = 0x4
  177. FerryFeature = 0x8
  178. TunnelFeature = 0x10
  179. DirtRoadFeature = 0x20
  180. ParksFeature = 0x40
  181. MotorPoolLaneFeature = 0x80
  182. TrafficFeature = 0x100
  183. class FeatureWeight(enum.Flag):
  184. NeutralFeatureWeight = 0x0
  185. PreferFeatureWeight = 0x1
  186. RequireFeatureWeight = 0x2
  187. AvoidFeatureWeight = 0x4
  188. DisallowFeatureWeight = 0x8
  189. class ManeuverDetail(enum.Flag):
  190. NoManeuvers = 0x0
  191. BasicManeuvers = 0x1
  192. class RouteOptimization(enum.Flag):
  193. ShortestRoute = 0x1
  194. FastestRoute = 0x2
  195. MostEconomicRoute = 0x4
  196. MostScenicRoute = 0x8
  197. class SegmentDetail(enum.Flag):
  198. NoSegmentData = 0x0
  199. BasicSegmentData = 0x1
  200. class TravelMode(enum.Flag):
  201. CarTravel = 0x1
  202. PedestrianTravel = 0x2
  203. BicycleTravel = 0x4
  204. PublicTransitTravel = 0x8
  205. TruckTravel = 0x10
  206. @typing.overload
  207. def __init__(self, origin: PySide6.QtPositioning.QGeoCoordinate, destination: PySide6.QtPositioning.QGeoCoordinate, /) -> None: ...
  208. @typing.overload
  209. def __init__(self, other: PySide6.QtLocation.QGeoRouteRequest, /) -> None: ...
  210. @typing.overload
  211. def __init__(self, /, waypoints: collections.abc.Sequence[PySide6.QtPositioning.QGeoCoordinate] = ...) -> None: ...
  212. def __eq__(self, rhs: PySide6.QtLocation.QGeoRouteRequest, /) -> bool: ...
  213. def __ne__(self, rhs: PySide6.QtLocation.QGeoRouteRequest, /) -> bool: ...
  214. def departureTime(self, /) -> PySide6.QtCore.QDateTime: ...
  215. def excludeAreas(self, /) -> typing.List[PySide6.QtPositioning.QGeoRectangle]: ...
  216. def featureTypes(self, /) -> typing.List[PySide6.QtLocation.QGeoRouteRequest.FeatureType]: ...
  217. def featureWeight(self, featureType: PySide6.QtLocation.QGeoRouteRequest.FeatureType, /) -> PySide6.QtLocation.QGeoRouteRequest.FeatureWeight: ...
  218. def maneuverDetail(self, /) -> PySide6.QtLocation.QGeoRouteRequest.ManeuverDetail: ...
  219. def numberAlternativeRoutes(self, /) -> int: ...
  220. def routeOptimization(self, /) -> PySide6.QtLocation.QGeoRouteRequest.RouteOptimization: ...
  221. def segmentDetail(self, /) -> PySide6.QtLocation.QGeoRouteRequest.SegmentDetail: ...
  222. def setDepartureTime(self, departureTime: PySide6.QtCore.QDateTime, /) -> None: ...
  223. def setExcludeAreas(self, areas: collections.abc.Sequence[PySide6.QtPositioning.QGeoRectangle], /) -> None: ...
  224. def setFeatureWeight(self, featureType: PySide6.QtLocation.QGeoRouteRequest.FeatureType, featureWeight: PySide6.QtLocation.QGeoRouteRequest.FeatureWeight, /) -> None: ...
  225. def setManeuverDetail(self, maneuverDetail: PySide6.QtLocation.QGeoRouteRequest.ManeuverDetail, /) -> None: ...
  226. def setNumberAlternativeRoutes(self, alternatives: int, /) -> None: ...
  227. def setRouteOptimization(self, optimization: PySide6.QtLocation.QGeoRouteRequest.RouteOptimization, /) -> None: ...
  228. def setSegmentDetail(self, segmentDetail: PySide6.QtLocation.QGeoRouteRequest.SegmentDetail, /) -> None: ...
  229. def setTravelModes(self, travelModes: PySide6.QtLocation.QGeoRouteRequest.TravelMode, /) -> None: ...
  230. def setWaypoints(self, waypoints: collections.abc.Sequence[PySide6.QtPositioning.QGeoCoordinate], /) -> None: ...
  231. def swap(self, other: PySide6.QtLocation.QGeoRouteRequest, /) -> None: ...
  232. def travelModes(self, /) -> PySide6.QtLocation.QGeoRouteRequest.TravelMode: ...
  233. def waypoints(self, /) -> typing.List[PySide6.QtPositioning.QGeoCoordinate]: ...
  234. class QGeoRouteSegment(Shiboken.Object):
  235. @typing.overload
  236. def __init__(self, other: PySide6.QtLocation.QGeoRouteSegment, /, *, travelTime: int | None = ..., distance: float | None = ..., path: collections.abc.Sequence[PySide6.QtPositioning.QGeoCoordinate] | None = ..., maneuver: PySide6.QtLocation.QGeoManeuver | None = ...) -> None: ...
  237. @typing.overload
  238. def __init__(self, /, *, travelTime: int | None = ..., distance: float | None = ..., path: collections.abc.Sequence[PySide6.QtPositioning.QGeoCoordinate] | None = ..., maneuver: PySide6.QtLocation.QGeoManeuver | None = ...) -> None: ...
  239. def __copy__(self, /) -> typing.Self: ...
  240. def __eq__(self, rhs: PySide6.QtLocation.QGeoRouteSegment, /) -> bool: ...
  241. def __ne__(self, rhs: PySide6.QtLocation.QGeoRouteSegment, /) -> bool: ...
  242. def distance(self, /) -> float: ...
  243. def isLegLastSegment(self, /) -> bool: ...
  244. def isValid(self, /) -> bool: ...
  245. def maneuver(self, /) -> PySide6.QtLocation.QGeoManeuver: ...
  246. def nextRouteSegment(self, /) -> PySide6.QtLocation.QGeoRouteSegment: ...
  247. def path(self, /) -> typing.List[PySide6.QtPositioning.QGeoCoordinate]: ...
  248. def setDistance(self, distance: float, /) -> None: ...
  249. def setManeuver(self, maneuver: PySide6.QtLocation.QGeoManeuver, /) -> None: ...
  250. def setNextRouteSegment(self, routeSegment: PySide6.QtLocation.QGeoRouteSegment, /) -> None: ...
  251. def setPath(self, path: collections.abc.Sequence[PySide6.QtPositioning.QGeoCoordinate], /) -> None: ...
  252. def setTravelTime(self, secs: int, /) -> None: ...
  253. def swap(self, other: PySide6.QtLocation.QGeoRouteSegment, /) -> None: ...
  254. def travelTime(self, /) -> int: ...
  255. class QGeoRoutingManager(PySide6.QtCore.QObject):
  256. errorOccurred : typing.ClassVar[Signal] = ... # errorOccurred(QGeoRouteReply*,QGeoRouteReply::Error,QString); errorOccurred(QGeoRouteReply*,QGeoRouteReply::Error)
  257. finished : typing.ClassVar[Signal] = ... # finished(QGeoRouteReply*)
  258. def calculateRoute(self, request: PySide6.QtLocation.QGeoRouteRequest, /) -> PySide6.QtLocation.QGeoRouteReply: ...
  259. def locale(self, /) -> PySide6.QtCore.QLocale: ...
  260. def managerName(self, /) -> str: ...
  261. def managerVersion(self, /) -> int: ...
  262. def measurementSystem(self, /) -> PySide6.QtCore.QLocale.MeasurementSystem: ...
  263. def setLocale(self, locale: PySide6.QtCore.QLocale | PySide6.QtCore.QLocale.Language, /) -> None: ...
  264. def setMeasurementSystem(self, system: PySide6.QtCore.QLocale.MeasurementSystem, /) -> None: ...
  265. def supportedFeatureTypes(self, /) -> PySide6.QtLocation.QGeoRouteRequest.FeatureType: ...
  266. def supportedFeatureWeights(self, /) -> PySide6.QtLocation.QGeoRouteRequest.FeatureWeight: ...
  267. def supportedManeuverDetails(self, /) -> PySide6.QtLocation.QGeoRouteRequest.ManeuverDetail: ...
  268. def supportedRouteOptimizations(self, /) -> PySide6.QtLocation.QGeoRouteRequest.RouteOptimization: ...
  269. def supportedSegmentDetails(self, /) -> PySide6.QtLocation.QGeoRouteRequest.SegmentDetail: ...
  270. def supportedTravelModes(self, /) -> PySide6.QtLocation.QGeoRouteRequest.TravelMode: ...
  271. def updateRoute(self, route: PySide6.QtLocation.QGeoRoute, position: PySide6.QtPositioning.QGeoCoordinate, /) -> PySide6.QtLocation.QGeoRouteReply: ...
  272. class QGeoRoutingManagerEngine(PySide6.QtCore.QObject):
  273. errorOccurred : typing.ClassVar[Signal] = ... # errorOccurred(QGeoRouteReply*,QGeoRouteReply::Error,QString); errorOccurred(QGeoRouteReply*,QGeoRouteReply::Error)
  274. finished : typing.ClassVar[Signal] = ... # finished(QGeoRouteReply*)
  275. def __init__(self, parameters: typing.Dict[str, typing.Any], /, parent: PySide6.QtCore.QObject | None = ...) -> None: ...
  276. def calculateRoute(self, request: PySide6.QtLocation.QGeoRouteRequest, /) -> PySide6.QtLocation.QGeoRouteReply: ...
  277. def locale(self, /) -> PySide6.QtCore.QLocale: ...
  278. def managerName(self, /) -> str: ...
  279. def managerVersion(self, /) -> int: ...
  280. def measurementSystem(self, /) -> PySide6.QtCore.QLocale.MeasurementSystem: ...
  281. def setLocale(self, locale: PySide6.QtCore.QLocale | PySide6.QtCore.QLocale.Language, /) -> None: ...
  282. def setMeasurementSystem(self, system: PySide6.QtCore.QLocale.MeasurementSystem, /) -> None: ...
  283. def setSupportedFeatureTypes(self, featureTypes: PySide6.QtLocation.QGeoRouteRequest.FeatureType, /) -> None: ...
  284. def setSupportedFeatureWeights(self, featureWeights: PySide6.QtLocation.QGeoRouteRequest.FeatureWeight, /) -> None: ...
  285. def setSupportedManeuverDetails(self, maneuverDetails: PySide6.QtLocation.QGeoRouteRequest.ManeuverDetail, /) -> None: ...
  286. def setSupportedRouteOptimizations(self, optimizations: PySide6.QtLocation.QGeoRouteRequest.RouteOptimization, /) -> None: ...
  287. def setSupportedSegmentDetails(self, segmentDetails: PySide6.QtLocation.QGeoRouteRequest.SegmentDetail, /) -> None: ...
  288. def setSupportedTravelModes(self, travelModes: PySide6.QtLocation.QGeoRouteRequest.TravelMode, /) -> None: ...
  289. def supportedFeatureTypes(self, /) -> PySide6.QtLocation.QGeoRouteRequest.FeatureType: ...
  290. def supportedFeatureWeights(self, /) -> PySide6.QtLocation.QGeoRouteRequest.FeatureWeight: ...
  291. def supportedManeuverDetails(self, /) -> PySide6.QtLocation.QGeoRouteRequest.ManeuverDetail: ...
  292. def supportedRouteOptimizations(self, /) -> PySide6.QtLocation.QGeoRouteRequest.RouteOptimization: ...
  293. def supportedSegmentDetails(self, /) -> PySide6.QtLocation.QGeoRouteRequest.SegmentDetail: ...
  294. def supportedTravelModes(self, /) -> PySide6.QtLocation.QGeoRouteRequest.TravelMode: ...
  295. def updateRoute(self, route: PySide6.QtLocation.QGeoRoute, position: PySide6.QtPositioning.QGeoCoordinate, /) -> PySide6.QtLocation.QGeoRouteReply: ...
  296. class QGeoServiceProvider(PySide6.QtCore.QObject):
  297. class Error(enum.Enum):
  298. NoError = 0x0
  299. NotSupportedError = 0x1
  300. UnknownParameterError = 0x2
  301. MissingRequiredParameterError = 0x3
  302. ConnectionError = 0x4
  303. LoaderError = 0x5
  304. class GeocodingFeature(enum.Flag):
  305. AnyGeocodingFeatures = -1
  306. NoGeocodingFeatures = 0x0
  307. OnlineGeocodingFeature = 0x1
  308. OfflineGeocodingFeature = 0x2
  309. ReverseGeocodingFeature = 0x4
  310. LocalizedGeocodingFeature = 0x8
  311. class MappingFeature(enum.Flag):
  312. AnyMappingFeatures = -1
  313. NoMappingFeatures = 0x0
  314. OnlineMappingFeature = 0x1
  315. OfflineMappingFeature = 0x2
  316. LocalizedMappingFeature = 0x4
  317. class NavigationFeature(enum.Flag):
  318. AnyNavigationFeatures = -1
  319. NoNavigationFeatures = 0x0
  320. OnlineNavigationFeature = 0x1
  321. OfflineNavigationFeature = 0x2
  322. class PlacesFeature(enum.Flag):
  323. AnyPlacesFeatures = -1
  324. NoPlacesFeatures = 0x0
  325. OnlinePlacesFeature = 0x1
  326. OfflinePlacesFeature = 0x2
  327. SavePlaceFeature = 0x4
  328. RemovePlaceFeature = 0x8
  329. SaveCategoryFeature = 0x10
  330. RemoveCategoryFeature = 0x20
  331. PlaceRecommendationsFeature = 0x40
  332. SearchSuggestionsFeature = 0x80
  333. LocalizedPlacesFeature = 0x100
  334. NotificationsFeature = 0x200
  335. PlaceMatchingFeature = 0x400
  336. class RoutingFeature(enum.Flag):
  337. AnyRoutingFeatures = -1
  338. NoRoutingFeatures = 0x0
  339. OnlineRoutingFeature = 0x1
  340. OfflineRoutingFeature = 0x2
  341. LocalizedRoutingFeature = 0x4
  342. RouteUpdatesFeature = 0x8
  343. AlternativeRoutesFeature = 0x10
  344. ExcludeAreasRoutingFeature = 0x20
  345. def __init__(self, providerName: str, /, parameters: typing.Dict[str, typing.Any] = ..., allowExperimental: bool = ...) -> None: ...
  346. @staticmethod
  347. def availableServiceProviders() -> typing.List[str]: ...
  348. def error(self, /) -> PySide6.QtLocation.QGeoServiceProvider.Error: ...
  349. def errorString(self, /) -> str: ...
  350. def geocodingError(self, /) -> PySide6.QtLocation.QGeoServiceProvider.Error: ...
  351. def geocodingErrorString(self, /) -> str: ...
  352. def geocodingFeatures(self, /) -> PySide6.QtLocation.QGeoServiceProvider.GeocodingFeature: ...
  353. def geocodingManager(self, /) -> PySide6.QtLocation.QGeoCodingManager: ...
  354. def mappingError(self, /) -> PySide6.QtLocation.QGeoServiceProvider.Error: ...
  355. def mappingErrorString(self, /) -> str: ...
  356. def mappingFeatures(self, /) -> PySide6.QtLocation.QGeoServiceProvider.MappingFeature: ...
  357. def navigationError(self, /) -> PySide6.QtLocation.QGeoServiceProvider.Error: ...
  358. def navigationErrorString(self, /) -> str: ...
  359. def navigationFeatures(self, /) -> PySide6.QtLocation.QGeoServiceProvider.NavigationFeature: ...
  360. def placeManager(self, /) -> PySide6.QtLocation.QPlaceManager: ...
  361. def placesError(self, /) -> PySide6.QtLocation.QGeoServiceProvider.Error: ...
  362. def placesErrorString(self, /) -> str: ...
  363. def placesFeatures(self, /) -> PySide6.QtLocation.QGeoServiceProvider.PlacesFeature: ...
  364. def routingError(self, /) -> PySide6.QtLocation.QGeoServiceProvider.Error: ...
  365. def routingErrorString(self, /) -> str: ...
  366. def routingFeatures(self, /) -> PySide6.QtLocation.QGeoServiceProvider.RoutingFeature: ...
  367. def routingManager(self, /) -> PySide6.QtLocation.QGeoRoutingManager: ...
  368. def setAllowExperimental(self, allow: bool, /) -> None: ...
  369. def setLocale(self, locale: PySide6.QtCore.QLocale | PySide6.QtCore.QLocale.Language, /) -> None: ...
  370. def setParameters(self, parameters: typing.Dict[str, typing.Any], /) -> None: ...
  371. class QGeoServiceProviderFactory(Shiboken.Object):
  372. def __init__(self, /) -> None: ...
  373. def createGeocodingManagerEngine(self, parameters: typing.Dict[str, typing.Any], error: PySide6.QtLocation.QGeoServiceProvider.Error, /) -> typing.Tuple[PySide6.QtLocation.QGeoCodingManagerEngine, str]: ...
  374. def createPlaceManagerEngine(self, parameters: typing.Dict[str, typing.Any], error: PySide6.QtLocation.QGeoServiceProvider.Error, /) -> typing.Tuple[PySide6.QtLocation.QPlaceManagerEngine, str]: ...
  375. def createRoutingManagerEngine(self, parameters: typing.Dict[str, typing.Any], error: PySide6.QtLocation.QGeoServiceProvider.Error, /) -> typing.Tuple[PySide6.QtLocation.QGeoRoutingManagerEngine, str]: ...
  376. class QIntList: ...
  377. class QLocation(Shiboken.Object):
  378. class Visibility(enum.Flag):
  379. UnspecifiedVisibility = 0x0
  380. DeviceVisibility = 0x1
  381. PrivateVisibility = 0x2
  382. PublicVisibility = 0x4
  383. class QPlace(Shiboken.Object):
  384. @typing.overload
  385. def __init__(self, /) -> None: ...
  386. @typing.overload
  387. def __init__(self, other: PySide6.QtLocation.QPlace, /) -> None: ...
  388. def __copy__(self, /) -> typing.Self: ...
  389. def __eq__(self, rhs: PySide6.QtLocation.QPlace, /) -> bool: ...
  390. def __ne__(self, rhs: PySide6.QtLocation.QPlace, /) -> bool: ...
  391. def appendContactDetail(self, contactType: str, detail: PySide6.QtLocation.QPlaceContactDetail, /) -> None: ...
  392. def attribution(self, /) -> str: ...
  393. def categories(self, /) -> typing.List[PySide6.QtLocation.QPlaceCategory]: ...
  394. def contactDetails(self, contactType: str, /) -> typing.List[PySide6.QtLocation.QPlaceContactDetail]: ...
  395. def contactTypes(self, /) -> typing.List[str]: ...
  396. def content(self, type: PySide6.QtLocation.QPlaceContent.Type, /) -> typing.Dict[int, PySide6.QtLocation.QPlaceContent]: ...
  397. def detailsFetched(self, /) -> bool: ...
  398. def extendedAttribute(self, attributeType: str, /) -> PySide6.QtLocation.QPlaceAttribute: ...
  399. def extendedAttributeTypes(self, /) -> typing.List[str]: ...
  400. def icon(self, /) -> PySide6.QtLocation.QPlaceIcon: ...
  401. def insertContent(self, type: PySide6.QtLocation.QPlaceContent.Type, content: typing.Dict[int, PySide6.QtLocation.QPlaceContent], /) -> None: ...
  402. def isEmpty(self, /) -> bool: ...
  403. def location(self, /) -> PySide6.QtPositioning.QGeoLocation: ...
  404. def name(self, /) -> str: ...
  405. def placeId(self, /) -> str: ...
  406. def primaryEmail(self, /) -> str: ...
  407. def primaryFax(self, /) -> str: ...
  408. def primaryPhone(self, /) -> str: ...
  409. def primaryWebsite(self, /) -> PySide6.QtCore.QUrl: ...
  410. def ratings(self, /) -> PySide6.QtLocation.QPlaceRatings: ...
  411. def removeContactDetails(self, contactType: str, /) -> None: ...
  412. def removeExtendedAttribute(self, attributeType: str, /) -> None: ...
  413. def setAttribution(self, attribution: str, /) -> None: ...
  414. def setCategories(self, categories: collections.abc.Sequence[PySide6.QtLocation.QPlaceCategory], /) -> None: ...
  415. def setCategory(self, category: PySide6.QtLocation.QPlaceCategory, /) -> None: ...
  416. def setContactDetails(self, contactType: str, details: collections.abc.Sequence[PySide6.QtLocation.QPlaceContactDetail], /) -> None: ...
  417. def setContent(self, type: PySide6.QtLocation.QPlaceContent.Type, content: typing.Dict[int, PySide6.QtLocation.QPlaceContent], /) -> None: ...
  418. def setDetailsFetched(self, fetched: bool, /) -> None: ...
  419. def setExtendedAttribute(self, attributeType: str, attribute: PySide6.QtLocation.QPlaceAttribute, /) -> None: ...
  420. def setIcon(self, icon: PySide6.QtLocation.QPlaceIcon, /) -> None: ...
  421. def setLocation(self, location: PySide6.QtPositioning.QGeoLocation, /) -> None: ...
  422. def setName(self, name: str, /) -> None: ...
  423. def setPlaceId(self, identifier: str, /) -> None: ...
  424. def setRatings(self, ratings: PySide6.QtLocation.QPlaceRatings, /) -> None: ...
  425. def setSupplier(self, supplier: PySide6.QtLocation.QPlaceSupplier, /) -> None: ...
  426. def setTotalContentCount(self, type: PySide6.QtLocation.QPlaceContent.Type, total: int, /) -> None: ...
  427. def setVisibility(self, visibility: PySide6.QtLocation.QLocation.Visibility, /) -> None: ...
  428. def supplier(self, /) -> PySide6.QtLocation.QPlaceSupplier: ...
  429. def swap(self, other: PySide6.QtLocation.QPlace, /) -> None: ...
  430. def totalContentCount(self, type: PySide6.QtLocation.QPlaceContent.Type, /) -> int: ...
  431. def visibility(self, /) -> PySide6.QtLocation.QLocation.Visibility: ...
  432. class QPlaceAttribute(Shiboken.Object):
  433. @typing.overload
  434. def __init__(self, other: PySide6.QtLocation.QPlaceAttribute, /, *, label: str | None = ..., text: str | None = ...) -> None: ...
  435. @typing.overload
  436. def __init__(self, /, *, label: str | None = ..., text: str | None = ...) -> None: ...
  437. def __copy__(self, /) -> typing.Self: ...
  438. def __eq__(self, rhs: PySide6.QtLocation.QPlaceAttribute, /) -> bool: ...
  439. def __ne__(self, rhs: PySide6.QtLocation.QPlaceAttribute, /) -> bool: ...
  440. def isEmpty(self, /) -> bool: ...
  441. def label(self, /) -> str: ...
  442. def setLabel(self, label: str, /) -> None: ...
  443. def setText(self, text: str, /) -> None: ...
  444. def swap(self, other: PySide6.QtLocation.QPlaceAttribute, /) -> None: ...
  445. def text(self, /) -> str: ...
  446. class QPlaceCategory(Shiboken.Object):
  447. @typing.overload
  448. def __init__(self, /) -> None: ...
  449. @typing.overload
  450. def __init__(self, other: PySide6.QtLocation.QPlaceCategory, /) -> None: ...
  451. def __copy__(self, /) -> typing.Self: ...
  452. def __eq__(self, rhs: PySide6.QtLocation.QPlaceCategory, /) -> bool: ...
  453. def __ne__(self, rhs: PySide6.QtLocation.QPlaceCategory, /) -> bool: ...
  454. def categoryId(self, /) -> str: ...
  455. def icon(self, /) -> PySide6.QtLocation.QPlaceIcon: ...
  456. def isEmpty(self, /) -> bool: ...
  457. def name(self, /) -> str: ...
  458. def setCategoryId(self, identifier: str, /) -> None: ...
  459. def setIcon(self, icon: PySide6.QtLocation.QPlaceIcon, /) -> None: ...
  460. def setName(self, name: str, /) -> None: ...
  461. def setVisibility(self, visibility: PySide6.QtLocation.QLocation.Visibility, /) -> None: ...
  462. def swap(self, other: PySide6.QtLocation.QPlaceCategory, /) -> None: ...
  463. def visibility(self, /) -> PySide6.QtLocation.QLocation.Visibility: ...
  464. class QPlaceContactDetail(Shiboken.Object):
  465. @typing.overload
  466. def __init__(self, other: PySide6.QtLocation.QPlaceContactDetail, /, *, label: str | None = ..., value: str | None = ...) -> None: ...
  467. @typing.overload
  468. def __init__(self, /, *, label: str | None = ..., value: str | None = ...) -> None: ...
  469. def __copy__(self, /) -> typing.Self: ...
  470. def __eq__(self, rhs: PySide6.QtLocation.QPlaceContactDetail, /) -> bool: ...
  471. def __ne__(self, rhs: PySide6.QtLocation.QPlaceContactDetail, /) -> bool: ...
  472. def clear(self, /) -> None: ...
  473. def label(self, /) -> str: ...
  474. def setLabel(self, label: str, /) -> None: ...
  475. def setValue(self, value: str, /) -> None: ...
  476. def swap(self, other: PySide6.QtLocation.QPlaceContactDetail, /) -> None: ...
  477. def value(self, /) -> str: ...
  478. class QPlaceContent(Shiboken.Object):
  479. class DataTag(enum.Enum):
  480. ContentSupplier = 0x0
  481. ContentUser = 0x1
  482. ContentAttribution = 0x2
  483. ImageId = 0x3
  484. ImageUrl = 0x4
  485. ImageMimeType = 0x5
  486. EditorialTitle = 0x6
  487. EditorialText = 0x7
  488. EditorialLanguage = 0x8
  489. ReviewId = 0x9
  490. ReviewDateTime = 0xa
  491. ReviewTitle = 0xb
  492. ReviewText = 0xc
  493. ReviewLanguage = 0xd
  494. ReviewRating = 0xe
  495. CustomDataTag = 0x3e8
  496. class Type(enum.Enum):
  497. NoType = 0x0
  498. ImageType = 0x1
  499. ReviewType = 0x2
  500. EditorialType = 0x3
  501. CustomType = 0x100
  502. @typing.overload
  503. def __init__(self, other: PySide6.QtLocation.QPlaceContent, /) -> None: ...
  504. @typing.overload
  505. def __init__(self, /, type: PySide6.QtLocation.QPlaceContent.Type = ...) -> None: ...
  506. def __copy__(self, /) -> typing.Self: ...
  507. def __eq__(self, other: PySide6.QtLocation.QPlaceContent | PySide6.QtLocation.QPlaceContent.Type, /) -> bool: ...
  508. def __ne__(self, other: PySide6.QtLocation.QPlaceContent | PySide6.QtLocation.QPlaceContent.Type, /) -> bool: ...
  509. def attribution(self, /) -> str: ...
  510. def dataTags(self, /) -> typing.List[PySide6.QtLocation.QPlaceContent.DataTag]: ...
  511. def setAttribution(self, attribution: str, /) -> None: ...
  512. def setSupplier(self, supplier: PySide6.QtLocation.QPlaceSupplier, /) -> None: ...
  513. def setUser(self, user: PySide6.QtLocation.QPlaceUser, /) -> None: ...
  514. def setValue(self, tag: PySide6.QtLocation.QPlaceContent.DataTag, arg__2: typing.Any, /) -> None: ...
  515. def supplier(self, /) -> PySide6.QtLocation.QPlaceSupplier: ...
  516. def swap(self, other: PySide6.QtLocation.QPlaceContent | PySide6.QtLocation.QPlaceContent.Type, /) -> None: ...
  517. def type(self, /) -> PySide6.QtLocation.QPlaceContent.Type: ...
  518. def user(self, /) -> PySide6.QtLocation.QPlaceUser: ...
  519. def value(self, tag: PySide6.QtLocation.QPlaceContent.DataTag, /) -> typing.Any: ...
  520. class QPlaceContentReply(PySide6.QtLocation.QPlaceReply):
  521. def __init__(self, /, parent: PySide6.QtCore.QObject | None = ...) -> None: ...
  522. def content(self, /) -> typing.Dict[int, PySide6.QtLocation.QPlaceContent]: ...
  523. def nextPageRequest(self, /) -> PySide6.QtLocation.QPlaceContentRequest: ...
  524. def previousPageRequest(self, /) -> PySide6.QtLocation.QPlaceContentRequest: ...
  525. def request(self, /) -> PySide6.QtLocation.QPlaceContentRequest: ...
  526. def setContent(self, content: typing.Dict[int, PySide6.QtLocation.QPlaceContent], /) -> None: ...
  527. def setNextPageRequest(self, next: PySide6.QtLocation.QPlaceContentRequest, /) -> None: ...
  528. def setPreviousPageRequest(self, previous: PySide6.QtLocation.QPlaceContentRequest, /) -> None: ...
  529. def setRequest(self, request: PySide6.QtLocation.QPlaceContentRequest, /) -> None: ...
  530. def setTotalCount(self, total: int, /) -> None: ...
  531. def totalCount(self, /) -> int: ...
  532. def type(self, /) -> PySide6.QtLocation.QPlaceReply.Type: ...
  533. class QPlaceContentRequest(Shiboken.Object):
  534. @typing.overload
  535. def __init__(self, /) -> None: ...
  536. @typing.overload
  537. def __init__(self, other: PySide6.QtLocation.QPlaceContentRequest, /) -> None: ...
  538. def __copy__(self, /) -> typing.Self: ...
  539. def __eq__(self, rhs: PySide6.QtLocation.QPlaceContentRequest, /) -> bool: ...
  540. def __ne__(self, rhs: PySide6.QtLocation.QPlaceContentRequest, /) -> bool: ...
  541. def clear(self, /) -> None: ...
  542. def contentContext(self, /) -> typing.Any: ...
  543. def contentType(self, /) -> PySide6.QtLocation.QPlaceContent.Type: ...
  544. def limit(self, /) -> int: ...
  545. def placeId(self, /) -> str: ...
  546. def setContentContext(self, context: typing.Any, /) -> None: ...
  547. def setContentType(self, type: PySide6.QtLocation.QPlaceContent.Type, /) -> None: ...
  548. def setLimit(self, limit: int, /) -> None: ...
  549. def setPlaceId(self, identifier: str, /) -> None: ...
  550. def swap(self, other: PySide6.QtLocation.QPlaceContentRequest, /) -> None: ...
  551. class QPlaceDetailsReply(PySide6.QtLocation.QPlaceReply):
  552. def __init__(self, /, parent: PySide6.QtCore.QObject | None = ...) -> None: ...
  553. def place(self, /) -> PySide6.QtLocation.QPlace: ...
  554. def setPlace(self, place: PySide6.QtLocation.QPlace, /) -> None: ...
  555. def type(self, /) -> PySide6.QtLocation.QPlaceReply.Type: ...
  556. class QPlaceIcon(Shiboken.Object):
  557. @typing.overload
  558. def __init__(self, other: PySide6.QtLocation.QPlaceIcon, /, *, parameters: typing.Optional[typing.Dict[str, typing.Any]] = ..., manager: PySide6.QtLocation.QPlaceManager | None = ...) -> None: ...
  559. @typing.overload
  560. def __init__(self, /, *, parameters: typing.Optional[typing.Dict[str, typing.Any]] = ..., manager: PySide6.QtLocation.QPlaceManager | None = ...) -> None: ...
  561. def __copy__(self, /) -> typing.Self: ...
  562. def __eq__(self, rhs: PySide6.QtLocation.QPlaceIcon, /) -> bool: ...
  563. def __ne__(self, rhs: PySide6.QtLocation.QPlaceIcon, /) -> bool: ...
  564. def isEmpty(self, /) -> bool: ...
  565. def manager(self, /) -> PySide6.QtLocation.QPlaceManager: ...
  566. def parameters(self, /) -> typing.Dict[str, typing.Any]: ...
  567. def setManager(self, manager: PySide6.QtLocation.QPlaceManager, /) -> None: ...
  568. def setParameters(self, parameters: typing.Dict[str, typing.Any], /) -> None: ...
  569. def swap(self, other: PySide6.QtLocation.QPlaceIcon, /) -> None: ...
  570. def url(self, /, size: PySide6.QtCore.QSize = ...) -> PySide6.QtCore.QUrl: ...
  571. class QPlaceIdReply(PySide6.QtLocation.QPlaceReply):
  572. class OperationType(enum.Enum):
  573. SavePlace = 0x0
  574. SaveCategory = 0x1
  575. RemovePlace = 0x2
  576. RemoveCategory = 0x3
  577. def __init__(self, operationType: PySide6.QtLocation.QPlaceIdReply.OperationType, /, parent: PySide6.QtCore.QObject | None = ...) -> None: ...
  578. def id(self, /) -> str: ...
  579. def operationType(self, /) -> PySide6.QtLocation.QPlaceIdReply.OperationType: ...
  580. def setId(self, identifier: str, /) -> None: ...
  581. def type(self, /) -> PySide6.QtLocation.QPlaceReply.Type: ...
  582. class QPlaceManager(PySide6.QtCore.QObject):
  583. categoryAdded : typing.ClassVar[Signal] = ... # categoryAdded(QPlaceCategory,QString)
  584. categoryRemoved : typing.ClassVar[Signal] = ... # categoryRemoved(QString,QString)
  585. categoryUpdated : typing.ClassVar[Signal] = ... # categoryUpdated(QPlaceCategory,QString)
  586. dataChanged : typing.ClassVar[Signal] = ... # dataChanged()
  587. errorOccurred : typing.ClassVar[Signal] = ... # errorOccurred(QPlaceReply*,QPlaceReply::Error,QString); errorOccurred(QPlaceReply*,QPlaceReply::Error)
  588. finished : typing.ClassVar[Signal] = ... # finished(QPlaceReply*)
  589. placeAdded : typing.ClassVar[Signal] = ... # placeAdded(QString)
  590. placeRemoved : typing.ClassVar[Signal] = ... # placeRemoved(QString)
  591. placeUpdated : typing.ClassVar[Signal] = ... # placeUpdated(QString)
  592. def category(self, categoryId: str, /) -> PySide6.QtLocation.QPlaceCategory: ...
  593. def childCategories(self, /, parentId: str = ...) -> typing.List[PySide6.QtLocation.QPlaceCategory]: ...
  594. def childCategoryIds(self, /, parentId: str = ...) -> typing.List[str]: ...
  595. def compatiblePlace(self, place: PySide6.QtLocation.QPlace, /) -> PySide6.QtLocation.QPlace: ...
  596. def getPlaceContent(self, request: PySide6.QtLocation.QPlaceContentRequest, /) -> PySide6.QtLocation.QPlaceContentReply: ...
  597. def getPlaceDetails(self, placeId: str, /) -> PySide6.QtLocation.QPlaceDetailsReply: ...
  598. def initializeCategories(self, /) -> PySide6.QtLocation.QPlaceReply: ...
  599. def locales(self, /) -> typing.List[PySide6.QtCore.QLocale]: ...
  600. def managerName(self, /) -> str: ...
  601. def managerVersion(self, /) -> int: ...
  602. def matchingPlaces(self, request: PySide6.QtLocation.QPlaceMatchRequest, /) -> PySide6.QtLocation.QPlaceMatchReply: ...
  603. def parentCategoryId(self, categoryId: str, /) -> str: ...
  604. def removeCategory(self, categoryId: str, /) -> PySide6.QtLocation.QPlaceIdReply: ...
  605. def removePlace(self, placeId: str, /) -> PySide6.QtLocation.QPlaceIdReply: ...
  606. def saveCategory(self, category: PySide6.QtLocation.QPlaceCategory, /, parentId: str = ...) -> PySide6.QtLocation.QPlaceIdReply: ...
  607. def savePlace(self, place: PySide6.QtLocation.QPlace, /) -> PySide6.QtLocation.QPlaceIdReply: ...
  608. def search(self, query: PySide6.QtLocation.QPlaceSearchRequest, /) -> PySide6.QtLocation.QPlaceSearchReply: ...
  609. def searchSuggestions(self, request: PySide6.QtLocation.QPlaceSearchRequest, /) -> PySide6.QtLocation.QPlaceSearchSuggestionReply: ...
  610. def setLocale(self, locale: PySide6.QtCore.QLocale | PySide6.QtCore.QLocale.Language, /) -> None: ...
  611. def setLocales(self, locale: collections.abc.Sequence[PySide6.QtCore.QLocale], /) -> None: ...
  612. class QPlaceManagerEngine(PySide6.QtCore.QObject):
  613. categoryAdded : typing.ClassVar[Signal] = ... # categoryAdded(QPlaceCategory,QString)
  614. categoryRemoved : typing.ClassVar[Signal] = ... # categoryRemoved(QString,QString)
  615. categoryUpdated : typing.ClassVar[Signal] = ... # categoryUpdated(QPlaceCategory,QString)
  616. dataChanged : typing.ClassVar[Signal] = ... # dataChanged()
  617. errorOccurred : typing.ClassVar[Signal] = ... # errorOccurred(QPlaceReply*,QPlaceReply::Error,QString); errorOccurred(QPlaceReply*,QPlaceReply::Error)
  618. finished : typing.ClassVar[Signal] = ... # finished(QPlaceReply*)
  619. placeAdded : typing.ClassVar[Signal] = ... # placeAdded(QString)
  620. placeRemoved : typing.ClassVar[Signal] = ... # placeRemoved(QString)
  621. placeUpdated : typing.ClassVar[Signal] = ... # placeUpdated(QString)
  622. def __init__(self, parameters: typing.Dict[str, typing.Any], /, parent: PySide6.QtCore.QObject | None = ...) -> None: ...
  623. def category(self, categoryId: str, /) -> PySide6.QtLocation.QPlaceCategory: ...
  624. def childCategories(self, parentId: str, /) -> typing.List[PySide6.QtLocation.QPlaceCategory]: ...
  625. def childCategoryIds(self, categoryId: str, /) -> typing.List[str]: ...
  626. def compatiblePlace(self, original: PySide6.QtLocation.QPlace, /) -> PySide6.QtLocation.QPlace: ...
  627. def constructIconUrl(self, icon: PySide6.QtLocation.QPlaceIcon, size: PySide6.QtCore.QSize, /) -> PySide6.QtCore.QUrl: ...
  628. def getPlaceContent(self, request: PySide6.QtLocation.QPlaceContentRequest, /) -> PySide6.QtLocation.QPlaceContentReply: ...
  629. def getPlaceDetails(self, placeId: str, /) -> PySide6.QtLocation.QPlaceDetailsReply: ...
  630. def initializeCategories(self, /) -> PySide6.QtLocation.QPlaceReply: ...
  631. def locales(self, /) -> typing.List[PySide6.QtCore.QLocale]: ...
  632. def manager(self, /) -> PySide6.QtLocation.QPlaceManager: ...
  633. def managerName(self, /) -> str: ...
  634. def managerVersion(self, /) -> int: ...
  635. def matchingPlaces(self, request: PySide6.QtLocation.QPlaceMatchRequest, /) -> PySide6.QtLocation.QPlaceMatchReply: ...
  636. def parentCategoryId(self, categoryId: str, /) -> str: ...
  637. def removeCategory(self, categoryId: str, /) -> PySide6.QtLocation.QPlaceIdReply: ...
  638. def removePlace(self, placeId: str, /) -> PySide6.QtLocation.QPlaceIdReply: ...
  639. def saveCategory(self, category: PySide6.QtLocation.QPlaceCategory, parentId: str, /) -> PySide6.QtLocation.QPlaceIdReply: ...
  640. def savePlace(self, place: PySide6.QtLocation.QPlace, /) -> PySide6.QtLocation.QPlaceIdReply: ...
  641. def search(self, request: PySide6.QtLocation.QPlaceSearchRequest, /) -> PySide6.QtLocation.QPlaceSearchReply: ...
  642. def searchSuggestions(self, request: PySide6.QtLocation.QPlaceSearchRequest, /) -> PySide6.QtLocation.QPlaceSearchSuggestionReply: ...
  643. def setLocales(self, locales: collections.abc.Sequence[PySide6.QtCore.QLocale], /) -> None: ...
  644. class QPlaceMatchReply(PySide6.QtLocation.QPlaceReply):
  645. def __init__(self, /, parent: PySide6.QtCore.QObject | None = ...) -> None: ...
  646. def places(self, /) -> typing.List[PySide6.QtLocation.QPlace]: ...
  647. def request(self, /) -> PySide6.QtLocation.QPlaceMatchRequest: ...
  648. def setPlaces(self, results: collections.abc.Sequence[PySide6.QtLocation.QPlace], /) -> None: ...
  649. def setRequest(self, request: PySide6.QtLocation.QPlaceMatchRequest, /) -> None: ...
  650. def type(self, /) -> PySide6.QtLocation.QPlaceReply.Type: ...
  651. class QPlaceMatchRequest(Shiboken.Object):
  652. @typing.overload
  653. def __init__(self, /) -> None: ...
  654. @typing.overload
  655. def __init__(self, other: PySide6.QtLocation.QPlaceMatchRequest, /) -> None: ...
  656. def __copy__(self, /) -> typing.Self: ...
  657. def __eq__(self, rhs: PySide6.QtLocation.QPlaceMatchRequest, /) -> bool: ...
  658. def __ne__(self, rhs: PySide6.QtLocation.QPlaceMatchRequest, /) -> bool: ...
  659. def clear(self, /) -> None: ...
  660. def parameters(self, /) -> typing.Dict[str, typing.Any]: ...
  661. def places(self, /) -> typing.List[PySide6.QtLocation.QPlace]: ...
  662. def setParameters(self, parameters: typing.Dict[str, typing.Any], /) -> None: ...
  663. def setPlaces(self, places: collections.abc.Sequence[PySide6.QtLocation.QPlace], /) -> None: ...
  664. def setResults(self, results: collections.abc.Sequence[PySide6.QtLocation.QPlaceSearchResult], /) -> None: ...
  665. def swap(self, other: PySide6.QtLocation.QPlaceMatchRequest, /) -> None: ...
  666. class QPlaceProposedSearchResult(PySide6.QtLocation.QPlaceSearchResult):
  667. @typing.overload
  668. def __init__(self, /) -> None: ...
  669. @typing.overload
  670. def __init__(self, other: PySide6.QtLocation.QPlaceSearchResult, /) -> None: ...
  671. def searchRequest(self, /) -> PySide6.QtLocation.QPlaceSearchRequest: ...
  672. def setSearchRequest(self, request: PySide6.QtLocation.QPlaceSearchRequest, /) -> None: ...
  673. class QPlaceRatings(Shiboken.Object):
  674. @typing.overload
  675. def __init__(self, other: PySide6.QtLocation.QPlaceRatings, /, *, average: float | None = ..., maximum: float | None = ..., count: int | None = ...) -> None: ...
  676. @typing.overload
  677. def __init__(self, /, *, average: float | None = ..., maximum: float | None = ..., count: int | None = ...) -> None: ...
  678. def __copy__(self, /) -> typing.Self: ...
  679. def __eq__(self, rhs: PySide6.QtLocation.QPlaceRatings, /) -> bool: ...
  680. def __ne__(self, rhs: PySide6.QtLocation.QPlaceRatings, /) -> bool: ...
  681. def average(self, /) -> float: ...
  682. def count(self, /) -> int: ...
  683. def isEmpty(self, /) -> bool: ...
  684. def maximum(self, /) -> float: ...
  685. def setAverage(self, average: float, /) -> None: ...
  686. def setCount(self, count: int, /) -> None: ...
  687. def setMaximum(self, max: float, /) -> None: ...
  688. def swap(self, other: PySide6.QtLocation.QPlaceRatings, /) -> None: ...
  689. class QPlaceReply(PySide6.QtCore.QObject):
  690. aborted : typing.ClassVar[Signal] = ... # aborted()
  691. contentUpdated : typing.ClassVar[Signal] = ... # contentUpdated()
  692. errorOccurred : typing.ClassVar[Signal] = ... # errorOccurred(QPlaceReply::Error,QString); errorOccurred(QPlaceReply::Error)
  693. finished : typing.ClassVar[Signal] = ... # finished()
  694. class Error(enum.Enum):
  695. NoError = 0x0
  696. PlaceDoesNotExistError = 0x1
  697. CategoryDoesNotExistError = 0x2
  698. CommunicationError = 0x3
  699. ParseError = 0x4
  700. PermissionsError = 0x5
  701. UnsupportedError = 0x6
  702. BadArgumentError = 0x7
  703. CancelError = 0x8
  704. UnknownError = 0x9
  705. class Type(enum.Enum):
  706. Reply = 0x0
  707. DetailsReply = 0x1
  708. SearchReply = 0x2
  709. SearchSuggestionReply = 0x3
  710. ContentReply = 0x4
  711. IdReply = 0x5
  712. MatchReply = 0x6
  713. def __init__(self, /, parent: PySide6.QtCore.QObject | None = ...) -> None: ...
  714. def abort(self, /) -> None: ...
  715. def error(self, /) -> PySide6.QtLocation.QPlaceReply.Error: ...
  716. def errorString(self, /) -> str: ...
  717. def isFinished(self, /) -> bool: ...
  718. def setError(self, error: PySide6.QtLocation.QPlaceReply.Error, errorString: str, /) -> None: ...
  719. def setFinished(self, finished: bool, /) -> None: ...
  720. def type(self, /) -> PySide6.QtLocation.QPlaceReply.Type: ...
  721. class QPlaceResult(PySide6.QtLocation.QPlaceSearchResult):
  722. @typing.overload
  723. def __init__(self, /) -> None: ...
  724. @typing.overload
  725. def __init__(self, other: PySide6.QtLocation.QPlaceSearchResult, /) -> None: ...
  726. def distance(self, /) -> float: ...
  727. def isSponsored(self, /) -> bool: ...
  728. def place(self, /) -> PySide6.QtLocation.QPlace: ...
  729. def setDistance(self, distance: float, /) -> None: ...
  730. def setPlace(self, place: PySide6.QtLocation.QPlace, /) -> None: ...
  731. def setSponsored(self, sponsored: bool, /) -> None: ...
  732. class QPlaceSearchReply(PySide6.QtLocation.QPlaceReply):
  733. def __init__(self, /, parent: PySide6.QtCore.QObject | None = ...) -> None: ...
  734. def nextPageRequest(self, /) -> PySide6.QtLocation.QPlaceSearchRequest: ...
  735. def previousPageRequest(self, /) -> PySide6.QtLocation.QPlaceSearchRequest: ...
  736. def request(self, /) -> PySide6.QtLocation.QPlaceSearchRequest: ...
  737. def results(self, /) -> typing.List[PySide6.QtLocation.QPlaceSearchResult]: ...
  738. def setNextPageRequest(self, next: PySide6.QtLocation.QPlaceSearchRequest, /) -> None: ...
  739. def setPreviousPageRequest(self, previous: PySide6.QtLocation.QPlaceSearchRequest, /) -> None: ...
  740. def setRequest(self, request: PySide6.QtLocation.QPlaceSearchRequest, /) -> None: ...
  741. def setResults(self, results: collections.abc.Sequence[PySide6.QtLocation.QPlaceSearchResult], /) -> None: ...
  742. def type(self, /) -> PySide6.QtLocation.QPlaceReply.Type: ...
  743. class QPlaceSearchRequest(Shiboken.Object):
  744. class RelevanceHint(enum.Enum):
  745. UnspecifiedHint = 0x0
  746. DistanceHint = 0x1
  747. LexicalPlaceNameHint = 0x2
  748. @typing.overload
  749. def __init__(self, /) -> None: ...
  750. @typing.overload
  751. def __init__(self, other: PySide6.QtLocation.QPlaceSearchRequest, /) -> None: ...
  752. def __eq__(self, rhs: PySide6.QtLocation.QPlaceSearchRequest, /) -> bool: ...
  753. def __ne__(self, rhs: PySide6.QtLocation.QPlaceSearchRequest, /) -> bool: ...
  754. def categories(self, /) -> typing.List[PySide6.QtLocation.QPlaceCategory]: ...
  755. def clear(self, /) -> None: ...
  756. def limit(self, /) -> int: ...
  757. def recommendationId(self, /) -> str: ...
  758. def relevanceHint(self, /) -> PySide6.QtLocation.QPlaceSearchRequest.RelevanceHint: ...
  759. def searchArea(self, /) -> PySide6.QtPositioning.QGeoShape: ...
  760. def searchContext(self, /) -> typing.Any: ...
  761. def searchTerm(self, /) -> str: ...
  762. def setCategories(self, categories: collections.abc.Sequence[PySide6.QtLocation.QPlaceCategory], /) -> None: ...
  763. def setCategory(self, category: PySide6.QtLocation.QPlaceCategory, /) -> None: ...
  764. def setLimit(self, limit: int, /) -> None: ...
  765. def setRecommendationId(self, recommendationId: str, /) -> None: ...
  766. def setRelevanceHint(self, hint: PySide6.QtLocation.QPlaceSearchRequest.RelevanceHint, /) -> None: ...
  767. def setSearchArea(self, area: PySide6.QtPositioning.QGeoShape, /) -> None: ...
  768. def setSearchContext(self, context: typing.Any, /) -> None: ...
  769. def setSearchTerm(self, term: str, /) -> None: ...
  770. def setVisibilityScope(self, visibilityScopes: PySide6.QtLocation.QLocation.Visibility, /) -> None: ...
  771. def swap(self, other: PySide6.QtLocation.QPlaceSearchRequest, /) -> None: ...
  772. def visibilityScope(self, /) -> PySide6.QtLocation.QLocation.Visibility: ...
  773. class QPlaceSearchResult(Shiboken.Object):
  774. class SearchResultType(enum.Enum):
  775. UnknownSearchResult = 0x0
  776. PlaceResult = 0x1
  777. ProposedSearchResult = 0x2
  778. @typing.overload
  779. def __init__(self, /) -> None: ...
  780. @typing.overload
  781. def __init__(self, other: PySide6.QtLocation.QPlaceSearchResult, /) -> None: ...
  782. def __eq__(self, other: PySide6.QtLocation.QPlaceSearchResult, /) -> bool: ...
  783. def __ne__(self, other: PySide6.QtLocation.QPlaceSearchResult, /) -> bool: ...
  784. def icon(self, /) -> PySide6.QtLocation.QPlaceIcon: ...
  785. def setIcon(self, icon: PySide6.QtLocation.QPlaceIcon, /) -> None: ...
  786. def setTitle(self, title: str, /) -> None: ...
  787. def title(self, /) -> str: ...
  788. def type(self, /) -> PySide6.QtLocation.QPlaceSearchResult.SearchResultType: ...
  789. class QPlaceSearchSuggestionReply(PySide6.QtLocation.QPlaceReply):
  790. def __init__(self, /, parent: PySide6.QtCore.QObject | None = ...) -> None: ...
  791. def setSuggestions(self, suggestions: collections.abc.Sequence[str], /) -> None: ...
  792. def suggestions(self, /) -> typing.List[str]: ...
  793. def type(self, /) -> PySide6.QtLocation.QPlaceReply.Type: ...
  794. class QPlaceSupplier(Shiboken.Object):
  795. @typing.overload
  796. def __init__(self, other: PySide6.QtLocation.QPlaceSupplier, /, *, name: str | None = ..., supplierId: str | None = ..., url: PySide6.QtCore.QUrl | None = ..., icon: PySide6.QtLocation.QPlaceIcon | None = ...) -> None: ...
  797. @typing.overload
  798. def __init__(self, /, *, name: str | None = ..., supplierId: str | None = ..., url: PySide6.QtCore.QUrl | None = ..., icon: PySide6.QtLocation.QPlaceIcon | None = ...) -> None: ...
  799. def __copy__(self, /) -> typing.Self: ...
  800. def __eq__(self, rhs: PySide6.QtLocation.QPlaceSupplier, /) -> bool: ...
  801. def __ne__(self, rhs: PySide6.QtLocation.QPlaceSupplier, /) -> bool: ...
  802. def icon(self, /) -> PySide6.QtLocation.QPlaceIcon: ...
  803. def isEmpty(self, /) -> bool: ...
  804. def name(self, /) -> str: ...
  805. def setIcon(self, icon: PySide6.QtLocation.QPlaceIcon, /) -> None: ...
  806. def setName(self, data: str, /) -> None: ...
  807. def setSupplierId(self, identifier: str, /) -> None: ...
  808. def setUrl(self, data: PySide6.QtCore.QUrl | str, /) -> None: ...
  809. def supplierId(self, /) -> str: ...
  810. def swap(self, other: PySide6.QtLocation.QPlaceSupplier, /) -> None: ...
  811. def url(self, /) -> PySide6.QtCore.QUrl: ...
  812. class QPlaceUser(Shiboken.Object):
  813. @typing.overload
  814. def __init__(self, other: PySide6.QtLocation.QPlaceUser, /, *, userId: str | None = ..., name: str | None = ...) -> None: ...
  815. @typing.overload
  816. def __init__(self, /, *, userId: str | None = ..., name: str | None = ...) -> None: ...
  817. def __copy__(self, /) -> typing.Self: ...
  818. def __eq__(self, rhs: PySide6.QtLocation.QPlaceUser, /) -> bool: ...
  819. def __ne__(self, rhs: PySide6.QtLocation.QPlaceUser, /) -> bool: ...
  820. def name(self, /) -> str: ...
  821. def setName(self, name: str, /) -> None: ...
  822. def setUserId(self, identifier: str, /) -> None: ...
  823. def swap(self, other: PySide6.QtLocation.QPlaceUser, /) -> None: ...
  824. def userId(self, /) -> str: ...
  825. # eof