Spaces:
Running
Running
File size: 28,001 Bytes
3bb804c |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 |
# The PEP 484 type hints stub file for the QtPositioning module.
#
# Generated by SIP 6.14.0
#
# Copyright (c) 2025 Riverbank Computing Limited <info@riverbankcomputing.com>
#
# This file is part of PyQt6.
#
# This file may be used under the terms of the GNU General Public License
# version 3.0 as published by the Free Software Foundation and appearing in
# the file LICENSE included in the packaging of this file. Please review the
# following information to ensure the GNU General Public License version 3.0
# requirements will be met: http://www.gnu.org/copyleft/gpl.html.
#
# If you do not wish to use this file under the terms of the GPL version 3.0
# then you may purchase a commercial license. For more information contact
# info@riverbankcomputing.com.
#
# This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
# WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
import collections, re, typing, enum
try:
from warnings import deprecated
except ImportError:
pass
import PyQt6.sip
from PyQt6 import QtCore
# Support for QDate, QDateTime and QTime.
import datetime
# Convenient type aliases.
PYQT_SIGNAL = typing.Union[QtCore.pyqtSignal, QtCore.pyqtBoundSignal]
PYQT_SLOT = typing.Union[collections.abc.Callable[..., Any], QtCore.pyqtBoundSignal]
class QGeoAddress(PyQt6.sip.wrapper):
@typing.overload
def __init__(self) -> None: ...
@typing.overload
def __init__(self, other: 'QGeoAddress') -> None: ...
def __eq__(self, other: object): ...
def __ne__(self, other: object): ...
def __hash__(self) -> int: ...
def setStreetNumber(self, streetNumber: typing.Optional[str]) -> None: ...
def streetNumber(self) -> str: ...
def swap(self, other: 'QGeoAddress') -> None: ...
def isTextGenerated(self) -> bool: ...
def clear(self) -> None: ...
def isEmpty(self) -> bool: ...
def setStreet(self, street: typing.Optional[str]) -> None: ...
def street(self) -> str: ...
def setPostalCode(self, postalCode: typing.Optional[str]) -> None: ...
def postalCode(self) -> str: ...
def setDistrict(self, district: typing.Optional[str]) -> None: ...
def district(self) -> str: ...
def setCity(self, city: typing.Optional[str]) -> None: ...
def city(self) -> str: ...
def setCounty(self, county: typing.Optional[str]) -> None: ...
def county(self) -> str: ...
def setState(self, state: typing.Optional[str]) -> None: ...
def state(self) -> str: ...
def setCountryCode(self, countryCode: typing.Optional[str]) -> None: ...
def countryCode(self) -> str: ...
def setCountry(self, country: typing.Optional[str]) -> None: ...
def country(self) -> str: ...
def setText(self, text: typing.Optional[str]) -> None: ...
def text(self) -> str: ...
class QGeoAreaMonitorInfo(PyQt6.sip.wrapper):
@typing.overload
def __init__(self, name: typing.Optional[str] = ...) -> None: ...
@typing.overload
def __init__(self, other: 'QGeoAreaMonitorInfo') -> None: ...
def __eq__(self, other: object): ...
def __ne__(self, other: object): ...
def __hash__(self) -> int: ...
def swap(self, other: 'QGeoAreaMonitorInfo') -> None: ...
def setNotificationParameters(self, parameters: dict[typing.Optional[str], typing.Any]) -> None: ...
def notificationParameters(self) -> dict[str, typing.Any]: ...
def setPersistent(self, isPersistent: bool) -> None: ...
def isPersistent(self) -> bool: ...
def setExpiration(self, expiry: typing.Union[QtCore.QDateTime, datetime.datetime]) -> None: ...
def expiration(self) -> QtCore.QDateTime: ...
def setArea(self, newShape: 'QGeoShape') -> None: ...
def area(self) -> 'QGeoShape': ...
def isValid(self) -> bool: ...
def identifier(self) -> str: ...
def setName(self, name: typing.Optional[str]) -> None: ...
def name(self) -> str: ...
class QGeoAreaMonitorSource(QtCore.QObject):
class AreaMonitorFeature(enum.Flag):
PersistentAreaMonitorFeature = ... # type: QGeoAreaMonitorSource.AreaMonitorFeature
AnyAreaMonitorFeature = ... # type: QGeoAreaMonitorSource.AreaMonitorFeature
class Error(enum.Enum):
AccessError = ... # type: QGeoAreaMonitorSource.Error
InsufficientPositionInfo = ... # type: QGeoAreaMonitorSource.Error
UnknownSourceError = ... # type: QGeoAreaMonitorSource.Error
NoError = ... # type: QGeoAreaMonitorSource.Error
def __init__(self, parent: typing.Optional[QtCore.QObject]) -> None: ...
def backendProperty(self, name: typing.Optional[str]) -> typing.Any: ...
def setBackendProperty(self, name: typing.Optional[str], value: typing.Any) -> bool: ...
errorOccurred: typing.ClassVar[QtCore.pyqtSignal]
monitorExpired: typing.ClassVar[QtCore.pyqtSignal]
areaExited: typing.ClassVar[QtCore.pyqtSignal]
areaEntered: typing.ClassVar[QtCore.pyqtSignal]
@typing.overload
def activeMonitors(self) -> list[QGeoAreaMonitorInfo]: ...
@typing.overload
def activeMonitors(self, lookupArea: 'QGeoShape') -> list[QGeoAreaMonitorInfo]: ...
def requestUpdate(self, monitor: QGeoAreaMonitorInfo, signal: typing.Optional[str]) -> bool: ...
def stopMonitoring(self, monitor: QGeoAreaMonitorInfo) -> bool: ...
def startMonitoring(self, monitor: QGeoAreaMonitorInfo) -> bool: ...
def supportedAreaMonitorFeatures(self) -> 'QGeoAreaMonitorSource.AreaMonitorFeature': ...
def error(self) -> 'QGeoAreaMonitorSource.Error': ...
def sourceName(self) -> str: ...
def positionInfoSource(self) -> typing.Optional['QGeoPositionInfoSource']: ...
def setPositionInfoSource(self, source: typing.Optional['QGeoPositionInfoSource']) -> None: ...
@staticmethod
def availableSources() -> list[str]: ...
@staticmethod
def createSource(sourceName: typing.Optional[str], parent: typing.Optional[QtCore.QObject]) -> typing.Optional['QGeoAreaMonitorSource']: ...
@staticmethod
def createDefaultSource(parent: typing.Optional[QtCore.QObject]) -> typing.Optional['QGeoAreaMonitorSource']: ...
class QGeoShape(PyQt6.sip.wrapper):
class ShapeType(enum.Enum):
UnknownType = ... # type: QGeoShape.ShapeType
RectangleType = ... # type: QGeoShape.ShapeType
CircleType = ... # type: QGeoShape.ShapeType
PathType = ... # type: QGeoShape.ShapeType
PolygonType = ... # type: QGeoShape.ShapeType
@typing.overload
def __init__(self) -> None: ...
@typing.overload
def __init__(self, other: 'QGeoShape') -> None: ...
def __eq__(self, other: object): ...
def __ne__(self, other: object): ...
def __hash__(self) -> int: ...
def boundingGeoRectangle(self) -> 'QGeoRectangle': ...
def toString(self) -> str: ...
def center(self) -> 'QGeoCoordinate': ...
def contains(self, coordinate: 'QGeoCoordinate') -> bool: ...
def isEmpty(self) -> bool: ...
def isValid(self) -> bool: ...
def type(self) -> 'QGeoShape.ShapeType': ...
class QGeoCircle(QGeoShape):
@typing.overload
def __init__(self) -> None: ...
@typing.overload
def __init__(self, center: 'QGeoCoordinate', radius: float = ...) -> None: ...
@typing.overload
def __init__(self, other: 'QGeoCircle') -> None: ...
@typing.overload
def __init__(self, other: QGeoShape) -> None: ...
def extendCircle(self, coordinate: 'QGeoCoordinate') -> None: ...
def toString(self) -> str: ...
def translated(self, degreesLatitude: float, degreesLongitude: float) -> 'QGeoCircle': ...
def translate(self, degreesLatitude: float, degreesLongitude: float) -> None: ...
def radius(self) -> float: ...
def setRadius(self, radius: float) -> None: ...
def center(self) -> 'QGeoCoordinate': ...
def setCenter(self, center: 'QGeoCoordinate') -> None: ...
class QGeoCoordinate(PyQt6.sip.wrapper):
class CoordinateFormat(enum.Enum):
Degrees = ... # type: QGeoCoordinate.CoordinateFormat
DegreesWithHemisphere = ... # type: QGeoCoordinate.CoordinateFormat
DegreesMinutes = ... # type: QGeoCoordinate.CoordinateFormat
DegreesMinutesWithHemisphere = ... # type: QGeoCoordinate.CoordinateFormat
DegreesMinutesSeconds = ... # type: QGeoCoordinate.CoordinateFormat
DegreesMinutesSecondsWithHemisphere = ... # type: QGeoCoordinate.CoordinateFormat
class CoordinateType(enum.Enum):
InvalidCoordinate = ... # type: QGeoCoordinate.CoordinateType
Coordinate2D = ... # type: QGeoCoordinate.CoordinateType
Coordinate3D = ... # type: QGeoCoordinate.CoordinateType
@typing.overload
def __init__(self) -> None: ...
@typing.overload
def __init__(self, latitude: float, longitude: float) -> None: ...
@typing.overload
def __init__(self, latitude: float, longitude: float, altitude: float) -> None: ...
@typing.overload
def __init__(self, other: 'QGeoCoordinate') -> None: ...
def __eq__(self, other: object): ...
def __ne__(self, other: object): ...
def __hash__(self) -> int: ...
def swap(self, other: 'QGeoCoordinate') -> None: ...
def toString(self, format: 'QGeoCoordinate.CoordinateFormat' = ...) -> str: ...
def atDistanceAndAzimuth(self, distance: float, azimuth: float, distanceUp: float = ...) -> 'QGeoCoordinate': ...
def azimuthTo(self, other: 'QGeoCoordinate') -> float: ...
def distanceTo(self, other: 'QGeoCoordinate') -> float: ...
def altitude(self) -> float: ...
def setAltitude(self, altitude: float) -> None: ...
def longitude(self) -> float: ...
def setLongitude(self, longitude: float) -> None: ...
def latitude(self) -> float: ...
def setLatitude(self, latitude: float) -> None: ...
def type(self) -> 'QGeoCoordinate.CoordinateType': ...
def isValid(self) -> bool: ...
class QGeoLocation(PyQt6.sip.wrapper):
@typing.overload
def __init__(self) -> None: ...
@typing.overload
def __init__(self, other: 'QGeoLocation') -> None: ...
def __eq__(self, other: object): ...
def __ne__(self, other: object): ...
def __hash__(self) -> int: ...
def setBoundingShape(self, shape: QGeoShape) -> None: ...
def boundingShape(self) -> QGeoShape: ...
def swap(self, other: 'QGeoLocation') -> None: ...
def setExtendedAttributes(self, data: dict[typing.Optional[str], typing.Any]) -> None: ...
def extendedAttributes(self) -> dict[str, typing.Any]: ...
def isEmpty(self) -> bool: ...
def setCoordinate(self, position: QGeoCoordinate) -> None: ...
def coordinate(self) -> QGeoCoordinate: ...
def setAddress(self, address: QGeoAddress) -> None: ...
def address(self) -> QGeoAddress: ...
class QGeoPath(QGeoShape):
@typing.overload
def __init__(self) -> None: ...
@typing.overload
def __init__(self, path: collections.abc.Iterable[QGeoCoordinate], width: float = ...) -> None: ...
@typing.overload
def __init__(self, other: 'QGeoPath') -> None: ...
@typing.overload
def __init__(self, other: QGeoShape) -> None: ...
def clearPath(self) -> None: ...
def size(self) -> int: ...
def toString(self) -> str: ...
@typing.overload
def removeCoordinate(self, coordinate: QGeoCoordinate) -> None: ...
@typing.overload
def removeCoordinate(self, index: int) -> None: ...
def containsCoordinate(self, coordinate: QGeoCoordinate) -> bool: ...
def coordinateAt(self, index: int) -> QGeoCoordinate: ...
def replaceCoordinate(self, index: int, coordinate: QGeoCoordinate) -> None: ...
def insertCoordinate(self, index: int, coordinate: QGeoCoordinate) -> None: ...
def addCoordinate(self, coordinate: QGeoCoordinate) -> None: ...
def length(self, indexFrom: int = ..., indexTo: int = ...) -> float: ...
def translated(self, degreesLatitude: float, degreesLongitude: float) -> 'QGeoPath': ...
def translate(self, degreesLatitude: float, degreesLongitude: float) -> None: ...
def width(self) -> float: ...
def setWidth(self, width: float) -> None: ...
def path(self) -> list[QGeoCoordinate]: ...
def setPath(self, path: collections.abc.Iterable[QGeoCoordinate]) -> None: ...
class QGeoPolygon(QGeoShape):
@typing.overload
def __init__(self) -> None: ...
@typing.overload
def __init__(self, path: collections.abc.Iterable[QGeoCoordinate]) -> None: ...
@typing.overload
def __init__(self, other: 'QGeoPolygon') -> None: ...
@typing.overload
def __init__(self, other: QGeoShape) -> None: ...
def perimeter(self) -> list[QGeoCoordinate]: ...
def setPerimeter(self, path: collections.abc.Iterable[QGeoCoordinate]) -> None: ...
def holesCount(self) -> int: ...
def removeHole(self, index: int) -> None: ...
def holePath(self, index: int) -> list[QGeoCoordinate]: ...
def hole(self, index: int) -> list[typing.Any]: ...
@typing.overload
def addHole(self, holePath: collections.abc.Iterable[QGeoCoordinate]) -> None: ...
@typing.overload
def addHole(self, holePath: typing.Any) -> None: ...
def toString(self) -> str: ...
@typing.overload
def removeCoordinate(self, coordinate: QGeoCoordinate) -> None: ...
@typing.overload
def removeCoordinate(self, index: int) -> None: ...
def containsCoordinate(self, coordinate: QGeoCoordinate) -> bool: ...
def coordinateAt(self, index: int) -> QGeoCoordinate: ...
def replaceCoordinate(self, index: int, coordinate: QGeoCoordinate) -> None: ...
def insertCoordinate(self, index: int, coordinate: QGeoCoordinate) -> None: ...
def addCoordinate(self, coordinate: QGeoCoordinate) -> None: ...
def size(self) -> int: ...
def length(self, indexFrom: int = ..., indexTo: int = ...) -> float: ...
def translated(self, degreesLatitude: float, degreesLongitude: float) -> 'QGeoPolygon': ...
def translate(self, degreesLatitude: float, degreesLongitude: float) -> None: ...
class QGeoPositionInfo(PyQt6.sip.wrapper):
class Attribute(enum.Enum):
Direction = ... # type: QGeoPositionInfo.Attribute
GroundSpeed = ... # type: QGeoPositionInfo.Attribute
VerticalSpeed = ... # type: QGeoPositionInfo.Attribute
MagneticVariation = ... # type: QGeoPositionInfo.Attribute
HorizontalAccuracy = ... # type: QGeoPositionInfo.Attribute
VerticalAccuracy = ... # type: QGeoPositionInfo.Attribute
DirectionAccuracy = ... # type: QGeoPositionInfo.Attribute
@typing.overload
def __init__(self) -> None: ...
@typing.overload
def __init__(self, coordinate: QGeoCoordinate, updateTime: typing.Union[QtCore.QDateTime, datetime.datetime]) -> None: ...
@typing.overload
def __init__(self, other: 'QGeoPositionInfo') -> None: ...
def __eq__(self, other: object): ...
def __ne__(self, other: object): ...
def __hash__(self) -> int: ...
def swap(self, other: 'QGeoPositionInfo') -> None: ...
def hasAttribute(self, attribute: 'QGeoPositionInfo.Attribute') -> bool: ...
def removeAttribute(self, attribute: 'QGeoPositionInfo.Attribute') -> None: ...
def attribute(self, attribute: 'QGeoPositionInfo.Attribute') -> float: ...
def setAttribute(self, attribute: 'QGeoPositionInfo.Attribute', value: float) -> None: ...
def coordinate(self) -> QGeoCoordinate: ...
def setCoordinate(self, coordinate: QGeoCoordinate) -> None: ...
def timestamp(self) -> QtCore.QDateTime: ...
def setTimestamp(self, timestamp: typing.Union[QtCore.QDateTime, datetime.datetime]) -> None: ...
def isValid(self) -> bool: ...
class QGeoPositionInfoSource(QtCore.QObject):
class PositioningMethod(enum.Flag):
NoPositioningMethods = ... # type: QGeoPositionInfoSource.PositioningMethod
SatellitePositioningMethods = ... # type: QGeoPositionInfoSource.PositioningMethod
NonSatellitePositioningMethods = ... # type: QGeoPositionInfoSource.PositioningMethod
AllPositioningMethods = ... # type: QGeoPositionInfoSource.PositioningMethod
class Error(enum.Enum):
AccessError = ... # type: QGeoPositionInfoSource.Error
ClosedError = ... # type: QGeoPositionInfoSource.Error
UnknownSourceError = ... # type: QGeoPositionInfoSource.Error
UpdateTimeoutError = ... # type: QGeoPositionInfoSource.Error
NoError = ... # type: QGeoPositionInfoSource.Error
def __init__(self, parent: typing.Optional[QtCore.QObject]) -> None: ...
def backendProperty(self, name: typing.Optional[str]) -> typing.Any: ...
def setBackendProperty(self, name: typing.Optional[str], value: typing.Any) -> bool: ...
errorOccurred: typing.ClassVar[QtCore.pyqtSignal]
supportedPositioningMethodsChanged: typing.ClassVar[QtCore.pyqtSignal]
positionUpdated: typing.ClassVar[QtCore.pyqtSignal]
def requestUpdate(self, timeout: int = ...) -> None: ...
def stopUpdates(self) -> None: ...
def startUpdates(self) -> None: ...
def error(self) -> 'QGeoPositionInfoSource.Error': ...
@staticmethod
def availableSources() -> list[str]: ...
@typing.overload
@staticmethod
def createSource(sourceName: typing.Optional[str], parent: typing.Optional[QtCore.QObject]) -> typing.Optional['QGeoPositionInfoSource']: ...
@typing.overload
@staticmethod
def createSource(sourceName: typing.Optional[str], parameters: dict[typing.Optional[str], typing.Any], parent: typing.Optional[QtCore.QObject]) -> typing.Optional['QGeoPositionInfoSource']: ...
@typing.overload
@staticmethod
def createDefaultSource(parent: typing.Optional[QtCore.QObject]) -> typing.Optional['QGeoPositionInfoSource']: ...
@typing.overload
@staticmethod
def createDefaultSource(parameters: dict[typing.Optional[str], typing.Any], parent: typing.Optional[QtCore.QObject]) -> typing.Optional['QGeoPositionInfoSource']: ...
def sourceName(self) -> str: ...
def minimumUpdateInterval(self) -> int: ...
def supportedPositioningMethods(self) -> 'QGeoPositionInfoSource.PositioningMethod': ...
def lastKnownPosition(self, fromSatellitePositioningMethodsOnly: bool = ...) -> QGeoPositionInfo: ...
def preferredPositioningMethods(self) -> 'QGeoPositionInfoSource.PositioningMethod': ...
def setPreferredPositioningMethods(self, methods: 'QGeoPositionInfoSource.PositioningMethod') -> None: ...
def updateInterval(self) -> int: ...
def setUpdateInterval(self, msec: int) -> None: ...
class QGeoRectangle(QGeoShape):
@typing.overload
def __init__(self) -> None: ...
@typing.overload
def __init__(self, center: QGeoCoordinate, degreesWidth: float, degreesHeight: float) -> None: ...
@typing.overload
def __init__(self, topLeft: QGeoCoordinate, bottomRight: QGeoCoordinate) -> None: ...
@typing.overload
def __init__(self, coordinates: collections.abc.Iterable[QGeoCoordinate]) -> None: ...
@typing.overload
def __init__(self, other: 'QGeoRectangle') -> None: ...
@typing.overload
def __init__(self, other: QGeoShape) -> None: ...
def extendRectangle(self, coordinate: QGeoCoordinate) -> None: ...
def toString(self) -> str: ...
def __or__(self, rectangle: 'QGeoRectangle') -> 'QGeoRectangle': ...
def __ior__(self, rectangle: 'QGeoRectangle') -> 'QGeoRectangle': ...
def united(self, rectangle: 'QGeoRectangle') -> 'QGeoRectangle': ...
def translated(self, degreesLatitude: float, degreesLongitude: float) -> 'QGeoRectangle': ...
def translate(self, degreesLatitude: float, degreesLongitude: float) -> None: ...
def intersects(self, rectangle: 'QGeoRectangle') -> bool: ...
def contains(self, rectangle: 'QGeoRectangle') -> bool: ...
def height(self) -> float: ...
def setHeight(self, degreesHeight: float) -> None: ...
def width(self) -> float: ...
def setWidth(self, degreesWidth: float) -> None: ...
def center(self) -> QGeoCoordinate: ...
def setCenter(self, center: QGeoCoordinate) -> None: ...
def bottomRight(self) -> QGeoCoordinate: ...
def setBottomRight(self, bottomRight: QGeoCoordinate) -> None: ...
def bottomLeft(self) -> QGeoCoordinate: ...
def setBottomLeft(self, bottomLeft: QGeoCoordinate) -> None: ...
def topRight(self) -> QGeoCoordinate: ...
def setTopRight(self, topRight: QGeoCoordinate) -> None: ...
def topLeft(self) -> QGeoCoordinate: ...
def setTopLeft(self, topLeft: QGeoCoordinate) -> None: ...
class QGeoSatelliteInfo(PyQt6.sip.wrapper):
class SatelliteSystem(enum.Enum):
Undefined = ... # type: QGeoSatelliteInfo.SatelliteSystem
GPS = ... # type: QGeoSatelliteInfo.SatelliteSystem
GLONASS = ... # type: QGeoSatelliteInfo.SatelliteSystem
GALILEO = ... # type: QGeoSatelliteInfo.SatelliteSystem
BEIDOU = ... # type: QGeoSatelliteInfo.SatelliteSystem
QZSS = ... # type: QGeoSatelliteInfo.SatelliteSystem
Multiple = ... # type: QGeoSatelliteInfo.SatelliteSystem
CustomType = ... # type: QGeoSatelliteInfo.SatelliteSystem
class Attribute(enum.Enum):
Elevation = ... # type: QGeoSatelliteInfo.Attribute
Azimuth = ... # type: QGeoSatelliteInfo.Attribute
@typing.overload
def __init__(self) -> None: ...
@typing.overload
def __init__(self, other: 'QGeoSatelliteInfo') -> None: ...
def __hash__(self) -> int: ...
def swap(self, other: 'QGeoSatelliteInfo') -> None: ...
def hasAttribute(self, attribute: 'QGeoSatelliteInfo.Attribute') -> bool: ...
def removeAttribute(self, attribute: 'QGeoSatelliteInfo.Attribute') -> None: ...
def attribute(self, attribute: 'QGeoSatelliteInfo.Attribute') -> float: ...
def setAttribute(self, attribute: 'QGeoSatelliteInfo.Attribute', value: float) -> None: ...
def signalStrength(self) -> int: ...
def setSignalStrength(self, signalStrength: int) -> None: ...
def satelliteIdentifier(self) -> int: ...
def setSatelliteIdentifier(self, satId: int) -> None: ...
def satelliteSystem(self) -> 'QGeoSatelliteInfo.SatelliteSystem': ...
def setSatelliteSystem(self, system: 'QGeoSatelliteInfo.SatelliteSystem') -> None: ...
class QGeoSatelliteInfoSource(QtCore.QObject):
class Error(enum.Enum):
AccessError = ... # type: QGeoSatelliteInfoSource.Error
ClosedError = ... # type: QGeoSatelliteInfoSource.Error
NoError = ... # type: QGeoSatelliteInfoSource.Error
UnknownSourceError = ... # type: QGeoSatelliteInfoSource.Error
UpdateTimeoutError = ... # type: QGeoSatelliteInfoSource.Error
def __init__(self, parent: typing.Optional[QtCore.QObject]) -> None: ...
def backendProperty(self, name: typing.Optional[str]) -> typing.Any: ...
def setBackendProperty(self, name: typing.Optional[str], value: typing.Any) -> bool: ...
errorOccurred: typing.ClassVar[QtCore.pyqtSignal]
satellitesInUseUpdated: typing.ClassVar[QtCore.pyqtSignal]
satellitesInViewUpdated: typing.ClassVar[QtCore.pyqtSignal]
def requestUpdate(self, timeout: int = ...) -> None: ...
def stopUpdates(self) -> None: ...
def startUpdates(self) -> None: ...
def error(self) -> 'QGeoSatelliteInfoSource.Error': ...
def minimumUpdateInterval(self) -> int: ...
def updateInterval(self) -> int: ...
def setUpdateInterval(self, msec: int) -> None: ...
def sourceName(self) -> str: ...
@staticmethod
def availableSources() -> list[str]: ...
@typing.overload
@staticmethod
def createSource(sourceName: typing.Optional[str], parent: typing.Optional[QtCore.QObject]) -> typing.Optional['QGeoSatelliteInfoSource']: ...
@typing.overload
@staticmethod
def createSource(sourceName: typing.Optional[str], parameters: dict[typing.Optional[str], typing.Any], parent: typing.Optional[QtCore.QObject]) -> typing.Optional['QGeoSatelliteInfoSource']: ...
@typing.overload
@staticmethod
def createDefaultSource(parent: typing.Optional[QtCore.QObject]) -> typing.Optional['QGeoSatelliteInfoSource']: ...
@typing.overload
@staticmethod
def createDefaultSource(parameters: dict[typing.Optional[str], typing.Any], parent: typing.Optional[QtCore.QObject]) -> typing.Optional['QGeoSatelliteInfoSource']: ...
class QNmeaPositionInfoSource(QGeoPositionInfoSource):
class UpdateMode(enum.Enum):
RealTimeMode = ... # type: QNmeaPositionInfoSource.UpdateMode
SimulationMode = ... # type: QNmeaPositionInfoSource.UpdateMode
def __init__(self, updateMode: 'QNmeaPositionInfoSource.UpdateMode', parent: typing.Optional[QtCore.QObject] = ...) -> None: ...
def userEquivalentRangeError(self) -> float: ...
def setUserEquivalentRangeError(self, uere: float) -> None: ...
def parsePosInfoFromNmeaData(self, data: typing.Optional[bytes], size: int, posInfo: typing.Optional[QGeoPositionInfo]) -> typing.Tuple[bool, typing.Optional[bool]]: ...
def requestUpdate(self, timeout: int = ...) -> None: ...
def stopUpdates(self) -> None: ...
def startUpdates(self) -> None: ...
def error(self) -> QGeoPositionInfoSource.Error: ...
def minimumUpdateInterval(self) -> int: ...
def supportedPositioningMethods(self) -> QGeoPositionInfoSource.PositioningMethod: ...
def lastKnownPosition(self, fromSatellitePositioningMethodsOnly: bool = ...) -> QGeoPositionInfo: ...
def setUpdateInterval(self, msec: int) -> None: ...
def device(self) -> typing.Optional[QtCore.QIODevice]: ...
def setDevice(self, source: typing.Optional[QtCore.QIODevice]) -> None: ...
def updateMode(self) -> 'QNmeaPositionInfoSource.UpdateMode': ...
class QNmeaSatelliteInfoSource(QGeoSatelliteInfoSource):
class SatelliteInfoParseStatus(enum.Enum):
NotParsed = ... # type: QNmeaSatelliteInfoSource.SatelliteInfoParseStatus
PartiallyParsed = ... # type: QNmeaSatelliteInfoSource.SatelliteInfoParseStatus
FullyParsed = ... # type: QNmeaSatelliteInfoSource.SatelliteInfoParseStatus
class UpdateMode(enum.Enum):
RealTimeMode = ... # type: QNmeaSatelliteInfoSource.UpdateMode
SimulationMode = ... # type: QNmeaSatelliteInfoSource.UpdateMode
SimulationUpdateInterval = ... # type: typing.Optional[str]
def __init__(self, mode: 'QNmeaSatelliteInfoSource.UpdateMode', parent: typing.Optional[QtCore.QObject] = ...) -> None: ...
def parseSatelliteInfoFromNmea(self, data: typing.Optional[bytes], size: int, infos: collections.abc.Iterable[QGeoSatelliteInfo]) -> typing.Tuple['QNmeaSatelliteInfoSource.SatelliteInfoParseStatus', QGeoSatelliteInfo.SatelliteSystem]: ...
def parseSatellitesInUseFromNmea(self, data: typing.Optional[bytes], size: int, pnrsInUse: collections.abc.Iterable[int]) -> QGeoSatelliteInfo.SatelliteSystem: ...
def requestUpdate(self, timeout: int = ...) -> None: ...
def stopUpdates(self) -> None: ...
def startUpdates(self) -> None: ...
def backendProperty(self, name: typing.Optional[str]) -> typing.Any: ...
def setBackendProperty(self, name: typing.Optional[str], value: typing.Any) -> bool: ...
def error(self) -> QGeoSatelliteInfoSource.Error: ...
def minimumUpdateInterval(self) -> int: ...
def setUpdateInterval(self, msec: int) -> None: ...
def device(self) -> typing.Optional[QtCore.QIODevice]: ...
def setDevice(self, source: typing.Optional[QtCore.QIODevice]) -> None: ...
def updateMode(self) -> 'QNmeaSatelliteInfoSource.UpdateMode': ...
|