QGeoSatelliteInfo¶
The
QGeoSatelliteInfo
class contains basic information about a satellite. More…

Synopsis¶
Functions¶
def
__eq__
(other)def
__ne__
(other)def
attribute
(attribute)def
hasAttribute
(attribute)def
removeAttribute
(attribute)def
satelliteIdentifier
()def
satelliteSystem
()def
setAttribute
(attribute, value)def
setSatelliteIdentifier
(satId)def
setSatelliteSystem
(system)def
setSignalStrength
(signalStrength)def
signalStrength
()
Detailed Description¶
See also
-
class
QGeoSatelliteInfo
¶ QGeoSatelliteInfo(other)
- param other
Creates a satellite information object.
-
PySide2.QtPositioning.QGeoSatelliteInfo.
Attribute
¶ Defines the attributes for the satellite information.
Constant
Description
QGeoSatelliteInfo.Elevation
The elevation of the satellite, in degrees.
QGeoSatelliteInfo.Azimuth
The azimuth to true north, in degrees.
-
PySide2.QtPositioning.QGeoSatelliteInfo.
SatelliteSystem
¶ Defines the GNSS system of the satellite.
Constant
Description
QGeoSatelliteInfo.Undefined
Not defined.
QGeoSatelliteInfo.GPS
Global Positioning System (USA).
QGeoSatelliteInfo.GLONASS
Global Positioning System (Russia).
-
PySide2.QtPositioning.QGeoSatelliteInfo.
attribute
(attribute)¶ - Parameters
attribute –
Attribute
- Return type
qreal
Returns the value of the specified
attribute
as a qreal value.Returns -1 if the value has not been set.
See also
-
PySide2.QtPositioning.QGeoSatelliteInfo.
hasAttribute
(attribute)¶ - Parameters
attribute –
Attribute
- Return type
bool
Returns true if the specified
attribute
is present in this update.
-
PySide2.QtPositioning.QGeoSatelliteInfo.
__ne__
(other)¶ - Parameters
other –
QGeoSatelliteInfo
- Return type
bool
Returns true if any of the information for this satellite are not the same as those of
other
.
-
PySide2.QtPositioning.QGeoSatelliteInfo.
__eq__
(other)¶ - Parameters
other –
QGeoSatelliteInfo
- Return type
bool
Returns true if all the information for this satellite are the same as those of
other
.
-
PySide2.QtPositioning.QGeoSatelliteInfo.
removeAttribute
(attribute)¶ - Parameters
attribute –
Attribute
Removes the specified
attribute
and its value.
-
PySide2.QtPositioning.QGeoSatelliteInfo.
satelliteIdentifier
()¶ - Return type
int
Returns the satellite identifier number.
The satellite identifier number can be used to identify a satellite inside the satellite system. For satellite system GPS the satellite identifier number represents the PRN (Pseudo-random noise) number. For satellite system GLONASS the satellite identifier number represents the slot number.
See also
-
PySide2.QtPositioning.QGeoSatelliteInfo.
satelliteSystem
()¶ - Return type
Returns the Satellite System (GPS, GLONASS, …)
See also
-
PySide2.QtPositioning.QGeoSatelliteInfo.
setAttribute
(attribute, value)¶ - Parameters
attribute –
Attribute
value –
qreal
Sets the value for
attribute
tovalue
.See also
-
PySide2.QtPositioning.QGeoSatelliteInfo.
setSatelliteIdentifier
(satId)¶ - Parameters
satId –
int
Sets the satellite identifier number to
satId
.The satellite identifier number can be used to identify a satellite inside the satellite system. For satellite system GPS the satellite identifier number represents the PRN (Pseudo-random noise) number. For satellite system GLONASS the satellite identifier number represents the slot number.
See also
-
PySide2.QtPositioning.QGeoSatelliteInfo.
setSatelliteSystem
(system)¶ - Parameters
system –
SatelliteSystem
Sets the Satellite System (GPS, GLONASS, …) to
system
.See also
-
PySide2.QtPositioning.QGeoSatelliteInfo.
setSignalStrength
(signalStrength)¶ - Parameters
signalStrength –
int
Sets the signal strength to
signalStrength
, in decibels.See also
-
PySide2.QtPositioning.QGeoSatelliteInfo.
signalStrength
()¶ - Return type
int
Returns the signal strength, or -1 if the value has not been set.
See also
© 2020 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.