File indexing completed on 2024-05-12 16:09:05
0001 class pyqtSignal(): 0002 def connect(self, targetSignal): pass 0003 def emit(self, *args): pass 0004 from QtCore import * 0005 0006 from QtWidgets import * 0007 0008 import datetime 0009 0010 class QGeoAddress(): 0011 """""" 0012 def __init__(self): 0013 '''void QGeoAddress.__init__()''' 0014 def __init__(self, other): 0015 '''void QGeoAddress.__init__(QGeoAddress other)''' 0016 def isTextGenerated(self): 0017 '''bool QGeoAddress.isTextGenerated()''' 0018 return bool() 0019 def clear(self): 0020 '''void QGeoAddress.clear()''' 0021 def isEmpty(self): 0022 '''bool QGeoAddress.isEmpty()''' 0023 return bool() 0024 def setStreet(self, street): 0025 '''void QGeoAddress.setStreet(str street)''' 0026 def street(self): 0027 '''str QGeoAddress.street()''' 0028 return str() 0029 def setPostalCode(self, postalCode): 0030 '''void QGeoAddress.setPostalCode(str postalCode)''' 0031 def postalCode(self): 0032 '''str QGeoAddress.postalCode()''' 0033 return str() 0034 def setDistrict(self, district): 0035 '''void QGeoAddress.setDistrict(str district)''' 0036 def district(self): 0037 '''str QGeoAddress.district()''' 0038 return str() 0039 def setCity(self, city): 0040 '''void QGeoAddress.setCity(str city)''' 0041 def city(self): 0042 '''str QGeoAddress.city()''' 0043 return str() 0044 def setCounty(self, county): 0045 '''void QGeoAddress.setCounty(str county)''' 0046 def county(self): 0047 '''str QGeoAddress.county()''' 0048 return str() 0049 def setState(self, state): 0050 '''void QGeoAddress.setState(str state)''' 0051 def state(self): 0052 '''str QGeoAddress.state()''' 0053 return str() 0054 def setCountryCode(self, countryCode): 0055 '''void QGeoAddress.setCountryCode(str countryCode)''' 0056 def countryCode(self): 0057 '''str QGeoAddress.countryCode()''' 0058 return str() 0059 def setCountry(self, country): 0060 '''void QGeoAddress.setCountry(str country)''' 0061 def country(self): 0062 '''str QGeoAddress.country()''' 0063 return str() 0064 def setText(self, text): 0065 '''void QGeoAddress.setText(str text)''' 0066 def text(self): 0067 '''str QGeoAddress.text()''' 0068 return str() 0069 def __ne__(self, other): 0070 '''bool QGeoAddress.__ne__(QGeoAddress other)''' 0071 return bool() 0072 def __eq__(self, other): 0073 '''bool QGeoAddress.__eq__(QGeoAddress other)''' 0074 return bool() 0075 0076 0077 class QGeoAreaMonitorInfo(): 0078 """""" 0079 def __init__(self, name = None): 0080 '''void QGeoAreaMonitorInfo.__init__(str name = '')''' 0081 def __init__(self, other): 0082 '''void QGeoAreaMonitorInfo.__init__(QGeoAreaMonitorInfo other)''' 0083 def setNotificationParameters(self, parameters): 0084 '''void QGeoAreaMonitorInfo.setNotificationParameters(dict-of-str-object parameters)''' 0085 def notificationParameters(self): 0086 '''dict-of-str-object QGeoAreaMonitorInfo.notificationParameters()''' 0087 return {str():object()} 0088 def setPersistent(self, isPersistent): 0089 '''void QGeoAreaMonitorInfo.setPersistent(bool isPersistent)''' 0090 def isPersistent(self): 0091 '''bool QGeoAreaMonitorInfo.isPersistent()''' 0092 return bool() 0093 def setExpiration(self, expiry): 0094 '''void QGeoAreaMonitorInfo.setExpiration(QDateTime expiry)''' 0095 def expiration(self): 0096 '''QDateTime QGeoAreaMonitorInfo.expiration()''' 0097 return QDateTime() 0098 def setArea(self, newShape): 0099 '''void QGeoAreaMonitorInfo.setArea(QGeoShape newShape)''' 0100 def area(self): 0101 '''QGeoShape QGeoAreaMonitorInfo.area()''' 0102 return QGeoShape() 0103 def isValid(self): 0104 '''bool QGeoAreaMonitorInfo.isValid()''' 0105 return bool() 0106 def identifier(self): 0107 '''str QGeoAreaMonitorInfo.identifier()''' 0108 return str() 0109 def setName(self, name): 0110 '''void QGeoAreaMonitorInfo.setName(str name)''' 0111 def name(self): 0112 '''str QGeoAreaMonitorInfo.name()''' 0113 return str() 0114 def __ne__(self, other): 0115 '''bool QGeoAreaMonitorInfo.__ne__(QGeoAreaMonitorInfo other)''' 0116 return bool() 0117 def __eq__(self, other): 0118 '''bool QGeoAreaMonitorInfo.__eq__(QGeoAreaMonitorInfo other)''' 0119 return bool() 0120 0121 0122 class QGeoAreaMonitorSource(QObject): 0123 """""" 0124 # Enum QGeoAreaMonitorSource.AreaMonitorFeature 0125 PersistentAreaMonitorFeature = 0 0126 AnyAreaMonitorFeature = 0 0127 0128 # Enum QGeoAreaMonitorSource.Error 0129 AccessError = 0 0130 InsufficientPositionInfo = 0 0131 UnknownSourceError = 0 0132 NoError = 0 0133 0134 def __init__(self, parent): 0135 '''void QGeoAreaMonitorSource.__init__(QObject parent)''' 0136 monitorExpired = pyqtSignal() # void monitorExpired(const QGeoAreaMonitorInfoamp;) - signal 0137 areaExited = pyqtSignal() # void areaExited(const QGeoAreaMonitorInfoamp;,const QGeoPositionInfoamp;) - signal 0138 areaEntered = pyqtSignal() # void areaEntered(const QGeoAreaMonitorInfoamp;,const QGeoPositionInfoamp;) - signal 0139 def activeMonitors(self): 0140 '''abstract list-of-QGeoAreaMonitorInfo QGeoAreaMonitorSource.activeMonitors()''' 0141 return [QGeoAreaMonitorInfo()] 0142 def activeMonitors(self, lookupArea): 0143 '''abstract list-of-QGeoAreaMonitorInfo QGeoAreaMonitorSource.activeMonitors(QGeoShape lookupArea)''' 0144 return [QGeoAreaMonitorInfo()] 0145 def requestUpdate(self, monitor, signal): 0146 '''abstract bool QGeoAreaMonitorSource.requestUpdate(QGeoAreaMonitorInfo monitor, str signal)''' 0147 return bool() 0148 def stopMonitoring(self, monitor): 0149 '''abstract bool QGeoAreaMonitorSource.stopMonitoring(QGeoAreaMonitorInfo monitor)''' 0150 return bool() 0151 def startMonitoring(self, monitor): 0152 '''abstract bool QGeoAreaMonitorSource.startMonitoring(QGeoAreaMonitorInfo monitor)''' 0153 return bool() 0154 def supportedAreaMonitorFeatures(self): 0155 '''abstract QGeoAreaMonitorSource.AreaMonitorFeatures QGeoAreaMonitorSource.supportedAreaMonitorFeatures()''' 0156 return QGeoAreaMonitorSource.AreaMonitorFeatures() 0157 def error(self): 0158 '''abstract QGeoAreaMonitorSource.Error QGeoAreaMonitorSource.error()''' 0159 return QGeoAreaMonitorSource.Error() 0160 error = pyqtSignal() # void error(QGeoAreaMonitorSource::Error) - signal 0161 def sourceName(self): 0162 '''str QGeoAreaMonitorSource.sourceName()''' 0163 return str() 0164 def positionInfoSource(self): 0165 '''QGeoPositionInfoSource QGeoAreaMonitorSource.positionInfoSource()''' 0166 return QGeoPositionInfoSource() 0167 def setPositionInfoSource(self, source): 0168 '''void QGeoAreaMonitorSource.setPositionInfoSource(QGeoPositionInfoSource source)''' 0169 def availableSources(self): 0170 '''static list-of-str QGeoAreaMonitorSource.availableSources()''' 0171 return [str()] 0172 def createSource(self, sourceName, parent): 0173 '''static QGeoAreaMonitorSource QGeoAreaMonitorSource.createSource(str sourceName, QObject parent)''' 0174 return QGeoAreaMonitorSource() 0175 def createDefaultSource(self, parent): 0176 '''static QGeoAreaMonitorSource QGeoAreaMonitorSource.createDefaultSource(QObject parent)''' 0177 return QGeoAreaMonitorSource() 0178 class AreaMonitorFeatures(): 0179 """""" 0180 def __init__(self): 0181 '''QGeoAreaMonitorSource.AreaMonitorFeatures QGeoAreaMonitorSource.AreaMonitorFeatures.__init__()''' 0182 return QGeoAreaMonitorSource.AreaMonitorFeatures() 0183 def __init__(self): 0184 '''int QGeoAreaMonitorSource.AreaMonitorFeatures.__init__()''' 0185 return int() 0186 def __init__(self): 0187 '''void QGeoAreaMonitorSource.AreaMonitorFeatures.__init__()''' 0188 def __bool__(self): 0189 '''int QGeoAreaMonitorSource.AreaMonitorFeatures.__bool__()''' 0190 return int() 0191 def __ne__(self, f): 0192 '''bool QGeoAreaMonitorSource.AreaMonitorFeatures.__ne__(QGeoAreaMonitorSource.AreaMonitorFeatures f)''' 0193 return bool() 0194 def __eq__(self, f): 0195 '''bool QGeoAreaMonitorSource.AreaMonitorFeatures.__eq__(QGeoAreaMonitorSource.AreaMonitorFeatures f)''' 0196 return bool() 0197 def __invert__(self): 0198 '''QGeoAreaMonitorSource.AreaMonitorFeatures QGeoAreaMonitorSource.AreaMonitorFeatures.__invert__()''' 0199 return QGeoAreaMonitorSource.AreaMonitorFeatures() 0200 def __and__(self, mask): 0201 '''QGeoAreaMonitorSource.AreaMonitorFeatures QGeoAreaMonitorSource.AreaMonitorFeatures.__and__(int mask)''' 0202 return QGeoAreaMonitorSource.AreaMonitorFeatures() 0203 def __xor__(self, f): 0204 '''QGeoAreaMonitorSource.AreaMonitorFeatures QGeoAreaMonitorSource.AreaMonitorFeatures.__xor__(QGeoAreaMonitorSource.AreaMonitorFeatures f)''' 0205 return QGeoAreaMonitorSource.AreaMonitorFeatures() 0206 def __xor__(self, f): 0207 '''QGeoAreaMonitorSource.AreaMonitorFeatures QGeoAreaMonitorSource.AreaMonitorFeatures.__xor__(int f)''' 0208 return QGeoAreaMonitorSource.AreaMonitorFeatures() 0209 def __or__(self, f): 0210 '''QGeoAreaMonitorSource.AreaMonitorFeatures QGeoAreaMonitorSource.AreaMonitorFeatures.__or__(QGeoAreaMonitorSource.AreaMonitorFeatures f)''' 0211 return QGeoAreaMonitorSource.AreaMonitorFeatures() 0212 def __or__(self, f): 0213 '''QGeoAreaMonitorSource.AreaMonitorFeatures QGeoAreaMonitorSource.AreaMonitorFeatures.__or__(int f)''' 0214 return QGeoAreaMonitorSource.AreaMonitorFeatures() 0215 def __int__(self): 0216 '''int QGeoAreaMonitorSource.AreaMonitorFeatures.__int__()''' 0217 return int() 0218 def __ixor__(self, f): 0219 '''QGeoAreaMonitorSource.AreaMonitorFeatures QGeoAreaMonitorSource.AreaMonitorFeatures.__ixor__(QGeoAreaMonitorSource.AreaMonitorFeatures f)''' 0220 return QGeoAreaMonitorSource.AreaMonitorFeatures() 0221 def __ior__(self, f): 0222 '''QGeoAreaMonitorSource.AreaMonitorFeatures QGeoAreaMonitorSource.AreaMonitorFeatures.__ior__(QGeoAreaMonitorSource.AreaMonitorFeatures f)''' 0223 return QGeoAreaMonitorSource.AreaMonitorFeatures() 0224 def __iand__(self, mask): 0225 '''QGeoAreaMonitorSource.AreaMonitorFeatures QGeoAreaMonitorSource.AreaMonitorFeatures.__iand__(int mask)''' 0226 return QGeoAreaMonitorSource.AreaMonitorFeatures() 0227 0228 0229 class QGeoShape(): 0230 """""" 0231 # Enum QGeoShape.ShapeType 0232 UnknownType = 0 0233 RectangleType = 0 0234 CircleType = 0 0235 0236 def __init__(self): 0237 '''void QGeoShape.__init__()''' 0238 def __init__(self, other): 0239 '''void QGeoShape.__init__(QGeoShape other)''' 0240 def toString(self): 0241 '''str QGeoShape.toString()''' 0242 return str() 0243 def center(self): 0244 '''QGeoCoordinate QGeoShape.center()''' 0245 return QGeoCoordinate() 0246 def extendShape(self, coordinate): 0247 '''void QGeoShape.extendShape(QGeoCoordinate coordinate)''' 0248 def __ne__(self, other): 0249 '''bool QGeoShape.__ne__(QGeoShape other)''' 0250 return bool() 0251 def __eq__(self, other): 0252 '''bool QGeoShape.__eq__(QGeoShape other)''' 0253 return bool() 0254 def contains(self, coordinate): 0255 '''bool QGeoShape.contains(QGeoCoordinate coordinate)''' 0256 return bool() 0257 def isEmpty(self): 0258 '''bool QGeoShape.isEmpty()''' 0259 return bool() 0260 def isValid(self): 0261 '''bool QGeoShape.isValid()''' 0262 return bool() 0263 def type(self): 0264 '''QGeoShape.ShapeType QGeoShape.type()''' 0265 return QGeoShape.ShapeType() 0266 0267 0268 class QGeoCircle(QGeoShape): 0269 """""" 0270 def __init__(self): 0271 '''void QGeoCircle.__init__()''' 0272 def __init__(self, center, radius = None): 0273 '''void QGeoCircle.__init__(QGeoCoordinate center, float radius = -1)''' 0274 def __init__(self, other): 0275 '''void QGeoCircle.__init__(QGeoCircle other)''' 0276 def __init__(self, other): 0277 '''void QGeoCircle.__init__(QGeoShape other)''' 0278 def toString(self): 0279 '''str QGeoCircle.toString()''' 0280 return str() 0281 def translated(self, degreesLatitude, degreesLongitude): 0282 '''QGeoCircle QGeoCircle.translated(float degreesLatitude, float degreesLongitude)''' 0283 return QGeoCircle() 0284 def translate(self, degreesLatitude, degreesLongitude): 0285 '''void QGeoCircle.translate(float degreesLatitude, float degreesLongitude)''' 0286 def radius(self): 0287 '''float QGeoCircle.radius()''' 0288 return float() 0289 def setRadius(self, radius): 0290 '''void QGeoCircle.setRadius(float radius)''' 0291 def center(self): 0292 '''QGeoCoordinate QGeoCircle.center()''' 0293 return QGeoCoordinate() 0294 def setCenter(self, center): 0295 '''void QGeoCircle.setCenter(QGeoCoordinate center)''' 0296 def __ne__(self, other): 0297 '''bool QGeoCircle.__ne__(QGeoCircle other)''' 0298 return bool() 0299 def __eq__(self, other): 0300 '''bool QGeoCircle.__eq__(QGeoCircle other)''' 0301 return bool() 0302 0303 0304 class QGeoCoordinate(): 0305 """""" 0306 # Enum QGeoCoordinate.CoordinateFormat 0307 Degrees = 0 0308 DegreesWithHemisphere = 0 0309 DegreesMinutes = 0 0310 DegreesMinutesWithHemisphere = 0 0311 DegreesMinutesSeconds = 0 0312 DegreesMinutesSecondsWithHemisphere = 0 0313 0314 # Enum QGeoCoordinate.CoordinateType 0315 InvalidCoordinate = 0 0316 Coordinate2D = 0 0317 Coordinate3D = 0 0318 0319 def __init__(self): 0320 '''void QGeoCoordinate.__init__()''' 0321 def __init__(self, latitude, longitude): 0322 '''void QGeoCoordinate.__init__(float latitude, float longitude)''' 0323 def __init__(self, latitude, longitude, altitude): 0324 '''void QGeoCoordinate.__init__(float latitude, float longitude, float altitude)''' 0325 def __init__(self, other): 0326 '''void QGeoCoordinate.__init__(QGeoCoordinate other)''' 0327 def toString(self, format = None): 0328 '''str QGeoCoordinate.toString(QGeoCoordinate.CoordinateFormat format = QGeoCoordinate.DegreesMinutesSecondsWithHemisphere)''' 0329 return str() 0330 def atDistanceAndAzimuth(self, distance, azimuth, distanceUp = 0): 0331 '''QGeoCoordinate QGeoCoordinate.atDistanceAndAzimuth(float distance, float azimuth, float distanceUp = 0)''' 0332 return QGeoCoordinate() 0333 def azimuthTo(self, other): 0334 '''float QGeoCoordinate.azimuthTo(QGeoCoordinate other)''' 0335 return float() 0336 def distanceTo(self, other): 0337 '''float QGeoCoordinate.distanceTo(QGeoCoordinate other)''' 0338 return float() 0339 def altitude(self): 0340 '''float QGeoCoordinate.altitude()''' 0341 return float() 0342 def setAltitude(self, altitude): 0343 '''void QGeoCoordinate.setAltitude(float altitude)''' 0344 def longitude(self): 0345 '''float QGeoCoordinate.longitude()''' 0346 return float() 0347 def setLongitude(self, longitude): 0348 '''void QGeoCoordinate.setLongitude(float longitude)''' 0349 def latitude(self): 0350 '''float QGeoCoordinate.latitude()''' 0351 return float() 0352 def setLatitude(self, latitude): 0353 '''void QGeoCoordinate.setLatitude(float latitude)''' 0354 def type(self): 0355 '''QGeoCoordinate.CoordinateType QGeoCoordinate.type()''' 0356 return QGeoCoordinate.CoordinateType() 0357 def isValid(self): 0358 '''bool QGeoCoordinate.isValid()''' 0359 return bool() 0360 def __ne__(self, other): 0361 '''bool QGeoCoordinate.__ne__(QGeoCoordinate other)''' 0362 return bool() 0363 def __eq__(self, other): 0364 '''bool QGeoCoordinate.__eq__(QGeoCoordinate other)''' 0365 return bool() 0366 0367 0368 class QGeoLocation(): 0369 """""" 0370 def __init__(self): 0371 '''void QGeoLocation.__init__()''' 0372 def __init__(self, other): 0373 '''void QGeoLocation.__init__(QGeoLocation other)''' 0374 def isEmpty(self): 0375 '''bool QGeoLocation.isEmpty()''' 0376 return bool() 0377 def setBoundingBox(self, box): 0378 '''void QGeoLocation.setBoundingBox(QGeoRectangle box)''' 0379 def boundingBox(self): 0380 '''QGeoRectangle QGeoLocation.boundingBox()''' 0381 return QGeoRectangle() 0382 def setCoordinate(self, position): 0383 '''void QGeoLocation.setCoordinate(QGeoCoordinate position)''' 0384 def coordinate(self): 0385 '''QGeoCoordinate QGeoLocation.coordinate()''' 0386 return QGeoCoordinate() 0387 def setAddress(self, address): 0388 '''void QGeoLocation.setAddress(QGeoAddress address)''' 0389 def address(self): 0390 '''QGeoAddress QGeoLocation.address()''' 0391 return QGeoAddress() 0392 def __ne__(self, other): 0393 '''bool QGeoLocation.__ne__(QGeoLocation other)''' 0394 return bool() 0395 def __eq__(self, other): 0396 '''bool QGeoLocation.__eq__(QGeoLocation other)''' 0397 return bool() 0398 0399 0400 class QGeoPositionInfo(): 0401 """""" 0402 # Enum QGeoPositionInfo.Attribute 0403 Direction = 0 0404 GroundSpeed = 0 0405 VerticalSpeed = 0 0406 MagneticVariation = 0 0407 HorizontalAccuracy = 0 0408 VerticalAccuracy = 0 0409 0410 def __init__(self): 0411 '''void QGeoPositionInfo.__init__()''' 0412 def __init__(self, coordinate, updateTime): 0413 '''void QGeoPositionInfo.__init__(QGeoCoordinate coordinate, QDateTime updateTime)''' 0414 def __init__(self, other): 0415 '''void QGeoPositionInfo.__init__(QGeoPositionInfo other)''' 0416 def hasAttribute(self, attribute): 0417 '''bool QGeoPositionInfo.hasAttribute(QGeoPositionInfo.Attribute attribute)''' 0418 return bool() 0419 def removeAttribute(self, attribute): 0420 '''void QGeoPositionInfo.removeAttribute(QGeoPositionInfo.Attribute attribute)''' 0421 def attribute(self, attribute): 0422 '''float QGeoPositionInfo.attribute(QGeoPositionInfo.Attribute attribute)''' 0423 return float() 0424 def setAttribute(self, attribute, value): 0425 '''void QGeoPositionInfo.setAttribute(QGeoPositionInfo.Attribute attribute, float value)''' 0426 def coordinate(self): 0427 '''QGeoCoordinate QGeoPositionInfo.coordinate()''' 0428 return QGeoCoordinate() 0429 def setCoordinate(self, coordinate): 0430 '''void QGeoPositionInfo.setCoordinate(QGeoCoordinate coordinate)''' 0431 def timestamp(self): 0432 '''QDateTime QGeoPositionInfo.timestamp()''' 0433 return QDateTime() 0434 def setTimestamp(self, timestamp): 0435 '''void QGeoPositionInfo.setTimestamp(QDateTime timestamp)''' 0436 def isValid(self): 0437 '''bool QGeoPositionInfo.isValid()''' 0438 return bool() 0439 def __ne__(self, other): 0440 '''bool QGeoPositionInfo.__ne__(QGeoPositionInfo other)''' 0441 return bool() 0442 def __eq__(self, other): 0443 '''bool QGeoPositionInfo.__eq__(QGeoPositionInfo other)''' 0444 return bool() 0445 0446 0447 class QGeoPositionInfoSource(QObject): 0448 """""" 0449 # Enum QGeoPositionInfoSource.PositioningMethod 0450 NoPositioningMethods = 0 0451 SatellitePositioningMethods = 0 0452 NonSatellitePositioningMethods = 0 0453 AllPositioningMethods = 0 0454 0455 # Enum QGeoPositionInfoSource.Error 0456 AccessError = 0 0457 ClosedError = 0 0458 UnknownSourceError = 0 0459 NoError = 0 0460 0461 def __init__(self, parent): 0462 '''void QGeoPositionInfoSource.__init__(QObject parent)''' 0463 updateTimeout = pyqtSignal() # void updateTimeout() - signal 0464 positionUpdated = pyqtSignal() # void positionUpdated(const QGeoPositionInfoamp;) - signal 0465 def requestUpdate(self, timeout = 0): 0466 '''abstract void QGeoPositionInfoSource.requestUpdate(int timeout = 0)''' 0467 def stopUpdates(self): 0468 '''abstract void QGeoPositionInfoSource.stopUpdates()''' 0469 def startUpdates(self): 0470 '''abstract void QGeoPositionInfoSource.startUpdates()''' 0471 def error(self): 0472 '''abstract QGeoPositionInfoSource.Error QGeoPositionInfoSource.error()''' 0473 return QGeoPositionInfoSource.Error() 0474 error = pyqtSignal() # void error(QGeoPositionInfoSource::Error) - signal 0475 def availableSources(self): 0476 '''static list-of-str QGeoPositionInfoSource.availableSources()''' 0477 return [str()] 0478 def createSource(self, sourceName, parent): 0479 '''static QGeoPositionInfoSource QGeoPositionInfoSource.createSource(str sourceName, QObject parent)''' 0480 return QGeoPositionInfoSource() 0481 def createDefaultSource(self, parent): 0482 '''static QGeoPositionInfoSource QGeoPositionInfoSource.createDefaultSource(QObject parent)''' 0483 return QGeoPositionInfoSource() 0484 def sourceName(self): 0485 '''str QGeoPositionInfoSource.sourceName()''' 0486 return str() 0487 def minimumUpdateInterval(self): 0488 '''abstract int QGeoPositionInfoSource.minimumUpdateInterval()''' 0489 return int() 0490 def supportedPositioningMethods(self): 0491 '''abstract QGeoPositionInfoSource.PositioningMethods QGeoPositionInfoSource.supportedPositioningMethods()''' 0492 return QGeoPositionInfoSource.PositioningMethods() 0493 def lastKnownPosition(self, fromSatellitePositioningMethodsOnly = False): 0494 '''abstract QGeoPositionInfo QGeoPositionInfoSource.lastKnownPosition(bool fromSatellitePositioningMethodsOnly = False)''' 0495 return QGeoPositionInfo() 0496 def preferredPositioningMethods(self): 0497 '''QGeoPositionInfoSource.PositioningMethods QGeoPositionInfoSource.preferredPositioningMethods()''' 0498 return QGeoPositionInfoSource.PositioningMethods() 0499 def setPreferredPositioningMethods(self, methods): 0500 '''void QGeoPositionInfoSource.setPreferredPositioningMethods(QGeoPositionInfoSource.PositioningMethods methods)''' 0501 def updateInterval(self): 0502 '''int QGeoPositionInfoSource.updateInterval()''' 0503 return int() 0504 def setUpdateInterval(self, msec): 0505 '''void QGeoPositionInfoSource.setUpdateInterval(int msec)''' 0506 class PositioningMethods(): 0507 """""" 0508 def __init__(self): 0509 '''QGeoPositionInfoSource.PositioningMethods QGeoPositionInfoSource.PositioningMethods.__init__()''' 0510 return QGeoPositionInfoSource.PositioningMethods() 0511 def __init__(self): 0512 '''int QGeoPositionInfoSource.PositioningMethods.__init__()''' 0513 return int() 0514 def __init__(self): 0515 '''void QGeoPositionInfoSource.PositioningMethods.__init__()''' 0516 def __bool__(self): 0517 '''int QGeoPositionInfoSource.PositioningMethods.__bool__()''' 0518 return int() 0519 def __ne__(self, f): 0520 '''bool QGeoPositionInfoSource.PositioningMethods.__ne__(QGeoPositionInfoSource.PositioningMethods f)''' 0521 return bool() 0522 def __eq__(self, f): 0523 '''bool QGeoPositionInfoSource.PositioningMethods.__eq__(QGeoPositionInfoSource.PositioningMethods f)''' 0524 return bool() 0525 def __invert__(self): 0526 '''QGeoPositionInfoSource.PositioningMethods QGeoPositionInfoSource.PositioningMethods.__invert__()''' 0527 return QGeoPositionInfoSource.PositioningMethods() 0528 def __and__(self, mask): 0529 '''QGeoPositionInfoSource.PositioningMethods QGeoPositionInfoSource.PositioningMethods.__and__(int mask)''' 0530 return QGeoPositionInfoSource.PositioningMethods() 0531 def __xor__(self, f): 0532 '''QGeoPositionInfoSource.PositioningMethods QGeoPositionInfoSource.PositioningMethods.__xor__(QGeoPositionInfoSource.PositioningMethods f)''' 0533 return QGeoPositionInfoSource.PositioningMethods() 0534 def __xor__(self, f): 0535 '''QGeoPositionInfoSource.PositioningMethods QGeoPositionInfoSource.PositioningMethods.__xor__(int f)''' 0536 return QGeoPositionInfoSource.PositioningMethods() 0537 def __or__(self, f): 0538 '''QGeoPositionInfoSource.PositioningMethods QGeoPositionInfoSource.PositioningMethods.__or__(QGeoPositionInfoSource.PositioningMethods f)''' 0539 return QGeoPositionInfoSource.PositioningMethods() 0540 def __or__(self, f): 0541 '''QGeoPositionInfoSource.PositioningMethods QGeoPositionInfoSource.PositioningMethods.__or__(int f)''' 0542 return QGeoPositionInfoSource.PositioningMethods() 0543 def __int__(self): 0544 '''int QGeoPositionInfoSource.PositioningMethods.__int__()''' 0545 return int() 0546 def __ixor__(self, f): 0547 '''QGeoPositionInfoSource.PositioningMethods QGeoPositionInfoSource.PositioningMethods.__ixor__(QGeoPositionInfoSource.PositioningMethods f)''' 0548 return QGeoPositionInfoSource.PositioningMethods() 0549 def __ior__(self, f): 0550 '''QGeoPositionInfoSource.PositioningMethods QGeoPositionInfoSource.PositioningMethods.__ior__(QGeoPositionInfoSource.PositioningMethods f)''' 0551 return QGeoPositionInfoSource.PositioningMethods() 0552 def __iand__(self, mask): 0553 '''QGeoPositionInfoSource.PositioningMethods QGeoPositionInfoSource.PositioningMethods.__iand__(int mask)''' 0554 return QGeoPositionInfoSource.PositioningMethods() 0555 0556 0557 class QGeoRectangle(QGeoShape): 0558 """""" 0559 def __init__(self): 0560 '''void QGeoRectangle.__init__()''' 0561 def __init__(self, center, degreesWidth, degreesHeight): 0562 '''void QGeoRectangle.__init__(QGeoCoordinate center, float degreesWidth, float degreesHeight)''' 0563 def __init__(self, topLeft, bottomRight): 0564 '''void QGeoRectangle.__init__(QGeoCoordinate topLeft, QGeoCoordinate bottomRight)''' 0565 def __init__(self, coordinates): 0566 '''void QGeoRectangle.__init__(list-of-QGeoCoordinate coordinates)''' 0567 def __init__(self, other): 0568 '''void QGeoRectangle.__init__(QGeoRectangle other)''' 0569 def __init__(self, other): 0570 '''void QGeoRectangle.__init__(QGeoShape other)''' 0571 def toString(self): 0572 '''str QGeoRectangle.toString()''' 0573 return str() 0574 def __or__(self, rectangle): 0575 '''QGeoRectangle QGeoRectangle.__or__(QGeoRectangle rectangle)''' 0576 return QGeoRectangle() 0577 def __ior__(self, rectangle): 0578 '''QGeoRectangle QGeoRectangle.__ior__(QGeoRectangle rectangle)''' 0579 return QGeoRectangle() 0580 def united(self, rectangle): 0581 '''QGeoRectangle QGeoRectangle.united(QGeoRectangle rectangle)''' 0582 return QGeoRectangle() 0583 def translated(self, degreesLatitude, degreesLongitude): 0584 '''QGeoRectangle QGeoRectangle.translated(float degreesLatitude, float degreesLongitude)''' 0585 return QGeoRectangle() 0586 def translate(self, degreesLatitude, degreesLongitude): 0587 '''void QGeoRectangle.translate(float degreesLatitude, float degreesLongitude)''' 0588 def intersects(self, rectangle): 0589 '''bool QGeoRectangle.intersects(QGeoRectangle rectangle)''' 0590 return bool() 0591 def contains(self, rectangle): 0592 '''bool QGeoRectangle.contains(QGeoRectangle rectangle)''' 0593 return bool() 0594 def height(self): 0595 '''float QGeoRectangle.height()''' 0596 return float() 0597 def setHeight(self, degreesHeight): 0598 '''void QGeoRectangle.setHeight(float degreesHeight)''' 0599 def width(self): 0600 '''float QGeoRectangle.width()''' 0601 return float() 0602 def setWidth(self, degreesWidth): 0603 '''void QGeoRectangle.setWidth(float degreesWidth)''' 0604 def center(self): 0605 '''QGeoCoordinate QGeoRectangle.center()''' 0606 return QGeoCoordinate() 0607 def setCenter(self, center): 0608 '''void QGeoRectangle.setCenter(QGeoCoordinate center)''' 0609 def bottomRight(self): 0610 '''QGeoCoordinate QGeoRectangle.bottomRight()''' 0611 return QGeoCoordinate() 0612 def setBottomRight(self, bottomRight): 0613 '''void QGeoRectangle.setBottomRight(QGeoCoordinate bottomRight)''' 0614 def bottomLeft(self): 0615 '''QGeoCoordinate QGeoRectangle.bottomLeft()''' 0616 return QGeoCoordinate() 0617 def setBottomLeft(self, bottomLeft): 0618 '''void QGeoRectangle.setBottomLeft(QGeoCoordinate bottomLeft)''' 0619 def topRight(self): 0620 '''QGeoCoordinate QGeoRectangle.topRight()''' 0621 return QGeoCoordinate() 0622 def setTopRight(self, topRight): 0623 '''void QGeoRectangle.setTopRight(QGeoCoordinate topRight)''' 0624 def topLeft(self): 0625 '''QGeoCoordinate QGeoRectangle.topLeft()''' 0626 return QGeoCoordinate() 0627 def setTopLeft(self, topLeft): 0628 '''void QGeoRectangle.setTopLeft(QGeoCoordinate topLeft)''' 0629 def __ne__(self, other): 0630 '''bool QGeoRectangle.__ne__(QGeoRectangle other)''' 0631 return bool() 0632 def __eq__(self, other): 0633 '''bool QGeoRectangle.__eq__(QGeoRectangle other)''' 0634 return bool() 0635 0636 0637 class QGeoSatelliteInfo(): 0638 """""" 0639 # Enum QGeoSatelliteInfo.SatelliteSystem 0640 Undefined = 0 0641 GPS = 0 0642 GLONASS = 0 0643 0644 # Enum QGeoSatelliteInfo.Attribute 0645 Elevation = 0 0646 Azimuth = 0 0647 0648 def __init__(self): 0649 '''void QGeoSatelliteInfo.__init__()''' 0650 def __init__(self, other): 0651 '''void QGeoSatelliteInfo.__init__(QGeoSatelliteInfo other)''' 0652 def hasAttribute(self, attribute): 0653 '''bool QGeoSatelliteInfo.hasAttribute(QGeoSatelliteInfo.Attribute attribute)''' 0654 return bool() 0655 def removeAttribute(self, attribute): 0656 '''void QGeoSatelliteInfo.removeAttribute(QGeoSatelliteInfo.Attribute attribute)''' 0657 def attribute(self, attribute): 0658 '''float QGeoSatelliteInfo.attribute(QGeoSatelliteInfo.Attribute attribute)''' 0659 return float() 0660 def setAttribute(self, attribute, value): 0661 '''void QGeoSatelliteInfo.setAttribute(QGeoSatelliteInfo.Attribute attribute, float value)''' 0662 def signalStrength(self): 0663 '''int QGeoSatelliteInfo.signalStrength()''' 0664 return int() 0665 def setSignalStrength(self, signalStrength): 0666 '''void QGeoSatelliteInfo.setSignalStrength(int signalStrength)''' 0667 def satelliteIdentifier(self): 0668 '''int QGeoSatelliteInfo.satelliteIdentifier()''' 0669 return int() 0670 def setSatelliteIdentifier(self, satId): 0671 '''void QGeoSatelliteInfo.setSatelliteIdentifier(int satId)''' 0672 def satelliteSystem(self): 0673 '''QGeoSatelliteInfo.SatelliteSystem QGeoSatelliteInfo.satelliteSystem()''' 0674 return QGeoSatelliteInfo.SatelliteSystem() 0675 def setSatelliteSystem(self, system): 0676 '''void QGeoSatelliteInfo.setSatelliteSystem(QGeoSatelliteInfo.SatelliteSystem system)''' 0677 def __ne__(self, other): 0678 '''bool QGeoSatelliteInfo.__ne__(QGeoSatelliteInfo other)''' 0679 return bool() 0680 def __eq__(self, other): 0681 '''bool QGeoSatelliteInfo.__eq__(QGeoSatelliteInfo other)''' 0682 return bool() 0683 0684 0685 class QGeoSatelliteInfoSource(QObject): 0686 """""" 0687 # Enum QGeoSatelliteInfoSource.Error 0688 AccessError = 0 0689 ClosedError = 0 0690 NoError = 0 0691 UnknownSourceError = 0 0692 0693 def __init__(self, parent): 0694 '''void QGeoSatelliteInfoSource.__init__(QObject parent)''' 0695 requestTimeout = pyqtSignal() # void requestTimeout() - signal 0696 satellitesInUseUpdated = pyqtSignal() # void satellitesInUseUpdated(const QListlt;QGeoSatelliteInfogt;amp;) - signal 0697 satellitesInViewUpdated = pyqtSignal() # void satellitesInViewUpdated(const QListlt;QGeoSatelliteInfogt;amp;) - signal 0698 def requestUpdate(self, timeout = 0): 0699 '''abstract void QGeoSatelliteInfoSource.requestUpdate(int timeout = 0)''' 0700 def stopUpdates(self): 0701 '''abstract void QGeoSatelliteInfoSource.stopUpdates()''' 0702 def startUpdates(self): 0703 '''abstract void QGeoSatelliteInfoSource.startUpdates()''' 0704 def error(self): 0705 '''abstract QGeoSatelliteInfoSource.Error QGeoSatelliteInfoSource.error()''' 0706 return QGeoSatelliteInfoSource.Error() 0707 error = pyqtSignal() # void error(QGeoSatelliteInfoSource::Error) - signal 0708 def minimumUpdateInterval(self): 0709 '''abstract int QGeoSatelliteInfoSource.minimumUpdateInterval()''' 0710 return int() 0711 def updateInterval(self): 0712 '''int QGeoSatelliteInfoSource.updateInterval()''' 0713 return int() 0714 def setUpdateInterval(self, msec): 0715 '''void QGeoSatelliteInfoSource.setUpdateInterval(int msec)''' 0716 def sourceName(self): 0717 '''str QGeoSatelliteInfoSource.sourceName()''' 0718 return str() 0719 def availableSources(self): 0720 '''static list-of-str QGeoSatelliteInfoSource.availableSources()''' 0721 return [str()] 0722 def createSource(self, sourceName, parent): 0723 '''static QGeoSatelliteInfoSource QGeoSatelliteInfoSource.createSource(str sourceName, QObject parent)''' 0724 return QGeoSatelliteInfoSource() 0725 def createDefaultSource(self, parent): 0726 '''static QGeoSatelliteInfoSource QGeoSatelliteInfoSource.createDefaultSource(QObject parent)''' 0727 return QGeoSatelliteInfoSource() 0728 0729 0730 class QNmeaPositionInfoSource(QGeoPositionInfoSource): 0731 """""" 0732 # Enum QNmeaPositionInfoSource.UpdateMode 0733 RealTimeMode = 0 0734 SimulationMode = 0 0735 0736 def __init__(self, updateMode, parent = None): 0737 '''void QNmeaPositionInfoSource.__init__(QNmeaPositionInfoSource.UpdateMode updateMode, QObject parent = None)''' 0738 def userEquivalentRangeError(self): 0739 '''float QNmeaPositionInfoSource.userEquivalentRangeError()''' 0740 return float() 0741 def setUserEquivalentRangeError(self, uere): 0742 '''void QNmeaPositionInfoSource.setUserEquivalentRangeError(float uere)''' 0743 def parsePosInfoFromNmeaData(self, data, size, posInfo, hasFix): 0744 '''bool QNmeaPositionInfoSource.parsePosInfoFromNmeaData(str data, int size, QGeoPositionInfo posInfo, bool hasFix)''' 0745 return bool() 0746 def requestUpdate(self, timeout = 0): 0747 '''void QNmeaPositionInfoSource.requestUpdate(int timeout = 0)''' 0748 def stopUpdates(self): 0749 '''void QNmeaPositionInfoSource.stopUpdates()''' 0750 def startUpdates(self): 0751 '''void QNmeaPositionInfoSource.startUpdates()''' 0752 def error(self): 0753 '''QGeoPositionInfoSource.Error QNmeaPositionInfoSource.error()''' 0754 return QGeoPositionInfoSource.Error() 0755 def minimumUpdateInterval(self): 0756 '''int QNmeaPositionInfoSource.minimumUpdateInterval()''' 0757 return int() 0758 def supportedPositioningMethods(self): 0759 '''QGeoPositionInfoSource.PositioningMethods QNmeaPositionInfoSource.supportedPositioningMethods()''' 0760 return QGeoPositionInfoSource.PositioningMethods() 0761 def lastKnownPosition(self, fromSatellitePositioningMethodsOnly = False): 0762 '''QGeoPositionInfo QNmeaPositionInfoSource.lastKnownPosition(bool fromSatellitePositioningMethodsOnly = False)''' 0763 return QGeoPositionInfo() 0764 def setUpdateInterval(self, msec): 0765 '''void QNmeaPositionInfoSource.setUpdateInterval(int msec)''' 0766 def device(self): 0767 '''QIODevice QNmeaPositionInfoSource.device()''' 0768 return QIODevice() 0769 def setDevice(self, source): 0770 '''void QNmeaPositionInfoSource.setDevice(QIODevice source)''' 0771 def updateMode(self): 0772 '''QNmeaPositionInfoSource.UpdateMode QNmeaPositionInfoSource.updateMode()''' 0773 return QNmeaPositionInfoSource.UpdateMode() 0774 0775