1class pyqtSignal(): 2 def connect(self, targetSignal): pass 3 def emit(self, *args): pass 4from QtCore import * 5 6from QtWidgets import * 7 8import datetime 9 10class QGeoAddress(): 11 """""" 12 def __init__(self): 13 '''void QGeoAddress.__init__()''' 14 def __init__(self, other): 15 '''void QGeoAddress.__init__(QGeoAddress other)''' 16 def isTextGenerated(self): 17 '''bool QGeoAddress.isTextGenerated()''' 18 return bool() 19 def clear(self): 20 '''void QGeoAddress.clear()''' 21 def isEmpty(self): 22 '''bool QGeoAddress.isEmpty()''' 23 return bool() 24 def setStreet(self, street): 25 '''void QGeoAddress.setStreet(str street)''' 26 def street(self): 27 '''str QGeoAddress.street()''' 28 return str() 29 def setPostalCode(self, postalCode): 30 '''void QGeoAddress.setPostalCode(str postalCode)''' 31 def postalCode(self): 32 '''str QGeoAddress.postalCode()''' 33 return str() 34 def setDistrict(self, district): 35 '''void QGeoAddress.setDistrict(str district)''' 36 def district(self): 37 '''str QGeoAddress.district()''' 38 return str() 39 def setCity(self, city): 40 '''void QGeoAddress.setCity(str city)''' 41 def city(self): 42 '''str QGeoAddress.city()''' 43 return str() 44 def setCounty(self, county): 45 '''void QGeoAddress.setCounty(str county)''' 46 def county(self): 47 '''str QGeoAddress.county()''' 48 return str() 49 def setState(self, state): 50 '''void QGeoAddress.setState(str state)''' 51 def state(self): 52 '''str QGeoAddress.state()''' 53 return str() 54 def setCountryCode(self, countryCode): 55 '''void QGeoAddress.setCountryCode(str countryCode)''' 56 def countryCode(self): 57 '''str QGeoAddress.countryCode()''' 58 return str() 59 def setCountry(self, country): 60 '''void QGeoAddress.setCountry(str country)''' 61 def country(self): 62 '''str QGeoAddress.country()''' 63 return str() 64 def setText(self, text): 65 '''void QGeoAddress.setText(str text)''' 66 def text(self): 67 '''str QGeoAddress.text()''' 68 return str() 69 def __ne__(self, other): 70 '''bool QGeoAddress.__ne__(QGeoAddress other)''' 71 return bool() 72 def __eq__(self, other): 73 '''bool QGeoAddress.__eq__(QGeoAddress other)''' 74 return bool() 75 76 77class QGeoAreaMonitorInfo(): 78 """""" 79 def __init__(self, name = None): 80 '''void QGeoAreaMonitorInfo.__init__(str name = '')''' 81 def __init__(self, other): 82 '''void QGeoAreaMonitorInfo.__init__(QGeoAreaMonitorInfo other)''' 83 def setNotificationParameters(self, parameters): 84 '''void QGeoAreaMonitorInfo.setNotificationParameters(dict-of-str-object parameters)''' 85 def notificationParameters(self): 86 '''dict-of-str-object QGeoAreaMonitorInfo.notificationParameters()''' 87 return {str():object()} 88 def setPersistent(self, isPersistent): 89 '''void QGeoAreaMonitorInfo.setPersistent(bool isPersistent)''' 90 def isPersistent(self): 91 '''bool QGeoAreaMonitorInfo.isPersistent()''' 92 return bool() 93 def setExpiration(self, expiry): 94 '''void QGeoAreaMonitorInfo.setExpiration(QDateTime expiry)''' 95 def expiration(self): 96 '''QDateTime QGeoAreaMonitorInfo.expiration()''' 97 return QDateTime() 98 def setArea(self, newShape): 99 '''void QGeoAreaMonitorInfo.setArea(QGeoShape newShape)''' 100 def area(self): 101 '''QGeoShape QGeoAreaMonitorInfo.area()''' 102 return QGeoShape() 103 def isValid(self): 104 '''bool QGeoAreaMonitorInfo.isValid()''' 105 return bool() 106 def identifier(self): 107 '''str QGeoAreaMonitorInfo.identifier()''' 108 return str() 109 def setName(self, name): 110 '''void QGeoAreaMonitorInfo.setName(str name)''' 111 def name(self): 112 '''str QGeoAreaMonitorInfo.name()''' 113 return str() 114 def __ne__(self, other): 115 '''bool QGeoAreaMonitorInfo.__ne__(QGeoAreaMonitorInfo other)''' 116 return bool() 117 def __eq__(self, other): 118 '''bool QGeoAreaMonitorInfo.__eq__(QGeoAreaMonitorInfo other)''' 119 return bool() 120 121 122class QGeoAreaMonitorSource(QObject): 123 """""" 124 # Enum QGeoAreaMonitorSource.AreaMonitorFeature 125 PersistentAreaMonitorFeature = 0 126 AnyAreaMonitorFeature = 0 127 128 # Enum QGeoAreaMonitorSource.Error 129 AccessError = 0 130 InsufficientPositionInfo = 0 131 UnknownSourceError = 0 132 NoError = 0 133 134 def __init__(self, parent): 135 '''void QGeoAreaMonitorSource.__init__(QObject parent)''' 136 monitorExpired = pyqtSignal() # void monitorExpired(const QGeoAreaMonitorInfoamp;) - signal 137 areaExited = pyqtSignal() # void areaExited(const QGeoAreaMonitorInfoamp;,const QGeoPositionInfoamp;) - signal 138 areaEntered = pyqtSignal() # void areaEntered(const QGeoAreaMonitorInfoamp;,const QGeoPositionInfoamp;) - signal 139 def activeMonitors(self): 140 '''abstract list-of-QGeoAreaMonitorInfo QGeoAreaMonitorSource.activeMonitors()''' 141 return [QGeoAreaMonitorInfo()] 142 def activeMonitors(self, lookupArea): 143 '''abstract list-of-QGeoAreaMonitorInfo QGeoAreaMonitorSource.activeMonitors(QGeoShape lookupArea)''' 144 return [QGeoAreaMonitorInfo()] 145 def requestUpdate(self, monitor, signal): 146 '''abstract bool QGeoAreaMonitorSource.requestUpdate(QGeoAreaMonitorInfo monitor, str signal)''' 147 return bool() 148 def stopMonitoring(self, monitor): 149 '''abstract bool QGeoAreaMonitorSource.stopMonitoring(QGeoAreaMonitorInfo monitor)''' 150 return bool() 151 def startMonitoring(self, monitor): 152 '''abstract bool QGeoAreaMonitorSource.startMonitoring(QGeoAreaMonitorInfo monitor)''' 153 return bool() 154 def supportedAreaMonitorFeatures(self): 155 '''abstract QGeoAreaMonitorSource.AreaMonitorFeatures QGeoAreaMonitorSource.supportedAreaMonitorFeatures()''' 156 return QGeoAreaMonitorSource.AreaMonitorFeatures() 157 def error(self): 158 '''abstract QGeoAreaMonitorSource.Error QGeoAreaMonitorSource.error()''' 159 return QGeoAreaMonitorSource.Error() 160 error = pyqtSignal() # void error(QGeoAreaMonitorSource::Error) - signal 161 def sourceName(self): 162 '''str QGeoAreaMonitorSource.sourceName()''' 163 return str() 164 def positionInfoSource(self): 165 '''QGeoPositionInfoSource QGeoAreaMonitorSource.positionInfoSource()''' 166 return QGeoPositionInfoSource() 167 def setPositionInfoSource(self, source): 168 '''void QGeoAreaMonitorSource.setPositionInfoSource(QGeoPositionInfoSource source)''' 169 def availableSources(self): 170 '''static list-of-str QGeoAreaMonitorSource.availableSources()''' 171 return [str()] 172 def createSource(self, sourceName, parent): 173 '''static QGeoAreaMonitorSource QGeoAreaMonitorSource.createSource(str sourceName, QObject parent)''' 174 return QGeoAreaMonitorSource() 175 def createDefaultSource(self, parent): 176 '''static QGeoAreaMonitorSource QGeoAreaMonitorSource.createDefaultSource(QObject parent)''' 177 return QGeoAreaMonitorSource() 178 class AreaMonitorFeatures(): 179 """""" 180 def __init__(self): 181 '''QGeoAreaMonitorSource.AreaMonitorFeatures QGeoAreaMonitorSource.AreaMonitorFeatures.__init__()''' 182 return QGeoAreaMonitorSource.AreaMonitorFeatures() 183 def __init__(self): 184 '''int QGeoAreaMonitorSource.AreaMonitorFeatures.__init__()''' 185 return int() 186 def __init__(self): 187 '''void QGeoAreaMonitorSource.AreaMonitorFeatures.__init__()''' 188 def __bool__(self): 189 '''int QGeoAreaMonitorSource.AreaMonitorFeatures.__bool__()''' 190 return int() 191 def __ne__(self, f): 192 '''bool QGeoAreaMonitorSource.AreaMonitorFeatures.__ne__(QGeoAreaMonitorSource.AreaMonitorFeatures f)''' 193 return bool() 194 def __eq__(self, f): 195 '''bool QGeoAreaMonitorSource.AreaMonitorFeatures.__eq__(QGeoAreaMonitorSource.AreaMonitorFeatures f)''' 196 return bool() 197 def __invert__(self): 198 '''QGeoAreaMonitorSource.AreaMonitorFeatures QGeoAreaMonitorSource.AreaMonitorFeatures.__invert__()''' 199 return QGeoAreaMonitorSource.AreaMonitorFeatures() 200 def __and__(self, mask): 201 '''QGeoAreaMonitorSource.AreaMonitorFeatures QGeoAreaMonitorSource.AreaMonitorFeatures.__and__(int mask)''' 202 return QGeoAreaMonitorSource.AreaMonitorFeatures() 203 def __xor__(self, f): 204 '''QGeoAreaMonitorSource.AreaMonitorFeatures QGeoAreaMonitorSource.AreaMonitorFeatures.__xor__(QGeoAreaMonitorSource.AreaMonitorFeatures f)''' 205 return QGeoAreaMonitorSource.AreaMonitorFeatures() 206 def __xor__(self, f): 207 '''QGeoAreaMonitorSource.AreaMonitorFeatures QGeoAreaMonitorSource.AreaMonitorFeatures.__xor__(int f)''' 208 return QGeoAreaMonitorSource.AreaMonitorFeatures() 209 def __or__(self, f): 210 '''QGeoAreaMonitorSource.AreaMonitorFeatures QGeoAreaMonitorSource.AreaMonitorFeatures.__or__(QGeoAreaMonitorSource.AreaMonitorFeatures f)''' 211 return QGeoAreaMonitorSource.AreaMonitorFeatures() 212 def __or__(self, f): 213 '''QGeoAreaMonitorSource.AreaMonitorFeatures QGeoAreaMonitorSource.AreaMonitorFeatures.__or__(int f)''' 214 return QGeoAreaMonitorSource.AreaMonitorFeatures() 215 def __int__(self): 216 '''int QGeoAreaMonitorSource.AreaMonitorFeatures.__int__()''' 217 return int() 218 def __ixor__(self, f): 219 '''QGeoAreaMonitorSource.AreaMonitorFeatures QGeoAreaMonitorSource.AreaMonitorFeatures.__ixor__(QGeoAreaMonitorSource.AreaMonitorFeatures f)''' 220 return QGeoAreaMonitorSource.AreaMonitorFeatures() 221 def __ior__(self, f): 222 '''QGeoAreaMonitorSource.AreaMonitorFeatures QGeoAreaMonitorSource.AreaMonitorFeatures.__ior__(QGeoAreaMonitorSource.AreaMonitorFeatures f)''' 223 return QGeoAreaMonitorSource.AreaMonitorFeatures() 224 def __iand__(self, mask): 225 '''QGeoAreaMonitorSource.AreaMonitorFeatures QGeoAreaMonitorSource.AreaMonitorFeatures.__iand__(int mask)''' 226 return QGeoAreaMonitorSource.AreaMonitorFeatures() 227 228 229class QGeoShape(): 230 """""" 231 # Enum QGeoShape.ShapeType 232 UnknownType = 0 233 RectangleType = 0 234 CircleType = 0 235 236 def __init__(self): 237 '''void QGeoShape.__init__()''' 238 def __init__(self, other): 239 '''void QGeoShape.__init__(QGeoShape other)''' 240 def toString(self): 241 '''str QGeoShape.toString()''' 242 return str() 243 def center(self): 244 '''QGeoCoordinate QGeoShape.center()''' 245 return QGeoCoordinate() 246 def extendShape(self, coordinate): 247 '''void QGeoShape.extendShape(QGeoCoordinate coordinate)''' 248 def __ne__(self, other): 249 '''bool QGeoShape.__ne__(QGeoShape other)''' 250 return bool() 251 def __eq__(self, other): 252 '''bool QGeoShape.__eq__(QGeoShape other)''' 253 return bool() 254 def contains(self, coordinate): 255 '''bool QGeoShape.contains(QGeoCoordinate coordinate)''' 256 return bool() 257 def isEmpty(self): 258 '''bool QGeoShape.isEmpty()''' 259 return bool() 260 def isValid(self): 261 '''bool QGeoShape.isValid()''' 262 return bool() 263 def type(self): 264 '''QGeoShape.ShapeType QGeoShape.type()''' 265 return QGeoShape.ShapeType() 266 267 268class QGeoCircle(QGeoShape): 269 """""" 270 def __init__(self): 271 '''void QGeoCircle.__init__()''' 272 def __init__(self, center, radius = None): 273 '''void QGeoCircle.__init__(QGeoCoordinate center, float radius = -1)''' 274 def __init__(self, other): 275 '''void QGeoCircle.__init__(QGeoCircle other)''' 276 def __init__(self, other): 277 '''void QGeoCircle.__init__(QGeoShape other)''' 278 def toString(self): 279 '''str QGeoCircle.toString()''' 280 return str() 281 def translated(self, degreesLatitude, degreesLongitude): 282 '''QGeoCircle QGeoCircle.translated(float degreesLatitude, float degreesLongitude)''' 283 return QGeoCircle() 284 def translate(self, degreesLatitude, degreesLongitude): 285 '''void QGeoCircle.translate(float degreesLatitude, float degreesLongitude)''' 286 def radius(self): 287 '''float QGeoCircle.radius()''' 288 return float() 289 def setRadius(self, radius): 290 '''void QGeoCircle.setRadius(float radius)''' 291 def center(self): 292 '''QGeoCoordinate QGeoCircle.center()''' 293 return QGeoCoordinate() 294 def setCenter(self, center): 295 '''void QGeoCircle.setCenter(QGeoCoordinate center)''' 296 def __ne__(self, other): 297 '''bool QGeoCircle.__ne__(QGeoCircle other)''' 298 return bool() 299 def __eq__(self, other): 300 '''bool QGeoCircle.__eq__(QGeoCircle other)''' 301 return bool() 302 303 304class QGeoCoordinate(): 305 """""" 306 # Enum QGeoCoordinate.CoordinateFormat 307 Degrees = 0 308 DegreesWithHemisphere = 0 309 DegreesMinutes = 0 310 DegreesMinutesWithHemisphere = 0 311 DegreesMinutesSeconds = 0 312 DegreesMinutesSecondsWithHemisphere = 0 313 314 # Enum QGeoCoordinate.CoordinateType 315 InvalidCoordinate = 0 316 Coordinate2D = 0 317 Coordinate3D = 0 318 319 def __init__(self): 320 '''void QGeoCoordinate.__init__()''' 321 def __init__(self, latitude, longitude): 322 '''void QGeoCoordinate.__init__(float latitude, float longitude)''' 323 def __init__(self, latitude, longitude, altitude): 324 '''void QGeoCoordinate.__init__(float latitude, float longitude, float altitude)''' 325 def __init__(self, other): 326 '''void QGeoCoordinate.__init__(QGeoCoordinate other)''' 327 def toString(self, format = None): 328 '''str QGeoCoordinate.toString(QGeoCoordinate.CoordinateFormat format = QGeoCoordinate.DegreesMinutesSecondsWithHemisphere)''' 329 return str() 330 def atDistanceAndAzimuth(self, distance, azimuth, distanceUp = 0): 331 '''QGeoCoordinate QGeoCoordinate.atDistanceAndAzimuth(float distance, float azimuth, float distanceUp = 0)''' 332 return QGeoCoordinate() 333 def azimuthTo(self, other): 334 '''float QGeoCoordinate.azimuthTo(QGeoCoordinate other)''' 335 return float() 336 def distanceTo(self, other): 337 '''float QGeoCoordinate.distanceTo(QGeoCoordinate other)''' 338 return float() 339 def altitude(self): 340 '''float QGeoCoordinate.altitude()''' 341 return float() 342 def setAltitude(self, altitude): 343 '''void QGeoCoordinate.setAltitude(float altitude)''' 344 def longitude(self): 345 '''float QGeoCoordinate.longitude()''' 346 return float() 347 def setLongitude(self, longitude): 348 '''void QGeoCoordinate.setLongitude(float longitude)''' 349 def latitude(self): 350 '''float QGeoCoordinate.latitude()''' 351 return float() 352 def setLatitude(self, latitude): 353 '''void QGeoCoordinate.setLatitude(float latitude)''' 354 def type(self): 355 '''QGeoCoordinate.CoordinateType QGeoCoordinate.type()''' 356 return QGeoCoordinate.CoordinateType() 357 def isValid(self): 358 '''bool QGeoCoordinate.isValid()''' 359 return bool() 360 def __ne__(self, other): 361 '''bool QGeoCoordinate.__ne__(QGeoCoordinate other)''' 362 return bool() 363 def __eq__(self, other): 364 '''bool QGeoCoordinate.__eq__(QGeoCoordinate other)''' 365 return bool() 366 367 368class QGeoLocation(): 369 """""" 370 def __init__(self): 371 '''void QGeoLocation.__init__()''' 372 def __init__(self, other): 373 '''void QGeoLocation.__init__(QGeoLocation other)''' 374 def isEmpty(self): 375 '''bool QGeoLocation.isEmpty()''' 376 return bool() 377 def setBoundingBox(self, box): 378 '''void QGeoLocation.setBoundingBox(QGeoRectangle box)''' 379 def boundingBox(self): 380 '''QGeoRectangle QGeoLocation.boundingBox()''' 381 return QGeoRectangle() 382 def setCoordinate(self, position): 383 '''void QGeoLocation.setCoordinate(QGeoCoordinate position)''' 384 def coordinate(self): 385 '''QGeoCoordinate QGeoLocation.coordinate()''' 386 return QGeoCoordinate() 387 def setAddress(self, address): 388 '''void QGeoLocation.setAddress(QGeoAddress address)''' 389 def address(self): 390 '''QGeoAddress QGeoLocation.address()''' 391 return QGeoAddress() 392 def __ne__(self, other): 393 '''bool QGeoLocation.__ne__(QGeoLocation other)''' 394 return bool() 395 def __eq__(self, other): 396 '''bool QGeoLocation.__eq__(QGeoLocation other)''' 397 return bool() 398 399 400class QGeoPositionInfo(): 401 """""" 402 # Enum QGeoPositionInfo.Attribute 403 Direction = 0 404 GroundSpeed = 0 405 VerticalSpeed = 0 406 MagneticVariation = 0 407 HorizontalAccuracy = 0 408 VerticalAccuracy = 0 409 410 def __init__(self): 411 '''void QGeoPositionInfo.__init__()''' 412 def __init__(self, coordinate, updateTime): 413 '''void QGeoPositionInfo.__init__(QGeoCoordinate coordinate, QDateTime updateTime)''' 414 def __init__(self, other): 415 '''void QGeoPositionInfo.__init__(QGeoPositionInfo other)''' 416 def hasAttribute(self, attribute): 417 '''bool QGeoPositionInfo.hasAttribute(QGeoPositionInfo.Attribute attribute)''' 418 return bool() 419 def removeAttribute(self, attribute): 420 '''void QGeoPositionInfo.removeAttribute(QGeoPositionInfo.Attribute attribute)''' 421 def attribute(self, attribute): 422 '''float QGeoPositionInfo.attribute(QGeoPositionInfo.Attribute attribute)''' 423 return float() 424 def setAttribute(self, attribute, value): 425 '''void QGeoPositionInfo.setAttribute(QGeoPositionInfo.Attribute attribute, float value)''' 426 def coordinate(self): 427 '''QGeoCoordinate QGeoPositionInfo.coordinate()''' 428 return QGeoCoordinate() 429 def setCoordinate(self, coordinate): 430 '''void QGeoPositionInfo.setCoordinate(QGeoCoordinate coordinate)''' 431 def timestamp(self): 432 '''QDateTime QGeoPositionInfo.timestamp()''' 433 return QDateTime() 434 def setTimestamp(self, timestamp): 435 '''void QGeoPositionInfo.setTimestamp(QDateTime timestamp)''' 436 def isValid(self): 437 '''bool QGeoPositionInfo.isValid()''' 438 return bool() 439 def __ne__(self, other): 440 '''bool QGeoPositionInfo.__ne__(QGeoPositionInfo other)''' 441 return bool() 442 def __eq__(self, other): 443 '''bool QGeoPositionInfo.__eq__(QGeoPositionInfo other)''' 444 return bool() 445 446 447class QGeoPositionInfoSource(QObject): 448 """""" 449 # Enum QGeoPositionInfoSource.PositioningMethod 450 NoPositioningMethods = 0 451 SatellitePositioningMethods = 0 452 NonSatellitePositioningMethods = 0 453 AllPositioningMethods = 0 454 455 # Enum QGeoPositionInfoSource.Error 456 AccessError = 0 457 ClosedError = 0 458 UnknownSourceError = 0 459 NoError = 0 460 461 def __init__(self, parent): 462 '''void QGeoPositionInfoSource.__init__(QObject parent)''' 463 updateTimeout = pyqtSignal() # void updateTimeout() - signal 464 positionUpdated = pyqtSignal() # void positionUpdated(const QGeoPositionInfoamp;) - signal 465 def requestUpdate(self, timeout = 0): 466 '''abstract void QGeoPositionInfoSource.requestUpdate(int timeout = 0)''' 467 def stopUpdates(self): 468 '''abstract void QGeoPositionInfoSource.stopUpdates()''' 469 def startUpdates(self): 470 '''abstract void QGeoPositionInfoSource.startUpdates()''' 471 def error(self): 472 '''abstract QGeoPositionInfoSource.Error QGeoPositionInfoSource.error()''' 473 return QGeoPositionInfoSource.Error() 474 error = pyqtSignal() # void error(QGeoPositionInfoSource::Error) - signal 475 def availableSources(self): 476 '''static list-of-str QGeoPositionInfoSource.availableSources()''' 477 return [str()] 478 def createSource(self, sourceName, parent): 479 '''static QGeoPositionInfoSource QGeoPositionInfoSource.createSource(str sourceName, QObject parent)''' 480 return QGeoPositionInfoSource() 481 def createDefaultSource(self, parent): 482 '''static QGeoPositionInfoSource QGeoPositionInfoSource.createDefaultSource(QObject parent)''' 483 return QGeoPositionInfoSource() 484 def sourceName(self): 485 '''str QGeoPositionInfoSource.sourceName()''' 486 return str() 487 def minimumUpdateInterval(self): 488 '''abstract int QGeoPositionInfoSource.minimumUpdateInterval()''' 489 return int() 490 def supportedPositioningMethods(self): 491 '''abstract QGeoPositionInfoSource.PositioningMethods QGeoPositionInfoSource.supportedPositioningMethods()''' 492 return QGeoPositionInfoSource.PositioningMethods() 493 def lastKnownPosition(self, fromSatellitePositioningMethodsOnly = False): 494 '''abstract QGeoPositionInfo QGeoPositionInfoSource.lastKnownPosition(bool fromSatellitePositioningMethodsOnly = False)''' 495 return QGeoPositionInfo() 496 def preferredPositioningMethods(self): 497 '''QGeoPositionInfoSource.PositioningMethods QGeoPositionInfoSource.preferredPositioningMethods()''' 498 return QGeoPositionInfoSource.PositioningMethods() 499 def setPreferredPositioningMethods(self, methods): 500 '''void QGeoPositionInfoSource.setPreferredPositioningMethods(QGeoPositionInfoSource.PositioningMethods methods)''' 501 def updateInterval(self): 502 '''int QGeoPositionInfoSource.updateInterval()''' 503 return int() 504 def setUpdateInterval(self, msec): 505 '''void QGeoPositionInfoSource.setUpdateInterval(int msec)''' 506 class PositioningMethods(): 507 """""" 508 def __init__(self): 509 '''QGeoPositionInfoSource.PositioningMethods QGeoPositionInfoSource.PositioningMethods.__init__()''' 510 return QGeoPositionInfoSource.PositioningMethods() 511 def __init__(self): 512 '''int QGeoPositionInfoSource.PositioningMethods.__init__()''' 513 return int() 514 def __init__(self): 515 '''void QGeoPositionInfoSource.PositioningMethods.__init__()''' 516 def __bool__(self): 517 '''int QGeoPositionInfoSource.PositioningMethods.__bool__()''' 518 return int() 519 def __ne__(self, f): 520 '''bool QGeoPositionInfoSource.PositioningMethods.__ne__(QGeoPositionInfoSource.PositioningMethods f)''' 521 return bool() 522 def __eq__(self, f): 523 '''bool QGeoPositionInfoSource.PositioningMethods.__eq__(QGeoPositionInfoSource.PositioningMethods f)''' 524 return bool() 525 def __invert__(self): 526 '''QGeoPositionInfoSource.PositioningMethods QGeoPositionInfoSource.PositioningMethods.__invert__()''' 527 return QGeoPositionInfoSource.PositioningMethods() 528 def __and__(self, mask): 529 '''QGeoPositionInfoSource.PositioningMethods QGeoPositionInfoSource.PositioningMethods.__and__(int mask)''' 530 return QGeoPositionInfoSource.PositioningMethods() 531 def __xor__(self, f): 532 '''QGeoPositionInfoSource.PositioningMethods QGeoPositionInfoSource.PositioningMethods.__xor__(QGeoPositionInfoSource.PositioningMethods f)''' 533 return QGeoPositionInfoSource.PositioningMethods() 534 def __xor__(self, f): 535 '''QGeoPositionInfoSource.PositioningMethods QGeoPositionInfoSource.PositioningMethods.__xor__(int f)''' 536 return QGeoPositionInfoSource.PositioningMethods() 537 def __or__(self, f): 538 '''QGeoPositionInfoSource.PositioningMethods QGeoPositionInfoSource.PositioningMethods.__or__(QGeoPositionInfoSource.PositioningMethods f)''' 539 return QGeoPositionInfoSource.PositioningMethods() 540 def __or__(self, f): 541 '''QGeoPositionInfoSource.PositioningMethods QGeoPositionInfoSource.PositioningMethods.__or__(int f)''' 542 return QGeoPositionInfoSource.PositioningMethods() 543 def __int__(self): 544 '''int QGeoPositionInfoSource.PositioningMethods.__int__()''' 545 return int() 546 def __ixor__(self, f): 547 '''QGeoPositionInfoSource.PositioningMethods QGeoPositionInfoSource.PositioningMethods.__ixor__(QGeoPositionInfoSource.PositioningMethods f)''' 548 return QGeoPositionInfoSource.PositioningMethods() 549 def __ior__(self, f): 550 '''QGeoPositionInfoSource.PositioningMethods QGeoPositionInfoSource.PositioningMethods.__ior__(QGeoPositionInfoSource.PositioningMethods f)''' 551 return QGeoPositionInfoSource.PositioningMethods() 552 def __iand__(self, mask): 553 '''QGeoPositionInfoSource.PositioningMethods QGeoPositionInfoSource.PositioningMethods.__iand__(int mask)''' 554 return QGeoPositionInfoSource.PositioningMethods() 555 556 557class QGeoRectangle(QGeoShape): 558 """""" 559 def __init__(self): 560 '''void QGeoRectangle.__init__()''' 561 def __init__(self, center, degreesWidth, degreesHeight): 562 '''void QGeoRectangle.__init__(QGeoCoordinate center, float degreesWidth, float degreesHeight)''' 563 def __init__(self, topLeft, bottomRight): 564 '''void QGeoRectangle.__init__(QGeoCoordinate topLeft, QGeoCoordinate bottomRight)''' 565 def __init__(self, coordinates): 566 '''void QGeoRectangle.__init__(list-of-QGeoCoordinate coordinates)''' 567 def __init__(self, other): 568 '''void QGeoRectangle.__init__(QGeoRectangle other)''' 569 def __init__(self, other): 570 '''void QGeoRectangle.__init__(QGeoShape other)''' 571 def toString(self): 572 '''str QGeoRectangle.toString()''' 573 return str() 574 def __or__(self, rectangle): 575 '''QGeoRectangle QGeoRectangle.__or__(QGeoRectangle rectangle)''' 576 return QGeoRectangle() 577 def __ior__(self, rectangle): 578 '''QGeoRectangle QGeoRectangle.__ior__(QGeoRectangle rectangle)''' 579 return QGeoRectangle() 580 def united(self, rectangle): 581 '''QGeoRectangle QGeoRectangle.united(QGeoRectangle rectangle)''' 582 return QGeoRectangle() 583 def translated(self, degreesLatitude, degreesLongitude): 584 '''QGeoRectangle QGeoRectangle.translated(float degreesLatitude, float degreesLongitude)''' 585 return QGeoRectangle() 586 def translate(self, degreesLatitude, degreesLongitude): 587 '''void QGeoRectangle.translate(float degreesLatitude, float degreesLongitude)''' 588 def intersects(self, rectangle): 589 '''bool QGeoRectangle.intersects(QGeoRectangle rectangle)''' 590 return bool() 591 def contains(self, rectangle): 592 '''bool QGeoRectangle.contains(QGeoRectangle rectangle)''' 593 return bool() 594 def height(self): 595 '''float QGeoRectangle.height()''' 596 return float() 597 def setHeight(self, degreesHeight): 598 '''void QGeoRectangle.setHeight(float degreesHeight)''' 599 def width(self): 600 '''float QGeoRectangle.width()''' 601 return float() 602 def setWidth(self, degreesWidth): 603 '''void QGeoRectangle.setWidth(float degreesWidth)''' 604 def center(self): 605 '''QGeoCoordinate QGeoRectangle.center()''' 606 return QGeoCoordinate() 607 def setCenter(self, center): 608 '''void QGeoRectangle.setCenter(QGeoCoordinate center)''' 609 def bottomRight(self): 610 '''QGeoCoordinate QGeoRectangle.bottomRight()''' 611 return QGeoCoordinate() 612 def setBottomRight(self, bottomRight): 613 '''void QGeoRectangle.setBottomRight(QGeoCoordinate bottomRight)''' 614 def bottomLeft(self): 615 '''QGeoCoordinate QGeoRectangle.bottomLeft()''' 616 return QGeoCoordinate() 617 def setBottomLeft(self, bottomLeft): 618 '''void QGeoRectangle.setBottomLeft(QGeoCoordinate bottomLeft)''' 619 def topRight(self): 620 '''QGeoCoordinate QGeoRectangle.topRight()''' 621 return QGeoCoordinate() 622 def setTopRight(self, topRight): 623 '''void QGeoRectangle.setTopRight(QGeoCoordinate topRight)''' 624 def topLeft(self): 625 '''QGeoCoordinate QGeoRectangle.topLeft()''' 626 return QGeoCoordinate() 627 def setTopLeft(self, topLeft): 628 '''void QGeoRectangle.setTopLeft(QGeoCoordinate topLeft)''' 629 def __ne__(self, other): 630 '''bool QGeoRectangle.__ne__(QGeoRectangle other)''' 631 return bool() 632 def __eq__(self, other): 633 '''bool QGeoRectangle.__eq__(QGeoRectangle other)''' 634 return bool() 635 636 637class QGeoSatelliteInfo(): 638 """""" 639 # Enum QGeoSatelliteInfo.SatelliteSystem 640 Undefined = 0 641 GPS = 0 642 GLONASS = 0 643 644 # Enum QGeoSatelliteInfo.Attribute 645 Elevation = 0 646 Azimuth = 0 647 648 def __init__(self): 649 '''void QGeoSatelliteInfo.__init__()''' 650 def __init__(self, other): 651 '''void QGeoSatelliteInfo.__init__(QGeoSatelliteInfo other)''' 652 def hasAttribute(self, attribute): 653 '''bool QGeoSatelliteInfo.hasAttribute(QGeoSatelliteInfo.Attribute attribute)''' 654 return bool() 655 def removeAttribute(self, attribute): 656 '''void QGeoSatelliteInfo.removeAttribute(QGeoSatelliteInfo.Attribute attribute)''' 657 def attribute(self, attribute): 658 '''float QGeoSatelliteInfo.attribute(QGeoSatelliteInfo.Attribute attribute)''' 659 return float() 660 def setAttribute(self, attribute, value): 661 '''void QGeoSatelliteInfo.setAttribute(QGeoSatelliteInfo.Attribute attribute, float value)''' 662 def signalStrength(self): 663 '''int QGeoSatelliteInfo.signalStrength()''' 664 return int() 665 def setSignalStrength(self, signalStrength): 666 '''void QGeoSatelliteInfo.setSignalStrength(int signalStrength)''' 667 def satelliteIdentifier(self): 668 '''int QGeoSatelliteInfo.satelliteIdentifier()''' 669 return int() 670 def setSatelliteIdentifier(self, satId): 671 '''void QGeoSatelliteInfo.setSatelliteIdentifier(int satId)''' 672 def satelliteSystem(self): 673 '''QGeoSatelliteInfo.SatelliteSystem QGeoSatelliteInfo.satelliteSystem()''' 674 return QGeoSatelliteInfo.SatelliteSystem() 675 def setSatelliteSystem(self, system): 676 '''void QGeoSatelliteInfo.setSatelliteSystem(QGeoSatelliteInfo.SatelliteSystem system)''' 677 def __ne__(self, other): 678 '''bool QGeoSatelliteInfo.__ne__(QGeoSatelliteInfo other)''' 679 return bool() 680 def __eq__(self, other): 681 '''bool QGeoSatelliteInfo.__eq__(QGeoSatelliteInfo other)''' 682 return bool() 683 684 685class QGeoSatelliteInfoSource(QObject): 686 """""" 687 # Enum QGeoSatelliteInfoSource.Error 688 AccessError = 0 689 ClosedError = 0 690 NoError = 0 691 UnknownSourceError = 0 692 693 def __init__(self, parent): 694 '''void QGeoSatelliteInfoSource.__init__(QObject parent)''' 695 requestTimeout = pyqtSignal() # void requestTimeout() - signal 696 satellitesInUseUpdated = pyqtSignal() # void satellitesInUseUpdated(const QListlt;QGeoSatelliteInfogt;amp;) - signal 697 satellitesInViewUpdated = pyqtSignal() # void satellitesInViewUpdated(const QListlt;QGeoSatelliteInfogt;amp;) - signal 698 def requestUpdate(self, timeout = 0): 699 '''abstract void QGeoSatelliteInfoSource.requestUpdate(int timeout = 0)''' 700 def stopUpdates(self): 701 '''abstract void QGeoSatelliteInfoSource.stopUpdates()''' 702 def startUpdates(self): 703 '''abstract void QGeoSatelliteInfoSource.startUpdates()''' 704 def error(self): 705 '''abstract QGeoSatelliteInfoSource.Error QGeoSatelliteInfoSource.error()''' 706 return QGeoSatelliteInfoSource.Error() 707 error = pyqtSignal() # void error(QGeoSatelliteInfoSource::Error) - signal 708 def minimumUpdateInterval(self): 709 '''abstract int QGeoSatelliteInfoSource.minimumUpdateInterval()''' 710 return int() 711 def updateInterval(self): 712 '''int QGeoSatelliteInfoSource.updateInterval()''' 713 return int() 714 def setUpdateInterval(self, msec): 715 '''void QGeoSatelliteInfoSource.setUpdateInterval(int msec)''' 716 def sourceName(self): 717 '''str QGeoSatelliteInfoSource.sourceName()''' 718 return str() 719 def availableSources(self): 720 '''static list-of-str QGeoSatelliteInfoSource.availableSources()''' 721 return [str()] 722 def createSource(self, sourceName, parent): 723 '''static QGeoSatelliteInfoSource QGeoSatelliteInfoSource.createSource(str sourceName, QObject parent)''' 724 return QGeoSatelliteInfoSource() 725 def createDefaultSource(self, parent): 726 '''static QGeoSatelliteInfoSource QGeoSatelliteInfoSource.createDefaultSource(QObject parent)''' 727 return QGeoSatelliteInfoSource() 728 729 730class QNmeaPositionInfoSource(QGeoPositionInfoSource): 731 """""" 732 # Enum QNmeaPositionInfoSource.UpdateMode 733 RealTimeMode = 0 734 SimulationMode = 0 735 736 def __init__(self, updateMode, parent = None): 737 '''void QNmeaPositionInfoSource.__init__(QNmeaPositionInfoSource.UpdateMode updateMode, QObject parent = None)''' 738 def userEquivalentRangeError(self): 739 '''float QNmeaPositionInfoSource.userEquivalentRangeError()''' 740 return float() 741 def setUserEquivalentRangeError(self, uere): 742 '''void QNmeaPositionInfoSource.setUserEquivalentRangeError(float uere)''' 743 def parsePosInfoFromNmeaData(self, data, size, posInfo, hasFix): 744 '''bool QNmeaPositionInfoSource.parsePosInfoFromNmeaData(str data, int size, QGeoPositionInfo posInfo, bool hasFix)''' 745 return bool() 746 def requestUpdate(self, timeout = 0): 747 '''void QNmeaPositionInfoSource.requestUpdate(int timeout = 0)''' 748 def stopUpdates(self): 749 '''void QNmeaPositionInfoSource.stopUpdates()''' 750 def startUpdates(self): 751 '''void QNmeaPositionInfoSource.startUpdates()''' 752 def error(self): 753 '''QGeoPositionInfoSource.Error QNmeaPositionInfoSource.error()''' 754 return QGeoPositionInfoSource.Error() 755 def minimumUpdateInterval(self): 756 '''int QNmeaPositionInfoSource.minimumUpdateInterval()''' 757 return int() 758 def supportedPositioningMethods(self): 759 '''QGeoPositionInfoSource.PositioningMethods QNmeaPositionInfoSource.supportedPositioningMethods()''' 760 return QGeoPositionInfoSource.PositioningMethods() 761 def lastKnownPosition(self, fromSatellitePositioningMethodsOnly = False): 762 '''QGeoPositionInfo QNmeaPositionInfoSource.lastKnownPosition(bool fromSatellitePositioningMethodsOnly = False)''' 763 return QGeoPositionInfo() 764 def setUpdateInterval(self, msec): 765 '''void QNmeaPositionInfoSource.setUpdateInterval(int msec)''' 766 def device(self): 767 '''QIODevice QNmeaPositionInfoSource.device()''' 768 return QIODevice() 769 def setDevice(self, source): 770 '''void QNmeaPositionInfoSource.setDevice(QIODevice source)''' 771 def updateMode(self): 772 '''QNmeaPositionInfoSource.UpdateMode QNmeaPositionInfoSource.updateMode()''' 773 return QNmeaPositionInfoSource.UpdateMode() 774 775 776